Beyond Pixels: Mining Compressed Domain Artifacts for Efficient AI-Generated Video Detection

Anran Zhu, Zhengli Shi, Chende Zheng, Chenhao Lin, Zhengyu Zhao, Le Yang, Chong Zhang, Shuai Liu, Chao ShenICML 2026

Introduction

As AI video generators like Sora and Gen-2 become increasingly sophisticated, detecting AI-generated video (AIGV) has evolved into a high-stakes arms race. Most current detection methods operate in the pixel domain, meaning they fully decode a video into RGB frames before analysis. However, this "pixels-first" approach suffers from two major flaws: computational waste and information loss. Full decoding is slow and redundant, entangling task-irrelevant semantic information. Worse, video codecs (like H.264) utilize "loop filters" during decoding to smooth out blocky edges and noise. Unfortunately, these filters also erase the microscopic, high-frequency artifacts—the generative "fingerprints"—left behind by AI models.

To address this, researchers introduce STREAM (Spatio-Temporal REsidual and Artifact Mining), a framework that shifts AIGV detection from the decoded pixel domain to the compressed bitstream domain. By bypassing the decoding process, STREAM preserves subtle generative artifacts, achieving state-of-the-art accuracy while running significantly faster than previous top-tier detectors.

The STREAM Framework

STREAM operates directly on the native MPEG-4/H.264 bitstream, leveraging three "free-to-use" signals already present in compressed files:

  • I-frames: The fully encoded reference images.
  • Motion Vectors (MVs): Data describing how blocks of pixels move between frames.
  • Residuals: The difference or "error" between a predicted frame and the actual frame.

Key Innovations

The architecture of STREAM is built on a lightweight network designed to extract and fuse these signals efficiently:

  • Motion-Guided Alignment: Because I-frames and subsequent predictive frames are spatially offset, the model uses MVs to "warp" I-frame features. This aligns them with the current frame without the heavy computational cost of calculating optical flow from scratch.
  • Adaptive Artifact Gating: A pixel-level gating mechanism determines which areas of a frame are "suspicious." It learns to weigh high-frequency residuals—where AI generation errors typically hide—more heavily than static, natural textures.
  • Multi-Scale Temporal Dynamics (MS-TCN): A temporal convolutional network analyzes the sequence for "jitter" or physical inconsistencies across different time scales, effectively catching the unnatural "flicker" common in AI-generated videos.

Key Insights

The foundation of STREAM rests on the "Decoding Damage" Hypothesis. The authors demonstrate that the decoding process acts as a lossy filter. Analysis of the radial power spectrum shows that compressed-domain residuals contain significantly more discriminative "real vs. fake" signals than residuals extracted from already-decoded RGB frames.

Furthermore, STREAM utilizes Motion Vectors as a Proxy for Physics. Real-world motion is generally smooth and adheres to inertia, whereas AI-generated motion often exhibits "star-like" noise patterns in the motion vector field. By treating MVs as a computationally free version of optical flow, STREAM easily detects non-physical jitter. Ultimately, by avoiding the pixel domain, STREAM ignores task-irrelevant semantic information (e.g., the subject of the video) and focuses purely on structural forgery cues.

Experimental Results

STREAM was trained on a subset of VidProM (10,000 samples from SVD, VC2, and PIKA) and evaluated across five major benchmarks: VidProM, GenVideo, GVF, VideoPhy, and AIGVDet-D. These datasets encompass 28 different video generation models, ensuring the detector generalizes well rather than memorizing specific model quirks.

  • State-of-the-Art Accuracy: STREAM achieved an average mAP of 0.965 across all datasets, consistently outperforming the previous state-of-the-art (D3).
  • Unmatched Efficiency: The framework processed 1,000 video clips in just 16 seconds, compared to 40 seconds for the fastest pixel-domain baseline and up to 188 seconds for others. This represents a 2.5× to 11× speedup.
  • Robustness: STREAM remained highly effective even after multiple rounds of video re-encoding—a common tactic used to "wash" deepfakes of their artifacts. While pixel-domain detectors suffered sharp performance drops, STREAM’s reliance on compressed-domain cues made it highly resilient.

Limitations and Future Directions

While highly effective, STREAM has a few limitations. First, it relies on the continuity of motion representations. If a video is manually spliced or heavily edited, the motion vector chains are broken, potentially leading to misclassification. Second, the current implementation is optimized for H.264 and MPEG-4. While the underlying principles apply broadly, the model does not yet natively support newer codecs like HEVC (H.265) or AV1, which feature different bitstream structures.

Future work will focus on developing a unified feature representation capable of operating across all compression standards simultaneously, further improving the framework's universality and robustness in real-world forensic applications.

Summary updated

BibTeX
@inproceedings{zhu2026beyond,
  author = {Anran Zhu and Zhengli Shi and Chende Zheng and Chenhao Lin and Zhengyu Zhao and Le Yang and Chong Zhang and Shuai Liu and Chao Shen},
  title = {{Beyond Pixels: Mining Compressed Domain Artifacts for Efficient AI-Generated Video Detection}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=b34cSJm4Ed},
}
Figure