Anchor-Regularized Adaptation for Generalizable AI-Generated Image Detection with DINOv3

Hyeongjun Choi, Juhun Lee, Davide Cozzolino, Luisa Verdoliva, Simon S. WooarXiv 2026

TL;DR

While large vision foundation models like DINOv3 are remarkably good at spotting AI-generated images, their high-level semantic focus causes them to miss subtle, low-level pixel artifacts. Naively fine-tuning these models to catch these artifacts distorts their feature space, destroying their ability to generalize to new types of fakes. To solve this, the authors introduce Anchor-Regularized Adaptation (ARA), which uses a frozen "anchor" classifier to guide low-rank adaptation (LoRA), successfully capturing microscopic forgery traces while preserving the model's robust understanding of real images.

What Problem Does This Paper Address?

Detecting AI-generated images (AIGIs) in the wild is an escalating arms race. Current detection strategies usually follow one of two paths:

  1. Dataset Alignment: Carefully matching the resolution, compression, and content of real and fake training images so detectors learn actual forensic traces rather than accidental dataset biases (shortcuts).
  2. Foundation Models: Leveraging massive pre-trained models like CLIP or DINOv3, which generalize incredibly well out-of-the-box.

Recently, researchers found that a simple linear probe on top of a frozen DINOv3 backbone achieves state-of-the-art results, even when trained on highly biased, misaligned data. This raised a critical question: Does data alignment even matter anymore in the era of powerful foundation models?

This paper investigates that question and uncovers a fundamental architectural dilemma. While frozen DINOv3 is highly robust, it suffers from a semantic bottleneck: as features move deeper through the network, low-level pixel artifacts are progressively suppressed in favor of high-level semantic abstractions. If you try to fine-tune the backbone to force it to see these subtle artifacts, you trigger anisotropic collapse—the feature space distorts, and the model loses its ability to generalize to unseen generative models.

Methods

To resolve this trade-off, the authors propose Anchor-Regularized Adaptation (ARA), a two-stage training framework:

  • Stage 1: Building the Real-Centric Anchor. The authors train a simple linear classification head ($h_{anchor}$) on top of the frozen DINOv3 backbone using a standard, misaligned dataset. Because the backbone is frozen, this anchor learns to map the model's pristine, pre-trained understanding of natural images. Once trained, its weights are locked.
  • Stage 2: Regularized Adaptation. The authors inject Low-Rank Adaptation (LoRA) parameters into the DINOv3 backbone and fine-tune it on a hybrid dataset containing both misaligned and perfectly aligned fakes. Crucially, the optimization uses two losses:
  • A Main Objective ($L_{main}$) via a new head ($h_{main}$) to learn the full spectrum of fakes.
  • An Anchor Regularization Loss ($L_{anchor}$). The features from the adapted backbone are passed through the frozen stage-1 anchor. This penalizes the network if its adapted features drift too far from the original, pre-trained geometric structure.

Datasets

The authors evaluated their method across nine diverse benchmarks:

  • Standard Benchmarks (Cross-Generator): AIGCDetect, Synthbuster, AIGI-Holmes, and AIGI-Now.
  • In-the-Wild Benchmarks (Real-world degradations): Chameleon, WildRF, SynthWildX, AIGIBench, and B-Free-Viral.

To cleanly isolate the effects of data alignment without introducing domain shift, the authors also constructed AlignedGenImage. They took real images from ImageNet (the source for the popular GenImage benchmark) and passed them through a VAE reconstruction pipeline, carefully matching resolutions and JPEG compression rates to eliminate statistical shortcuts.

Key Insights and Ideas

  • The Real-Centric Manifold: Why does a frozen DINOv3 generalize so well on bad data? The authors discovered that the model relies heavily on a well-defined representation of real images. In an asymmetric pruning experiment, reducing fake training data to just 1% caused almost no performance drop, whereas reducing real training data to 1% caused accuracy to plummet from 93.37% to 53.18%. DINOv3 detects fakes simply by recognizing what is not real.
  • The Semantic Bottleneck: Layer-wise probing proved that intermediate layers in DINOv3 are actually much better at identifying subtle pixel-level artifacts than the final layer. The network naturally discards these low-level details as it builds semantic meaning.
Figure 2: Empirical analysis of frozen DINOv3. (a) Reducing the amount of real training data substantially degrades performance, confirming reliance on a real-centric manifold. (b) Layer-wise probing on aligned data reveals a semantic bottleneck at the final layer. (c) Fusing predictions from intermediate experts compensates for this bottleneck, improving in-the-wild generalization.
  • The Danger of Naive Fine-Tuning: Standard LoRA fine-tuning successfully forces the final layer to see pixel artifacts, but it warps the feature geometry. The feature space collapses anisotropically (stretching along a narrow axis), which ruins out-of-distribution generalization. ARA prevents this collapse.
Figure 1: Conceptual illustration of the structural trade-off in adapting DINOv3 for AIGI detection. (a) Frozen DINOv3 provides a strong authenticity prior but struggles with fakes containing only subtle pixel-artifacts. (b) Naive fine-tuning can absorb such cues while distorting the pre-trained feature structure, degrading generalization. (c) ARA incorporates new artifact cues while better preserving the pre-trained structure.

Key Results

ARA achieved state-of-the-art performance across the board, demonstrating that aligned and misaligned data can provide complementary supervision when adapted correctly.

  • Standard Benchmarks: ARA achieved 98.5% average accuracy on both AIGCDetect and Synthbuster.
  • The Hardest Test: On AIGI-Now—a benchmark explicitly designed around the latest and most difficult generative models—ARA achieved 87.1% accuracy, outperforming the closest alignment-based competitor (DDA) by a massive 17.0 percentage points.
  • In-the-Wild Robustness: ARA achieved the highest reported average accuracy (96.9%) across all five in-the-wild datasets, proving it doesn't sacrifice real-world generalization for artifact sensitivity.

Limitations and Future Work

The primary limitation identified is backbone scale sensitivity. While ARA provides massive boosts for larger models like DINOv3-7B and DINOv3-H+, its benefits sharply decline when applied to the smallest variant, DINOv3-B (Base). At smaller scales, both naive LoRA and ARA performed worse than a simple frozen linear probe.

Future work will likely need to explore how to effectively inject low-level artifact awareness into smaller foundation models without overwhelming their limited capacity.

Summary updated

BibTeX
@misc{choi2026anchor,
  author = {Hyeongjun Choi and Juhun Lee and Davide Cozzolino and Luisa Verdoliva and Simon S. Woo},
  title = {{Anchor-Regularized Adaptation for Generalizable AI-Generated Image Detection with DINOv3}},
  year = {2026},
  eprint = {2608.15196},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.15196},
}
Figure