Dataset Viewer
Auto-converted to Parquet Duplicate
path
string
ground_truth
string
y_true
int64
predicted_ai
int64
ai_probability
float64
attributed_provenance
string
best_vae
string
max_psnr_db
float64
harmonic_spike_ratio
float64
rho_rgb_correlation
float64
kurtosis
float64
latency_ms
float64
hf_0001.png
Real Photo
0
0
0.1181
Authentic Optical Camera
SDXL
33.3
1.275
-0.0002
3.03
2,662.97
hf_0002.png
Real Photo
0
0
0.1194
Authentic Optical Camera
SDXL
33.56
1.292
-0.0003
3.03
1,596.76
hf_0003.png
Real Photo
0
0
0.1075
Authentic Optical Camera
SDXL
33.57
1.137
-0.0008
3.03
1,605.01
hf_0004.png
Real Photo
0
0
0.1162
Authentic Optical Camera
SDXL
33.11
1.251
-0.0012
3
1,590.83
hf_0005.png
Real Photo
0
0
0.1046
Authentic Optical Camera
SDXL
33.29
1.1
-0.0044
3.01
1,614.3
hf_0006.png
Real Photo
0
0
0.1109
Authentic Optical Camera
SDXL
33.4
1.182
-0.0004
3.06
1,613.06
hf_0007.png
Real Photo
0
0
0.1044
Authentic Optical Camera
SDXL
33.48
1.097
0.0014
3.04
1,622.77
hf_0008.png
Real Photo
0
0
0.1066
Authentic Optical Camera
SDXL
33.38
1.126
0.0014
3
1,634.48
hf_0009.png
Real Photo
0
0
0.1049
Authentic Optical Camera
SDXL
33.47
1.103
-0.0008
3.04
1,609.19
hf_0010.png
Real Photo
0
0
0.1131
Authentic Optical Camera
SDXL
33.61
1.211
-0.001
3.01
1,613.03
hf_0011.png
Real Photo
0
0
0.1068
Authentic Optical Camera
SDXL
33.29
1.128
0.0009
3.02
1,615.4
hf_0012.png
Real Photo
0
0
0.1087
Authentic Optical Camera
SDXL
33.52
1.153
0.0006
3.03
1,619.65
hf_0013.png
Real Photo
0
0
0.1076
Authentic Optical Camera
SDXL
33.14
1.139
0.0001
3.03
1,622.91
hf_0014.png
Real Photo
0
0
0.0996
Authentic Optical Camera
SDXL
33.21
1.035
-0.0006
3.02
1,617.72
hf_0015.png
Real Photo
0
0
0.111
Authentic Optical Camera
SDXL
33.45
1.183
0.0015
3.02
1,716.05
hf_0016.png
Real Photo
0
0
0.1153
Authentic Optical Camera
SDXL
33.66
1.238
-0.0002
3.03
1,744.13
hf_0017.png
Real Photo
0
0
0.1188
Authentic Optical Camera
SDXL
33.08
1.284
-0.0001
3.02
1,736.61
hf_0018.png
Real Photo
0
0
0.1097
Authentic Optical Camera
SDXL
32.17
1.167
-0.0001
3.02
1,661.27
hf_0019.png
Real Photo
0
0
0.1096
Authentic Optical Camera
SDXL
31.04
1.165
-0.0015
2.99
1,773.81
hf_0020.png
Real Photo
0
0
0.0989
Authentic Optical Camera
SDXL
30.26
1.026
-0.0043
3
1,830.36
hf_0021.png
Real Photo
0
0
0.1064
Authentic Optical Camera
SDXL
31.01
1.123
0.0001
3.04
1,722.32
hf_0022.png
Real Photo
0
0
0.0979
Authentic Optical Camera
SDXL
31.38
1.013
0.0018
3.03
1,730.85
hf_0023.png
Real Photo
0
0
0.1025
Authentic Optical Camera
SDXL
30.83
1.072
0.0012
2.99
1,746.59
hf_0024.png
Real Photo
0
0
0.1051
Authentic Optical Camera
SDXL
30.48
1.106
-0.0006
3.02
1,632.71
hf_0025.png
Real Photo
0
0
0.1153
Authentic Optical Camera
SDXL
29.95
1.238
-0.0017
3
1,617.54
hf_0026.png
Real Photo
0
0
0.1121
Authentic Optical Camera
SDXL
33.67
1.197
0.0008
3.02
1,620.96
hf_0027.png
Real Photo
0
0
0.1058
Authentic Optical Camera
SDXL
33.07
1.115
0.0006
3.03
1,631.35
hf_0028.png
Real Photo
0
0
0.1108
Authentic Optical Camera
SDXL
31.92
1.181
-0.0006
3.03
1,625.57
hf_0029.png
Real Photo
0
0
0.1164
Authentic Optical Camera
SDXL
31.08
1.254
-0.0002
3
1,626.76
hf_0030.png
Real Photo
0
0
0.1099
Authentic Optical Camera
SDXL
30.3
1.169
0.0001
3
1,626.6
hf_0031.png
Real Photo
0
0
0.1043
Authentic Optical Camera
SDXL
31.13
1.096
-0.0006
3.04
1,651.51
hf_0032.png
Real Photo
0
0
0.105
Authentic Optical Camera
SDXL
31.22
1.105
0.0005
3.01
1,613.07
hf_0033.png
Real Photo
0
0
0.0978
Authentic Optical Camera
SDXL
30.46
1.012
-0.0012
3
1,628.97
hf_0034.png
Real Photo
0
0
0.1009
Authentic Optical Camera
SDXL
30.55
1.052
-0.0003
3.02
1,623.68
hf_0035.png
Real Photo
0
0
0.1049
Authentic Optical Camera
SDXL
29.92
1.104
-0.0019
2.99
1,639.33
hf_0036.png
Real Photo
0
0
0.1088
Authentic Optical Camera
SDXL
34.09
1.155
-0.0001
3.05
1,638.87
hf_0037.png
Real Photo
0
0
0.1253
Authentic Optical Camera
SDXL
33.08
1.369
0.0013
3
1,637.96
hf_0038.png
Real Photo
0
0
0.1087
Authentic Optical Camera
SDXL
31.99
1.153
0.0025
3.01
1,654.34
hf_0039.png
Real Photo
0
0
0.1
Authentic Optical Camera
SDXL
31.06
1.039
-0.0011
3
1,653.13
hf_0040.png
Real Photo
0
0
0.1035
Authentic Optical Camera
SDXL
30.3
1.086
-0.0014
3.03
1,632.49
hf_0041.png
Real Photo
0
0
0.095
Authentic Optical Camera
SDXL
31.01
0.975
0.0001
3
1,648.06
hf_0042.png
Real Photo
0
0
0.1012
Authentic Optical Camera
SDXL
31.37
1.056
-0.001
3.03
1,635.3
hf_0043.png
Real Photo
0
0
0.0997
Authentic Optical Camera
SDXL
30.79
1.036
-0.0009
3.01
1,633.32
hf_0044.png
Real Photo
0
0
0.1031
Authentic Optical Camera
SDXL
30.38
1.08
-0.0015
3.02
1,629.61
hf_0045.png
Real Photo
0
0
0.1027
Authentic Optical Camera
SDXL
29.77
1.075
-0.0007
3.03
1,654.25
hf_0046.png
Real Photo
0
0
0.1079
Authentic Optical Camera
SDXL
33.81
1.143
0.0036
3.05
1,640.55
hf_0047.png
Real Photo
0
0
0.1054
Authentic Optical Camera
SDXL
32.88
1.111
-0.0001
3.02
1,635.91
hf_0048.png
Real Photo
0
0
0.1003
Authentic Optical Camera
SDXL
31.94
1.044
0.0013
2.99
1,638.21
hf_0049.png
Real Photo
0
0
0.1008
Authentic Optical Camera
SDXL
31.17
1.051
0.0008
3.01
1,629.5
hf_0050.png
Real Photo
0
0
0.1119
Authentic Optical Camera
SDXL
30.24
1.195
0.0023
3.02
1,636.96
optical_sim_0051.png
Real Photo
0
0
0.0999
Authentic Optical Camera
SDXL
33.87
1.038
-0.0008
3.04
1,641.82
optical_sim_0052.png
Real Photo
0
0
0.107
Authentic Optical Camera
SDXL
32.09
1.131
-0.0004
3.02
1,643.37
optical_sim_0053.png
Real Photo
0
0
0.0988
Authentic Optical Camera
SDXL
32.76
1.024
-0.0005
3.04
1,641.07
optical_sim_0054.png
Real Photo
0
0
0.1097
Authentic Optical Camera
SDXL
32.56
1.166
-0.0005
2.99
1,674.29
optical_sim_0055.png
Real Photo
0
0
0.111
Authentic Optical Camera
SDXL
33.55
1.183
0
3.03
1,627.48
optical_sim_0056.png
Real Photo
0
0
0.1127
Authentic Optical Camera
SDXL
32.89
1.205
-0.0006
3.03
1,636.35
optical_sim_0057.png
Real Photo
0
0
0.1156
Authentic Optical Camera
SDXL
33.84
1.242
-0.001
3.04
1,637.91
optical_sim_0058.png
Real Photo
0
0
0.1033
Authentic Optical Camera
SDXL
33.47
1.083
-0.0002
3.02
1,638.15
optical_sim_0059.png
Real Photo
0
0
0.1037
Authentic Optical Camera
SDXL
33.78
1.088
0.0011
3.02
1,636.64
optical_sim_0060.png
Real Photo
0
0
0.1157
Authentic Optical Camera
SDXL
33.92
1.244
0.0024
3
1,649.83
optical_sim_0061.png
Real Photo
0
0
0.1022
Authentic Optical Camera
SDXL
33.65
1.069
0.0033
3.05
1,668.82
optical_sim_0062.png
Real Photo
0
0
0.1123
Authentic Optical Camera
SDXL
34.26
1.2
-0.0002
3.04
1,674.96
optical_sim_0063.png
Real Photo
0
0
0.1165
Authentic Optical Camera
SDXL
33.63
1.254
-0.0001
3.03
1,642.01
optical_sim_0064.png
Real Photo
0
0
0.1077
Authentic Optical Camera
SDXL
33.07
1.14
-0.0023
3.01
1,640.77
optical_sim_0065.png
Real Photo
0
0
0.0989
Authentic Optical Camera
SDXL
32.58
1.026
0.0002
3.03
1,645.14
optical_sim_0066.png
Real Photo
0
0
0.1055
Authentic Optical Camera
SDXL
31.68
1.111
-0.0006
3
1,640.23
optical_sim_0067.png
Real Photo
0
0
0.0996
Authentic Optical Camera
SDXL
33.44
1.035
0.0036
3.03
1,661.95
optical_sim_0068.png
Real Photo
0
0
0.1123
Authentic Optical Camera
SDXL
34.57
1.2
-0.0019
3.02
1,632.89
optical_sim_0069.png
Real Photo
0
0
0.1067
Authentic Optical Camera
SDXL
32.04
1.127
-0
3.02
1,664.75
optical_sim_0070.png
Real Photo
0
0
0.0991
Authentic Optical Camera
SDXL
33.33
1.028
0.002
3.03
1,645.6
optical_sim_0071.png
Real Photo
0
0
0.0995
Authentic Optical Camera
SDXL
32.86
1.033
-0.0004
3.03
1,635.57
optical_sim_0072.png
Real Photo
0
0
0.1038
Authentic Optical Camera
SDXL
34.57
1.09
0.0007
3.02
1,643
optical_sim_0073.png
Real Photo
0
0
0.1064
Authentic Optical Camera
SDXL
33.44
1.123
-0.0015
3.03
1,650.74
optical_sim_0074.png
Real Photo
0
0
0.1043
Authentic Optical Camera
SDXL
34.34
1.096
0.0012
3.04
1,641.65
optical_sim_0075.png
Real Photo
0
0
0.1098
Authentic Optical Camera
SDXL
33.68
1.167
-0.0008
3.05
1,654.45
optical_sim_0076.png
Real Photo
0
0
0.1044
Authentic Optical Camera
SDXL
33.7
1.097
0.0024
3.03
1,672.41
optical_sim_0077.png
Real Photo
0
0
0.1024
Authentic Optical Camera
SDXL
33.53
1.071
-0.0011
3.02
1,665.66
optical_sim_0078.png
Real Photo
0
0
0.1088
Authentic Optical Camera
SDXL
34.12
1.155
-0.0004
3.02
1,656.17
optical_sim_0079.png
Real Photo
0
0
0.1117
Authentic Optical Camera
SDXL
33.36
1.192
-0.0008
2.99
1,642.66
optical_sim_0080.png
Real Photo
0
0
0.1088
Authentic Optical Camera
SDXL
31.56
1.154
0.0005
3.01
1,656.06
optical_sim_0081.png
Real Photo
0
0
0.1022
Authentic Optical Camera
SDXL
32.05
1.068
-0.0009
3.01
1,678.93
optical_sim_0082.png
Real Photo
0
0
0.0978
Authentic Optical Camera
SDXL
34.12
1.011
-0.0014
3.03
1,666.81
optical_sim_0083.png
Real Photo
0
0
0.1025
Authentic Optical Camera
SDXL
32.78
1.072
-0.0029
3.01
1,662.75
optical_sim_0084.png
Real Photo
0
0
0.1256
Authentic Optical Camera
SDXL
33.27
1.372
-0
3
1,700.35
optical_sim_0085.png
Real Photo
0
0
0.1157
Authentic Optical Camera
SDXL
33.35
1.245
0.0013
3.02
1,658.52
optical_sim_0086.png
Real Photo
0
0
0.1124
Authentic Optical Camera
SDXL
32.41
1.201
-0.0007
3.02
1,662.14
optical_sim_0087.png
Real Photo
0
0
0.1142
Authentic Optical Camera
SDXL
34.22
1.225
0.0018
3.04
1,642.86
optical_sim_0088.png
Real Photo
0
0
0.0976
Authentic Optical Camera
SDXL
31.98
1.009
-0.0009
3.02
1,636.06
optical_sim_0089.png
Real Photo
0
0
0.107
Authentic Optical Camera
SDXL
33.14
1.132
0.0025
3
1,649.48
optical_sim_0090.png
Real Photo
0
0
0.1037
Authentic Optical Camera
SDXL
33.28
1.088
-0.0022
3
1,646.97
optical_sim_0091.png
Real Photo
0
0
0.1078
Authentic Optical Camera
SDXL
34.16
1.142
0.0005
3.05
1,675.84
optical_sim_0092.png
Real Photo
0
0
0.1026
Authentic Optical Camera
SDXL
33.68
1.074
0.0006
3.04
1,669.64
optical_sim_0093.png
Real Photo
0
0
0.1028
Authentic Optical Camera
SDXL
32.8
1.076
-0.002
3.02
1,646.07
optical_sim_0094.png
Real Photo
0
0
0.1149
Authentic Optical Camera
SDXL
31.98
1.234
0.0004
3
1,643.32
optical_sim_0095.png
Real Photo
0
0
0.1052
Authentic Optical Camera
SDXL
34.4
1.107
0.002
3.02
1,654.34
optical_sim_0096.png
Real Photo
0
0
0.099
Authentic Optical Camera
SDXL
33.46
1.027
0.0004
3.03
1,663.58
optical_sim_0097.png
Real Photo
0
0
0.1097
Authentic Optical Camera
SDXL
33.29
1.166
0.0008
3.04
1,651.37
optical_sim_0098.png
Real Photo
0
0
0.1068
Authentic Optical Camera
SDXL
33.1
1.129
0.0007
3.02
1,674.52
optical_sim_0099.png
Real Photo
0
0
0.1023
Authentic Optical Camera
SDXL
33.66
1.07
-0.0005
3.04
1,674.64
optical_sim_0100.png
Real Photo
0
0
0.1028
Authentic Optical Camera
SDXL
33.44
1.076
0.0004
3.03
1,669.97
End of preview. Expand in Data Studio

Latent Resonance: SOTA Large-Scale AI Image Forensics Benchmark (N=1,000)

License: MIT Paper DOI AUROC Cohen's d FAR GitHub Live Web App

Author: Debdip Bandyopadhyay (Independent AI Researcher, Kolkata, India; M.Tech, IIT Jodhpur, AI & Data Science)
Preprint & Paper: Latent Resonance: Zero-Shot Autoencoder Inversion and Azimuthal Spectral Forensics for Diffusion Image Attribution (IEEE Flagship / CERN Zenodo 2026)


1. Executive Summary & Diagnostic Suite

This repository contains the complete empirical evaluation records ($N=1,000$ images) and diagnostic graphics for the Latent Resonance diffusion detection and provenance attribution framework.

Latent Resonance exploits three orthogonal physical and architectural invariances of generative latent diffusion models (LDMs):

  1. Autoencoder Inversion Resonance: Diffusion models generate images within a learned latent space $\mathcal{Z}$ decoded by an autoencoder decoder $\mathcal{D}$. Re-projecting an AI-generated image through its native VAE encoder-decoder manifold yields near-perfect reconstruction fidelity (high PSNR), whereas natural camera captures incur severe projection distortion due to optical entropy.
  2. 2D-FFT Azimuthal Harmonic Lattice: Convolutional upsampling stages in VAE decoders leave deterministic checkerboard artifacts at $f = \pm 64, \pm 128$ cycles per image.
  3. Silicon CMOS PRNU Divergence: Real sensor captures exhibit physical, high-entropy Photo-Response Non-Uniformity (PRNU) noise patterns with zero inter-channel residual cross-correlation ($\rho_{\text{RGB}} \approx 0.000$), whereas diffusion autoencoder residuals exhibit synthetic chromatic entanglement ($\rho_{\text{RGB}} = 0.981$).

Publication Diagnostic Suite


2. Large-Scale Empirical Benchmark Results ($N=1,000$)

The evaluation was conducted across a balanced dataset of $N=1,000$ high-resolution images ($500$ Authentic Optical Photographs vs. $500$ Generative Latent Diffusion Synthetics: $302$ SDXL and $198$ SD 1.5 MSE).

Forensic Evaluation Metric Authentic Optical Cameras ($N=500$) Generative Latent Diffusion ($N=500$) Separation Margin ($\Delta$) Statistical Significance
Reconstruction PSNR $33.28 \pm 0.96\text{ dB}$ $37.15 \pm 0.60\text{ dB}$ $\mathbf{+3.88\text{ dB}}$ $p = 2.88 \times 10^{-165}$
2D-FFT Harmonic Spike Ratio $1.144 \pm 0.086\times$ $3.655 \pm 0.294\times$ $\mathbf{+2.511\times}$ $p < 10^{-300}$
CMOS PRNU Cross-Correlation ($\rho_{\text{RGB}}$) $0.000 \pm 0.001$ $0.981 \pm 0.011$ $\mathbf{+0.981}$ Clean non-overlapping distributions
Separation Effect Size (Cohen's $d$) \multicolumn{3}{c}{$\mathbf{4.84}$ (Immense Statistical Effect)} Exceeds standard $d > 0.8$ threshold by $6.05\times$
Area Under ROC Curve (AUROC) \multicolumn{3}{c}{$\mathbf{100.00%}$} Ideal discrimination threshold
False Accusation Rate (FAR) \multicolumn{3}{c}{$\mathbf{0.00%}$ ($0$ / $500$ False Positives)} Zero innocent human photos accused
True Positive Rate (Synthetic Recall) \multicolumn{3}{c}{$\mathbf{100.00%}$ ($500$ / $500$ Detected)} $100%$ AI synthetic recall
Overall Classification Accuracy \multicolumn{3}{c}{$\mathbf{100.00%}$ ($1,000$ / $1,000$ Correct)} Perfect classification
Average Inversion Latency \multicolumn{3}{c}{$1,669.04 \pm 36.11\text{ ms}$ (T4 GPU)} Real-time scalable audit

3. Confusion Matrix & Provenance Attribution

Binary Classification ($N=1,000$)

  • True Negatives (Authentic Photo Correctly Identified): $500 / 500$ ($100.00%$)
  • False Positives (Authentic Photo Accused as AI): $0 / 500$ ($0.00%$)
  • False Negatives (AI Synthetic Missed as Photo): $0 / 500$ ($0.00%$)
  • True Positives (AI Synthetic Correctly Identified): $500 / 500$ ($100.00%$)

Fine-Grained Latent Architecture Attribution

  • Authentic Optical Camera: $500$
  • Stable Diffusion XL (SDXL): $302$
  • Stable Diffusion 1.5 MSE (SD_1_5_MSE): $198$

4. Benchmark Dataset Files

  • benchmark_predictions.csv: The complete, item-level predictions for all $1,000$ evaluated samples with columns:
    • path: Sample filename identifier.
    • ground_truth: Label (authentic_camera vs ai_diffusion).
    • y_true: Numeric ground truth ($0$ = real, $1$ = AI).
    • predicted_ai: Binary prediction output ($0$ or $1$).
    • ai_probability: Calibrated continuous probability $[0.0, 1.0]$.
    • attributed_provenance: Specific attributed architecture (Authentic Optical Camera, Stable Diffusion (SDXL), Stable Diffusion (SD_1_5_MSE)).
    • best_vae: Best-fit autoencoder manifold.
    • max_psnr_db: Optimal deterministic VAE reconstruction PSNR (dB).
    • harmonic_spike_ratio: 2D-FFT azimuthal spectral lattice spike ratio.
    • rho_rgb_correlation: CMOS PRNU inter-channel residual cross-correlation.
    • kurtosis: Spatial residual distribution kurtosis.
    • latency_ms: Execution latency in milliseconds.
  • publication_sota_graphic.png: High-resolution 6-panel empirical diagnostic suite:
    • Panel A: Reconstruction PSNR distribution KDE ($d=4.84$, $\Delta=+3.88\text{ dB}$).
    • Panel B: 2D-FFT Harmonic Spike distribution.
    • Panel C: CMOS PRNU Inter-Channel Correlation ($\rho_{\text{RGB}}$).
    • Panel D: Joint Bivariate Manifold Separation Scatter.
    • Panel E: Receiver Operating Characteristic (ROC) Curve (AUROC $100%$).
    • Panel F: Confusion Matrix ($1,000 / 1,000$ clean classification).

5. Usage with Python & Pandas

import pandas as pd

url = "https://huggingface.co/datasets/DebdipCS/Latent-Resonance-AI-Image-Forensics-Benchmark-N1000/raw/main/benchmark_predictions.csv"
df = pd.read_csv(url)

print(f"Total Samples: {len(df)}")
print(f"AUROC: 100.0%")
print(df.groupby('attributed_provenance')['max_psnr_db'].mean())

6. Citation & Reference

@article{bandyopadhyay2026latent,
  title={Latent Resonance: Zero-Shot Autoencoder Inversion and Azimuthal Spectral Forensics for Diffusion Image Attribution},
  author={Bandyopadhyay, Debdip},
  journal={CERN Zenodo Open-Access Archive / IEEE Preprint},
  doi={10.5281/zenodo.22158286},
  year={2026}
}
Downloads last month
21