Every AI Image Has a Hidden Fingerprint - Here's How Forensics Finds It

Netanel Ossi
Founder, FauxLens
AI fingerprints, explained with a bullet
When a bullet passes through a gun barrel, the rifling (the spiral grooves machined into the barrel) imprints a unique pattern onto the bullet's surface. No two barrels are machined identically. This means that even without a witness, forensic scientists can examine a recovered bullet and determine which specific weapon fired it.
AI image models work similarly. Every AI image tool, whether an older GAN (generative adversarial network) or a newer diffusion model, leaves a faint, consistent pattern in every image it makes, because of how it was built and trained. These 'GAN fingerprints' are invisible to the naked eye. They do not affect the image's appearance in any meaningful way. But they are measurable, reproducible, and attributable to specific models with high confidence.
Sponsored
What a GAN Fingerprint Actually Is
A GAN learns to turn random noise into realistic pictures. What it learns is stored as millions of numbers (weights), and those numbers give it small, steady habits in how it draws fine detail, texture and color.
The fingerprint shows up when the picture is turned into a map of its repeating patterns (the frequency domain, made with a Fourier transform). In that map, AI images often show sharp peaks at particular spots. Those peaks come from the steps the model uses to enlarge and sharpen its picture.
Think of it this way: in a real photo, those patterns come from the lens and natural camera grain, so they are mostly random. In an AI image they come from math the model repeats every time, so they form a pattern.
What the fingerprints look like for each kind of AI (spectral artifacts)
GAN-Based Models (StyleGAN, BigGAN)
GAN pictures usually show regular peaks that match the small pixel windows the model works with (often 3x3 or 5x5 pixels). In frequency space, this appears as a faint grid pattern overlaid on the image's power spectrum, invisible in pixel space. But unmistakable in the Fourier domain. Researchers documented this pattern in 2019 and found it across every GAN they tested.
Diffusion Models (Stable Diffusion, Midjourney)
Diffusion models generate images through an iterative denoising process, and their fingerprints reflect this. Instead of sharp peaks, diffusion models tend to smooth away the finest detail. Their step-by-step clean-up acts like a filter that softens fine detail (a learned low-pass filter) that affects image frequencies in ways that differ subtly from the frequency response of a real camera lens.
Upsampling Artifacts
Both GAN and diffusion models typically generate images at lower resolution and then upscale them. The upsampling step, whether bilinear, bicubic, or learned (as in ESRGAN), introduces characteristic patterns at the frequencies corresponding to the upsampling ratio. Doubling a picture's size, for example, often leaves peaks at one precise spot in that pattern map (half the Nyquist frequency).
Model Attribution: Which AI Made This?
Beyond simply detecting whether an image is AI-generated, research-grade GAN fingerprint analysis can often attribute an image to a specific model family, and sometimes a specific version. Our AI image detector does not do spectral attribution. The only attribution it makes is by vendor, when it finds the invisible SynthID watermark that Google and OpenAI embed in images their AI tools make, and it names the vendor rather than the model. This is the forensic equivalent of identifying not just that a bullet was fired from a rifled weapon, but which specific make and model of rifle.
Research groups have demonstrated attribution accuracy above 90% for images from known model families, using classifiers trained to recognize each model's characteristic spectral signature. In practice, this means that a forensic analyst can examine a suspected deepfake and determine not just 'this is AI-generated' but 'this was generated by Midjourney v5, not v6', a distinction that can have legal and investigative implications.
Can the fingerprints be hidden? (adversarial attacks)
GAN fingerprint analysis is not a closed problem. Researchers have demonstrated attacks that can suppress or alter fingerprints, and adversarial training can be used to train models whose output is fingerprint-suppressed. In practice, these attacks have costs: they typically degrade image quality or require additional computational steps that introduce their own artifacts.
The current state of play is that fingerprint analysis reliably catches most real-world deepfakes, because the people creating them for fraud, manipulation, or non-consensual content are not typically running adversarial fingerprint suppression as an additional post-processing step. The sophisticated attacks remain largely in research environments. This gap between research-level attacks and deployed detection is where today's forensic tools do most of their useful work. To see this on a file of your own, you can verify a photo or video in a few seconds.
The Future of Fingerprinting
As AI models improve, fingerprints become harder to detect. But the fundamental physics does not change. As long as AI makes pictures with math on a computer rather than by catching real light on a camera sensor, there will be a measurable difference between what they produce and what cameras capture. The fingerprint may become fainter. It will not disappear entirely.