TL;DR
When building detectors for AI-generated images, fine-tuning a massive vision model often backfires—causing it to memorize the quirks of its training data and fail on newer generators. Instead of adapting the model's weights, ReMoT keeps a vision foundation model completely frozen and learns how to read its internal knowledge across both standard RGB pixels and frequency wavelets. With just 3,074 trainable parameters, it outperforms heavy adaptation methods across eight diverse benchmarks, proving that the forensic clues we need are already sitting inside off-the-shelf vision backbones.
What Problem Does This Paper Address?
Every few months, a new AI image generator drops, rendering existing forensic detectors obsolete. A detector trained on Stable Diffusion v1.4 might spot subtle pixel artifacts unique to that model, only to be completely fooled by Midjourney or DALL-E 3.
To get better generalization, researchers turned to Vision Foundation Models (VFMs) like CLIP and DINOv3, usually adapting them via fine-tuning or LoRA (Low-Rank Adaptation). Yet recent studies uncovered a counterintuitive truth: modern VFMs already know how to spot fakes out of the box, and adapting their weights actually degrades their ability to generalize to unseen generators.
If you shouldn't touch the backbone, how do you extract the best signal? Standard "linear probing"—slapping a simple classifier onto the final layer's RGB output—leaves a lot of forensic evidence on the table, ignoring intermediate layers and frequency-domain anomalies. Conversely, multi-cue detectors that combine RGB and frequency streams typically rely on mismatched architectures (like pairing a CNN with a ViT) and fuse their outputs way too late for the streams to inform one another. The authors ask: How can we jointly extract multi-view forensic clues across the full depth of a network without changing a single pretrained weight?
Methods
The authors propose ReMoT (Readout with Mixture-of-Transformers), a framework built around a completely frozen DINOv3 (ViT-L/16) backbone. Instead of updating feature transformations, ReMoT organizes how information flows and is read out:
- Spatially Aligned Dual Views: Every input image is split into two views: standard RGB appearance and a Discrete Wavelet Transform (DWT) view that captures directional, spatial-frequency details. Both are fed into identical, frozen DINOv3 streams with adjusted patch strides so their spatial grids align perfectly.
- Staged Joint Attention: Borrowing from Mixture-of-Transformers (MoT), the two streams share a joint attention space governed by a strict two-stage mask. In Stage I (early layers), RGB and DWT tokens only attend to themselves, allowing clean view-specific processing. From block $s=9$ onward (Stage II), controlled cross-view interaction unlocks: global "register" tokens can read the entire opposite view, while image patches can peek at a small local neighborhood ($11 \times 11$ window) of spatially corresponding patches in the opposite view.
- Progressive Readout Without Writeback: Rather than waiting until the final layer, ReMoT injects two learnable fusion queries right at the input. At every layer, these queries attend to all RGB and DWT tokens using the backbone's frozen attention projections. Crucially, this is a one-way street (no writeback): visual tokens cannot see the queries, ensuring the frozen visual representations remain uncorrupted. Finally, a tiny shared linear head classifies the queries.
Only the initial fusion-query embeddings and the final two-class linear head are trained—totaling just 3,074 parameters.
Datasets
- Training: Trained exclusively on the Stable Diffusion v1.4 partition of GenImage—testing true single-generator-to-many generalization.
- Evaluation: Tested zero-shot (no threshold tuning) across eight existing benchmark groups:
- Manually Curated: GenImage and AIGCDetectBench (both synthetic sets JPEG-compressed at quality 96—denoted QF96—to eliminate trivial file-format biases), EvalGEN, Synthbuster, and Mirage-Test (which includes non-photographic Anime).
- In-the-Wild: Chameleon, SynthWildX, and WildRF (social media images from Reddit, Twitter, and Facebook).
Key Insights and Ideas
- Adapting hurts; reading heals: Adding attention LoRA (~2.37M trainable parameters) to ReMoT caused average accuracy to plummet from 91.2% down to 70.5%. Updating the backbone actively overwrites transferable visual knowledge with training-set biases.
- Views need to talk mid-flight: Disabling Stage II cross-view attention drops accuracy by 4.2 percentage points (and over 11 points on WildRF). Letting RGB appearance and wavelet frequencies exchange notes during feature extraction—not just at the end—is vital for messy, real-world images.
- Locality matters across views: Allowing patches to attend globally across views actually performs worse than restricting them to a local spatial window alongside global register tokens (90.5% vs. 91.2%). Forensic anomalies in pixel space correspond directly to anomalies at the same location in frequency space.
Key Results
- Broad Generalization: ReMoT achieves 91.2% average balanced accuracy across all eight benchmark groups—beating the strongest baseline, DDA (85.8%), and simple DINOv3 linear probing (84.2%). It also achieves the lowest variance across benchmarks ($\pm$3.8%).
- Crushing Transfer Failures: On Mirage-Test, where competing detectors suffer severe Real/Fake class bias and top out at 55.7%, ReMoT hits 84.1% with balanced accuracy across both real and fake classes (including 84.8% on Anime, despite training only on photorealistic SD v1.4).
- In-the-Wild Readiness: ReMoT is the only evaluated detector to score $\ge$90% on all three in-the-wild benchmarks (90.2% on Chameleon, 90.0% on SynthWildX, and 94.2% on WildRF).
- Post-Processing Robustness: Under heavy JPEG compression (quality 60) and Gaussian blur (radius 2.0) on Chameleon, ReMoT retains ~95.7% of its original performance, widening its lead over baselines as image quality degrades.
Limitations and Future Work
While the provided main text does not include a dedicated limitations section, the authors note that their findings motivate a broader shift in future research: moving away from designing task-specific backbone adaptations and toward structured readout design—exploring better ways to organize complementary views and access the latent forensic knowledge already locked inside frozen foundation models.
Summary updated