TL;DR
Text-to-video (T2V) models can generate stunning footage, but they also inherit harmful concepts from the web—and fixing them without wrecking visual quality or burning massive compute is notoriously tricky. This paper treats video generation like a classical physics problem, applying rocket-guidance math (optimal control) to gently nudge internal model activations away from unsafe content on the fly. By compressing massive video states into a tiny, task-relevant subspace, the authors steer massive video models safely in real time without touching a single model weight.
What Problem Does This Paper Address?
Because T2V models train on sprawling, weakly curated web data, they easily generate nudity, graphic violence, or copyrighted characters. Standard fixes have painful tradeoffs: finetuning is prohibitively expensive, weight editing can make models behave erratically, and prompt filters are routinely outsmarted by adversarial "jailbreaks."
Activation steering—reaching inside the model during inference to nudge internal representations—is a great lightweight alternative popularized in LLMs. However, existing steering methods are usually "open-loop" and shortsighted: they shove activations in a fixed direction without anticipating how that shove ripples through later layers and denoising steps. Push too little, and the bad content stays; push too hard, and the video dissolves into visual artifacts. Meanwhile, smarter control-theoretic steering methods designed for LLMs crash into a wall with video Diffusion Transformers (DiTs). With tens of millions of activation dimensions per video, computing how activations evolve would require over 30 petabytes of memory for a single matrix.
Methods
To make precision steering tractable, the authors introduce Latent Activation Linear-Quadratic Regulator (LA-LQR), blending mechanistic interpretability with classical control theory:
- T2V as a Dynamical System: They unroll the iterative reverse-diffusion steps and transformer blocks into a single sequential timeline. Each layer at each denoising step is a "state," and additive tweaks to text embeddings (or video tokens) act as "control inputs."
- Subspace Compression (The Tractability Trick): Instead of controlling raw 87-million-dimensional activations, they feed the model contrastive prompt pairs (e.g., prompts with vs. without a target concept) and use streaming randomized SVD to find a tiny, 64-dimensional subspace where that concept actually lives.
- Closed-Loop LQR Feedback: Within this compact latent space, they estimate local linear dynamics using efficient Jacobian-vector products. They then apply a standard Linear-Quadratic Regulator (LQR)—a classic optimal control algorithm—to compute layer- and timestep-specific steering signals. Because it is closed-loop and anticipative, LA-LQR measures how close the video currently is to a safe "setpoint" at every step, applying the minimum possible nudge only when the model isn't already naturally drifting toward safety.
Datasets
The authors do not train base models, relying instead on small sets of contrastive prompt pairs (e.g., 20 pairs for concept steering) to build their subspaces. For safety evaluations, they use two established harmful-prompt benchmarks—selecting five categories from each—without introducing new datasets:
- T2VSafetyBench: Evaluated across Copyright & Trademarks, Pornography, Gore, Public Figures, and Sequential Action Risk (includes adversarial/jailbroken prompts).
- SafeSora: Evaluated across Violence, Terrorism, Racism, Sexual content, and Animal Abuse.
Key Insights and Ideas
- Massive video concepts live in tiny subspaces: Even in a 14-billion-parameter video model, a median of 80% of a target concept's contrastive energy is captured by just the top 64 singular vectors. You don't need petabytes of math to steer a giant model if you project onto the right 64 dimensions first.
- Local dynamics generalize across prompts: You might expect every text prompt to warp the model's internal physics differently, requiring expensive recalculations on every run. Surprisingly, the linearized dynamics matrices across completely different prompts are 8.7x more similar to each other than random matrices. This means you can precompute the LQR controller on one representative trajectory and reuse itzero-shot on brand-new prompts!
- Anticipation prevents oversteering: Because LA-LQR models how perturbations propagate forward in time, it avoids fighting the model unnecessarily—preserving the scene's layout, lighting, and motion while surgically swapping out just the unsafe elements (like replacing nudity with minimal clothing, or swapping a public figure for a lookalike).
Key Results
Tested on two state-of-the-art distilled T2V models (Wan2.1-T2V-14B and HunyuanVideo-1.5), LA-LQR substantially outperforms weight-editing and text-filtering baselines:
- Wan2.1 on T2VSafetyBench: LA-LQR slashes the average safety violation rate from 36.9% (unsteered) down to 14.6%, beating SAFREE (26.1%), Diffusion-Sliders (31.9%), and Video Unlearning (36.3%). Notably, pornography violations drop from 50.0% to 9.5%, and gore drops from 42.0% to 14.0%.
- HunyuanVideo-1.5 on SafeSora: Average violation rates drop from 31.5% to 12.2% (compared to 28.6%–32.6% for baselines), driving Racism and Sexual content violations all the way down to 0.0%.
- Visual Quality & Concept Control: Across both benchmarks, LA-LQR achieves the highest VBench subject consistency scores (0.971 on Wan, 0.967 on Hunyuan), avoiding the visual degradation seen when aggressively tuning baseline methods. Furthermore, dialing up the LQR state-cost parameter smoothly amplifies benign concepts (like steering a cyberpunk scene to be progressively more "red").
Limitations and Future Work
- Subspace Dependency: Steering is only as good as the contrastive prompts used to find the latent subspace; if the pairs miss nuances of a target concept, projection will discard relevant directions (though the authors provide a captured-energy diagnostic to help catch this).
- Local Linearity: Relying on a single linearized dynamics model could degrade under extreme, adversarially crafted prompts; storing a bank of multiple local models is suggested as a fix.
- White-Box Access: LA-LQR requires reading and modifying internal activations during inference. Extending this framework to black-box models via surrogate controllers—and pairing it with input/output filters for defense-in-depth—remains future work.
Summary updated