# MIRROR: Manifold Ideal Reference ReconstructOR for AI-Generated Image Detection

*Ruiqi Liu, Manni Cui, Ziheng Qin, Zhiyuan Yan, Ruoxin Chen, Yi Han, Zhiheng Li, Junkai Chen, ZhiJin Chen, Kaiqing Lin, Jialiang Shen, Lubin Weng, Yan Wang, Shu Wu*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/149292) · [OpenReview](https://openreview.net/forum?id=rNJxI4kA0N) · [Open on the map](../papers.html#p149292)

Category: [Diffusion & Image Generation](../pcat/5.md) › [AI-Generated Image Detection](../pgroup/315.md) · Type: new method · Keywords: AI-generated image detection, reference comparison, manifold learning, media security, benchmark evaluation

Areas: [Safety & Security](../areas/safety.md) › Adversarial Security › Synthetic Media Detection; [Evaluation & Benchmarks](../areas/evaluation.md) › Visual Multimodal Evaluation › Deepfake Detection

## Summary
MIRROR is a reference-comparison detector that learns a real-image manifold reference to achieve generalisable AI-generated image detection and sets a new human-level benchmark.

## Explained to a 5-year-old
People make pictures using computers that look almost real. Sometimes we need to know if a picture was made by a computer or taken by a camera. The new idea uses a memory of real pictures to compare new ones. If a picture doesn't match the real ones, it is marked as fake. This helps keep media trustworthy.

## Explained to a 5-year-old, longer
Computers can now draw pictures that look just like real photos. These computer pictures are called AI-generated images. It can be hard to tell if a picture is real or made by a computer. Many detectors look for tiny mistakes that only appear in certain computer models. Those detectors often fail when they see a new computer model they haven't seen before. The researchers thought of a different way: they keep a collection of real pictures as a reference. They compare any new picture to this collection of real pictures. If the picture fits well with the real pictures, it is likely real. If it does not fit, it is likely fake. They also measure how surprised the model is when reconstructing the picture. This method works on many different computer models and even on hard-to-see fake images. It helps protect media by spotting fake pictures before they spread.

## For a technical reader
The paper addresses the problem of detecting AI-generated images, which is crucial for ensuring media authenticity. Existing detectors rely on artifacts specific to particular generative models, causing poor generalisation. The proposed solution learns a discrete memory bank of real-image features and projects inputs onto these prototypes to form a consistent reference. Detection is performed by measuring the residual between the input and this reference, as well as a reconstruction perplexity score. Experiments on 14 benchmarks, including a new human-level benchmark, show consistent improvements over prior methods.

## Problem
Detecting AI-generated images is challenging because existing detectors rely on generator-specific artifacts and fail to generalize to new models. There is a need for a detection approach that leverages a stable real-image distribution rather than chasing varying forgery cues.

## Method
It learns a discrete memory bank of real-image priors and projects inputs onto these prototypes via sparse linear combinations to form a manifold-consistent ideal reference. Detection is based on the comparison residual and reconstruction perplexity between the input and this reference.

## Results
The approach improves detection by 2.1% on six standard benchmarks and 8.1% on seven in-the-wild benchmarks, and achieves 89.6% fake accuracy on the Human-AIGI benchmark across 27 generators.

## Contributions
It introduces a reference-comparison framework that anchors detection on a stationary real-image distribution, a discrete memory bank of real priors, and a new Human-AIGI benchmark targeting superhuman performance. The method generalises across many generators and narrows the gap to expert detection levels as the backbone scales.

## Practical relevance
It enables robust verification of image authenticity for media security applications, helping to combat deepfake proliferation.

## Research questions this paper is counted under

- [How can we build detectors that generalize to unseen generative models without relying on spurious or generator-specific cues?](../q/41.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/149292)
