ASAG: Building Strong One-Decoder-Layer Sparse Detectors via Adaptive Sparse Anchor Generation

Sheng-Hsiang Fu, Junkai Yan, Yipeng Gao, Xiaohua Xie, Wei-Shi Zheng
2/14/2026

No official code found. Best implementation: iSEE-Laboratory/ASAG (18 stars, Apache-2.0, last commit 2023-09-09).

Abstract

Recent sparse detectors with multiple, e.g. six, decoder layers achieve promising performance but much inference time due to complex heads. Previous works have explored using dense priors as initialization and built one-decoder-layer detectors. Although they gain remarkable acceleration, their performance still lags behind their six-decoder-layer counterparts by a large margin. In this work, we aim to bridge this performance gap while retaining fast speed. We find that the architecture discrepancy between dense and sparse detectors leads to feature conflict, hampering the performance of one-decoder-layer detectors. Thus we propose Adaptive Sparse Anchor Generator (ASAG) which predicts dynamic anchors on patches rather than grids in a sparse way so that it alleviates the feature conflict problem. For each image, ASAG dynamically selects which feature maps and which locations to predict, forming a fully adaptive way to generate image-specific anchors. Further, a simple and effective Query Weighting method eases the training instability from adaptiveness. Extensive experiments show that our method outperforms dense-initialized ones and achieves a better speed-accuracy trade-off. The code is available at https://github.com/iSEE-Laboratory/ASAG.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

This is the official PyTorch implementation of ASAG (ICCV 2023).

181PythonAug 14, 20233 years agoApache-2.0

Cite this paper

@article{fu2026asag,
  title  = {ASAG: Building Strong One-Decoder-Layer Sparse Detectors via Adaptive Sparse Anchor Generation},
  author = {Sheng-Hsiang Fu and Junkai Yan and Yipeng Gao and Xiaohua Xie and Wei-Shi Zheng},
  year   = {2026},
  eprint = {2308.09242},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2308.09242},
  journal = {ICCV 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2308.09242.svg)](https://codeofpaper.com/paper/2308.09242)

Discussion