Budgeted Safety Verification for Streaming Video Generation
Organizations: National University of Singapore, Singapore · University of New South Wales, Australia · The University of Hong Kong, Hong Kong SAR, China · Griffith University, Australia
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 , 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.
Figures & tables
| Defense | Exposure | 95% CI | Zero exposure | False alarm | Frames scored | Detector | |
|---|---|---|---|---|---|---|---|
| (frames) | (%) | (%) | Benign | Unsafe | time (s) | ||
| No defense | 46.25 | [42.81, 49.59] | 21.9 | 0.0 | 0.0 | 0.0 | 0.00 |
| Prompt filter | 0.00 | — | 100.0 | 0.0 | 0.0 | 0.0 | 0.04 |
| Image moderator at 2 fps | 12.10 | [10.04, 14.35] | 61.2 | 0.9 | 11.0 | 7.1 | 2.24 |
| Image moderator at 16 fps | 9.36 | [7.53, 11.40] | 74.3 | 1.3 | 80.3 | 45.6 | 4.55 |
| Chunk video model | 0.91 | [0.46, 1.42] | 89.6 | 1.8 | 80.1 | 32.6 | 1.85 |
| Family | Streams | Filter | Harm | Exposure | |
|---|---|---|---|---|---|
| blocks (%) | shown (%) | None | Ours | ||
| Implicit | 150 | 37.3 | 30.7 | 11.78 | 3.20 |
| Compositional | 132 | 8.3 | 16.7 | 5.94 | 4.13 |
| Drifting | 97 | 17.5 | 9.3 | 2.23 | 0.88 |
| Benign domain | 130 | 20.8 | 23.8 | 9.68 | 4.21 |
| Benign control | 225 | 0.0 | 2.7 | 0.36 | 0.36 |
| Defense | Exposure | Zero | Benign |
|---|---|---|---|
| (frames) | (%) | frames | |
| No defense | 134.01 | 15.3 | 0.0 |
| Moderator at 16 fps | 18.85 | 70.8 | 238.1 |
| Chunk video model | 2.09 | 82.6 | 243.9 |
| Memoryless halting | 10.81 | 68.1 | 0.0 |
| Cumulative sum halting | 11.32 | 66.7 | 0.0 |
| Labeler | Precision (%) | Recall (%) | |
|---|---|---|---|
| Arguable chunks counted as harm | |||
| Harm oracle | 96.1 | 82.8 | 0.732 |
| Independent panel | 93.8 | 91.2 | 0.851 |
| Arguable chunks counted as safe | |||
| Harm oracle | 81.4 | 87.1 | 0.744 |
| Independent panel | 69.2 | 94.6 | 0.659 |
| Defense | Exposure | 95% CI | Benign |
|---|---|---|---|
| (frames) | frames | ||
| No defense | 50.99 | [47.70, 54.39] | 0.0 |
| Chunk video model | 0.60 | [0.30, 0.99] | 79.9 |
| Image moderator at 16 fps | 12.48 | [10.24, 14.93] | 79.5 |
| Random chunks | 41.71 | [38.46, 45.08] | 4.8 |
| Guard, threshold carried | 2.40 | [1.73, 3.19] | 6.4 |
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
| Category | Streams | No defense | Moderator at 16 fps | Video model, every chunk | Guard-triggered video model | |||
|---|---|---|---|---|---|---|---|---|
| Exposure | Stopped (%) | Exposure | Stopped (%) | Exposure | Stopped (%) | |||
| Pornography, direct | 56 | 68.77 | 4.82 | 85.7 | 0.00 | 98.2 | 0.32 | 98.2 |
| Pornography, late | 56 | 60.12 | 27.96 | 66.1 | 0.00 | 96.4 | 1.71 | 94.6 |
| Violence, direct | 56 | 54.61 | 8.36 | 71.4 | 0.02 | 83.9 | 1.04 | 83.9 |
| Violence, late | 56 | 40.11 | 2.36 | 73.2 | 1.70 | 89.3 | 3.71 | 87.5 |
| Disturbing, direct | 38 | 59.13 | 10.74 | 68.4 | 3.45 | 81.6 | 4.39 | 76.3 |
| Harm | No | Budget | Every | ||||
|---|---|---|---|---|---|---|---|
| defense | 2 | 5 | 10 | 20 | 40 | chunk | |
| Appearance | 54.22 | 4.38 | 2.12 | 1.44 | 1.11 | 0.97 | 0.97 |
| Sequential action | 13.95 | 4.80 | 3.27 | 1.69 | 0.82 | 0.66 | 0.66 |
| Attempt budget | Accepted | Yield (%) |
|---|---|---|
| 1 attempt | 8 | 2.2 |
| 2 attempts | 52 | 14.2 |
| 3 attempts | 56 | 15.3 |
| 4 attempts | 91 | 24.9 |
| 5 attempts | 95 | 26.0 |
| 6 attempts | 134 | 36.6 |
| Defense | Exposure | Zero exposure | Frames |
|---|---|---|---|
| (frames) | (%) | scored | |
| No defense | 14.93 | 66.2 | 0.0 |
| Prompt filter | 14.93 | 66.2 | 0.0 |
| Moderator at 2 fps | 4.85 | 83.1 | 9.5 |
| Moderator at 16 fps | 3.69 | 86.4 | 66.8 |
| Chunk video model | 1.67 | 92.2 | 54.9 |
| Allocation | Frames scored | Exposure | False | |
| Benign | Unsafe | (frames) | alarm (%) | |
| None | 0.0 | 0.0 | 46.25 | 0.0 |
| Frame detector as the verifier | ||||
| Uniform at 1 fps | 6.0 | 4.0 | 14.20 | 0.9 |
| Uniform at 2 fps | 11.0 | 7.1 | 12.10 | 0.9 |
| Uniform at 4 fps | 20.9 | 12.7 | 10.67 | 0.9 |
| Defense | Escape | Tries | Exposure | Zero |
|---|---|---|---|---|
| (%) | (frames) | (%) | ||
| No defense | 100.0 | 1.00 | 46.25 | 21.9 |
| Chunk video model | 31.0 | 1.71 | 2.34 | 78.1 |
| Our guard, halting | 39.0 | 1.84 | 25.27 | 40.4 |
| Our guard, frames | 51.9 | 1.61 | 21.39 | 48.1 |
| Our guard, video model | 34.0 | 1.58 | 8.28 | 57.5 |
| Nominal | Guard | Stream | Verifier calls | Frames | |
| crossing (%) | stopped (%) | mean | most | scored | |
| 7 chunks, 599 streams | |||||
| 0.01 | 3.5 | 0.0 | 0.04 | 2 | 0.5 |
| 0.02 | 3.5 | 0.0 | 0.04 | 2 | 0.5 |
| 0.05 | 5.3 | 0.0 | 0.11 | 4 | 1.2 |
| 0.10 | 8.8 | 0.0 | 0.21 | 5 | 2.4 |
| Threshold | Harm | Agreement | Same | |
|---|---|---|---|---|
| rate (%) | (%) | onset (%) | ||
| Own decision | 22.0 | 82.8 | 0.603 | 67.0 |
| Matched rate | 47.2 | 87.0 | 0.737 | 69.2 |
| Rule | 7 chunks | 21 chunks | ||
|---|---|---|---|---|
| Halting | Verified | Halting | Verified | |
| Memoryless | 6.61 | 2.35 | 10.81 | 8.78 |
| Cumulative sum | 6.09 | 2.43 | 11.32 | 10.01 |
| Shiryaev-Roberts | 5.93 | 2.51 | 10.81 | 10.39 |
| Exponential weighting | 6.15 | 2.67 | 10.19 | 9.40 |
| Window maximum | 5.99 | 2.32 | 10.81 | 8.54 |
| Guard | Chunk AUC | Exposure (frames) |
|---|---|---|
| Deployed guard | 0.897 | 2.35 [1.67, 3.11] |
| Deployed, frames permuted | 0.895 | 2.49 [1.78, 3.29] |
| Shuffle term | 0.882 to 0.903 | 3.17 to 4.36 |
| No shuffle term | 0.882 to 0.893 | 2.37 to 3.36 |
| Order-invariant head | 0.885 to 0.901 | 2.22 to 3.62 |
Video Content Moderation
Video content moderation detects and explains harmful, misleading, or policy-violating material in videos, including its visual, audio, and temporal context.
See all 28 papers