
TLDR
- What: SIRUS is a training-free, inference-time concept suppression framework for text-to-video (T2V) models that builds a contextualized text-embedding subspace to dynamically subtract concept residuals during sampling.
- Who's at risk: Deployments of modern open-source T2V generators (e.g., CogVideoX, Wan2.2, Open-Sora) used in public platforms where users might bypass prompt filters to generate unsafe, copyrighted, or style-cloned content.
- Key number: On CogVideoX, SIRUS achieves a 70.4% average forgetting success rate and lowers target concept frame hits to 25.7% (vs. 44.4% / 47.2% for VideoEraser) with an average video quality drop () of only -0.016.
As text-to-video (T2V) models like CogVideoX, Wan2.2, and Open-Sora move toward production, the risk of unsafe or copyrighted generations has grown. Video generators present unique unlearning challenges due to temporal frame consistency and high sampling costs. Simple keyword filtering is easily bypassed, while weight-editing or fine-tuning is computationally expensive and hard to adapt to changing policies.
To address this, researchers proposed SIRUS (Subspace-Informed Residual Unlearning during Sampling), a training-free, inference-time framework that alters sampling trajectories to suppress target concepts while keeping underlying parameters frozen.
Threat Model
| Attacker | Users attempting to generate restricted visual content (e.g., nudity, objects like a "garbage truck", or styles like "Van Gogh") using descriptive aliases, style-cloning, or jailbreak prompts. |
| Victim | T2V generation platforms deploying open models like CogVideoX or Wan2.2. |
| Goal | Force the generator to produce high-quality video frames containing the restricted target concept. |
| Budget | Black-box query access or gray-box access to prompt embeddings (no model weight editing required). |
Background & Related Work
Concept unlearning has transitioned from image-level weight erasure to inference-time video interventions. Below is a comparison of current unlearning strategies:
| Method | Intervention Type | Scope | Preserves Non-Target Subjects? | Target Resolution Level | Primary Backbones |
|---|---|---|---|---|---|
| VideoEraser | Inference-Time | Video | Low (Causes texture/scene drift) | Frame & Video level | CogVideoX |
| SAFREE | Inference-Time | Image/Video | Low (Aggressive subject collapse) | Frame level | CogVideoX (Nudity only) |
| T2VUnlearning | Parameter-Updating | Video | Very Low (Deletes human subjects entirely) | Frame level | CogVideoX (Nudity only) |
| Refusal Vector | Inference-Time | Video | Moderate | Poor concept resolution | OpenSora2 |
| SIRUS | Inference-Time | Video | High (Targeted local projection) | Frame & Video level | CogVideoX, Wan2.2 |
Methodology: How SIRUS Erases Concepts on the Fly
SIRUS operates entirely at inference time with a frozen text encoder and denoising network . The pipeline consists of four stages:
[Target Aliases] ---> (1) Concept Subspace Construction (SVD/QR)
|
v
[Input Prompt] ---> (2) Hierarchical Triggering & Local Projection ---> Edited Condition (c_t)
|
v
(3) Positive Concept-Reference Branch ---> Reference Condition (c_c)
|
v
(4) Residual Unlearning during Sampling ---> Output Video
1. Concept Subspace Construction
Rather than a static vector, SIRUS models concepts as a local linear subspace to account for linguistic context:
- Target aliases are placed in template prompts (e.g., "a video of [alias] in a scene").
- Prompts are encoded, and embeddings at the alias positions are extracted as samples .
- After centering, SVD, and QR orthonormalization, SIRUS produces a row-orthonormal basis .
- The projection operator onto this subspace is:
2. Hierarchical Triggering and Prompt Projection
To prevent over-suppression on benign prompts, SIRUS uses an asymmetric trigger rule:
- Level 1: Exact alias/anchor matching.
- Level 2: Similarity search for tokens matching the concept subspace ().
- Levels 3 & 4: Conservative fallback steps for weak similarity.
Only triggered token embeddings are projected away from to form the edited condition :
3. Positive Concept-Reference Branch
To prevent the model from recovering concepts via pre-trained prior weights, SIRUS constructs a reference branch:
- Reference prompts are embedded and scored by similarity to the prompt anchor.
- The top- matches are aggregated via softmax to yield .
- This is mixed with the unconditional embedding to produce :
4. Residual Unlearning during Sampling
The model evaluates unconditional (), edited (), and reference () branches, outputting noise predictions , , and . The standard classifier-free guidance (CFG) is: The concept residual to be subtracted is defined as:
SIRUS bounds the norm of to a profile budget (where ), applies momentum smoothing to get , and subtracts it during denoising via a cosine decay schedule:
Key Results
SIRUS was evaluated on CogVideoX across five concepts: nudity (safety), church, garbage truck, parachute (objects), and Van Gogh (style).
1. Forgetting Success vs. Frame-Level Target Hit Rate
Table 1 reports the video-level unlearning success rate against the frame-level target hit rate (Success / Frame Hit ):
| Method | Backbone | Nudity | Church | Garbage Truck | Parachute | Van Gogh | Average |
|---|---|---|---|---|---|---|---|
| SIRUS | CogVideoX | 80.0 / 15.9 | 48.0 / 45.5 | 80.0 / 16.8 | 50.0 / 43.6 | 94.0 / 6.6 | 70.4 / 25.7 |
| VideoEraser | CogVideoX | 52.0 / 39.4 | 34.0 / 58.0 | 30.0 / 57.9 | 28.0 / 60.5 | 78.0 / 20.4 | 44.4 / 47.2 |
| Refusal Vector | OpenSora2 | 28.0 / 65.5 | 4.0 / 93.8 | 10.0 / 88.0 | 4.0 / 94.6 | 92.0 / 6.9 | 27.6 / 69.8 |
| SAFREE | CogVideoX | 52.0 / 44.6 | — | — | — | — | — |
| T2VUnlearning | CogVideoX | 88.0 / 10.5 | — | — | — | — | — |
Analysis: Although the weight-updating T2VUnlearning gets high nudity unlearning success (88.0%), it does so by deleting the human subject entirely, dropping its person retention rate to 33.4% compared to SIRUS’s 78.5% (Table 7).
2. Video Quality Trade-Off (VBench Metrics)
Table 3 evaluates unlearned videos using VBench quality metrics (higher is better):
| Method | Backbone | Quality | Subject | Background | Motion | Aesthetic | Imaging | |
|---|---|---|---|---|---|---|---|---|
| CogVideoX baseline | CogVideoX | 0.834 | 0.962 | 0.957 | 0.988 | 0.566 | 0.698 | — |
| OpenSora2 baseline | OpenSora2 | 0.797 | 0.953 | 0.960 | 0.994 | 0.473 | 0.605 | — |
| SIRUS | CogVideoX | 0.818 | 0.964 | 0.961 | 0.986 | 0.535 | 0.644 | -0.016 |
| VideoEraser | CogVideoX | 0.791 | 0.941 | 0.951 | 0.979 | 0.511 | 0.572 | -0.043 |
| Refusal Vector | OpenSora2 | 0.784 | 0.958 | 0.960 | 0.994 | 0.434 | 0.576 | -0.013 |
Limitations & Open Questions
- Visually Persistent Objects remain Resistant: Large, visually dominant target concepts like "parachute" remain difficult (only 50.0% success rate) due to persistent visual features across frames.
- Jailbreak Vulnerabilities: Under adversarial jailbreak prompts (Table 10), the failure rate of SIRUS rises to 24.0% (with a 21.9% frame target hit rate), though it still outperforms VideoEraser (78.0%).
- Inference Latency: Running three forward passes during the erasure window increases single-video generation time by 23.8% (+43s on CogVideoX, Table 11).
What Practitioners Should Do
-
Deploy Prompt-Side Embedding Projection: Implement a localized embedding projection layer after the text encoder to project target-related tokens away from the concept's linear subspace:
def project_embeddings(token_embeddings, concept_subspace_basis, alpha=1.0): # concept_subspace_basis: [K, D] projection = torch.matmul(token_embeddings, concept_subspace_basis.T) projection = torch.matmul(projection, concept_subspace_basis) return token_embeddings - alpha * projection -
Integrate Multi-Branch CFG: Modify sampling loops to run the three-branch prediction (unconditional, edited, reference) only during the early sampling phase (determined by the cosine schedule), then revert to standard CFG to minimize latency.
-
Incorporate Object and Person Retention Auditing: When updating unlearning mechanisms, explicitly test with downstream object detectors (e.g., YOLO) to verify that target erasure does not trigger global scene collapse or subject disappearance.
Den's Take
I am generally skeptical of training-free safety interventions because they often trade away generation quality. However, SIRUS's approach of using SVD/QR to build a contextualized subspace and subtract concept residuals on the fly is highly elegant. Restricting average quality drop () to just -0.016 while bringing average frame hits down to 25.7% is an impressive engineering feat for an update-free method.
That said, we must remember that this is an inference-time patch on frozen weights; the model still "knows" how to generate the unsafe content. As demonstrated in generative safety literature using tools like AutoDAN [22] or T2VSafetyBench [26], semantic adjustments and adversarial prompt optimization can bypass static text-space filters. If an attacker shifts the input distribution enough to slip past the constructed trigger subspace, the defense will fail because the underlying model weights remain unchanged. SIRUS is a great, cost-effective stopgap for deployment pipelines, but should be combined with output-side visual classifiers for comprehensive safety.