TL;DR
SafeLens introduces a cognitive-science-inspired "fast-and-slow" architecture for video safety moderation, routing clear cases to a lightning-fast probe and reserving heavy vision-language model (VLM) reasoning for ambiguous content. Combined with an influence-guided data curation technique that prunes out 97.6% of noisy training data, SafeLens outperforms state-of-the-art closed-source models like GPT-5.4 and Gemini-3.1-pro while drastically reducing computational overhead.
What Problem Does This Paper Address?
As online video platforms and AI-generated content explode, automated content moderation (or "video guardrails") has become a critical necessity. However, deploying modern Vision-Language Models (VLMs) for video guardrails faces two massive roadblocks:
- Inference Inefficiency: Current state-of-the-art guardrails apply heavy, complex models uniformly across all inputs. This is incredibly wasteful because most videos can be classified via simple pattern recognition (e.g., a benign lecture vs. explicit violence), while only a small fraction requires deep, contextual analysis.
- Data Quality and Noise: Training effective guardrails requires high-quality, policy-aligned datasets. Large-scale datasets like SafeWatch rely on automated annotation pipelines, which introduce significant label noise. Furthermore, they lack structured reasoning traces (like Chain-of-Thought) necessary to train models to explain why a video violates a policy.
Methods
SafeLens splits video moderation into a two-stage cascaded framework:
- SafeLens-S1 (Fast Screening): When a video is processed, a backbone VLM extracts its internal hidden representations. A lightweight, multi-class classifier called a Rolling Attention Probe rapidly evaluates these embeddings to output a safety prediction and a confidence score. Simultaneously, a lightweight captioning model (Florence-2-Large) generates frame-level descriptions. If the probe's confidence exceeds a predefined threshold ($\tau$), SafeLens immediately returns the prediction, bypassing further computation.
- SafeLens-S2 (Deliberate Reasoning): If the fast screening is uncertain (confidence $< \tau$), the system triggers System 2. It appends the frame-level captions and the probe's confidence scores directly to the original policy prompt. This enriched prompt is handed to a fine-tuned VLM that uses test-time scaling to generate explicit, policy-specific Chain-of-Thought (CoT) reasoning traces before delivering the final verdict.
To train this architecture effectively without massive compute, the authors developed an Influence-Guided Data Curation Pipeline. They used a Hessian-free influence function formulation (TracIn) to calculate how much each training sample benefited or harmed validation performance. By discarding detrimental and mislabeled samples, they retained a pristine fraction of the data and augmented it with structured CoT traces.
Datasets
The paper utilizes and refines the SafeWatch Dataset (originally containing 2M videos).
- SafeWatch (Train, Filtered): The authors' newly curated dataset. By applying influence-guided filtering to the publicly available 6.5% subset of SafeWatch, they kept only 48K samples (2.4% of the original volume).
- SafeWatch-Real: Used as the validation set for influence analysis. The authors manually reviewed and corrected 123 mislabeled instances in this split to ensure a reliable benchmark.
- SafeWatch-GenAI: Used as the completely unseen test set consisting of AI-generated content.
Key Insights and Ideas
- Compute is Best Allocated Dynamically: Mirroring human cognition, AI guardrails shouldn't treat an obvious video with the same computational weight as a highly nuanced, edge-case policy violation.
- Data Quality Beats Scale: Trimming down a dataset to just 2.4% of its original size using influence functions actually improves generalization. Pruning out the automated annotation noise prevents the model from learning contradictory features.
- Internal Representations Hold the Answer: Lightweight probes can extract highly accurate safety signals directly from a VLM's hidden states in milliseconds, serving as an excellent gatekeeper for routing decisions.
Key Results
SafeLens was evaluated against prominent open- and closed-source models on the SafeWatch-GenAI test set across seven categories (Sexual, Abuse, Violence, Misinfo, Illegal, Extreme, Safe):
- State-of-the-Art Accuracy: SafeLens achieved the highest average accuracy (76.7%) and Macro F1 score (75.3%), outperforming GPT-5.4 (59.1% Acc), Gemini-3.1-pro (58.9% Acc), and specialized guardrails like SafeWatch-8B (59.5% Acc).
- Massive Efficiency Gains: SafeLens achieved an average runtime of ~1.76 seconds per video on a B200 GPU, significantly faster than open-source models like Qwen3.5-27B (~9.52s) and Gemma4-31B (~9.16s). The S1 screening module alone takes a mere 0.04 seconds.
- Lowest Computational Cost: SafeLens required only 10.5 × $10^3$ GFLOPs on the validation set, representing a massive reduction in computational overhead compared to uniform VLM processing.
Limitations and Future Work
While highly effective, the authors note a few limitations:
- Hardware Dependencies: Real-world runtime and latencies remain tightly coupled to specific hardware configurations and inference stack optimizations.
- Threshold Tuning: The cascading threshold ($\tau$) is a hyperparameter that must be manually calibrated on validation data depending on the specific deployment risk tolerance.
- Approximated Influence: The data curation pipeline relies on a simple Hessian-free TracIn method. The authors suggest that exploring more computationally intensive, exact Hessian-based influence estimations could further refine data selection and boost performance.
Summary updated