---
license: apache-2.0
language:
- en
library_name: pytorch
pipeline_tag: image-classification
base_model: facebook/PE-Core-L14-336
base_model_relation: adapter
tags:
- ai-generated-image-detection
- aigc-detection
- image-forensics
- lora
- pytorch
---
# 🌗 CuRe
### Learning Continuous Source Responses for Generalizable AI-Generated Image Detection
[Manni Cui](https://manic-cui.github.io/)
1,2 · Ruiqi Liu
3 · Zijian Yu
1 · Hao Tan
3 · Zibo Wei
2 · Zian Wang
4 · Ziheng Qin
3 · Huijia Zhu
1 · Weiqiang Wang
1 · Jun Lan
1,† · Shu Wu
3,†
1Ant Group
2Huazhong University of Science and Technology
3Institute of Automation, Chinese Academy of Sciences
4Jilin University
† Corresponding authors
[](https://manic-cui.github.io/projects/cure/)
[](https://arxiv.org/abs/2609.14316)
[](https://huggingface.co/papers/2609.14316)
[](https://huggingface.co/mannicui0/CuRe)
[](LICENSE)
[](https://www.python.org/)
[](https://pytorch.org/)
[](https://github.com/manic-cui/CuRe)
[English](README.md) · [简体中文](README_zh-CN.md)
[🌐 Project Page](https://manic-cui.github.io/projects/cure/) · [📄 Paper](https://arxiv.org/abs/2609.14316) · [🤗 Hugging Face](https://huggingface.co/mannicui0/CuRe) · [🧭 Method](#-how-it-works) · [📊 Results](#-results) · [🚀 Quick Start](#-quick-start) · [📚 Citation](#-citation)
---
> **TL;DR.** Instead of training a detector only on real/fake endpoints, CuRe teaches the backbone *how much* of an image is generated, by regressing the mixing ratio along a continuous real-to-generated path, and then classifies inside a compact source-response subspace. Trained only on GenImage SD v1.4, it reaches **89.7%** average balanced accuracy across ten public benchmarks, **+5.2** over the second-best method.
Existing AI-generated image detectors often perform well on in-domain data, but their robustness and cross-generator generalization remain limited, a weakness commonly attributed to overfitting to shortcut cues. Most methods that try to suppress shortcut learning still keep binary classification as the training task, without reconsidering how the task itself shapes the learned representation.
**CuRe** (learning **C**ontinuous So**u**rce **Re**sponses) revisits detection from the perspective of the training task. It reformulates backbone adaptation as regression of real–generated mixing ratios, which gives finer supervision than binary endpoint separation, and then selects a compact source-response subspace that suppresses nuisance variation and limits the final classifier's access to potential shortcut cues.
---
## 📰 News
- **2026.10** Code and weights are also on [🤗 Hugging Face](https://huggingface.co/mannicui0/CuRe), with a [paper page](https://huggingface.co/papers/2609.14316).
- **2026.09** Paper released on [arXiv](https://arxiv.org/abs/2609.14316).
- **2026.09** Inference code and the trained CuRe adapter (25 MB) released.
---
## ✨ Highlights
| | |
|---|---|
| 🎯 **A different training task** | Regress the real–generated mixing ratio $\alpha$ instead of fitting binary labels at the two endpoints |
| 🧭 **Source-response subspace** | 128 directions selected by their response to real→generated change relative to content and same-source mixing, not by total variance |
| 🏆 **Strong generalization** | 89.7% average B.Acc. over 10 public benchmarks, ahead of DDA (84.5%) by 5.2 points |
| 🌍 **In the wild** | 93.8% on Chameleon and 79.7% on RealChain, +10.9 and +11.8 over the second-best method |
| 🧩 **Backbone-agnostic** | Ratio supervision beats binary supervision in all 12 settings across CLIP, DINOv2, DINOv3 and PE Core (LoRA r = 16 / 32 / 64), with AUC gains of 2.7–9.3 points |
| 🪶 **Light release** | All trained parameters ship as a 25 MB adapter on top of the public PE Core L/14 backbone |
---
## 🧭 How It Works