ViTPose: Simple Vision Transformer Baselines for Human Pose Estimation

Yufei Xu, Jing Zhang, Qiming Zhang, Dacheng Tao
4/26/2022
cs.CV

Official code: ViTAE-Transformer/ViTPose (2,149 stars, Apache-2.0, PyTorch, last commit 2025-12-25).

Abstract

Although no specific domain knowledge is considered in the design, plain vision transformers have shown excellent performance in visual recognition tasks. However, little effort has been made to reveal the potential of such simple structures for pose estimation tasks. In this paper, we show the surprisingly good capabilities of plain vision transformers for pose estimation from various aspects, namely simplicity in model structure, scalability in model size, flexibility in training paradigm, and transferability of knowledge between models, through a simple baseline model called ViTPose. Specifically, ViTPose employs plain and non-hierarchical vision transformers as backbones to extract features for a given person instance and a lightweight decoder for pose estimation. It can be scaled up from 100M to 1B parameters by taking the advantages of the scalable model capacity and high parallelism of transformers, setting a new Pareto front between throughput and performance. Besides, ViTPose is very flexible regarding the attention type, input resolution, pre-training and finetuning strategy, as well as dealing with multiple pose tasks. We also empirically demonstrate that the knowledge of large ViTPose models can be easily transferred to small ones via a simple knowledge token. Experimental results show that our basic ViTPose model outperforms representative methods on the challenging MS COCO Keypoint Detection benchmark, while the largest model sets a new state-of-the-art. The code and models are available at https://github.com/ViTAE-Transformer/ViTPose.

View on arXivView PDF

Code Implementations(1)

PyTorchApache-2.0

The official repo for [NeurIPS'22] "ViTPose: Simple Vision Transformer Baselines for Human Pose Estimation" and [TPAMI'23] "ViTPose++: Vision Transformer for Generic Body Pose Estimation"

2,149271Shell, PythonApr 27, 202210 months agoApache-2.0
deep-learningdistillationmaepose-estimationpytorch+2 more

Similar Papers

Cite this paper

@article{xu2022vitpose,
  title  = {ViTPose: Simple Vision Transformer Baselines for Human Pose Estimation},
  author = {Yufei Xu and Jing Zhang and Qiming Zhang and Dacheng Tao},
  year   = {2022},
  eprint = {2204.12484},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.12484}
}

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

Discussion