BID: Boundary-Interior Decoding for Unsupervised Temporal Action Localization Pre-Trainin

Qihang Fang, Chengcheng Tang, Shugao Ma, Yanchao YangarXiv 2024 · DOI

Abstract

Temporal Action Localization (TAL) in 3D skeleton data is challenging due to the high cost of manual frame-level annotations. We present Boundary-Interior Decoding (BID), an unsupervised pre-training framework designed specifically for skeleton-based TAL. BID models human motion as "action flow fields" and employs a dual-decoder strategy to reconstruct both the interior dynamics and the temporal boundaries of actions. By discovering "pre-action" segments that align with semantic categories without human labels, BID achieves state-of-the-art performance, outperforming existing methods by up to 20% in label-efficient scenarios.

Introduction

Temporal Action Localization (TAL) requires identifying both the category and the temporal extent (start and end times) of actions within untrimmed video sequences. While 3D skeleton data provides a robust alternative to pixel-based methods—avoiding issues with lighting and background noise—it is notoriously difficult to annotate. Existing unsupervised pre-training often focuses on Temporal Action Classification (TAC) on trimmed clips, which fails to capture the boundary information necessary for localization. Furthermore, common techniques like random clip concatenation disrupt the natural semantic flow of human movement.

Methodology: Boundary-Interior Decoding

The BID framework conceptualizes actions as flow fields, functions describing body movement through space-time. The architecture is built around three core pillars:

1. Motion Encoding with Residual VQ-VAE

To handle continuous motion data, BID employs a Vector Quantized Variational AutoEncoder (VQ-VAE) with a residual structure. This component compresses motion sequences into discrete latent codes. The primary layer captures high-level "pre-action" semantics, while subsequent residual layers preserve high-frequency details for accurate reconstruction without interfering with semantic clustering.

The Motion Encoding Function utilizes a Residual VQ-VAE to compress motion sequences into discrete latent codes.

2. Interior and Boundary Decoding

BID uses a dual-decoder strategy to learn comprehensive action representations:

  • Interior Decoding: The model performs an inpainting task, reconstructing masked portions of a motion sequence. This forces the encoder to capture the internal "flow" and dynamics of an action.
  • Boundary Decoding: A dedicated decoder predicts the final pose (end state) of an action segment. This ensures the learned representations are sensitive to the transitions between different actions, a critical requirement for localization.

Experimental Setup

The framework was evaluated using the BABEL dataset, a large-scale collection of 3D human motion with frame-level annotations (approx. 43 hours from AMASS). Experiments focused on three subsets of BABEL, each containing four distinct action categories, to assess generalization and performance in low-label regimes.

Results and Discussion

BID demonstrates a significant improvement over previous unsupervised and even some weakly-supervised methods. On BABEL Subset-1, BID achieved a mean Average Precision (mAP) of 47.20%, surpassing the previous state-of-the-art UP-TAL (43.73%).

Comparison of ground-truth (GT) action segments with the unsupervised segments discovered by BID, showing strong semantic alignment.

Key Insights

  • Semantic Discovery: Even without labels, BID's "pre-action" segments align remarkably well with human-defined categories (e.g., Walk, Stand, Jog).
  • Boundary Sensitivity: The Boundary Decoder is the primary innovation enabling localization, as it teaches the model to recognize when a specific motion pattern concludes.
  • Feature Hierarchies: Residual quantization effectively separates high-level action identity from low-level limb positioning, preventing "codebook collapse."

Conclusion and Future Work

BID establishes a new benchmark for unsupervised pre-training in skeleton-based TAL. While highly effective, the model currently faces challenges with diverse "background" motions and is limited to 3D skeleton data. Future research will explore extending the "action flow" concept to RGB video and multi-modal data to further enhance robustness and scalability.

Summary updated

BibTeX
@misc{fang2024bid,
  author = {Qihang Fang and Chengcheng Tang and Shugao Ma and Yanchao Yang},
  title = {{BID: Boundary-Interior Decoding for Unsupervised Temporal Action Localization Pre-Trainin}},
  year = {2024},
  eprint = {2403.07354},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.07354},
}
Figure