[Paper Review] RealStats: A Rigorous Real-Only Statistical Framework for Fake Image Detection
RealStats presents a training-free, statistically grounded framework that detects AI-generated images by aggregating multiple real-only p-values to test alignment with the real-image distribution, providing calibrated and interpretable outputs.
As generative models continue to evolve, detecting AI-generated images remains a critical challenge. While effective detection methods exist, they often lack formal interpretability and may rely on implicit assumptions about fake content, potentially limiting robustness to distributional shifts. In this work, we introduce a rigorous, statistically grounded framework for fake image detection that focuses on producing a probability score interpretable with respect to the real-image population. Our method leverages the strengths of multiple existing detectors by combining training-free statistics. We compute p-values over a range of test statistics and aggregate them using classical statistical ensembling to assess alignment with the unified real-image distribution. This framework is generic, flexible, and training-free, making it well-suited for robust fake image detection across diverse and evolving settings.
Motivation & Objective
- Motivate the need for interpretable and adaptable fake-image detection under evolving generative models.
- Develop a training-free framework grounded in statistical hypothesis testing using real-image distributions.
- Integrate multiple statistics with independence-aware aggregation to produce calibrated p-values.
- Ensure scalability, robustness to distribution shifts, and modularity for incorporating new statistics.
Proposed method
- Extract a diverse set of scalar statistics from real images using frozen feature extractors.
- Map each statistic to a two-sided p-value via empirical CDFs estimated from real images.
- Select an independent subset of statistics by building an independence graph and extracting a maximal clique under a uniformity constraint.
- Aggregate selected p-values with methods like Stouffer’s test or min-p to obtain a unified p-value under the null.
- Inference uses only the selected statistics to compute p-values and make a decision at a chosen significance level.

Experimental results
Research questions
- RQ1Can a real-image–based, training-free framework yield calibrated p-values that meaningfully quantify real vs. fake image likelihoods?
- RQ2Does aggregating multiple independent real-only statistics improve robustness to distribution shifts across evolving generators?
- RQ3How does RealStats balance interpretability with competitive detection performance compared to training-free baselines?
- RQ4Can the framework incorporate new statistics to boost performance on challenging generators without retraining?
Key findings
- The method achieves competitive AUC and AP compared to state-of-the-art training-free detectors (e.g., Min-p ensemble AUC 0.775, AP 0.756) with lower variance across generators.
- A per-generator analysis shows more balanced performance and robustness than some baselines, with improvements when incorporating diverse statistics (e.g., adding ManifoldBias to Min-p boosted AUC on GauGAN, CycleGAN, and SAN).
- The framework provides interpretable outputs by returning calibrated p-values for each inference, enabling principled decisions at a standard significance level.
- The approach is fast, scalable, and memory-efficient, with negligible overhead from independence testing relative to forward passes.
- The method demonstrates robustness to common corruptions (e.g., Gaussian blur; JPEG compression causes moderate dip) and remains adaptable under reference distribution misalignment, preserving discriminative signal.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.