TL;DR
AI video generators have a hidden "heartbeat" buried within their compressed bitstreams. Because these models generate video in temporal chunks, they create periodic bursts of unpredictable information that video encoders must spend extra bits to describe. By analyzing these bit-allocation rhythms, researchers can identify AI-generated video and even specific generator architectures with high accuracy—all without ever decoding a single pixel.
What Problem Does This Paper Address?
As AI-generated video becomes indistinguishable from reality, the need for reliable detection grows. Most current detectors look at decoded pixels, searching for visual artifacts or frequency anomalies. However, this is computationally expensive and ignores the unique way AI video is actually "manufactured."
Nearly all modern generators (like Sora or CogVideoX) are latent generators: they sample a compressed "latent" representation and use a 3D autoencoder to turn those latents into pixels. These autoencoders process time in fixed steps, or "strides." This paper asks: Does this specific architectural choice leave a detectable fingerprint in the final, compressed video file?
Methods
The authors introduce CoDe (Compressed-Domain detection), a method that analyzes the "coding demand" of a video.
When a standard video encoder (like H.264 or H.265) compresses a video, it tries to predict the next frame from the previous ones. It only spends bits on the "surprise"—the parts it couldn't predict. In AI video, because of the latent chunking, the "surprise" isn't distributed evenly; it's concentrated at the start of every new latent chunk.
CoDe extracts frame and row sizes directly from the bitstream and uses three types of detectors:
- Peak Ratio (PR): A training-free statistical test that looks for a "pulse" at specific frequencies (e.g., every 4th or 8th frame).
- Lightweight Transformer: A small model (26K parameters) that learns to recognize the rhythm of byte sizes across frames and rows.
- Gradient-Boosted Decision Trees (GBDT): An ensemble model trained on various bitstream statistics like temporal autocorrelation and spectral power.
Datasets
The study evaluates CoDe across several benchmarks:
- Stride Corpus: A controlled set of 20 camera clips matched with AI-generated versions from CogVideoX, Wan2.2, and LTX-Video to isolate the effect of the generator.
- Frontier Dataset: A new collection of clips from four top-tier commercial generators (Grok, HeyGen, MiniMax, Wan) generated from 40 shared prompts.
- DeepAction: A large-scale dataset of 2,605 clips of human actions used to test the system against diverse real-world content.
Key Insights and Ideas
- The "Surprise" Pulse: In AI video, the first frame of a chunk contains new information from a new latent, while subsequent frames in that chunk are derived from the same latent. This creates a periodic "pulse" of bits.
- The Encoder is an Amplifier: Paradoxically, the video encoder makes AI detection easier. By trying to be efficient, the encoder highlights the generator's underlying rhythm.
- Architecture as a Fingerprint: Different models have different "heartbeats." CogVideoX and Wan2.2 use a stride of 4, creating a 4-frame pulse. LTX-Video uses a stride of 8, creating an 8-frame pulse.
- The Autoencoder is the Culprit: The researchers proved that simply passing real camera footage through an AI's autoencoder (without any diffusion/generation) is enough to induce this rhythmic pulse.
Key Results
- High Detection Accuracy: On the Frontier dataset, CoDe identified the specific generator with 83.0%–89.2% accuracy, significantly outperforming the pixel-based state-of-the-art (UnivFD), which scored 72.7%–73.6%.
- Training-Free Success: The simple Peak Ratio statistic separated generated video from camera footage with an AUC of 0.84–0.94, proving the rhythm is a robust physical property of the data.
- Computational Efficiency: Because it doesn't decode pixels, CoDe is roughly 10x faster than pixel-based methods.
- Robustness: The rhythm persists even when videos are re-encoded at different quality levels (quantization parameters) or using different codecs (H.264 vs. H.265).
Limitations and Future Work
The authors note that certain "delivery-style" encoding settings—specifically those using B-frames (which predict frames both forward and backward in time) and complex rate control—can sometimes "smear" or erase the per-frame pulse, making detection harder.
Additionally, while the rhythm is a strong signal for current "causal" autoencoders, future generative architectures might use different temporal strategies (like overlapping chunks or non-causal smoothing) that could hide these traces. The authors suggest that future work should explore how these bitstream traces evolve as generative architectures become more sophisticated.
Summary updated