I-240Intensity Correlation Mapping

Statistical Analysisimage2010

Maps spatial intensity correlations to reveal unnatural smoothness or repetitive patterns in AI-generated regions.

Spatial Intensity Correlation
This method maps spatial intensity correlations across the image to detect AI-generated regions with unnatural smoothness or repetitive patterns:1. Gray-Level Co-Occurrence Matrix (GLCM): For each 32×32 block, the method computes the GLCM at multiple offsets (1, 2, 4, 8 pixels in 4 directions) using 64 quantization levels. From each GLCM, Haralick texture features are extracted: contrast, correlation, energy (ASM), homogeneity, and entropy. Natural images show specific relationships between these features — e.g., correlation decreases monotonically with offset distance following an exponential decay.2. Correlation Length Mapping: The correlation length ξ is estimated for each block by fitting an exponential decay model to the GLCM correlation values at different offsets. Natural textures show ξ = 2–15 pixels depending on the texture type. AI-generated regions often show abnormal correlation lengths: either ξ > 20 (unnaturally smooth/repetitive) or ξ < 1 (high-frequency noise without natural texture structure).3. Spatial Correlation Anomaly Detection: The method constructs a map of correlation length values and analyzes their spatial distribution. Authentic images show gradual transitions in ξ corresponding to depth, lighting, and material changes. AI-generated images show abrupt ξ changes at semantic boundaries. Blocks where the local ξ deviates by more than 2σ from the neighborhood mean are flagged as anomalous.4. Repetitive Pattern Detection: AI generators sometimes produce subtle repeating patterns in homogeneous regions. The method computes the autocorrelation function of intensity values in 128×128 regions and searches for non-trivial peaks (excluding the zero-lag peak). Peaks exceeding 0.15 at lags > 4 pixels indicate repetitive structure not found in natural images.
GLCM block size: 32×32 pixels
GLCM offsets: 1, 2, 4, 8 pixels in 4 directions

Quantization levels: 64

Correlation length range: 1–30 pixels

Anomaly threshold: 2σ from neighborhood mean

Repetition peak threshold: autocorrelation > 0.15 at lag > 4

Minimum image size: 256×256 pixels
78–86% detection accuracy for AI-generated images. Correlation length analysis achieves 82% as a standalone feature. Combined GLCM + autocorrelation analysis reaches 87%. Repetitive pattern detection achieves 90% on GAN-generated images with visible tiling. Performance drops to 73% on diffusion model outputs with more natural texture statistics.
• GLCM-based features are well-established with 50+ years of research validation
• Correlation length provides an intuitive physical measure of texture structure

• Repetitive pattern detection catches common GAN generation artifacts

• Spatial anomaly mapping enables precise localization of suspicious regions

• Computationally efficient — GLCM computation is highly optimized
• Naturally smooth surfaces (glass, polished metal, water) show high correlation lengths
• Heavy JPEG compression alters fine-scale intensity correlations

• Image resizing changes correlation lengths, requiring scale normalization

• Latest diffusion models produce more natural correlation structures

• GLCM features are sensitive to brightness/contrast adjustments
Detecting AI-generated images through abnormal spatial intensity correlation patterns. Identifying inpainted or retouched regions with unnaturally smooth or repetitive texture. Analyzing texture authenticity in product, real-estate, and fashion photography.