Language-Guided Transformer Tokenizer for Human Motion Generation

Sheng Yan, Yong Wang, Xin Du, Junsong Yuan, Mengyuan Liu
2/9/2026
cs.CV

No official code found. Best implementation: eanson023/LG-Tok (24 stars, last commit 2026-03-03).

Abstract

In this paper, we focus on motion discrete tokenization, which converts raw motion into compact discrete tokens--a process proven crucial for efficient motion generation. In this paradigm, increasing the number of tokens is a common approach to improving motion reconstruction quality, but more tokens make it more difficult for generative models to learn. To maintain high reconstruction quality while reducing generation complexity, we propose leveraging language to achieve efficient motion tokenization, which we term Language-Guided Tokenization (LG-Tok). LG-Tok aligns natural language with motion at the tokenization stage, yielding compact, high-level semantic representations. This approach not only strengthens both tokenization and detokenization but also simplifies the learning of generative models. Furthermore, existing tokenizers predominantly adopt convolutional architectures, whose local receptive fields struggle to support global language guidance. To this end, we propose a Transformer-based Tokenizer that leverages attention mechanisms to enable effective alignment between language and motion. Additionally, we design a language-drop scheme, in which language conditions are randomly removed during training, enabling the detokenizer to support language-free guidance during generation. On the HumanML3D and Motion-X generation benchmarks, LG-Tok achieves Top-1 scores of 0.542 and 0.582, outperforming state-of-the-art methods (MARDM: 0.500 and 0.528), and with FID scores of 0.057 and 0.088, respectively, versus 0.114 and 0.147. LG-Tok-mini uses only half the tokens while maintaining competitive performance (Top-1: 0.521/0.588, FID: 0.085/0.071), validating the efficiency of our semantic representations.

View on arXivView PDF

Code Implementations(1)

eanson023/LG-TokCommunity70%

Official implementation of "Language-Guided Transformer Tokenizer for Human Motion Generation."

240PythonNov 20, 20257 months ago
generative-modelmotion-analysispytorch-implementationtext-to-motion

Similar Papers

Cite this paper

@article{yan2026languageguided,
  title  = {Language-Guided Transformer Tokenizer for Human Motion Generation},
  author = {Sheng Yan and Yong Wang and Xin Du and Junsong Yuan and Mengyuan Liu},
  year   = {2026},
  eprint = {2602.08337},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.08337v1}
}

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

Discussion