NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Evidence Linking for Forensic Vision-Language Detectors

Deepfake detectors that reason in language, meaning multimodal large language models (MLLMs) fine-tuned to look at an image or video and explain whether it is fake, now generalize to unseen generators better than older pixel classifiers. They still break when the domain shifts: new generators, new manipulation types, or heavy social-media compression. This note argues that part of that failure has the same cause as a known failure in text-to-SQL systems over huge databases. When most of the model's input is irrelevant, attention spreads thin, the subtle cue gets missed, and the model falls back on whatever global shortcut it learned in training.

A forensic MLLM sees thousands of visual tokens of background, clothing, and static scenery for every few tokens that cover a blending seam or a mouth mismatched to speech. These visual tokens are image patches converted into the model's input sequence. The database community fixed its version of this problem with schema linking: it selects a small, high-recall subset of the database before the language model ever reasons about it. We propose evidence linking, the forensic counterpart. A cheap first pass decides which regions and frames must be inspected. Those regions are then fed at native resolution, under a fixed token budget, to the reasoning model. We test whether this narrows the gap between in-domain and out-of-domain accuracy, not just whether it lowers cost.

Core Claim

At a fixed visual-token budget, an MLLM detector does better out of domain when its budget goes to native-resolution crops of regions where manipulations structurally occur than when the same budget goes to a downsampled whole frame. The expected improvement is the drop in recall of manipulated pixels that downsampling causes. We also predict two diagnostic regularities. First, adding irrelevant tokens should hurt out-of-domain accuracy more than in-domain accuracy. Second, out-of-domain accuracy should track evidence recall, defined as the fraction of the ground-truth manipulation mask covered by the selected tokens. The text-to-SQL analogue is the strong link between schema recall and execution accuracy reported by AutoLink.

If the first regularity fails, so that saturation hurts both regimes equally, then context management is only an efficiency trick and not a generalization lever. We would report that as a negative result.

How This Builds on Prior Work

Several papers motivate the transfer. On the database side, Gen-SQL has an LLM guess a minimal "pseudo-schema" from the question and then grounds it against the real catalog. On a massive merged benchmark it keeps 48.6% execution accuracy, while a full-context baseline falls to 3.4%. DBCopilot trains a small router that sends each question to the relevant part of the schema before any SQL is written. AutoLink explores the schema with tool calls instead of reading all of it. Studies of positional bias near context limits and of context failures in relational foundation models show that degradation is nonlinear as inputs fill the window. We borrow the generate-then-ground structure from Gen-SQL. We do not borrow DBCopilot's learned router, because a router trained on forgery labels would likely relearn generator-specific shortcuts.

The forensic papers both supply ingredients and constrain the design. What Makes Fake Images Detectable? truncates CNNs to roughly 30×30 receptive fields and shows that local texture flaws transfer across GANs. It argues against global context. Veritas and AuthGuard argue that semantic reasoning is what transfers to diffusion-era generators.

Evidence linking takes a position between these two camps. Language reasoning chooses where to look and judges plausibility. The pixels it judges are local and full resolution. Downsampling would blur exactly the boundary cues the truncated-CNN paper relies on, and Celeb-DF++ shows compression already erodes those cues. LAE shows that pushing a detector's attention onto manipulated regions with masks improves transfer, by up to 12.03% on unseen attribute manipulation. We apply that locality idea at the input instead of through a training loss.

The closest system is Multi-Agent Forensic Reasoning. It splits analysis across four fixed agents (texture, lighting, motion, physics) that all see every video, and a judge reads all four reports. The authors themselves flag context cost as an open problem. Our approach differs in what it decides. It does not decide which reasoning expert to run. It decides which pixels and frames enter any context at all, and it measures that selection directly with evidence recall.

Research Program

The system has three stages built on one Qwen2.5-VL-7B backbone, the same open model used in the multi-agent paper.

In the glance stage, the model sees a low-resolution frame, or a sparse set of frames for video. It emits a short structured hypothesis list we call a pseudo-forensic schema. Each entry names a region type and a relation to check, such as "jawline–neck blend boundary," "eye specular highlights left vs right," or "lip shape vs audio in frames 40–70."

In the grounding stage, each entry is mapped to concrete crops using face landmarks, segmentation, and audio-visual alignment scores. None of these tools are trained on forgery labels, which keeps selection generator-agnostic.

In the verification stage, the crops are tokenized at native resolution within budget $B$ and passed to the model, which reasons and decides.

For video, the grounding stage also allows a small number of expansion calls, in the style of AutoLink. If confidence falls in an uncertain band, the model may request neighboring frames or a frequency-domain view of a crop. The number of calls is capped so that latency stays bounded.

All verification models are trained with identical supervised data: the HydraFake training split for images and the FaceVid-Forensics-100K training split for video. Training runs, data order, and hyperparameter search budget are matched across input conditions, so that only the input-selection policy differs.

Evidence recall is computed only where pixel-level manipulation masks are available, such as the FaceForensics++ masks LAE uses. Elsewhere we report detection metrics alone.

Baselines

The naive reference point is the same backbone given a uniformly downsampled full frame, or uniformly sampled frames, at budget $B$. This is the standard way forensic MLLMs consume input, and it isolates what selection adds.

The strongest practical competitor at the input level is a tight face crop at budget $B$. Most detectors already do this. Beating it means showing that further selection within the face matters. We count a win only if evidence linking improves out-of-domain accuracy or AUC by more than the seed-to-seed spread across three training seeds.

The strongest published methods anchor absolute performance. Veritas reports 90.7% average accuracy across HydraFake and 82.2% on its cross-domain split. On FaceVid-Forensics-100K's 20 unseen generators, the multi-agent system reports 53.28% F1, against 47.45% for a single MLLM. Our single-pass system with evidence linking should approach or exceed 53.28% F1 while using fewer total visual tokens than the four-agent pipeline. We will report tokens and wall-clock time alongside accuracy.

On Celeb-DF++, the reported reference is 73.8% video-level AUC for FF++-HQ-trained detectors, with a 7.5% drop under c45 compression. We report both numbers for our system trained on FF++. We also include SD², which reports 87.79% mAUC on WildDeepFake, as a non-MLLM reference.

Three ablations isolate the key ingredient, all at the same budget $B$. The first replaces the glance-stage schema with random crops inside the face. The second replaces it with crops ranked by the model's own attention, which is generic VLM token pruning. The third replaces it with crops ranked by a saliency map from a binary detector trained on forgery labels. If that third variant matches ours in-domain but falls behind out of domain, that directly supports the claim that selection must not be learned from generator artifacts.

Why not just…?

Why not just use a long-context model and feed everything? The database evidence says longer windows do not cure distraction; Gen-SQL's full-context baseline collapsing to 3.4% is the clearest case. But that evidence comes from text. Our saturation experiment, which pads the input with extra background and frames at fixed content, measures the effect for forensic MLLMs directly. If padding does not hurt out-of-domain accuracy, this alternative wins and we say so.

Why not just apply generic visual token pruning? This is the real threat, because attention-based pruning is cheap and widely used. Our concern is that it keeps tokens the model already finds salient. Under distribution shift, those are likely the shortcut regions. It also cannot raise resolution, only discard tokens. The attention-ranked ablation tests this head-on. If it matches evidence linking out of domain, the pseudo-forensic schema adds nothing, and we would simplify to pruning plus native-resolution re-cropping.

Why not just use a truncated local-patch CNN? The truncated-CNN paper shows local patches transfer across GANs, and such detectors are far cheaper. Veritas and the Celeb-DF++ results suggest local cues fail under compression and on talking-face generators. We will run a truncated Xception on the same splits. The decisive comparisons are its accuracy on Celeb-DF++ c45 and on the talking-face subset against ours.

Why not just scale data and model? SD² reports that adding data to standard architectures can plateau. A 7B multi-agent system also beats Gemini-3.5-Flash on unseen video generators. Scale therefore does not remove the shift problem on its own. Evidence linking is also complementary to scale and can be applied on top of a larger backbone.

Decisive Checks

The first experiment is the saturation test, run before any system building. We take the full-frame baseline and grow the input by adding background padding and uninformative frames while keeping the real content fixed. We then compare the in-domain and out-of-domain accuracy slopes on HydraFake and on FaceVid-Forensics-100K. A steeper out-of-domain slope justifies the program.

The second is the recall–accuracy curve. We sweep the budget $B$ and, wherever masks exist, plot out-of-domain accuracy against evidence recall for every selection policy. If all policies fall on one curve, recall is the mechanism, mirroring AutoLink's finding for schema linking. If our policy sits above the curve, the native-resolution grounding contributes beyond coverage alone.

The third is the compression test. We compare Celeb-DF++ AUC under c45 compression for evidence linking, the face crop, and the truncated CNN. This checks whether native-resolution local crops still help once compression has erased the fine textures.