This paper proposes ShadowDancer, a learning paradigm for arbitrary action frame-level control in interactive video world models. By learning a unified dynamics representation from videos and their corresponding shadow pairs, it transforms demonstration videos into action assets reusable across scenarios without any additional action labels.
The core obstacle to achieving arbitrary action frame-level control in interactive video world models lies at the representation level: the two main existing action encoding schemes both have inherent limitations and cannot support precise control across diverse dynamics scenarios. The first scheme adopts loose action encoding, leaving the concrete unfolding of actions entirely to the model, so frame-level details of action execution cannot be constrained. The second scheme achieves precise action encoding through structured signals, but such structured signals are only suited to a single action category and are highly difficult to obtain, making it hard to cover diverse action requirements.
Demonstration videos that specify arbitrary dynamics frame by frame should be a natural path to solving the above problem, but a single demonstration video can only present a single projection of the underlying dynamics through a particular appearance. Action representations learned directly from demonstration videos generalize poorly and are difficult to transfer to unseen new scenarios, further amplifying the difficulty of realizing arbitrary action frame-level control under existing representation schemes.
ShadowDancer's core innovations center on three mutually reinforcing levels. First, it proposes the Shadow learning paradigm, which learns dynamics representations invariant to paired resampled content from original videos and corresponding shadow samples, resolving the latent action non-identifiability problem at the construction level, and provides a formal analysis of shared-dynamics identifiability. Second, it builds a source-agnostic pairing protocol, Shadow Library, which uses pairing rendering scripts for animation suites, open-world games, and robot simulators to provide shadow supervision for multiple families including humans, cameras, and object dynamics without any action labels. Finally, it implements ShadowDancer, a world model supporting arbitrary action interaction, which drives diverse controlled actions—including combat, driving, sports, and robot manipulation in first-person and third-person views—through a unified latent action interface. Readers can refer to the figure immediately following to fully trace the paradigm's end-to-end core design logic from shadow pair construction to streaming long action generation.
Taking human motion as an example, ShadowDancer's workflow can be fully reused for all other dynamics categories such as camera motion and object interaction. The first step of the workflow is constructing shadow pairs: the same dynamics d is rendered twice, yielding and , where all factors other than the target dynamics are independently resampled between the two renders, providing the paired constraint for the subsequent unified dynamics representation learning.
The cross-shadow prediction module converts the shadow pair's pairing constraint into an explicit learning objective. This module is instantiated as a latent action model (LAM): an inverse dynamics encoder models the variational posterior for each inter-frame transition , outputting a latent action of dimension , and a forward decoder performs next-frame prediction. Unlike conventional latent action models, which read and predict from the same video clip, cross-shadow prediction uses a special cross-shadow arrangement: the encoder reads the inter-frame transitions of the source shadow, and the decoder predicts the target shadow's next frame based on the target shadow's own previous frame and the latent action obtained from the source shadow.
During inference, the model takes a first frame and demonstration content given in the form of a reference clip or a stored action asset; the frozen encoder converts the demonstration into latent actions z frame by frame, and the block causal generator then rolls out the video, making the generated virtual world reproduce the demonstrated dynamics. In ShadowDancer, actions are no longer single-frame key states but variable-length dynamics segments that can be stored as action assets: a video clip of any duration can be extracted as an action asset , which after storage can be replayed in any virtual scene, and multiple action assets can be concatenated along the generation rollout direction for composition. You can refer to the multi-task generation results example immediately following to intuitively understand the output performance of three generation approaches on four different action tasks.
For long-sequence action generation, the paper designs a blind two-alternative-forced-choice preference-rate evaluation. On the three core metrics of action control, action fidelity, and long-horizon consistency, ShadowDancer's user preference rate exceeds 50% against all baseline methods in the comparison, outperforming the three public baselines Olaf-World, Yume-1.5, and LingBot-World 2.0 under the original experimental settings. You can refer to the multi-task long-sequence generation comparison example immediately following to directly compare the differences in long-sequence generated frames across methods on four typical interaction tasks.
ShadowDancer explicitly discloses two preconditions for the method to hold, and all completed effectiveness verification is built on these two premises. The first precondition is that action assets must be prepared in advance: at deployment, the model requires reference clips or stored assets; dynamics effects for which no corresponding demonstration samples exist must first be captured or manually created before the model can support them.
The second precondition concerns the collection cost of shadow pairs: shadow pairs are easy to construct in games and simulators, since these environments can reproduce exactly identical dynamics processes with resampled appearance on demand. In the real world, however, such repeatable runs are rare, so the difficulty of collecting shadow pairs increases substantially; real-world videos can only participate in training in a self-paired form, contributing only signals related to visual realism and unable to provide identifiability supervision for dynamics.