TL;DR
CuRe (Continuous Source Responses) shifts AI-generated image detection from a standard binary classification task to a continuous regression problem by training models to predict the mixing ratio of blended real and fake images. Combined with a specialized subspace projection that filters out semantic and format noise, this approach prevents the model from relying on superficial "shortcuts" and significantly improves generalization to unseen image generators.
What Problem Does This Paper Address?
Most state-of-the-art AI-generated image (AIGI) detectors rely on powerful pretrained vision backbones like CLIP or DINO. However, these backbones are inherently optimized to understand semantic content (e.g., distinguishing a dog from a cat) rather than authenticity (distinguishing a real dog from a diffusion-generated dog).
When researchers fine-tune these backbones using standard binary classification (Real vs. Fake), the models quickly find "shortcuts." Instead of learning deep architectural artifacts of generative models, they overfit to generator-specific textures, semantic biases in the training set, or subtle differences in image compression. As a result, these detectors perform beautifully on data similar to their training set but fail miserably when tested on entirely new image generators or real-world, degraded images.
Methods
The authors introduce CuRe, a two-stage framework designed to force the network to learn a continuous spectrum of authenticity rather than a rigid, easily cheated binary boundary.
Stage 1: Continuous Source Learning
Instead of feeding the model purely real or purely fake images, CuRe constructs a continuous transition between them. It takes a random real image ($x_r$) and an independently sampled generated image ($x_g$), blending them linearly in pixel space based on a randomly drawn mixing ratio $\alpha \in [0, 1]$:
$$x_\alpha = (1 - \alpha)x_r + \alpha x_g$$
The backbone network (adapted using Low-Rank Adaptation, or LoRA) is then tasked with a regression problem: predict the exact value of $\alpha$. By forcing the model to distinguish intermediate, blended states, it becomes highly sensitive to the gradual introduction of generative traces.
Stage 2: Source-Response Subspace Extraction
While Stage 1 makes the features sensitive to authenticity, the feature space still contains a lot of "interference" from semantic content and pixel-blending artifacts.
To isolate pure authenticity cues, the authors construct three controlled trajectory types: Real-Fake (RF), Real-Real (RR), and Fake-Fake (FF). By analyzing how the feature representations shift along these trajectories, they formulate a generalized eigenvalue problem. This allows them to find a compact, 128-dimensional source-response subspace that maximizes the variance along the real-to-fake axis while explicitly suppressing the variance caused by semantic changes or same-source mixing. A final linear classifier is trained strictly within this clean subspace.
Datasets
- Training: CuRe was trained exclusively on the Stable Diffusion v1.4 subset of the GenImage dataset.
- Evaluation: To test cross-generator generalization, the model was evaluated across ten diverse public benchmarks:
- Standard Benchmarks: AIGCDetectBenchmark, AIGIBench, UnivFakeDetect, EvalGEN, and SynthWildX.
- In-the-Wild/Degraded Benchmarks: WildRF, BFree-Online, RRDataset, RealChain, and Chameleon. These benchmarks span dozens of generative models (GANs, autoregressive models, and various diffusion iterations like FLUX and Midjourney) and include real-world image degradations.
Key Insights and Ideas
- Moving from Boundaries to Gradients: Standard binary classification allows the model to draw arbitrary decision boundaries that exploit shortcuts. Forcing the model to predict a continuous mixing ratio acts as a dense regularizer, forcing it to learn the actual gradient of structural changes that occur when an image becomes synthetic.
- Semantic Disentanglement: As shown in the t-SNE analysis below, standard binary training preserves strong semantic clustering and introduces format-based splits (like JPEG quality). CuRe successfully mixes semantic and format groups while maintaining a clear, clean separation based purely on authenticity.
- Subspace Filtering over PCA: Traditional dimensionality reduction like PCA retains directions of maximum total variance, which in vision models is usually dominated by semantic content. CuRe’s targeted subspace solver explicitly discards semantic variance to keep only authenticity-responsive dimensions.
Key Results
- State-of-the-Art Generalization: CuRe achieved an Overall Average Balanced Accuracy of 89.7% across all ten benchmarks, outperforming the previous best method (DDA) by 5.2 percentage points.
- Challenging "In-the-Wild" Performance: On the highly complex Chameleon and RealChain datasets—which simulate real-world internet image degradations—CuRe outperformed the runner-up by 10.9% and 11.8% in balanced accuracy, respectively.
- Extreme Robustness: When subjected to post-processing perturbations (JPEG compression down to quality 30, resizing, and Gaussian blur), CuRe's worst-case accuracy dropped to only 90.35% on AIGIBench, whereas competing methods like GAPL plummeted by over 16%.
Limitations and Future Work
- Simplified Blending Proxy: Linear pixel-space interpolation is a mathematical convenience and does not mirror how images actually change across a true generative manifold. The authors note that future work could explore more realistic transitions, such as interpolating within the latent spaces of generative models.
- Lack of Spatial Localization: CuRe operates purely at the image level. It is designed to evaluate whether an entire image is AI-generated, meaning it cannot currently localize partial edits or deepfake face-swaps within an otherwise real photograph.
Summary updated