I-103Anti-Aliasing Consistency
Examines the uniformity of edge-smoothing (anti-aliasing) applied across all boundaries and contours within an image. Real cameras produce anti-aliasing as an inherent optical byproduct of light interacting with a physical lens and sensor. This process creates a consistent, physics-driven gradient between object edges and their backgrounds across the entire frame. AI image generators (GANs, Diffusion Models), however, synthesize edges computationally. They often apply inconsistent smoothing: over-smoothing some boundaries into an unnaturally plastic appearance while leaving others with harsh, aliased staircase artifacts—sometimes within the same object. This method detects these telltale inconsistencies.
Algorithm / Model
Sub-Pixel Edge Gradient Uniformity Analysis
How it works
The algorithm first applies a Canny-style edge detector to isolate all significant boundaries in the image. For each detected edge segment, it measures the precise width and gradient profile of the transition zone from one side of the edge to the other. In an authentic photograph, these anti-aliasing profiles are remarkably consistent: a 1.2-pixel-wide gradient on a foreground object's edge will closely match a similar edge on a background object. AI-generated images frequently fail this test, producing wide, blurry gradients (3+ pixels) on prominent features like faces while simultaneously generating razor-sharp, 0-pixel transitions on secondary elements like hair strands or fabric textures.
Technical Parameters
Analysis: Sub-pixel Edge Gradient Profiling
Metrics: Gradient Width Variance, Cross-Image Edge Consistency Index
Output: 0-100 Anti-Aliasing Inconsistency Score
Metrics: Gradient Width Variance, Cross-Image Edge Consistency Index
Output: 0-100 Anti-Aliasing Inconsistency Score
Accuracy & Reliability
Moderate to High — 75-87% on uncompressed or lightly compressed images. Accuracy drops significantly on images that have been re-encoded multiple times through social media platforms.
Strengths
• Extremely fast, operating entirely on edge-map data without needing computationally expensive neural network inference.
• Highly effective against Diffusion Model outputs (Stable Diffusion, DALL-E, Midjourney), which are notorious for inconsistent edge treatment.
• Highly effective against Diffusion Model outputs (Stable Diffusion, DALL-E, Midjourney), which are notorious for inconsistent edge treatment.
Limitations
• Deliberately blurred photographs (e.g., tilt-shift photography, artistic bokeh) will naturally exhibit non-uniform anti-aliasing, causing false positives.
• Heavy JPEG compression destroys the subtle sub-pixel gradient information the algorithm relies on, severely degrading accuracy below quality factor 70.
• Heavy JPEG compression destroys the subtle sub-pixel gradient information the algorithm relies on, severely degrading accuracy below quality factor 70.
Use Case
A reliable first-pass check for AI-generated portraits and product photography. It excels at catching the 'uncanny valley' effect where faces appear too smooth while surrounding details are paradoxically sharp.