Manuscript Offprint
arXiv:2610.25290MotionShift: Environment-Compatible Motion Transfer via Planner-Evaluator Synergistic Adaptation
Yanchen Liu , Junyao Gao , Yanan Sun , Wensheng Chen , Guangming Lu , and Wenjie Pei

Fig. 1. Visualizations of MotionShift transferring motion from arbitrary reference videos to diverse target scenes (given by the images in blue dashed boxes). Existing methods overlook object-environment interactions, producing physically implausible results. In contrast, MotionShift demonstrates strong adaptability, producing environment-compatible and physically plausible motion results even when complex interactions occur—such as a ball striking the water.
Abstract—Existing motion transfer methods excel at exact, rigid motion replication from reference videos to target scenes, whereas they often fail to account for the compatibility between the transferred motion and the target scene environment in accordance with physical laws. In this work, we propose MotionShift, a novel motion transfer framework that achieves high-fidelity motion transfer while ensuring physical compatibility with the target scene. In particular, we design a planner-evaluator iterative motion adaptation mechanism, in which a Large Language Model (LLM) acts as the planner to generate motion trajectories by leveraging its strong semantic reasoning capabilities, while a Vision-Language Model (VLM) serves as the evaluator to rectify the motion based on its superior visual perception and scene understanding. Through this planner-evaluator synergistic reasoning process, the motion is adapted to the target scene in a training-free manner. The adapted motion is then used as a generative condition for an image-to-video (I2V) model to render videos in the target scene. Extensive experiments demonstrate that MotionShift achieves high-fidelity and physically compatible motion transfer across diverse and complex scenes. Moreover, we show that MotionShift can be readily integrated into existing trajectory-conditioned I2V models, endowing them with realistic motion transfer capabilities.
Equal contribution.
(Corresponding authors: Yanan Sun and Wenjie Pei.)
Yanchen Liu, Guangming Lu, and Wenjie Pei are with the School of Computer Science and Technology, Harbin Institute of Technology, Shenzhen, China (e-mail: wenjiecoder@outlook.com).
Junyao Gao is with Tongji University, Shanghai, China.
§Yanan Sun is with the Hong Kong University of Science and Technology, Hong Kong, China (e-mail: now.syn@gmail.com).
‖Wensheng Chen is with the Shenzhen International Graduate School, Tsinghua University, Shenzhen, China.
Index Terms—Motion transfer, video generation, vision-language model, image-to-video synthesis, diffusion model.
RECENT advances in diffusion-based image-to-video (I2V) generation [1]–[4] have achieved unprecedented visual fidelity and temporal coherence. Building on this foundation, motion transfer techniques have significantly increased controllability by enabling the replication of motion dynamics from reference videos to target images. These methods employ either explicit or implicit motion representations. Explicit approaches leverage interpretable control signals such as depth maps and skeletal keypoints [5]–[8] to provide structured motion guidance, while implicit methods [9], [10] encode motion patterns directly from reference videos. More recently, structural alignment methods [11]–[13] establish cross-frame object correspondences to propagate spatial layouts. Despite their effectiveness in motion replication, these techniques largely overlook whether the transferred motion remains physically compatible with the target environment.
Existing motion transfer methods often inject the transferred motion into target scenes without adapting to their spatial structures, physical constraints, or interaction dynamics. This can result in jarring visual conflicts—for instance, a squirrel walking through a rock, as depicted in fig. 1. Such artifacts highlight that current frameworks treat the environment as a passive backdrop rather than an active factor that shapes plausible motion.
These observations reveal an under-explored challenge: the motion conflicts arising from environmental discrepancies between reference and target inputs. We formalize this as Environment-Compatible Motion Transfer—the task of transferring motion while ensuring physical plausibility and contextual coherence with the target environment.
In this paper, we propose MotionShift, a motion transfer framework that explicitly addresses environment compatibility. Our framework decomposes the pipeline into two phases: Planner–Evaluator Synergistic Motion Adaptation, which ensures the transferred motion is physically plausible within the target environment, and Motion-to-Appearance Video Rendering, which translates the adapted motion into high-quality video output. In the adaptation phase, we first extract the reference motion trajectory and map it onto the target image via spatial transformation. A planner–evaluator iterative loop then refines this trajectory: the LLM acts as a motion planner that reasons about per-frame object states and outputs corrected bounding boxes, while the VLM serves as a motion evaluator that assesses the corrected trajectory through a pseudo video and provides visual feedback for correction. Through multiple rounds, the trajectory evolves from a coarse positional mapping into an environment-aware motion plan. Notably, this adaptation mechanism is entirely training-free. In the rendering phase, directly generating video from sparse bounding boxes places a heavy burden on a single model to simultaneously resolve motion structure and visual appearance. We instead adopt a progressive strategy: a trained motion generation model first converts the adapted trajectory into a semantic mask sequence that encodes both motion and object-level structure, which is then fed with the target image into an appearance rendering model to produce the final output.
In summary, our main contributions are as follows:
• We identify and formalize Environment-Compatible Motion Transfer, a critical yet overlooked challenge in motion transfer for video generation.
• We propose a planner–evaluator synergistic motion adaptation strategy that combines semantic reasoning with visual perception to produce environment-compatible motion trajectories in a training-free manner.
• We design a progressive motion-to-appearance rendering pipeline that employs semantic motion masks as an intermediate representation, decoupling sparse trajectory control from dense video synthesis.
- Extensive experiments show that MotionShift outperforms existing methods in environment compatibility, motion fidelity, and visual quality. We further show that MotionShift can be readily integrated into existing trajectory-conditioned I2V models as a plugin.
I. RELATED WORK
Some works [29], [32]–[34] mitigate these issues by using multiple reference videos to avoid overfitting to a single layout. Others focus on decoupling motion and appearance to extract semantic-level motion representations [11]–[13] or reconstructing motion information [35] to better align with the target object. Nonetheless, these methods generally overlook the compatibility between transferred motion and the target environment, often resulting in physically or logically implausible motions. Our work explicitly addresses this gap by introducing environment-aware motion adaptation before video generation.
B. Large Model Enhanced Video Generation
Large language models (LLMs) and vision-language models (VLMs) are increasingly valuable in controllable video generation. LLMs enhance short prompts by providing detailed semantic descriptions [36], [37], structuring multi-scene narratives [38], [39], and translating natural-language instructions into coherent multi-step processes [40], [41]. They improve temporal coherence and multi-object controllability in complex scenarios [42]–[44] through high-level reasoning. However, LLMs rely solely on language and can produce hallucinated spatial relations or incorrect interactions. VLMs address these shortcomings by offering object-centric understanding, scene parsing, and multimodal alignment. They effectively reason about spatial layouts [45], [46], track objects over time [47], and verify consistency with textual or physical constraints [48]. Nevertheless, VLMs are less effective at long-horizon motion planning and precise motion control, as their outputs are often descriptive rather than directly actionable for generation.
A few recent works have attempted to combine LLMs and VLMs for video generation. For instance, VideoDirectorGPT [36] uses an LLM to plan multi-scene layouts, while PhyT2V [41] employs LLM-guided iterative refinement to improve physical grounding in text-to-video generation. However, these approaches primarily operate at the scene-level or prompt-level: the LLM generates textual plans or revised descriptions, which are then passed to a video generator in a feedforward manner. They do not perform fine-grained, frame-level trajectory reasoning conditioned on the target environment, nor do they incorporate visual feedback to iteratively verify and correct the spatial plausibility of the planned motion.
Our framework addresses these limitations by assigning complementary roles to the two types of models in a closed-loop process: the LLM serves as the planner, performing frame-level trajectory reasoning through its strong semantic and causal understanding, while the VLM serves as the evaluator, providing visual feedback on the spatial plausibility of the planned motion through pseudo-video assessment. This iterative planner-evaluator loop enables fine-grained, environment-aware motion adaptation that goes beyond the scene-level planning of prior approaches.
C. Two-Stage Video Generation
Recent works have explored decomposing video generation into multiple stages to reduce the difficulty of directly synthesizing complex videos in a single step. By introducing an intermediate representation that captures motion structure, the generation process can be factored into a motion prediction stage and a subsequent appearance synthesis stage, allowing each to focus on its respective sub-problem. The choice of intermediate representation involves a key trade-off: optical flow [49] provides dense pixel-level motion detail but is sensitive to estimation noise and entangles motion with appearance texture; bounding-box trajectories are compact and semantically interpretable but too sparse to directly guide dense video synthesis; object-level semantic masks [50], [51] offer a balance — they are more expressive and structurally informative than sparse boxes, while being more error-tolerant and appearance-agnostic than dense flow.
Our Motion-to-Appearance Video Rendering stage adopts semantic masks as the intermediate representation, but the motivation goes beyond this general trade-off. In our setting, the input to the rendering stage is a bounding-box trajectory produced by the planner-evaluator adaptation, which encodes the intended motion layout but carries no appearance or texture information. Directly conditioning a video generation model on such sparse signals places a heavy burden on a single model to simultaneously hallucinate object appearance, resolve interframe consistency, and respect the adapted motion layout. By first translating the adapted trajectory into a semantic mask sequence and then rendering the final video conditioned on the masks and the target image, we decouple these two subproblems: the motion generation model focuses on converting sparse spatial intent into dense structural guidance, while the appearance rendering model focuses on synthesizing realistic video conditioned on that structure. This progressive design is particularly suited to environment-compatible motion transfer, where the adapted trajectory may deviate significantly from any seen motion pattern and thus requires a structured bridge to guide dense generation.
II. MOTIONSHIFT
In this section, we first introduce Environment-Compatible Motion Transfer (ECMT) in section II-A. Next, we present the pipeline of MotionShift in fig. 2 with two key stages: Planner–Evaluator Synergistic Motion Adaptation (section II-B) and Motion-to-Appearance Video Rendering (section II-C).
A. Environment-Compatible Motion Transfer
While prior works focus on replicating motion trajectories or temporal patterns, they often overlook whether the transferred motion remains reasonable and coherent within the physical context of the target scene. This limitation leads to visually inconsistent or physically implausible results when the target environment differs significantly from that of the reference video—for instance, when the scene contains distinct terrain, obstacles, or interaction dynamics that alter how the motion should be performed.
To address this fundamental gap, we formalize the task of Environment-Compatible Motion Transfer (ECMT), which explicitly requires that the transferred motion adapt to the spatial structure, semantics, and physical constraints of the target environment. As illustrated in fig. 3, the same reference motion, when applied to different scenes, may yield divergent yet contextually appropriate motion behaviors, reflecting how environmental conditions naturally influence the motion's evolution. Formally, given a reference video depicting object performing a motion, and a target image containing a corresponding object along with environmental elements , the goal of ECMT is to generate a video in which performs the transferred motion while maintaining physical plausibility with respect to and the scene geometry—such as respecting gravity, surface continuity, occlusion relationships, and possible interactions with nearby elements.
B. Planner–Evaluator Synergistic Motion Adaptation
Achieving environment-compatible motion transfer is challenging, primarily due to the difficulty of collecting high-quality paired videos that share the same motion yet differ in environmental interactions. To address this, we explicitly adopt a two-step strategy: we first initialize a coarse motion trajectory through spatial transformation (section II-B1), then refine the trajectory via planner-evaluator iterative adaptation to achieve environment compatibility (section II-B2).

Fig. 2. Overview of MotionShift. Given a reference video and a target image, we first initialize a motion trajectory for the target scene. Then, through planner-evaluator iterative adaptation, we refine the trajectory to produce an environment-compatible trajectory and a corresponding motion prompt. Finally, these are progressively rendered into the output video: a motion generation model converts the trajectory into a semantic mask sequence, and an appearance rendering model synthesizes the final video from the masks and target image.

Fig. 3. Illustration of environment-compatible motion transfer, where identical reference motions adapt naturally to different scenes, yielding contextually consistent behaviors.
- Motion Initialization: Since dense motion representations such as depth maps cannot be semantically aligned across different object categories, we adopt a sparse bounding-box sequence as the trajectory representation.
We begin by generating an initial target motion trajectory from the reference video and target image. Specifically, we employ a VLM to identify the primary object in and extract a textual motion description . We then input along with into the VLM to identify the target object that corresponds to , as well as the interacting environmental objects .
We then utilize SAM [52] to segment all identified objects. For the reference video, this yields per-frame bounding boxes forming the reference trajectory:
where denotes the number of frames. For the target image, SAM provides for and for each . The motion is then transferred to the target via a relative spatial transformation , which applies the per-frame displacement and scale change observed in to the initial position :
yielding the initial trajectory for . The bounding boxes of environmental objects are replicated across all frames as static trajectories . The complete motion initialization is:
- Planner–Evaluator Iterative Adaptation: The initial trajectory merely replicates the reference motion and lacks awareness of object-environment interactions. To obtain an
Motion Evaluator: Instructive rectifying feedback by visual perception

Initial Trajectory:
Frame 1: ...
Frame 25:
horse: (241,209,375,330)
fence: (1,241,300,454)
Motion description:
The subject moves
horizontally from right
Interaction Mode: The horse trots leftward toward a fence, then leaps over it
Adaptation Strategy:
Lower the y-coordinate of the horse's bbox as it approaches the fence...
Corrected Trajectory:
Frame 1: ...
Frame 25:
horse: (241,179,375,300)
fence: (1,241,300,454)
Adaptation Strategy:
Lower the y-coordinate of the horse's bbox at the 25th frame...
Motion Planner: Elaborate motion planning by semantic reasoning
Compatible Trajectory:
Frame 1: ...
Frame 25:
horse: (241,109,375,230)
fence: (1,241,300,454)
Motion Prompt:
A saddled horse canters
smoothly...
Fig. 4. Illustration of Planner–Evaluator Iterative Adaptation. At the beginning of each iteration, we leverage the semantic reasoning capability of the planner (LLM) to infer object–environment interactions and perform detailed motion planning along the given trajectory, producing a corrected motion trajectory. We then construct a pseudo video based on the target image and the corrected trajectory, and feed it to the evaluator (VLM) to assess visual consistency and physical plausibility, which then outputs revision suggestions. These suggestions are then appended to the planner's instruction prompt, and we iteratively refine the motion trajectory until the evaluator detects no major issues.
environment-compatible trajectory, we introduce an iterative adaptation loop that leverages the complementary strengths of the planner and evaluator.
Motion Planning. At each iteration, we provide the planner (LLM) with the current bounding-box trajectory, the motion description , and the identities of and . The planner is asked to (1) reason about the interaction mode between and environmental objects at each frame (e.g., jumping over an obstacle, being occluded behind a tree, entering water), (2) output corrected bounding boxes that reflect physically plausible object states, and (3) produce per-frame motion descriptions that characterize the object's state at each timestep.
Motion Evaluation. To visually assess the corrected trajectory, we construct a pseudo video from by masking the objects in , inpainting the masked regions [53], and pasting the object crops at the bounding-box positions for each frame. The resulting pseudo video visualizes how the target object moves through the scene over time, making spatial conflicts and implausible object–environment overlaps directly observable. The evaluator (VLM) then evaluates spatial consistency and physical plausibility of the pseudo video. If issues are detected, it outputs correction instructions specifying problematic frames and suggested adjustments, which are appended to the planner's input for the next iteration. The loop terminates when the evaluator reports no major issues remaining.
Motion Summary. After the adaptation converges, we employ the planner to summarize the per-frame motion descriptions into a concise video-level motion prompt , which serves as the text condition for downstream video generation. This summarization bridges the gap between fine-grained per-frame descriptions and the holistic text condition expected by I2V models.
The final outputs of the Motion Adaptation stage are the environment-compatible trajectory and the motion prompt , as illustrated in fig. 4.
C. Motion-to-Appearance Video Rendering
Directly generating video from sparse bounding boxes places a heavy burden on a single model to simultaneously resolve motion structure and visual appearance. To address this, we decompose the rendering process into two stages. In the first stage, a Motion Generation model converts the adapted bounding-box trajectory into a semantic mask sequence, which encodes object-level shape and spatial extent while abstracting away appearance details. In the second stage, an Appearance Rendering model takes the generated mask sequence together with the target image to produce the final video. This progressive design allows each stage to focus on its respective sub-problem.
- Motion Generation: The Motion Generation model produces mask-based motion sequences conditioned on the first-frame segmentation mask , the bounding-box trajectory , and the motion prompt . The model is built on CogVideoX-I2V [4] with an additional trainable copy branch in a ControlNet-like [54] architecture: the original backbone remains frozen, while the copy branch is initialized from the backbone weights and trained to inject the trajectory condition. The model is denoted as:
where is the noisy mask latent at denoising timestep and is the frozen VAE encoder. The generated masks capture the object-level shape and motion layout, providing structured guidance for the subsequent appearance rendering stage.
- Appearance Rendering: The Appearance Rendering model generates the final output video from the semantic mask sequence and the target image . It adopts the same CogVideoX-I2V backbone with a trainable copy branch as in Motion Generation. The copy branch is trained to inject the mask video as a motion condition: the mask sequence provides object-level spatial guidance for each frame, while the target image supplies appearance information. The model is denoted as:
where is the generated video. Since the mask sequence already encodes the adapted motion layout and object identity, this model can focus on appearance synthesis and fine-grained temporal detail, completing the progressive rendering from sparse trajectories to dense pixel output.
III. EXPERIMENTS
A. Implementation Details
For motion adaptation, we use SAM [52] for object segmentation, Qwen-VL-Max [55] for visual perception and motion evaluation, and o3 [56] for motion planning. For video rendering, both the Motion Generation and Appearance Rendering models are built on CogVideoX-5B-I2V [4] with a ControlNet-like trainable copy branch. The original backbone is kept frozen, while the copy branch is initialized from the backbone weights and trained to inject the conditioning signal. Training Data. We use MagicData [57], a large-scale trajectory-controlled video dataset comprising 23K video samples, each annotated with a triplet including both bounding-box and segmentation mask annotations. For the Motion Generation model, each training sample consists of a first-frame segmentation mask, a bounding-box trajectory sequence, and a ground-truth mask video. For the Appearance Rendering model, each sample consists of a first-frame RGB image, a mask video sequence, and a ground-truth RGB video. All videos are resized to 49 frames at resolution during training.
Optimization. Both models are trained for one epoch using AdamW optimizer with a learning rate of and a batch size of 1 per GPU. Training is conducted on 4 NVIDIA A800 GPUs with gradient accumulation. We use the velocity prediction objective following CogVideoX [4]. Training takes approximately one day per model. During inference, generating a single video takes about 7 minutes on one A800 GPU.
Benchmark. We use the Something-Something V2 dataset [58], which contains 174 motion types and 220,847 videos, as our evaluation benchmark following [13]. We carefully select 10 diverse motion types from the validation set, each containing 11 videos. For each motion type, one video is randomly selected as the reference video, and the first frame of the remaining ten videos serves as a target image, resulting in 100 test pairs. Every test pair has distinct objects and environmental contexts, making motion transfer particularly challenging. Importantly, the selected action classes involve clear physical interactions between objects and their surroundings — such as rolling, sliding, and pushing — where the plausibility of the transferred motion depends critically on the spatial structure and physical properties of the target scene. This makes the benchmark well-suited for evaluating environment-compatible motion transfer. Evaluation Metrics. Following [9], [12], [13], we adopt four metrics for automatic evaluation: (1) Appearance consistency: we compute the CLIP-score [59] between each frame of the generated video and the target image, then average over all frames. This reflects how well the generated video preserves the visual identity of the target subject. (2) Temporal consistency: we compute the CLIP-score between every pair of consecutive frames and average over all pairs, capturing the stability of appearance over time. (3) Motion accuracy: following [11], we use a VLM (InternVL2 [60]) to judge whether the generated video depicts the same motion pattern as the reference video, querying each video ten times and reporting the mean accuracy. (4) Motion appropriateness: we use InternVL2 to assess whether the generated motion appears natural, smooth, and physically plausible. Each video is evaluated ten times, and we report the mean score. Additionally, we conduct a user study where 20 volunteers rate generated videos on a 5-point scale across all four dimensions. For each dimension, we randomly select ten examples from the test set and present the generated videos from all methods side by side, reporting the average rating across all volunteers and examples.
B. Comparison with State-of-the-Art Methods
Qualitative Results. We compare MotionShift with state-of-the-art motion transfer methods, including VideoComposer [7], MotionClone [9], MotionDirector [34], and FlexiAct [12]. As shown in fig. 5, VideoComposer and MotionClone exhibit noticeable visual inconsistencies and artifacts in both objects and the surrounding environment, as their dense conditioning tends to rigidly replicate the spatial structure during motion transfer. MotionDirector generates videos with misaligned appearance and motion due to insufficient implicit spatial and temporal fine-tuning. FlexiAct produces visually consistent results but fails to capture object–environment interactions; for example, the mirror does not reflect the walking person and the ball does not fall to the ground. In contrast, MotionShift generates videos with both faithful motion transfer and plausible environment interactions, demonstrating its effectiveness in environment-compatible motion transfer.
We further demonstrate MotionShift's ability to generalize to complex interactions in fig. 6. For example, the worker is naturally occluded by the container and walks up the stairs while preserving the basic motion from the reference video. Moreover, the ball follows circular motion in the reference video but, when transferred to a new scene, first spirals along the bowl wall, then gradually slides down due to gravity, decelerates upon hitting the water, and finally floats on the surface. These results illustrate that MotionShift is capable of handling scenarios involving multi-step physical interactions, where the motion trajectory must be adapted not only to avoid collisions but also to respect continuous physical processes such as gravity, friction, and buoyancy across successive frames.
Quantitative Results. As shown in table I, MotionShift achieves the best performance across all metrics, outperforming all baselines in both automatic evaluation and user study. Notably, the performance gap is most pronounced on motion appropriateness: MotionShift scores 90.40 in automatic evaluation, compared to 77.60 for the strongest baseline FlexiAct, and achieves a user study rating of 4.68 out of 5 versus 3.57. This large margin on the environment-compatibility-related
Ref.
VideoComp.
MotionC.
MotionD.
FlexiAct
Ours
Ref.
VideoComp.
MotionC.
MotionD.
FlexiAct
Ours
Ref.
VideoComp.
MotionC.
MotionD.
FlexiAct
Ours

Fig. 5. Visual comparison with baseline methods. MotionShift exhibits superior motion consistency and environmental adaptability, accurately capturing perspective variations, realistic reflections, and synchronized hand movements compared to baseline approaches.
metrics, relative to the smaller gap on appearance and temporal consistency, confirms that MotionShift's advantage comes specifically from its environment-aware trajectory adaptation rather than from improvements in rendering quality alone. The user study ratings across all four dimensions further validate the effectiveness of our approach, with MotionShift receiving consistently high scores from human evaluators.
C. Ablation Study
Planner–Evaluator Adaptation. To verify the effectiveness of our planner–evaluator design, we compare four variants. As shown in fig. 7, without adaptation (i.e., using the initial trajectory directly), the horse collides with the fence, producing noticeable artifacts. Using the planner (LLM) alone without the evaluator successfully reasons that the horse should jump, but without visual feedback, its legs still intersect the fence.
TABLE I QUANTITATIVE COMPARISON. OUR METHOD SIGNIFICANTLY OUTPERFORMS THE OTHER LEADING METHODS.
| Method | Automatic Evaluation ↑ | User Study ↑ | ||||||
|---|---|---|---|---|---|---|---|---|
| Appearance Consistency | Temporal Consistency | Motion Accuracy | Motion Appropriateness | Appearance Consistency | Temporal Consistency | Motion Accuracy | Motion Appropriateness | |
| VideoComposer [7] | 73.44 | 92.77 | 18.60 | 26.70 | 2.15 | 2.23 | 2.08 | 2.19 |
| MotionClone [9] | 71.25 | 94.57 | 11.60 | 32.20 | 2.31 | 2.38 | 2.24 | 2.27 |
| MotionDirector [34] | 79.78 | 98.56 | 10.90 | 52.80 | 2.18 | 2.26 | 2.14 | 2.11 |
| FlexiAct [12] | 85.68 | 97.77 | 30.10 | 77.60 | 3.52 | 3.61 | 3.48 | 3.57 |
| Ours | 86.53 | 99.01 | 53.80 | 90.40 | 4.81 | 4.72 | 4.75 | 4.68 |

Fig. 6. Visualizations of MotionShift in scenes with complex interactions.

Fig. 8. Ablation on motion-to-appearance rendering: w/o mask vs. w/ mask (ours).

Fig. 7. Ablation on planner-evaluator adaptation. We compare variants by disabling adaptation, removing the evaluator, or replacing the planner.
Using a VLM instead of an LLM as the planner yields results similar to the initial trajectory, as the VLM can perceive visual conflicts but lacks the long-horizon reasoning ability to infer that the horse should jump. Only by combining both—the LLM as planner for motion reasoning and the VLM as evaluator for visual assessment—does the generated video achieve both visual consistency and environment compatibility.
Motion-to-Appearance Rendering. We ablate the two-stage rendering design by comparing two variants: (1) generating

Fig. 9. Visual results of Go-with-the-Flow using the initial trajectory vs. the environment-compatible trajectory produced by MotionShift as a plugin.
video directly from the adapted trajectory without semantic masks (w/o mask), and (2) our full pipeline that first generates semantic masks and then renders the final video (w/ mask). As shown in fig. 8, without the intermediate mask representation, the generated video suffers from distorted object appearance and incorrect motion behavior, as the sparse trajectory alone provides insufficient guidance for the model to faithfully reconstruct both appearance and dynamics. With semantic masks as an intermediate representation, the object appearance and motion are significantly improved, as the masks provide dense, frame-level structural guidance that bridges sparse trajectory control and high-quality video synthesis.
D. As a Plugin
The adaptation stage of MotionShift outputs an environment-compatible trajectory and a motion prompt, which can be applied to any trajectory-conditioned I2V model without modification. To verify this, we feed the adapted trajectory into the Go-with-the-Flow [61] pipeline. As shown in fig. 9, Go-with-the-Flow produces unnatural videos when following the initial trajectory, such as a robot walking into the sky. When incorporating the environment-compatible trajectory from MotionShift, it produces coherent, natural, and visually harmonious results. This demonstrates that the planner-evaluator adaptation stage is fully decoupled from the rendering backbone and can serve as a general-purpose preprocessing module: since it operates entirely on bounding-box trajectories and natural language, it is agnostic to the choice of downstream I2V model. As a result, any future advancement in trajectory-conditioned video generation can directly benefit from MotionShift's environment-aware adaptation without retraining or architectural changes.
IV. LIMITATION
Our method adopts bounding-box sequences as the motion representation, which effectively captures object-level spatial movements but is inherently unable to represent fine-grained actions such as specific limb postures, deformable object shapes, or articulated body movements. As a result, MotionShift is best suited for transferring holistic object-level motion patterns — such as translation, rotation, and trajectory-level dynamics — rather than detailed action semantics that require part-level control. Extending the framework to support richer motion representations, such as keypoint-based or part-aware trajectories, that can capture fine-grained actions while remaining compatible with environment adaptation remains an important direction for future work.
The planner-evaluator adaptation stage also involves multiple rounds of LLM and VLM inference, which incurs non-trivial computational overhead per sample (approximately 7 minutes per video on a single A800 GPU). Additionally, the rendering stage is built upon CogVideoX-5B-I2V as the backbone; while this model delivers competitive quality, stronger base models such as Wan2.1 [62] or future successors may further improve the visual fidelity and motion realism of the generated videos without changes to the adaptation mechanism. Exploring more efficient adaptation strategies and integrating stronger base models are promising directions for reducing inference cost and improving output quality.
V. CONCLUSION
In this work, we introduce MotionShift, the first framework to address environment-compatible motion transfer. We identify and formalize this task, which requires that the transferred motion remain physically plausible and contextually coherent with the target scene — a challenge largely overlooked by existing motion transfer methods. To address it, we propose a planner-evaluator synergistic adaptation mechanism that iteratively refines motion trajectories through semantic reasoning from an LLM planner and visual feedback from a VLM evaluator, in a training-free manner. The adapted motion is then progressively rendered into the final video through a two-stage pipeline that uses semantic masks as an intermediate representation, decoupling sparse trajectory control from dense appearance synthesis.
Extensive experiments demonstrate that MotionShift achieves superior environment compatibility, motion fidelity, and visual consistency compared to existing baselines. We further show that MotionShift exhibits strong generalization to scenarios involving complex object-environment interactions, and can be readily integrated into existing trajectory-conditioned I2V models as a plugin, improving their physical plausibility without retraining. We believe this work highlights an important but under-explored dimension of controllable video generation, and opens new research directions at the intersection of environment-aware reasoning and physical video synthesis.
REFERENCES
[1] A. Blattmann, T. Dockhorn, S. Kulal, D. Mendelevitch, M. Kilian, D. Lorenz, Y. Levi, Z. English, V. Voleti, A. Letts et al., “Stable video diffusion: Scaling latent video diffusion models to large datasets,” arXiv preprint arXiv:2311.15127, 2023.
[2] U. Singer, A. Polyak, T. Hayes, X. Yin, J. An, S. Zhang, Q. Hu, H. Yang, O. Ashual, O. Gafni et al., “Make-a-video: Text-to-video generation without text-video data,” arXiv preprint arXiv:2209.14792, 2022.
[3] J. Xing, M. Xia, Y. Zhang, H. Chen, W. Yu, H. Liu, G. Liu, X. Wang, Y. Shan, and T.-T. Wong, “Dynamicafter: Animating open-domain images with video diffusion priors,” in ECCV. Springer, 2024, pp. 399–417.
[4] Z. Yang, J. Teng, W. Zheng, M. Ding, S. Huang, J. Xu, Y. Yang, W. Hong, X. Zhang, G. Feng et al., “Cogvideox: Text-to-video diffusion models with an expert transformer,” arXiv preprint arXiv:2408.06072, 2024.
[5] Y. Guo, C. Yang, A. Rao, M. Agrawala, D. Lin, and B. Dai, “Sparsectrl: Adding sparse controls to text-to-video diffusion models,” in ECCV. Springer, 2024, pp. 330–348.
[6] Y. Ma, Y. He, X. Cun, X. Wang, S. Chen, X. Li, and Q. Chen, “Follow your pose: Pose-guided text-to-video generation using pose-free videos,” in AAAI, vol. 38, 2024, pp. 4117–4125.
[7] X. Wang, H. Yuan, S. Zhang, D. Chen, J. Wang, Y. Zhang, Y. Shen, D. Zhao, and J. Zhou, “Videocomposer: Compositional video synthesis with motion controllability,” NeurIPS, vol. 36, pp. 7594–7611, 2023.
[8] W. Chen, Y. Ji, J. Wu, H. Wu, P. Xie, J. Li, X. Xia, X. Xiao, and L. Lin, "Control-a-video: Controllable text-to-video generation with diffusion models," arXiv e-prints, pp. arXiv-2305, 2023.
[9] P. Ling, J. Bu, P. Zhang, X. Dong, Y. Zang, T. Wu, H. Chen, J. Wang, and Y. Jin, “Motionclone: Training-free motion cloning for controllable video generation,” arXiv preprint arXiv:2406.05338, 2024.
[10] Y. Ren, Y. Zhou, J. Yang, J. Shi, D. Liu, F. Liu, M. Kwon, and A. Shrivastava, “Customize-a-video: One-shot motion customization of text-to-video diffusion models,” in ECCV. Springer, 2024, pp. 332–349.
[11] S. Tan, B. Gong, Y. Wei, S. Zhang, Z. Liu, D. Zheng, J. Chen, Y. Wang, H. Ouyang, K. Zheng et al., “Synmotion: Semantic-visual adaptation for motion customized video generation,” arXiv preprint arXiv:2506.23690, 2025.
[12] S. Zhang, J. Zhuang, Z. Zhang, Y. Shan, and Y. Tang, “Flexiact: Towards flexible action control in heterogeneous scenarios,” in SIGGRAPH, 2025, pp. 1–11.
[13] M. Kansy, J. Naruniec, C. Schroers, M. Gross, and R. M. Weber, “Reenact anything: Semantic video motion transfer using motion-textual inversion,” in SIGGRAPH, 2025, pp. 1–12.
[14] T. Brooks, B. Peebles, C. Holmes, W. DePue, Y. Guo, L. Jing, D. Schnurr, J. Taylor, T. Luhman, E. Luhman et al., “Video generation models as world simulators,” OpenAI Blog, vol. 1, no. 8, p. 1, 2024.
[15] H. Chen, Y. Zhang, X. Cun, M. Xia, X. Wang, C. Weng, and Y. Shan, "Videocrafter2: Overcoming data limitations for high-quality video diffusion models," in CVPR, 2024, pp. 7310–7320.
[16] S. Liu, Z. Ren, S. Gupta, and S. Wang, “Physgen: Rigid-body physics-grounded image-to-video generation,” in ECCV. Springer, 2024, pp. 360–378.
[17] Y. Yuan, X. Wang, T. Wickremasinghe, Z. Nadir, B. Ma, and S. H. Chan, "Newtongen: Physics-consistent and controllable text-to-video generation via neural newtonian dynamics," arXiv preprint arXiv:2509.21309, 2025.
[18] A. Escontrela, A. Adeniji, W. Yan, A. Jain, X. B. Peng, K. Goldberg, Y. Lee, D. Hafner, and P. Abbeel, “Video prediction models as rewards for reinforcement learning,” NeurIPS, vol. 36, pp. 68760–68783, 2023.
[19] P. Esser, J. Chiu, P. Atighehchian, J. Granskog, and A. Germanidis, "Structure and content-guided video synthesis with diffusion models," in ICCV, 2023, pp. 7346–7356.
[20] J. Xing, M. Xia, Y. Liu, Y. Zhang, Y. Zhang, Y. He, H. Liu, H. Chen, X. Cun, X. Wang et al., "Make-your-video: Customized video generation using textual and structural guidance," TVCG, vol. 31, no. 2, pp. 1526–1541, 2024.
[21] L. Hu, “Animate anyone: Consistent and controllable image-to-video synthesis for character animation,” in CVPR, 2024, pp. 8153–8163.
[22] G. Lei, C. Wang, R. Zhang, Y. Wang, H. Li, and W. Xu, “Animateanything: Consistent and controllable animation for video generation,” in CVPR, 2025, pp. 27946–27956.
[23] M. Niu, X. Cun, X. Wang, Y. Zhang, Y. Shan, and Y. Zheng, “Mofa-video: Controllable image animation via generative motion field adaptations in frozen image-to-video diffusion model,” in ECCV. Springer, 2024, pp. 111–128.
[24] Z. Wang, Z. Yuan, X. Wang, Y. Li, T. Chen, M. Xia, P. Luo, and Y. Shan, "Motionctrl: A unified and flexible motion controller for video generation," in SIGGRAPH, 2024, pp. 1–11.
[25] J. Gao, Y. Sun, F. Shen, X. Jiang, Z. Xing, K. Chen, and C. Zhao, "Faceshot: Bring any character into life," arXiv preprint arXiv:2503.00740, 2025.
[26] T. H. S. Meral, H. Yesiltepe, C. Dunlop, and P. Yanardag, “Motionflow: Attention-driven motion transfer in video diffusion models,” arXiv preprint arXiv:2412.05275, 2024.
[27] X. Bi, J. Lu, B. Liu, X. Cun, Y. Zhang, W. Li, and B. Xiao, “Customttt: Motion and appearance customized video generation via test-time training,” in AAAI, vol. 39, 2025, pp. 1871–1879.
[28] H. Jeong, G. Y. Park, and J. C. Ye, “Vmc: Video motion customization using temporal attention adaption for text-to-video diffusion models,” in CVPR, 2024, pp. 9212–9221.
[29] J. Materzyńska, J. Sivic, E. Shechtman, A. Torralba, R. Zhang, and B. Russell, “Newmove: Customizing text-to-video models with novel motions,” in ACCV, 2024, pp. 1634–1651.
[30] J. Bai, T. He, Y. Wang, J. Guo, H. Hu, Z. Liu, and J. Bian, “Uniedit: A unified tuning-free framework for video motion and appearance editing,” in ACM Multimedia, 2025, pp. 10171–10180.
[31] D. Yatim, R. Fridman, O. Bar-Tal, Y. Kasten, and T. Dekel, “Space-time diffusion features for zero-shot text-driven motion transfer,” in CVPR, 2024, pp. 8466–8476.
[32] Y. Wei, S. Zhang, Z. Qing, H. Yuan, Z. Liu, Y. Liu, Y. Zhang, J. Zhou, and H. Shan, “Dreamvideo: Composing your dream videos with customized subject and motion,” in CVPR, 2024, pp. 6537–6549.
[33] R. Wu, L. Chen, T. Yang, C. Guo, C. Li, and X. Zhang, “Lamp: Learn a motion pattern for few-shot video generation,” in CVPR, 2024, pp. 7089–7098.
[34] R. Zhao, Y. Gu, J. Z. Wu, D. J. Zhang, J.-W. Liu, W. Wu, J. Keppo, and M. Z. Shou, “Motiondirector: Motion customization of text-to-video diffusion models,” in ECCV. Springer, 2024, pp. 273–290.
[35] Y. Liu, Y. Sun, Z. Xing, J. Gao, K. Chen, and W. Pei, “Motionshot: Adaptive motion transfer across arbitrary objects for text-to-video generation,” in ICCV, 2025, pp. 11861–11871.
[36] H. Lin, A. Zala, J. Cho, and M. Bansal, “Videodirectorgpt: Consistent multi-scene video generation via llm-guided planning,” arXiv preprint arXiv:2309.15091, 2023.
[37] L. Lian, B. Shi, A. Yala, T. Darrell, and B. Li, “Llm-grounded video diffusion models,” arXiv preprint arXiv:2309.17444, 2023.
[38] H. He, H. Yang, Z. Tuo, Y. Zhou, Q. Wang, Y. Zhang, Z. Liu, W. Huang, H. Chao, and J. Yin, “Dreamstory: Open-domain story visualization by llm-guided multi-subject consistent diffusion,” TPAMI, 2025.
[39] P. Hu, J. Jiang, J. Chen, M. Han, S. Liao, X. Chang, and X. Liang, "Storyagent: Customized storytelling video generation via multi-agent collaboration," arXiv preprint arXiv:2411.04925, 2024.
[40] Y. Zhang, B. Li, h. Liu, Y. j. Lee, L. Gui, D. Fu, J. Feng, Z. Liu, and C. Li, “Llava-next: A strong zero-shot video understanding model,” April 2024. [Online]. Available: https://llava-vl.github.io/blog/2024-04-30-llava-next-video/
[41] Q. Xue, X. Yin, B. Yang, and W. Gao, “Phyt2v: Llm-guided iterative self-refinement for physics-grounded text-to-video generation,” in CVPR, 2025, pp. 18826–18836.
[42] G. Chen, Y.-D. Zheng, J. Wang, J. Xu, Y. Huang, J. Pan, Y. Wang, Y. Wang, Y. Qiao, T. Lu et al., “Videollm: Modeling video sequence with large language models,” arXiv preprint arXiv:2305.13292, 2023.
[43] H. Zhang, X. Li, and L. Bing, “Video-llama: An instruction-tuned audio-visual language model for video understanding,” arXiv preprint arXiv:2306.02858, 2023.
[44] J. Xiang, G. Liu, Y. Gu, Q. Gao, Y. Ning, Y. Zha, Z. Feng, T. Tao, S. Hao, Y. Shi et al., “Pandora: Towards general world model with natural language actions and video states,” arXiv preprint arXiv:2406.09455, 2024.
[45] C. Pan, B. Yaman, T. Nesti, A. Mallik, A. G. Allievi, S. Velipasalar, and L. Ren, “Vlp: Vision language planning for autonomous driving,” in CVPR, 2024, pp. 14760–14769.
[46] B. Lin, Y. Ye, B. Zhu, J. Cui, M. Ning, P. Jin, and L. Yuan, “Video-llava: Learning united visual representation by alignment before projection,” in EMNLP, 2024, pp. 5971–5984.
[47] Z. Tan, H. Yang, L. Qin, J. Gong, M. Yang, and H. Li, “Omni-video: Democratizing unified video understanding and generation,” 2025. [Online]. Available: https://arxiv.org/abs/2507.06119
[48] X. Yang, B. Li, Y. Zhang, Z. Yin, L. Bai, L. Ma, Z. Wang, J. Cai, T.-T. Wong, H. Lu et al., “Vlipp: Towards physically plausible video generation with vision and language informed physical prior,” arXiv preprint arXiv:2503.23368, 2025.
[49] X. Shi, Z. Huang, F.-Y. Wang, W. Bian, D. Li, Y. Zhang, M. Zhang, K. C. Cheung, S. See, H. Qin et al., “Motion-i2v: Consistent and controllable image-to-video generation with explicit motion modeling,” in SIGGRAPH, 2024, pp. 1–11.
[50] G. Yariv, Y. Kirstain, A. Zohar, S. Sheynin, Y. Taigman, Y. Adi, S. Benaim, and A. Polyak, “Through-the-mask: Mask-based motion trajectories for image-to-video generation,” in CVPR, 2025, pp. 18198–18208.
[51] G. Li, B. Zhao, J. Yang, and L. Sevilla-Lara, “Mask2iv: Interaction-centric video generation via mask trajectories,” in AAAI, vol. 40, 2026, pp. 6091–6099.
[52] A. Kirillov, E. Mintun, N. Ravi, H. Mao, C. Rolland, L. Gustafson, T. Xiao, S. Whitehead, A. C. Berg, W.-Y. Lo et al., “Segment anything,” in ICCV, 2023, pp. 4015–4026.
[53] A. Telea, “An image inpainting technique based on the fast marching method,” Journal of Graphics Tools, vol. 9, no. 1, pp. 23–34, 2004.
[54] L. Zhang, A. Rao, and M. Agrawala, “Adding conditional control to text-to-image diffusion models,” in ICCV, 2023, pp. 3836–3847.
[55] J. Bai, S. Bai, S. Yang, S. Wang, S. Tan, P. Wang, J. Lin, C. Zhou, and J. Zhou, “Qwen-vl: A versatile vision-language model for understanding, localization, text reading, and beyond,” 2023. [Online]. Available: https://arxiv.org/abs/2308.12966
[56] OpenAI, “Deliberative alignment in OpenAI o3,” 2025. [Online]. Available: https://openai.com/index/deliberative-alignment/
[57] Q. Li, Z. Xing, R. Wang, H. Zhang, Q. Dai, and Z. Wu, “Magicmotion: Controllable video generation with dense-to-sparse trajectory guidance,” arXiv preprint arXiv:2503.16421, 2025.
[58] R. Goyal, S. Ebrahimi Kahou, V. Michalski, J. Materzynska, S. Westphal, H. Kim, V. Haenel, I. Fruend, P. Yianilos, M. Mueller-Freitag et al., "The" something something" video database for learning and evaluating visual common sense," in ICCV, 2017, pp. 5842–5850.
[59] A. Radford, J. W. Kim, C. Hallacy, A. Ramesh, G. Goh, S. Agarwal, G. Sastry, A. Askell, P. Mishkin, J. Clark et al., “Learning transferable visual models from natural language supervision,” in ICML. PmLR, 2021, pp. 8748–8763.
[60] Z. Chen, J. Wu, W. Wang, W. Su, G. Chen, S. Xing, M. Zhong, Q. Zhang, X. Zhu, L. Lu, B. Li, P. Luo, T. Lu, Y. Qiao, and J. Dai, “Internvl: Scaling up vision foundation models and aligning for generic visual-linguistic tasks,” in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2024, pp. 24185–24198.
[61] R. Burgert, Y. Xu, W. Xian, O. Pilarski, P. Clausen, M. He, L. Ma, Y. Deng, L. Li, M. Mousavi et al., “Go-with-the-flow: Motion-controllable video diffusion models using real-time warped noise,” in CVPR, 2025, pp. 13–23.
[62] T. Wan, A. Wang, B. Ai, B. Wen, C. Mao, C.-W. Xie, D. Chen, F. Yu, H. Zhao, J. Yang et al., “Wan: Open and advanced large-scale video generative models,” arXiv preprint arXiv:2503.20314, 2025.