HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Not All Tokens Are Equal: Human-centric Visual Analysis via Token Clustering Transformer

Wang Zeng Sheng Jin Wentao Liu Chen Qian Ping Luo Wanli Ouyang Xiaogang Wang

Not All Tokens Are Equal: Human-centric Visual Analysis via Token Clustering Transformer

Abstract

Vision transformers have achieved great successes in many computer vision tasks. Most methods generate vision tokens by splitting an image into a regular and fixed grid and treating each cell as a token. However, not all regions are equally important in human-centric vision tasks, e.g., the human body needs a fine representation with many tokens, while the image background can be modeled by a few tokens. To address this problem, we propose a novel Vision Transformer, called Token Clustering Transformer (TCFormer), which merges tokens by progressive clustering, where the tokens can be merged from different locations with flexible shapes and sizes. The tokens in TCFormer can not only focus on important areas but also adjust the token shapes to fit the semantic concept and adopt a fine resolution for regions containing critical details, which is beneficial to capturing detailed information. Extensive experiments show that TCFormer consistently outperforms its counterparts on different challenging human-centric tasks and datasets, including whole-body pose estimation on COCO-WholeBody and 3D human mesh reconstruction on 3DPW. Code is available at https://github.com/zengwang430521/TCFormer.git

Code Repositories

zengwang430521/tcformer
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
2d-human-pose-estimation-on-coco-wholebody-1TCFormer
WB: 64.2
body: 71.8
face: 79.0
foot: 74.4
hand: 61.4
3d-human-pose-estimation-on-3dpwTCFormer
MPJPE: 80.6
PA-MPJPE: 49.3
3d-human-pose-estimation-on-human36mTCFormer
Average MPJPE (mm): 62.9
PA-MPJPE: 42.8

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Not All Tokens Are Equal: Human-centric Visual Analysis via Token Clustering Transformer | Papers | HyperAI