TRANSMISSION // 2612.03220v1
FastDIRE speeds up diffusion-image detection
Source published
FastDIRE combines reconstruction errors from a few diffusion levels. In the reported tests, it used fewer U-Net evaluations while achieving accuracy similar to DIRE.

Reconstructing an image with a diffusion model can help a detector distinguish generated images from photographs, but the process takes computation. FastDIRE tries to keep useful detection signals while shortening that process.
Why make image detection faster?
Diffusion models generate images by gradually turning noise into an image. One detection approach, called Diffusion Reconstruction Error (DIRE), runs an input through a diffusion model’s reconstruction process and measures how much the result differs from the original. A classifier can use that difference to distinguish real photographs from generated images.
The default DIRE setup described in the paper uses 20 forward and 20 reverse steps, with 40 U-Net evaluations in total. The researchers ask whether a detector can use fewer evaluations and still perform comparably on the study’s tests.
A shorter route through reconstruction
FastDIRE collects reconstruction-error signals at multiple points in a shortened diffusion process, rather than relying only on the final reconstruction. It averages those signals and passes the resulting feature to a ResNet-50 classifier, following DIRE’s general approach.
Its forward process uses a closed-form calculation to add noise to an image, so it does not require U-Net evaluations. With three reconstruction levels, FastDIRE uses three U-Net evaluations for reverse denoising. The researchers explain the averaging as a bias–variance trade-off: combining levels may reduce variation in the signal, but intermediate errors are not exactly the same as the error measured at the original image. Using too many levels can increase that difference, so the method uses a small number.
The experiments trained detectors on LSUN Bedroom photographs and images generated by the Ablated Diffusion Model (ADM). Evaluation included other generators, plus specific cross-dataset test collections: ImageNet images paired with ADM-generated images, and CelebA-HQ images paired with images from selected generators. The researchers also tested Gaussian blur and JPEG compression, and compared FastDIRE with DIRE and other detection methods. Runtime measurements used the same GPU, reconstruction model and batch size for both methods.
What the tests showed
With three reconstruction-error levels, FastDIRE required three U-Net evaluations per image, compared with 40 for the default DIRE setup. In the reported runtime test, average total detection time was 44.2 milliseconds per image for FastDIRE and 576.4 milliseconds for DIRE, a roughly 13-fold difference. Peak GPU memory was similar in that test.
On the study’s bedroom benchmark, both methods achieved 100% accuracy. FastDIRE also reported 100% accuracy on the paper’s particular cross-generator and cross-dataset test sets. In the tested blur and compression conditions, FastDIRE recorded 100% accuracy. DIRE was also at 100% in most conditions, with 99.9% in some.
The researchers also tested a more challenging version of their multi-level analysis: error maps for both classes were saved as lossless PNG files, removing a file-format difference that could otherwise provide a clue to the label. Accuracy was lower in this setting, and the multi-level feature outperformed the single final reconstruction error across the reported test groups. This underscores that results depend on the evaluation protocol; scores on these benchmarks do not establish performance in every real-world setting.
What remains uncertain
These findings come from the paper identified in the supplied materials as arXiv version 1. Those materials do not establish the work’s peer-review status. The tests cover particular datasets, generators, image alterations, reconstruction models and hardware. They do not establish how FastDIRE performs on every image generator, under other forms of editing, or in a live moderation service. Runtime results are specific to the measured setup, not a guarantee of speed on other devices.
The reported experiments suggest that intermediate reconstruction errors can reduce the computation required by this DIRE implementation while retaining its benchmark performance. They do not show that the detector will identify all generated images, or that its output should be the sole basis for consequential moderation. Independent evaluation on broader and changing image sources would help establish how well the method transfers beyond the tested protocols.
- AI-generated image detection
- diffusion models
- image forensics
- FastDIRE
- DIRE
- machine learning
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
Can an AI Show How One Image Was Copied?
Source published
Shared keywords: image forensics, machine learning
Teaching AI to Find the Traces of Image Editing
Source published
Shared keywords: image forensics
A watermark that tries to tell edits from reconstruction
Source published
Shared keywords: image forensics
Why certificate forgery detectors struggle with some images
Source published
Shared keywords: image forensics
A new way to steady reward training for diffusion models
Source published
Shared keywords: diffusion models, machine learning