The Rhythm of Generated Video: Latent Chunking Leaves Periodic Traces in Compressed Bitstreams

Chen Ye Gan, Bryan Zhen Zhang, Gene Wen, Yuxing hanarXiv 2026 · arXiv

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.

Figure 2. A causal video autoencoder lets new information in once per chunk. The decoder expands z0 into frame 0 and each later zk into s frames; only frame 0 and the first frame of each chunk (dark; t ≡1 (mod s)) carry much that the past cannot predict. Camera footage carries surprise at a roughly constant rate.

CoDe extracts frame and row sizes directly from the bitstream and uses three types of detectors:

  1. Peak Ratio (PR): A training-free statistical test that looks for a "pulse" at specific frequencies (e.g., every 4th or 8th frame).
  2. Lightweight Transformer: A small model (26K parameters) that learns to recognize the rhythm of byte sizes across frames and rows.
  3. 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.
Figure 3. At fixed QP, a P-frame’s bits measure its surprise. The encoder predicts each frame from the previous one and pays only for the residual. On generated video the bits per frame bt pulse once per chunk and their spectrum peaks at 1/s, with har- monics; on camera video they are flat. Measured: median peak ratio 27–29 for the stride-4 generators, 1.1–1.4 for camera clips (Tab. 1).
  • 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

Abstract

Most AI-generated video detectors analyze decoded pixels and overlook how videos are produced. We show that causal video autoencoders leave an architecture-specific rhythm in compressed bitstreams: their temporal stride concentrates unpredictable content at latent-chunk boundaries, so rate-distortion optimized encoders allocate bits periodically. Without decoding pixels, we observe four-frame pulses in CogVideoX and Wan2.2 and eight-frame pulses in LTX-Video, which are absent from content-matched camera footage. Passing camera footage through a generator's autoencoder alone induces the pulse, supporting its proposed origin. A training-free peak-ratio statistic separates generated from camera video (AUC 0.84-0.94) and persists across tested quantization settings and H.264/H.265 encoding. Frame-size traces also identify four commercial generators, with 89.2%, 84.1%, and 83.0% accuracy under H.264, H.265, and AV1, beating the pixel-based UnivFD baseline (72.7-73.6%). Our results directly link generative architecture to measurable coding demand.
BibTeX
@misc{gan2026rhythm,
  author = {Chen Ye Gan and Bryan Zhen Zhang and Gene Wen and Yuxing han},
  title = {{The Rhythm of Generated Video: Latent Chunking Leaves Periodic Traces in Compressed Bitstreams}},
  year = {2026},
  eprint = {2611.22996},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.22996},
}
Figure