# TCFormer: Visual Recognition via Token Clustering Transformer

Source: [TCFormer: Visual Recognition via Token Clustering Transformer](<https://www.sota2.com/research/paper/68fa741f1e209131cea5fc40>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2025-10-26T03:02:03.292Z

Authors: Wang Zeng, Sheng Jin, Lumin Xu, Wentao Liu, Chen Qian, Wanli Ouyang, Ping Luo, Xiaogang Wang

Published: 2024-07-16T02:26:18.000Z

## Abstract

Transformers are widely used in computer vision areas and have achieved remarkable success. Most state-of-the-art approaches split images into regular grids and represent each grid region with a vision token. However, fixed token distribution disregards the semantic meaning of different image regions, resulting in sub-optimal performance. To address this issue, we propose the Token Clustering Transformer (TCFormer), which generates dynamic vision tokens based on semantic meaning. Our dynamic tokens possess two crucial characteristics: (1) Representing image regions with similar semantic meanings using the same vision token, even if those regions are not adjacent, and (2) concentrating on regions with valuable details and represent them using fine tokens. Through extensive experimentation across various applications, including image classification, human pose estimation, semantic segmentation, and object detection, we demonstrate the effectiveness of our TCFormer. The code and models for this work are available at https://github.com/zengwang430521/TCFormer.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Image Classification on APS Dataset](<https://www.sota2.com/research/sota/image-classification-on-aps-dataset.md>): Image Classification; APS Dataset; Accuracy: 0.723.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2407.11321>)

[PDF](<https://arxiv.org/pdf/2407.11321.pdf>)
