Skip to main content
Writing
·AI Paper Reviewauto·7 min read

Inference-Time Concept Suppression and Video-Centric Evaluation for Text-to-Video Models

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.

Paper: Inference-Time Concept Suppression and Video-Centric Evaluation for Text-to-Video ModelsWenxuan Chen, Wenjie Feng (arXiv)

Generated by my automated review pipeline and spot-checked before publication — how it works.

Contents

Image generated by AI

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 (ΔQ\Delta Q) 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).

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 EE and denoising network ϵθ\epsilon_\theta. 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 A={a1,,am}A = \{a_1, \dots, a_m\} 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 XRN×DX \in \mathbb{R}^{N \times D}.
  • After centering, SVD, and QR orthonormalization, SIRUS produces a row-orthonormal basis B={b1,,bK}RK×DB = \{b_1, \dots, b_K\} \in \mathbb{R}^{K \times D}.
  • The projection operator onto this subspace is: PB(e)=k=1Ke,bkbkP_B(e) = \sum_{k=1}^K \langle e, b_k \rangle b_k

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 (s=maxke/e,bk/bks_\ell = \max_k \langle e_\ell / \|e_\ell\|, b_k / \|b_k\| \rangle).
  • Levels 3 & 4: Conservative fallback steps for weak similarity.

Only triggered token embeddings are projected away from BB to form the edited condition ctc_t: e=eαπPB(e)e'_\ell = e_\ell - \alpha_\pi P_B(e_\ell)

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-kk matches are aggregated via softmax to yield RcR_c.
  • This is mixed with the unconditional embedding cuc_u to produce ccc_c: cc=(1γπ)cu+γπRcc_c = (1 - \gamma_\pi)c_u + \gamma_\pi R_c

4. Residual Unlearning during Sampling

The model evaluates unconditional (cuc_u), edited (ctc_t), and reference (ccc_c) branches, outputting noise predictions ϵu\epsilon_u, ϵt\epsilon_t, and ϵc\epsilon_c. The standard classifier-free guidance (CFG) is: ϵbase=ϵu+s(ϵtϵu)\epsilon_{base} = \epsilon_u + s(\epsilon_t - \epsilon_u) The concept residual to be subtracted is defined as: dt=ϵcϵtd_t = \epsilon_c - \epsilon_t

SIRUS bounds the norm of dtd_t to a profile budget ρπqt\rho_\pi\|q_t\| (where qt=ϵtϵuq_t = \epsilon_t - \epsilon_u), applies momentum smoothing to get mtm_t, and subtracts it during denoising via a cosine decay schedule: ϵfinal=ϵbaseηπwi,πmt\epsilon_{final} = \epsilon_{base} - \eta_\pi w_{i,\pi} m_t


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 \uparrow / Frame Hit \downarrow):

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 \uparrow Subject \uparrow Background \uparrow Motion \uparrow Aesthetic \uparrow Imaging \uparrow ΔQ\Delta Q
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

  1. 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.
  2. 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%).
  3. 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

  1. 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
    
  2. 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.

  3. 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 (ΔQ\Delta Q) 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.

Share

Comments

Page views are tracked via Google Analytics for content improvement.