Towards Tokenized Human Dynamics Representation

Kenneth Li, Xiao Sun, Zhirong Wu, Fangyun Wei, Stephen LinarXiv 2021

Abstract

This paper introduces a self-supervised framework for tokenizing complex human motion into a sequence of recurring temporal patterns termed "actons." By leveraging a Temporal Alignment Network (TAN) for frame-wise contrastive learning and unsupervised clustering, the proposed method constructs a motion lexicon without manual labels. Evaluated on the AIST++ and PKU-MMD datasets, the resulting acton representations demonstrate superior performance in genre classification and action detection tasks, establishing a foundation for applying natural language processing techniques to human dynamics.

Introduction

In Natural Language Processing (NLP), tokenization—the process of breaking down sentences into words or sub-words—has been fundamental to the field's success. In contrast, computer vision research on human motion has largely relied on coarse, high-level labels like "jumping" or "drinking." This lack of granularity makes it difficult to analyze complex, long-form dynamics such as dance routines or daily activities where movements are fluid and recurring.

The authors propose a "vocabulary" of motion by identifying actons: fundamental, recurring temporal patterns that serve as the "tokens" of human movement. By segmenting and clustering these patterns without human supervision, human dynamics can be represented as a structured "body language."

Overview of motion tokenization into actons.

Methodology

The proposed framework consists of two primary stages: the Temporal Alignment Network (TAN) for feature extraction and a lexicon-building process via clustering.

Temporal Alignment Network (TAN)

To discover actons, the model must recognize similar movements regardless of variations in speed, rotation, or translation. TAN utilizes frame-wise contrastive learning on 3D skeleton sequences. The network processes two augmented views of the same sequence, mapping corresponding frames to the same point in an embedding space while maximizing the distance between non-corresponding frames. A critical innovation is the use of speed augmentation, which ensures the model captures the semantic essence of a movement (e.g., a "wave") independently of its execution speed.

Architecture of the Temporal Alignment Network (TAN).

Lexicon Building and Tokenization

Following the generation of robust frame-level features, K-means clustering is applied across the entire dataset. Each cluster center defines an "acton." Videos are tokenized by assigning each frame to its nearest cluster and grouping consecutive identical assignments into segments. This simple yet effective approach allows for the representation of long-form video as a discrete sequence of tokens, similar to a sentence in NLP.

Experimental Evaluation

The framework was evaluated using two large-scale 3D skeleton datasets: AIST++, featuring diverse dance genres, and PKU-MMD, focused on daily activity detection.

Key Results

  • Genre Classification: Acton-based tokens served as input for an LSTM, achieving a classification accuracy of 0.46 on AIST++, significantly outperforming raw coordinates (0.36) and other self-supervised baselines.
  • Action Detection: On the PKU-MMD dataset, TAN-based tokens surpassed established baselines such as Time-Contrastive Networks (TCN) and Temporal Cycle-Consistency (TCC) in mean Average Precision (mAP).
  • Temporal Alignment: The method achieved a Kendall’s Tau of 0.80, indicating high-quality temporal alignment across different views of the same motion.

Discussion and Future Work

A key insight from this research is that human motion exhibits a predictable structure analogous to language. By tokenizing motion, researchers can calculate metrics like "Language Entropy" to evaluate the predictability and structural integrity of movement sequences.

Currently, the system relies on 3D skeleton data, which requires pre-processing via pose estimation. Future work aims to extend this framework to raw RGB video pixels, explore hierarchical lexicons (decomposing movements into sub-actions), and implement multi-channel tokenization to analyze independent limb movements.

Summary updated

BibTeX
@misc{li2021towards,
  author = {Kenneth Li and Xiao Sun and Zhirong Wu and Fangyun Wei and Stephen Lin},
  title = {{Towards Tokenized Human Dynamics Representation}},
  year = {2021},
  eprint = {2111.11433},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2111.11433},
}
Figure