As text-to-video (T2V) diffusion models like Sora and CogVideoX grow increasingly sophisticated, the ability to selectively "erase" specific concepts—such as copyrighted characters, celebrity faces, or unsafe content—has become a critical requirement for safety and compliance. However, effectively removing these concepts without degrading the overall quality of the generated video remains a significant challenge.
Recent research identifies a fundamental flaw in how we currently approach this problem and introduces a novel solution: the Concept-Layer Erasure Alignment fRamework (CLEAR). CLEAR automatically identifies the optimal neural layer where a concept is most separable, allowing for surgical removal that preserves the model's general capabilities.
The Problem: Representational Bottlenecks
Current concept erasure methods typically apply interventions uniformly across all model layers or rely on heuristically chosen fixed depths. The researchers observed that this approach ignores a crucial structural constraint in T2V transformers: semantic concepts are not organized uniformly across a model's depth.
Instead, models exhibit a "representational bottleneck." At certain layers, a specific concept (e.g., a "parachute") might be deeply entangled with background signals or other objects. At other layers, it emerges as a linearly isolatable feature. Attempting to erase a concept at a layer where it is highly entangled leads to two common failure modes:
- Semantic Leakage: The erasure fails, and the target concept still appears in the output.
- Unintended Degradation: The erasure damages entangled, non-target features, severely degrading the overall visual quality of the video.
The CLEAR Framework
To overcome this bottleneck, the researchers propose CLEAR, a framework that treats the "where" and "how" of concept erasure as a joint optimization problem. CLEAR operates on the principle of Concept–Layer Topological Alignment—the idea that every concept has a "topological sweet spot" or specific depth where it is most distinguishable from other semantics.
The framework relies on several key mechanisms:
- Differentiable Layer Selection: Rather than brute-forcing an evaluation of every layer, CLEAR utilizes a Gumbel-Softmax relaxation. This allows the model to learn the optimal intervention depth through standard gradient descent.
- Sparse Autoencoders (SAEs): To perform the actual erasure, CLEAR uses SAEs to decompose dense neural activations into millions of sparse, interpretable features. This isolates the specific "neurons" responsible for the target concept.
- Separability-Driven Optimization: CLEAR introduces a novel objective function that penalizes layers where the target concept is entangled, actively steering the search toward layers with high concept-specificity.
Crucially, CLEAR is an inference-time intervention. Unlike traditional "unlearning" methods that permanently modify model weights—often causing catastrophic forgetting—CLEAR leaves the original weights untouched. At inference time, the learned SAE is plugged into the single optimal layer, and the target concept's feature vector is subtracted from the activation, effectively editing the model's internal representations on the fly.
Key Insights and Results
The researchers evaluated CLEAR on two large-scale T2V architectures (Wan2.2-5B and CogVideoX-2B) across four domains: general objects, safety-regulated content, celebrity identities, and artistic styles.
Depth vs. Complexity
Erasure effectiveness follows a distinct "V-shaped" curve relative to model depth; intervening too early or too late results in failure. Interestingly, the optimal depth correlates with concept complexity. Simple objects (like parachutes) align at shallower layers, while complex, high-level concepts (like nudity or specific human identities) require deeper interventions.
Superior Suppression and Quality Preservation
CLEAR significantly outperformed existing state-of-the-art methods. On Wan2.2-5B, CLEAR reduced the generative rate of targeted objects from 61.8% to just 12.8% (compared to 24.5% for previous best methods). Furthermore, while other erasure techniques often result in blurry or glitchy videos, CLEAR maintained—and in some metrics slightly improved—visual fidelity scores (Imaging Quality of 0.7025 vs. the original model's 0.6910).
Robustness and Efficiency
CLEAR proved highly robust against "evasive" prompts (tested via the Ring-A-Bell benchmark) designed to trick models into generating forbidden content without explicit keywords, proving it successfully targets the underlying concept rather than just text tokens. Additionally, by identifying the optimal layer in a single training run, CLEAR is approximately 24x faster than brute-force layer-wise search methods.
Limitations and Future Directions
While CLEAR represents a major step forward for safe T2V generation, it currently requires a separate optimization process for each individual concept. Scaling this approach to handle a library of thousands of concepts will require more efficient parameter sharing or reusable SAE dictionaries. Furthermore, current evaluations focus primarily on "nouns" (objects, people, styles). Future research will need to explore whether CLEAR can effectively disentangle and erase abstract "relational" concepts, such as erasing the action of "hitting" without removing the "person" or the "ball."
Summary updated