Budgeted Safety Verification for Streaming Video Generation

Yuxin Cao, Ziqi Ding, Jiayu Zhang, Xianglin Yang, Wei Song, Jin Song DongarXiv 2026

Imagine you’re watching a live-streamed video being generated by an AI in real-time. In this "streaming" world, frames are released to your screen the millisecond they’re rendered. Now, imagine the AI starts generating something horrific. Traditional safety filters are like a movie rating board—they watch the whole thing and then give it a thumbs up or down. But in a stream, by the time the "rating board" finishes its job, you’ve already seen the entire video. The harm is done.

This paper introduces a way to stop the "harm" before it hits the screen, without breaking the bank on compute costs.

TL;DR

When AI generates video as a live stream, waiting until the end to check for safety is useless—the user has already seen the "exposure." This paper proposes a two-stage "budgeted" defense: a lightning-fast "guard" peeks at the AI’s internal brain states to flag suspicious chunks, only calling in an expensive, high-accuracy video verifier when absolutely necessary.

What Problem Does This Paper Address?

We are moving from "batch" video generation (where you wait for a file to download) to "streaming" generation (interactive, live feeds). This creates two massive safety headaches:

  1. Irreversibility: Once a frame is sent to a user’s browser, you can't take it back. Safety needs to happen at the onset of harm, not at the end of the clip.
  2. Temporal Harm: Some things are safe as still images but dangerous in motion. A hand near a stove is fine; a hand moving to touch a red-hot burner is not. Standard image filters miss this "harm in the ordering."

The authors define a new metric called Exposure: the number of harmful frames a viewer actually sees before the system pulls the plug. The goal is to minimize exposure while staying within a strict "compute budget."

Methods

The authors build a Safety Cascade that lives inside the video generator itself.

  • The Cheap Guard: Instead of looking at the final pixels (which is slow), this guard reads the "hidden states" (the AI's internal mathematical thoughts) mid-generation. It uses a tiny temporal transformer to check if the sequence of these thoughts looks like it's heading toward something unsafe. This guard is incredibly lightweight, taking only about 0.1% of the time it takes to generate a chunk.
  • The Expensive Verifier: This is a heavy-duty Video Language Model (VLM) that actually "watches" the decoded frames. It’s very accurate but too slow and expensive to run on every single frame.
  • The Budgeting Logic: The system uses the cheap guard to rank chunks by "suspiciousness." It only spends its limited compute budget to run the expensive verifier on the most suspicious chunks.
Figure 1. Budgeted safety verification of a streamed video generator. Only a chunk that the guard flags is shown to the verifier.

Datasets

The researchers evaluated their system on 1,597 video streams (600 benign, 997 unsafe) across categories like pornography, violence, and "disturbing" imagery. They pulled from several major benchmarks:

  • VBench, VidProM, and Movie Gen: For standard video prompts.
  • T2VSafetyBench: For specific harm taxonomies.
  • Custom "Filter-Evading" Sets: They specifically tested prompts that were rewritten to bypass text filters (e.g., describing a violent scene using only neutral, clinical language) and "drifting" prompts that start safe but turn unsafe halfway through.

Key Insights and Ideas

  • Hidden States > Pixels: The AI's internal activations are a goldmine. They contain semantic "intent" that is easier to classify than the final, noisy pixels, and you can read them before the decoder even runs.
  • Ordering is Everything: If you pick chunks to check at random, you fail. The "gain" in safety comes almost entirely from the guard’s ability to correctly order which chunks deserve a closer look.
  • Steering Doesn't Work (Yet): The authors tried "steering" the AI (nudging its math away from harm mid-stream). It didn't work. Once the AI's internal state starts "thinking" about a violent scene, the harm persists even if you try to change the prompt. Halting the stream is the only reliable defense.
  • The "Aha" Moment: Harm often arrives as a "turn" in a scene. Because the guard sees the opening "benign" frames, it has a baseline to compare against, making it much better at spotting the moment a scene turns sour.
Figure 2. One late-onset stream of each harm category, with the harmful chunks bordered and obscured.

Key Results

The results show a massive reduction in what the user actually sees:

  • No Defense: Users see an average of 46.25 harmful frames (out of an 81-frame clip).
  • The Budgeted Guard: By checking only a fraction of the chunks, the system cuts exposure down to just 2.35 frames.
  • Efficiency: This level of safety was achieved at 1/15th the cost of running a full video safety model on every chunk.
  • Speed: The guard adds a negligible 1.8 milliseconds of latency per chunk, making it truly viable for real-time interactive apps.
Table 1. Exposure and cost of each defense.

Limitations and Future Work

  • The Oracle Problem: The "ground truth" for what is harmful was determined by another AI model (the oracle). While they validated this with human audits, no automated oracle is perfect.
  • Architecture Specificity: The guard was trained on a specific family of "distilled causal" video generators. It’s unclear if a guard trained on one model (like Sora) would work on another (like Gen-3) without retraining.
  • The "Retry" Attack: If an attacker keeps resubmitting the same prompt, they might eventually get a "lucky" stream that bypasses the guard, raising the average exposure.

In short? We can't just "watch" AI video to keep it safe anymore—we have to read its mind while it's dreaming.

Summary updated

Abstract

A streamed video generator releases each chunk the moment that it is produced, so a safety decision that waits for the finished clip arrives after the harm has been seen. We measure a guardrail by exposure, the harmful frames a viewer is shown, and ask where a fixed moderation budget should be spent. The accurate detector reads decoded frames with a video language model and is too expensive for every chunk, so our guard reads hidden states the generator has computed already and spends a cheap score on deciding when to call it. On 599 streams from a distilled causal generator the undefended model shows 46.25 harmful frames of 81. The video model on every chunk leaves 0.91 frames at 80.1 scored per benign stream, and the same model triggered by our guard leaves 2.35 at 5.3. Spending that budget at random leaves 37.20 frames, so the gain is in the ordering, and a frame detector in the same role gives up almost six, so the judging stage must read the chunk as a clip. The ordering is worth more as the stream lengthens, and the guard carries to a second system. An independent guardrail model agrees with our oracle at $κ=0.74$, and a blinded audit by 50 participants puts its precision at 96.1% and recall at 82.8%. Warning. This paper contains examples of generated content that some readers may find disturbing or offensive in nature.
BibTeX
@misc{cao2026budgeted,
  author = {Yuxin Cao and Ziqi Ding and Jiayu Zhang and Xianglin Yang and Wei Song and Jin Song Dong},
  title = {{Budgeted Safety Verification for Streaming Video Generation}},
  year = {2026},
  eprint = {2611.27268},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.27268},
}
Figure