A Deep Recurrent Framework for Cleaning Motion Capture Data

Utkarsh Mall, G. Roshan Lal, Siddhartha Chaudhuri, Parag ChaudhuriarXiv 2017

Abstract: We present a deep, bidirectional, recurrent framework for cleaning noisy and incomplete motion capture data. It exploits temporal coherence and joint correlations to infer adaptive filters for each joint in each frame. A single model can be trained to denoise a heterogeneous mix of action types, under substantial amounts of noise. A signal that has both noise and gaps is preprocessed with a second bidirectional network that synthesizes missing frames from surrounding context. The approach handles a wide variety of noise types and long gaps, does not rely on knowledge of the noise distribution, and operates in a streaming setting. We validate our approach through extensive evaluations on noise both in joint angles and in joint positions, and show that it improves upon various alternatives.

Introduction

Motion capture (mocap) data is the foundation of modern animation, sports science, and robotics. However, raw mocap data is frequently "dirty" due to sensor failure, marker occlusion (creating gaps), and calibration errors that introduce jitter. Traditionally, cleaning this data is a manual, labor-intensive process. Automated tools often rely on simple smoothing, which can blur high-frequency movements like foot strikes, or rigid kinematic models that struggle with complex, non-rigid motions.

This paper introduces a deep learning framework designed to be action-agnostic, noise-agnostic, and gap-resilient. By leveraging bidirectional recurrent networks, the system learns to smooth data based on the specific context of a motion, effectively handling heavy noise and long data gaps in near real-time.

Methodology

The proposed pipeline consists of two primary stages using Bidirectional Long Short-Term Memory (B-LSTM) networks:

Gap Filling (EBD)

When data is missing, an Encoder-Bidirectional-Decoder (EBD) network synthesizes the missing frames. By analyzing the motion before and after a gap, the EBD "hallucinates" a plausible trajectory that maintains the movement's trend, allowing for the reconstruction of gaps lasting up to several seconds.

Adaptive Denoising (EBF)

The core innovation is the Encoder-Bidirectional-Filter (EBF). Unlike traditional regression models that attempt to predict the correct pose directly—often resulting in "floaty" or muted movements—the EBF predicts the parameters (specifically the standard deviation $\sigma$) of a Gaussian filter for every joint in every frame.

The EBF architecture: An encoder (E) compresses the input, a bidirectional LSTM (B) captures temporal context, and a filter module (F) predicts adaptive smoothing parameters.

This approach allows the network to decide how much to smooth. For stable body parts like the torso, it may predict a wide filter for heavy smoothing; for fast-moving extremities during a kick, it predicts a narrow filter to preserve sharp, high-frequency details.

Experimental Setup

The framework was trained and tested using the CMU Motion Capture Database, utilizing a diverse set of 100 motions including walks, jogs, runs, jumps, and kicks. To evaluate robustness, the researchers created a benchmark by adding synthetic angular and spatial noise, along with simulated gaps, to the ground-truth data.

Results and Discussion

The EBF model consistently outperformed standard Gaussian filters and previous state-of-the-art methods. In standard noise tests, EBF achieved an RMS error of 1.46, significantly lower than the 2.25 achieved by the best-tuned static Gaussian filter.

Visual comparison of motion data: The top row shows the clean ground truth, the middle row shows the noisy input, and the bottom row shows the denoised output from the EBF framework.

Key findings include:

  • Robustness: The system successfully handles non-zero mean noise and varying distributions that typically break Kalman filter-based approaches.
  • Long Gaps: The EBD+EBF combination can reconstruct missing data for gaps up to 5 seconds (600 frames) while maintaining motion fidelity.
  • Efficiency: Denoising a single frame takes less than 1ms. Despite being bidirectional, the model only requires a 15-frame lookahead buffer, making it suitable for streaming applications.

Conclusion and Future Work

While the framework demonstrates high accuracy and speed, it remains a supervised method dependent on the diversity of its training data. It also learns kinematic constraints (like bone lengths) implicitly rather than enforcing them explicitly. Future research may focus on "topology-agnostic" networks that can generalize across different character rigs or work directly with markerless data from RGBD sensors.

Summary updated

BibTeX
@misc{mall2017deep,
  author = {Utkarsh Mall and G. Roshan Lal and Siddhartha Chaudhuri and Parag Chaudhuri},
  title = {{A Deep Recurrent Framework for Cleaning Motion Capture Data}},
  year = {2017},
  eprint = {1712.03380},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1712.03380},
}
Figure