atlas

Research map / Detection and segmentation / CNN features

Not All Tokens Matter All The Time: Dynamic Token Aggregation Towards Efficient Detection Transformers

ICML 2025 · Detection and segmentation › CNN features · approach: Plain and high-resolution ViTs

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Dynamic DETR, a plug-in token aggregation method that sparsifies encoder tokens across FPN levels and encoder stages (proximal merging for low levels, holistic affinity merging for the top level) with a center-distance alignment loss, cutting DETR encoder FLOPs by roughly 40% at about 1 AP cost on COCO.

Problem

DETR encoders are a major computational bottleneck, and existing token sparsification methods for them use static, uniform retention ratios and ignore how token importance shifts across pyramid levels and encoder blocks, causing accuracy loss.

Approach

Stage-wise dynamic retention ratios derived from a per-stage importance ranking of pyramid levels; low-level tokens are merged within spatial windows (proximal aggregation) while the top level uses similarity-based holistic merging; a center-distance regularizer aligns pre- and post-sparsification representation centroids.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply Dynamic token aggregationDeformable DETR · COCO2017 val-setFLOPs (G): 179.0 -> 107.9↓39.7%Helped
Apply Dynamic token aggregationDINO · COCO2017 val-setAP: 50.9 -> 50.2Hurt
Apply Dynamic token aggregationDINO · COCO2017 val-setFLOPs (G): 244.5 -> 141.7↓42.0%Helped
Apply Dynamic token aggregation (ablation)DINO · COCO 2017AP: 48.2% -> 50.2%Helped
Replace aggregation with random token selection using dynamic ratios (ablation)DINO · COCO 2017AP: 50.2 -> 46.6Hurt
Add affinity matching to holistic token aggregation (ablation)DINO · COCO 2017AP: 49.8% -> 50.2%Helped
Add representational center-distance regularization (ablation)DINO · COCO 2017AP: 49.6% -> 50.2%Helped
Apply Dynamic token aggregationDINO · PASCAL VOC 2007mAP: 65.7 -> 63.8%Hurt

Limitations

Experimental setup

Datasets: COCO 2017 LVIS v1.0 PASCAL VOC 2007

Benchmarks: COCO 2017 val LVIS v1.0 PASCAL VOC 2007

Metrics: AP AP50 AP75 APS APM APL AP_r AP_c AP_f mAP

Baselines: Sparse DETR Lite DETR Focus DETR DETR DAB-DETR DN-DETR Conditional DETR Anchor DETR

Builds on: Deformable DETR ToMe bipartite soft matching Lite DETR Sparse DETR DINO

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy