I-224Bit-Plane Correlation Analysis

Statistical Analysisimage2008

Analyzes correlations between bit planes to detect unnatural quantization patterns in AI-generated images. In real photographs, adjacent bit planes exhibit specific correlation structures governed by sensor physics and optical transfer functions — AI generators violate these natural inter-plane dependencies.

Bit-Plane Cross-Correlation + Inter-Plane Dependency Mapping
Each pixel in an 8-bit grayscale image can be decomposed into 8 binary 'bit planes' (from MSB plane 7 to LSB plane 0). In authentic camera captures, these planes exhibit characteristic statistical dependencies: higher-order planes (5-7) carry structural information with strong spatial correlation, while lower-order planes (0-2) carry sensor noise with weak, spatially random patterns. The correlation between adjacent bit planes follows a predictable decay curve governed by the camera's analog-to-digital conversion characteristics.AI generators produce pixel values through fundamentally different mathematical processes (neural network output quantization), creating distinctive inter-plane correlation anomalies: (1) LSB planes in AI images show unnaturally high spatial correlation (generator-induced quantization patterns), (2) the inter-plane correlation decay curve differs from the expected exponential decay, and (3) the XOR operation between adjacent bit planes reveals periodic structures absent in natural images.The detector computes the normalized cross-correlation matrix between all 28 possible bit-plane pairs, extracts the eigenvalues of this correlation matrix, and compares them against a trained model of natural image statistics.
Bit planes analyzed: 8 (planes 0-7 for 8-bit images)
Correlation metric: normalized Pearson cross-correlation

XOR analysis: adjacent plane XOR patterns

Block size: 64×64 pixels for local analysis

Statistical model: eigenvalue distribution of 8×8 correlation matrix

Decision boundary: Mahalanobis distance from natural image centroid
Moderate — 65-78% accuracy. Most effective against GAN generators with fixed output quantization; less effective against diffusion models that add final-stage noise.
• Operates at the fundamental binary representation level — immune to semantic content variations
• LSB plane analysis catches subtle generator quantization artifacts invisible to pixel-domain methods

• The correlation matrix approach captures complex multi-plane interactions in a single compact feature

• Extremely fast computation — bitwise operations on integer arrays
• Heavy JPEG compression destroys the lower bit-plane structure essential for detection
• Post-processing operations (gamma correction, levels adjustment) alter inter-plane correlations

• Diffusion models that add Gaussian noise in the final step can mask the quantization signature

• 16-bit or floating-point source images converted to 8-bit lose their native bit-plane structure
Detecting AI-generated images through quantization fingerprint analysis, identifying manipulated images where bit-plane statistics have been disturbed, and complementary analysis for steganalysis-based forensic pipelines.