# How AI image detectors work, and how accurate they are

An AI image detector combines a classifier, a model trained on real and AI-generated images that scores how likely an image is to be generated, with provenance checks such as Content Credentials and metadata. The score becomes a verdict through thresholds the vendor chooses. Detectors are accurate on full-size images straight from a generator and much weaker on resized, recompressed or partly edited ones, so any accuracy figure depends on the test images behind it.

## Three kinds of evidence

Most AI image detectors, ours included, combine three kinds of evidence:

1. **A classifier** looks at the pixels. It is a neural network trained on large sets of real photos and images from known generators, and it outputs a score from 0 to 1 for how likely the image is to be generated.
2. **Provenance** looks for a signed record of where the file came from. [Content Credentials](https://ringingbytes.com/guides/what-are-content-credentials) (the C2PA standard) can declare that a generative model made an image, and the signature shows who made the declaration.
3. **Metadata** looks at EXIF and XMP fields: a camera model, an editing app, sometimes the name of an AI tool.

Some detectors add a fourth, optional signal: an edit-localization model that estimates which regions of a photo were edited. Ours offers one as an experimental API option.

## How a score becomes a verdict

The classifier’s score is a number, not an answer, so a detector turns it into a verdict with thresholds. Ours uses these, and they are our own choices, not a published calibration:

| Classifier score | Verdict (API value) |
| --- | --- |
| 0.85 or more | `likely_ai` |
| 0.25 or less | `likely_human`, shown as No AI signs found |
| In between | `uncertain` |

The confidence band (low, moderate or high) comes from how far the score is past the threshold it crossed. A `likely_human` result is never shown with high confidence, because the classifier misses resized and recompressed AI images.

Provenance can override the score in one direction. A Content Credentials record that is signed by a trusted signer (one on the C2PA trust lists) and declares generative AI makes the verdict `likely_ai` with high confidence. A record from an untrusted signer, an AI tool’s name in the metadata or a strong edit score can only move a `likely_human` result to `uncertain`. They never produce `likely_ai` on their own, because anyone can write metadata or sign a record with a free test certificate.

## Where detectors fail

These are results from our own tests of the open-source classifier we use, Smaug-AI-Image-Detector, on a handful of images. They show the pattern, not an accuracy rate.

| Image | Score | Verdict |
| --- | --- | --- |
| DALL·E 3 image, original file | 1.00 | `likely_ai` |
| The same DALL·E 3 image, resized to 480 px and saved as JPEG quality 35 | 0.18 | `likely_human` (a miss) |
| GPT Image 2 image, original file | 1.00 | `likely_ai` |
| The same GPT Image 2 image, resized to 720 px and saved as JPEG quality 80 | 1.00 | `likely_ai` |
| The same GPT Image 2 image as a phone screenshot | 0.07 | `likely_human` (a miss) |
| A DALL·E 2 image | 0.03 | `likely_human` (a miss) |
| A real camera photo with an AI-generated patch spliced in | 0.00 | `uncertain` (from the edit check, not the classifier) |
| A real photo of a used coffee mug | 0.76 | `uncertain` |

Four failure modes show up:

- **Resizing and recompression.** Chat apps, social networks and screenshots shrink and recompress images, and that erases most of the traces a classifier looks for. The DALL·E 3 image went from a clear flag to a miss, and the GPT Image 2 image survived a resize but not a screenshot.
- **Partial edits.** A classifier trained on whole generated images doesn’t see a small AI edit in a real photo. The spliced photo scored 0.00. Our experimental edit-localization model found that patch, but it also marked regions on unedited real photos, so it is a hint for a reviewer, not a verdict.
- **New or unusual generators.** A classifier knows the generators in its training data. An older or newer model can slip through, like the DALL·E 2 image.
- **Real photos that look generated.** A detector also errs the other way. The photo of the mug landed in the uncertain middle, which is why a score in that range is a reason to look closer and nothing more.

## How to read an accuracy claim

A single accuracy percentage tells you little without the test behind it. Before you trust one, ask:

- Which generators were in the test set, and were any of them newer than the detector?
- Were the test images resized, recompressed or screenshotted, as real-world images usually are?
- How often were real photos flagged as AI (false positives), and how often were AI images missed (false negatives)?
- When was it measured?

We don’t publish an accuracy figure, because it would depend almost entirely on the images chosen. Every result shows its confidence band and the signals behind it instead, so you can see how strong the evidence is for that image.

## What this means in practice

Use a detector to decide where to look, not what to conclude. A strong flag on an original file is good reason to look closer or ask for more evidence. A result with no AI signs on a small, recompressed image means little. [How to tell if a photo is AI-generated](https://ringingbytes.com/guides/how-to-tell-if-a-photo-is-ai-generated) covers the checks to combine it with, and the [API docs](https://ringingbytes.com/docs/results) describe every signal in a result.
