A Hidden Stumbling Block in Generalized Category Discovery: Distracted Attention

Qiyu Xu, Zhanxuan Hu, Yu Duan, Ercheng Pei, Yonghang Tai
7/18/2025
cs.CV

Official code: Afleve/AFGCD (10 stars, last commit 2026-03-16).

Abstract

Generalized Category Discovery (GCD) aims to classify unlabeled data from both known and unknown categories by leveraging knowledge from labeled known categories. While existing methods have made notable progress, they often overlook a hidden stumbling block in GCD: distracted attention. Specifically, when processing unlabeled data, models tend to focus not only on key objects in the image but also on task-irrelevant background regions, leading to suboptimal feature extraction. To remove this stumbling block, we propose Attention Focusing (AF), an adaptive mechanism designed to sharpen the model's focus by pruning non-informative tokens. AF consists of two simple yet effective components: Token Importance Measurement (TIME) and Token Adaptive Pruning (TAP), working in a cascade. TIME quantifies token importance across multiple scales, while TAP prunes non-informative tokens by utilizing the multi-scale importance scores provided by TIME. AF is a lightweight, plug-and-play module that integrates seamlessly into existing GCD methods with minimal computational overhead. When incorporated into one prominent GCD method, SimGCD, AF achieves up to 15.4% performance improvement over the baseline with minimal computational overhead. The implementation code is provided in https://github.com/Afleve/AFGCD.

View on arXivView PDF

Code Implementations(1)

Afleve/AFGCDOfficial100%

(ICCV 2025) A Hidden Stumbling Block in Generalized Category Discovery: Distracted Attention

101Shell, PythonFeb 17, 20257 months ago

Similar Papers

Cite this paper

@article{xu2025hidden,
  title  = {A Hidden Stumbling Block in Generalized Category Discovery: Distracted Attention},
  author = {Qiyu Xu and Zhanxuan Hu and Yu Duan and Ercheng Pei and Yonghang Tai},
  year   = {2025},
  eprint = {2507.14315},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.14315v1}
}

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

Discussion