AnchorSeg: Language Grounded Query Banks for Reasoning Segmentation

Rui Qian, Chuanhang Deng, Qiang Huang, Jian Xiong, Mingxuan Li +4 more
4/20/2026
cs.CV

No official code found. Best implementation: rui-qian/AnchorSeg (14 stars, last commit 2026-04-19).

Abstract

Reasoning segmentation requires models to ground complex, implicit textual queries into precise pixel-level masks. Existing approaches rely on a single segmentation token $\texttt{<SEG>}$, whose hidden state implicitly encodes both semantic reasoning and spatial localization, limiting the model's ability to explicitly disentangle what to segment from where to segment. We introduce AnchorSeg, which reformulates reasoning segmentation as a structured conditional generation process over image tokens, conditioned on language grounded query banks. Instead of compressing all semantic reasoning and spatial localization into a single embedding, AnchorSeg constructs an ordered sequence of query banks: latent reasoning tokens that capture intermediate semantic states, and a segmentation anchor token that provides explicit spatial grounding. We model spatial conditioning as a factorized distribution over image tokens, where the anchor query determines localization signals while contextual queries provide semantic modulation. To bridge token-level predictions and pixel-level supervision, we propose Token--Mask Cycle Consistency (TMCC), a bidirectional training objective that enforces alignment across resolutions. By explicitly decoupling spatial grounding from semantic reasoning through structured language grounded query banks, AnchorSeg achieves state-of-the-art results on ReasonSeg test set (67.7\% gIoU and 68.1\% cIoU). All code and models are publicly available at https://github.com/rui-qian/AnchorSeg.

View on arXivView PDF

Code Implementations(1)

rui-qian/AnchorSegCommunity25%

Rui Qian, Chuanhang Deng, Qiang Huang, et al.: AnchorSeg: Language Grounded Query Banks for Reasoning Segmentation (ACL 2026)

140Apr 19, 20266 months ago

Similar Papers

Cite this paper

@article{qian2026anchorseg,
  title  = {AnchorSeg: Language Grounded Query Banks for Reasoning Segmentation},
  author = {Rui Qian and Chuanhang Deng and Qiang Huang and Jian Xiong and Mingxuan Li and Yingbo Zhou and Wei Zhai and Jintao Chen and Dejing Dou},
  year   = {2026},
  eprint = {2604.18562},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.18562v3}
}

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/2604.18562.svg)](https://codeofpaper.com/paper/2604.18562)

Discussion