MixForensics: Blend Before You Encode for Generalizable AI-Generated Video Detection

Ruiqi Liu, ZiAn Wang, Ruoxin Chen, Xuehai Bai, Manni Cui, Ziheng Qin, Zhiyuan Yan, Shu Wu, Wenhao WangNeurIPS 2026

TL;DR

Intuition says that catching an AI-generated video should get much easier as you look at more frames, yet standard detectors hit a stubborn ceiling because encoding frames one by one destroys subtle multi-frame clues. MixForensics flips the script with a "blend-then-encode" approach: it averages contiguous frames directly in pixel space before passing the composite image into a vision encoder. The result is a detector that generalizes far better to unseen commercial generators while requiring up to 8× fewer forward passes.

What Problem Does This Paper Address?

As generative video models like Sora 2 and Wan 2.2 approach photorealism, building detectors that generalize to unseen generators is critical. A video contains dozens of frames, which ought to provide vastly richer forensic evidence than a single still image.

Yet existing detectors fail to capitalize on this. Nearly all of them follow an encode-then-fuse paradigm: they pass individual frames through an encoder and combine the features or predictions afterward. Under this setup, scaling from 1 frame to 8 frames improves a voting-based detector by a meager 5.28 percentage points—despite an eightfold jump in compute—and dedicated video backbones like TimeSformer fare no better.

Figure 1: Accuracy vs. frames used per video on AIGVDBench. The two encode-then-X base- lines, mean pool (averaging per-frame logits) and majority vote (per-frame label voting), cluster within 1 percentage point at N =8; an in-encoder video backbone (TimeSformer [15]) sits below. Our blend-then-encode method dominates.

Why? Looking inside a single fake video, per-frame detection scores fluctuate wildly and show almost zero correlation ($|r| < 0.12$) with obvious proxies like texture complexity, motion magnitude, or compression frame type. The authors diagnose the root cause not in how predictions are aggregated, but in when frames interact: encoding frames in isolation severs cross-frame pixel cues before the network ever sees them.

Figure 2: Frame-wise salience heterogeneity. (a) Per-frame detection logit curves within a single AIGV video fluctuate substantially across generators (dashed: decision boundary). (b) Detection logits versus texture complexity, optical flow magnitude, temporal position, and frame type. Pearson correlations for the three continuous variables satisfy |r| < 0.12.

Methods

Instead of fusing features after encoding, MixForensics fuses pixels before encoding, feeding composite images into a standard LoRA-tuned CLIP ViT-L/14 image encoder. The framework rests on two novel mechanisms:

Figure 3: Overview of the MixForensics framework. Left (SFB): The video is uniformly subsampled to M candidate frames; a contiguous N-frame window is then drawn and blended with Dirichlet- distributed weights into a single composite image. Middle: The composite image is processed by an image encoder, and the CLS token feature is used for classification. Right (BIR): Two independently blended views from the same video are constrained to produce consistent features.
  • Stochastic Frame Blending (SFB): A video is uniformly subsampled to $M=32$ candidate frames to cover its full duration. During training, a contiguous window of $N=8$ frames is randomly selected and linearly blended in pixel space using random weights drawn from a symmetric Dirichlet distribution. Keeping the window contiguous preserves local shared artifacts, while random weights expose the encoder to diverse blends.
  • Blend Invariance Regularization (BIR): Different windows and blending weights yield different-looking composite images, yet the underlying generator's fingerprint remains constant. During training, SFB generates two independent blended views from the same video, and BIR applies a cosine-similarity loss forcing their encoded representations to match.

At inference, the 32 candidate frames are split into four non-overlapping 8-frame windows. Each window is uniformly averaged into one image and classified in a single pass. Scores are combined via mean pooling (default for full fakes) or an any-window-fake rule (flagging the video if any single window crosses a threshold, ideal for partial fakes).

Datasets

  • Training & Existing Evaluation: All models are trained on fakes from just three generators (OpenSora, CogVideoX1.5 V2V, and EasyAnimate) and evaluated on the open-source split of AIGVDBench (20 generators across T2V, I2V, and V2V).
  • MixForensics-Bench (New): Because existing benchmarks focus almost exclusively on 100% synthetic clips, the authors introduce an 8,000-video test-only benchmark featuring 10 recent 2024–2026 models—including 5 closed-source commercial platforms (Sora 2, Seedance 1.5, Hailuo 02, Pika v2, Luma Ray2)—alongside OpenVid-HD real videos. Crucially, it adds two partial-forgery tracks: temporal splicing (inserting fake segments at 10%–90% ratios) and conditional continuation (extending real clips via image-to-video). Both include matched real-real controls that run authentic clips through the exact same editing pipeline, ensuring detectors catch generative artifacts rather than splicing seams.

Key Insights and Ideas

  • It's not just motion blur: Skeptics might wonder if blending frames simply acts as a low-pass filter. Controlled experiments show that applying matched Gaussian blur actually hurts single-frame accuracy, and blending frames from different fake videos underperforms same-video blending. Pixel blending specifically reinforces recurring within-video generative signatures while averaging out frame-specific content noise.
  • Post-hoc baselines hit a wall on modern models: Leading video-forensics models like DeMamba plummet from 95.53% accuracy on AIGVDBench to 59.40% on MixForensics-Bench, hovering near random chance on newer commercial generators. Pre-encoding pixel fusion extracts cues that transfer across generator families far more reliably.

Key Results

  • Fully Fake Detection: MixForensics achieves 96.80% (mean pool) and 98.63% (any-window) balanced accuracy on AIGVDBench, beating the strongest baseline by 1.27 points. On MixForensics-Bench, it reaches 70.60%, outperforming the best baseline (Effort, 62.49%) by 8.11 percentage points.
  • Partial Forgeries: Using the any-window-fake rule on MixForensics-Bench, it leads all baselines by 11.49 percentage points on temporal splicing (68.43%) and 9.15 points on conditional continuation (66.35%).
  • Efficiency: Processing 32 frames takes just 4 encoder forward passes (an 8× reduction over per-frame voting), adding less than 1 ms of blending overhead per window.

Limitations and Future Work

Because SFB averages frames via linear weights, it discards strict temporal ordering—potentially missing motion-level physics violations. Furthermore, when a video contains only a tiny fraction of forged frames (e.g., 10% splicing), real frames dominate the pixel blend and dilute the forensic signal. Heavy video compression can also wash out the fine-grained pixel artifacts SFB relies on. Future work aims to explore order-aware blending, adaptive window selection, and handling longer, heavily compressed videos.

Summary updated

Abstract

Detecting AI-generated videos (AIGV) in a generator-agnostic manner is increasingly important as generative models close the gap with real footage, and a video, with many frames, intuitively offers richer forensic evidence than a single image. Yet existing detectors fall short of this expectation: under the encode-then-fuse paradigm, increasing the frame budget from 1 to 8 improves a voting-based image detector by only 5.28%, and even temporal-modeling backbones such as TimeSformer barely improve on this. Per-frame predictions are also noisy: per-frame logits fluctuate substantially within a video and correlate weakly with any frame-level proxy. We trace the cause not to the aggregation step but to per-frame encoding severing multi-frame cues before they can interact, leaving any post-hoc selection, weighting, or aggregation strategy without a reliable basis. We therefore propose **MixForensics**, a blend-then-encode framework that combines multiple frames in the pixel domain into a single composite image (Stochastic Frame Blending, SFB) and regularizes the encoder for consistency across blended views (Blend Invariance Regularization, BIR). To stress-test this approach, we further introduce **MixForensics-Bench**, a test-only benchmark covering ten recent generators (including five closed-source commercial platforms) and two partial-forgery scenarios (temporal splicing and conditional continuation), with matched controls that isolate generative artifacts from editing artifacts. On AIGVDBench and MixForensics-Bench, MixForensics outperforms the strongest baseline by 1.27% and 8.11% on the fully-fake splits, leads on both partial-forgery scenarios by 11.49% on temporal splicing and 9.15% on conditional continuation, and uses fewer encoder forward passes than per-frame methods.
BibTeX
@inproceedings{liu2026mixforensics,
  author = {Ruiqi Liu and ZiAn Wang and Ruoxin Chen and Xuehai Bai and Manni Cui and Ziheng Qin and Zhiyuan Yan and Shu Wu and Wenhao Wang},
  title = {{MixForensics: Blend Before You Encode for Generalizable AI-Generated Video Detection}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=BzzvL3RHzi},
}
Figure