Skip to main content
QUICK REVIEW

[Paper Review] MotionGPT: Human Motion as a Foreign Language

Biao Jiang, Xin Chen|arXiv (Cornell University)|Jun 26, 2023
Multimodal Machine Learning ApplicationsComputer Science53 citations
TL;DR

MotionGPT unifies human motion and language into a single generative model by quantizing motion into tokens and using a language model backbone to perform diverse motion tasks with prompts, achieving strong results on text-to-motion, motion-to-text, prediction, and in-between tasks.

ABSTRACT

Though the advancement of pre-trained large language models unfolds, the exploration of building a unified model for language and other multi-modal data, such as motion, remains challenging and untouched so far. Fortunately, human motion displays a semantic coupling akin to human language, often perceived as a form of body language. By fusing language data with large-scale motion models, motion-language pre-training that can enhance the performance of motion-related tasks becomes feasible. Driven by this insight, we propose MotionGPT, a unified, versatile, and user-friendly motion-language model to handle multiple motion-relevant tasks. Specifically, we employ the discrete vector quantization for human motion and transfer 3D motion into motion tokens, similar to the generation process of word tokens. Building upon this "motion vocabulary", we perform language modeling on both motion and text in a unified manner, treating human motion as a specific language. Moreover, inspired by prompt learning, we pre-train MotionGPT with a mixture of motion-language data and fine-tune it on prompt-based question-and-answer tasks. Extensive experiments demonstrate that MotionGPT achieves state-of-the-art performances on multiple motion tasks including text-driven motion generation, motion captioning, motion prediction, and motion in-between.

Motivation & Objective

  • Motivate and enable a unified motion-language pre-training framework to leverage large-scale language data for motion tasks.
  • Develop a motion tokenizer to convert continuous motion into discrete tokens forming a motion vocabulary.
  • Train a motion-aware language model that jointly handles motion tokens and text tokens in a single vocabulary.
  • Apply instruction tuning to enable prompt-based, multi-task learning for diverse motion-related tasks.

Proposed method

  • Introduce a motion tokenizer using a VQ-VAE to convert M-frame motions into a sequence of L discrete motion tokens from a learnable codebook Z.
  • Create a unified vocabulary V by combining motion tokens with text tokens, enabling the model to process and generate both modalities within a single transformer-based backbone.
  • Pre-train a motion-language model (based on T5) on a mixture of motion and language data to capture cross-modal semantics.
  • Apply a three-stage training scheme: (i) train the motion tokenizer, (ii) perform motion-language pre-training with unsupervised and supervised objectives, (iii) execute instruction tuning with a diverse set of prompts for multiple motion tasks.
  • Utilize an autoregressive objective to maximize the likelihood of target token sequences conditioned on source sequences across motion and text, enabling flexible generation from prompts.
Figure 1: MotionGPT can address diverse motion-relevant tasks uniformly given different instructions. We provide the results on text-to-motion (the upper left), motion captioning (the bottom left), motion completion (the upper right), and the language question-to-answer (the bottom right). The left
Figure 1: MotionGPT can address diverse motion-relevant tasks uniformly given different instructions. We provide the results on text-to-motion (the upper left), motion captioning (the bottom left), motion completion (the upper right), and the language question-to-answer (the bottom right). The left

Experimental results

Research questions

  • RQ1Can a single unified model handle multiple motion tasks (text-to-motion, motion-to-text, prediction, in-between) via a motion-language framework?
  • RQ2Does learning a discrete motion vocabulary and jointly training with language data improve generalization to unseen motion-language tasks?
  • RQ3How effective is instruction tuning with prompt-based datasets in enabling zero-shot or few-shot adaptation to varied motion tasks?

Key findings

  • MotionGPT achieves competitive or state-of-the-art performance across diverse motion tasks including text-to-motion, motion captioning, motion prediction, and motion in-between.
  • A motion tokenizer based on VQ-VAE effectively represents motion as discrete tokens suitable for integration with language models.
  • Joint training of motion and language within a unified vocabulary enables the model to reason with both modalities using a single transformer backbone.
  • Instruction tuning with a large set of prompts improves versatility and performance on unseen tasks, while larger model sizes without ample motion data do not always yield gains.
  • The three-stage training scheme (tokenizer training, motion-language pre-training, and instruction tuning) is shown to be effective for learning cross-modal relationships.
Figure 2: Method overview: MotionGPT consists of a motion tokenizer $\mathcal{V}$ ( Sec. 3.1 ) and a motion-aware language model ( Sec. 3.2 ). Combining Motion Tokens learned by $\mathcal{V}$ and Text Tokens by text tokenizer, we then learn motion and language jointly utilizing language model as bac
Figure 2: Method overview: MotionGPT consists of a motion tokenizer $\mathcal{V}$ ( Sec. 3.1 ) and a motion-aware language model ( Sec. 3.2 ). Combining Motion Tokens learned by $\mathcal{V}$ and Text Tokens by text tokenizer, we then learn motion and language jointly utilizing language model as bac

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.