# Less is More: Fewer Tokens and Blocks Make AIGI Detection Faster and More Generalizable

*Haipeng Fang, Yixing Lu, Yu Li, Qiang Sheng, Juan Cao, Sheng Tang*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/150053) · [OpenReview](https://openreview.net/forum?id=l7AUTUgcKZ) · [Open on the map](../papers.html#p150053)

Category: [Diffusion & Image Generation](../pcat/5.md) › [AI-Generated Image Detection](../pgroup/315.md) · Type: new method · Keywords: AI-generated image detection, token pruning, early-exit heads, transformer efficiency, out-of-distribution generalization

## Summary
AID-- is a plug-and-play framework that prunes redundant tokens and adds early-exit heads to transformer-based AIGI detectors, yielding faster inference and better out-of-distribution generalization.

## Explained to a 5-year-old
We want computers to know if a picture was drawn by a computer. Existing methods try to add more clues, but they become slow. This paper says we can make them faster by removing extra parts and adding shortcuts. It helps computers guess if a picture is real or fake more quickly and works better on new pictures.

## Explained to a 5-year-old, longer
When we look at pictures, sometimes we wonder if they were made by a person or by a computer program. Detecting computer-made images is important because many fake pictures appear online. Many current methods try to improve detection by adding more information, like extra clues or extra training steps, but this makes the system slower and more complicated. This paper takes a different idea: it removes unnecessary parts of the detection process. It first cuts down on the number of pieces of information (tokens) that the computer looks at, keeping only the most useful ones. Then it adds special shortcuts that let the system make a decision earlier, without looking at the whole picture. By doing fewer steps and using these shortcuts, the detector runs faster and still works well on new kinds of images it hasn't seen before. This makes the system both quicker and more reliable.

## For a technical reader
The paper introduces a method that reduces the computational load of transformer-based image detectors by pruning irrelevant tokens and adding early-exit heads. Token pruning uses high-order dependency ranking to identify and remove redundant features, while early-exit heads are trained with asymmetric supervision to allow faster decisions for certain classes. The result is a plug-and-play framework that speeds up inference (up to 2.2×) and improves generalization on unseen datasets without changing the core detector architecture.

## Problem
Distinguishing images created by generative models from real images is challenging because detectors often overfit to dataset-specific cues, limiting their ability to generalize.

## Method
The approach prunes irrelevant tokens using high-order dependency ranking and introduces depth-specific early-exit heads with asymmetric supervision, enabling progressive token reduction and efficient inference.

## Results
The approach achieves up to a 2.2× speedup and improves generalization accuracy by 3.6% on GenImages.

## Contributions
It shows that removing redundant tokens and adding early-exit heads can enhance both efficiency and out-of-distribution generalization for transformer-based detectors.

## Research questions this paper is counted under

- [How can we build detectors that generalize to unseen generative models without relying on spurious or generator-specific cues?](../q/41.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/150053)
