VICA: Video Contextual Agreement for AIGC Video Detection and Localization

Runheng Lin, Jialiang Shen, Jiyang Zheng, Ruiqi Liu, Zonglin He, Yu Yao, Huajie Chen, Chris Russell, Runqi LinarXiv 2026

It’s late, the coffee is cold, and you’re scrolling through a feed of videos that look increasingly... off. Was that cat’s tail always that long? Did that boxer’s glove just phase through his opponent? As AI video generators like Sora and Kling become photorealistic, the "uncanny valley" is shrinking, making it harder for both humans and algorithms to spot the fakes.

A new paper, VICA: Video Contextual Agreement for AIGC Video Detection and Localization, proposes a clever way to catch these digital forgeries. Instead of looking for specific "AI fingerprints," it asks a simple question: Does this part of the video actually make sense given everything else happening around it?

TL;DR

VICA detects AI-generated videos by masking parts of a clip and using a pre-trained model to "guess" what should be there. By comparing these context-based predictions to the actual video, it identifies subtle spatial and temporal glitches that reveal both entirely fake videos and localized edits.

What Problem Does This Paper Address?

Detecting AI-generated content (AIGC) is a cat-and-mouse game. Current methods usually fall into two camps:

  1. Holistic Detectors: They look at the whole frame to find global inconsistencies. These often miss tiny, localized edits.
  2. Localization Methods: They look for artifacts in specific regions but often ignore the "big picture"—the spatiotemporal context.

The authors argue that a fake region might look perfect in isolation, but it often fails to "agree" with its surroundings. For example, an AI might generate a realistic-looking hand, but that hand might move in a way that doesn't match the physics of the rest of the scene. VICA aims to bridge this gap with a unified framework that handles both detection (is the video fake?) and localization (where is it fake?).

Methods

The heart of VICA is a frozen V-JEPA (Video Joint-Embedding Predictive Architecture) model. V-JEPA is already an expert at understanding video because it was trained to predict missing parts of a video from context.

The VICA pipeline works like this:

  • Complementary Masking: The system takes a video clip and creates two "views." In View A, some regions are hidden; in View B, the opposite regions are hidden. This ensures that the model has to predict every single part of the video at least once.
  • Asymmetric Scheduling: To force the model to really think about the "big picture," they mask more heavily in one half of the video than the other. This encourages the predictor to look at distant frames to figure out what’s happening in the current one.
  • The "Forensic" Residuals: This is the secret sauce. VICA compares the Predicted features (what the model expected) with the Observed features (what is actually in the video). It calculates three types of "residuals" (differences):
  • Spatial Residual ($S$): Discrepancies within the same frame.
  • Forward/Backward Temporal Residuals ($F$ and $B$): Discrepancies between a prediction at time $t$ and the actual observation at time $t-1$ or $t+1$.
  • Shared Readout: These residuals are fed into a lightweight "readout" head that decides if the discrepancies are just natural noise or signs of AI manipulation.
Figure 1. Overview of VICA. Given an input video clip, the frozen V-JEPA 2.1 target encoder extracts observed features Y , while the frozen context encoder and predictor generate context-conditioned predictions from two complementary masked views. The resulting predictions are combined into bP, providing a predicted representation for every spatiotemporal token. Spatial residuals S are computed between predicted and observed features at the same time step, whereas bidirectional temporal residuals F and B capture discrepancies across paired time steps. Finally, a shared readout integrates [S, F, B] to support both video-level detection and region-level localization.

Datasets

The researchers put VICA through a gauntlet of benchmarks:

  • AIGVDBench: Used for detection, featuring videos from 20 open-source and 11 closed-source generators (including heavy hitters like Sora and Kling).
  • AINPAINT: A dataset for localizing edited/inpainted regions.
  • Generalization Tests: They also tested on GenVidBench-143K, VideoFeedback, and Magic Videos to see how well the model handles generators it never saw during training.

Key Insights and Ideas

  • Context as a Truth-Teller: The most powerful insight is shifting the focus from "artifact hunting" to "contextual agreement." If an AI-edited region doesn't perfectly sync with the lighting, motion, or texture of the surrounding pixels, the residuals will spike.
  • Residuals > Raw Features: The paper shows that using the difference between predicted and actual features is much more effective than just looking at the features themselves. It filters out the "normal" parts of the video and highlights the "weird" parts.
  • Temporal Discrepancies are Louder: As seen in Figure 2, while a spatial residual might catch a malformed object, the temporal residuals are much better at catching "ghosting" or unnatural movement along the edges of an object.
Figure 2. The video is generated by Vidu and sourced from AIGVDBench, which does not provide localization annotations. bPt and Yt denote the predicted and observed regional features at temporal step t, respectively. The three rows show the spatial residual bP1 −Y1 and the bidirectional temporal residuals bP2 −Y1 and bP1 −Y2. The columns display the input frame, channel-wise signed residual sums, and ℓ2 norms, with and without overlays on the input frame. The right boxer’s glove appears malformed, while the spatial residual bP1 −Y1 produces a localized response around the fist. In comparison, the bidirectional temporal residuals bP2 −Y1 and bP1 −Y2 exhibit stronger and more extensive ℓ2 responses along the moving arms and gloves, highlighting motion-dependent discrepancies that are less apparent in the spatial residual. This visualization illustrates how spatial and bidirectional temporal residuals reveal complementary patterns of contextual disagreement in AI-generated videos.

Key Results

VICA sets a new high bar for the field:

  • State-of-the-Art Detection: On AIGVDBench, VICA achieved a 94.74% AUROC (a measure of how well it distinguishes real from fake), significantly outperforming previous methods like V-PVP and DeCoF.
  • Robust Generalization: It didn't just memorize the training data. It performed exceptionally well on "unseen" generators, which is the "holy grail" for real-world deployment.
  • Precise Localization: In the localization task, it achieved a 72.74% IoU (Intersection over Union) on the AINPAINT dataset, proving it can pinpoint exactly which pixels were messed with.

Limitations and Future Work

Even the best detectives have blind spots. The authors note:

  • The "Empty Sky" Problem: In very featureless areas (like a clear blue sky or a flat wall), the model might struggle to make a perfect prediction even in a real video. This can lead to "false positives" where the model thinks a real region is fake just because it's hard to predict (see Figure 3).
  • Computational Weight: Because VICA requires two forward passes (one for the "real" features and one for the "predicted" ones), it’s more computationally expensive than simpler models.
  • Future Directions: The team plans to work on balancing the training data better and optimizing the speed of the dual-branch architecture.
False positives often occur in featureless background regions where contextual prediction is naturally difficult.

Summary updated

Abstract

The rapid advancement of AI-generated content (AIGC) video generation and editing technologies has raised growing societal concerns about the authenticity and reliability of digital videos. Existing video detection methods primarily exploit temporal inconsistencies through holistic frame-level representations, whereas manipulation localization methods focus on artifacts within individual spatial regions. However, holistic representations may obscure localized artifacts through global feature aggregation, while region-centric approaches may overlook disagreements between individual regions and their surrounding spatiotemporal context. To address these limitations, we propose VIdeo Contextual Agreement (VICA), a unified framework that masks individual video regions and leverages a frozen V-JEPA model to predict their representations from the surrounding spatiotemporal context. Complementary masking ensures complete regional coverage, while context-conditioned predictions establish references for assessing regional agreement with the broader video context. By comparing predicted and observed representations, VICA derives spatial residuals that characterize intra-frame discrepancies and bidirectional temporal residuals that capture inconsistencies across preceding and subsequent frames. These residuals characterize contextual disagreements, providing a shared forensic representation for both tasks and shifting the focus from identifying isolated manipulation artifacts to assessing regional agreement with expectations inferred from the broader video context. Extensive experiments demonstrate that VICA achieves state-of-the-art performance on both tasks across multiple benchmarks, with strong generalization to unseen video generators and editing methods.
BibTeX
@misc{lin2026vica,
  author = {Runheng Lin and Jialiang Shen and Jiyang Zheng and Ruiqi Liu and Zonglin He and Yu Yao and Huajie Chen and Chris Russell and Runqi Lin},
  title = {{VICA: Video Contextual Agreement for AIGC Video Detection and Localization}},
  year = {2026},
  eprint = {2611.28485},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.28485},
}
Figure