Take an Emotion Walk: Perceiving Emotions from Gaits Using Hierarchical Attention Pooling and Affective Mapping

Uttaran Bhattacharya, Christian Roncal, Trisha Mittal, Rohan Chandra, Kyra Kapsaskis, Kurt Gray, Aniket Bera, Dinesh Manocha · DOI

TL;DR

This paper introduces a semi-supervised autoencoder that identifies human emotions from 3D walking patterns (gaits). By combining hierarchical pooling based on the body's kinematic chains with a latent space constrained by psychologically-motivated "affective features," the model significantly outperforms state-of-the-art methods, particularly on rare emotion classes like "angry" and "neutral."

What Problem Does This Paper Address?

Perceiving emotions from non-verbal cues is a fundamental human skill, but automating it is notoriously difficult. While facial expressions are the "go-to" for AI, they can be easily faked or obscured. Walking styles (gaits) are more reliable because they are often subconscious, yet they are harder to model due to the complexity of 3D motion.

The primary challenges the authors tackle are:

  1. Data Scarcity: High-quality, annotated emotion datasets are small because labeling is subjective and tedious.
  2. Feature Representation: Standard deep learning models often treat joints as a "bag of points," ignoring the biological structure of the human body.
  3. Class Imbalance: Most datasets are dominated by "happy" or "sad" labels, leaving models struggling to identify less frequent emotions.

Methods

The authors propose a semi-supervised architecture consisting of an unsupervised autoencoder and a supervised classifier.

The network architecture features an encoder with hierarchical pooling and a decoder that reconstructs motion top-down.

Key innovations include:

  • Hierarchical Attention Pooling: Instead of processing all joints at once, the encoder pools joint motions into five distinct groups: two arms, two legs, and the torso. This follows the natural kinematic chains of the human body, allowing the model to learn part-specific features before composing them into a full-body representation.
  • Affective Mapping: The authors don't just let the model learn any arbitrary representation. They constrain the latent embedding space to subsume 18 biomechanical "affective features" derived from psychological studies—such as slouching (angle between shoulders and lower back) or arm swing (distance ratios).
  • Semi-Supervised Learning: The model is trained on both labeled and unlabeled data. The autoencoder learns the general "manifold" of human walking from all available data, while the classifier fine-tunes the emotion labels using the smaller annotated subset.

Datasets

The study utilizes the Emotion-Gait benchmark dataset, which aggregates 3,924 gaits from several well-known sources (BML, Human3.6M, ICT, CMU-MoCap, and ELMD).

  • Labeled data: 1,835 gaits annotated by 10 observers.
  • Unlabeled data: 2,089 gaits.
  • Pose Model: All data was standardized to a 21-joint model.
The 21-joint pose model used to standardize gait data across different sources.

Key Insights and Ideas

  • Structure Matters: By forcing the network to respect the body's hierarchy, the model learns more robust features than "flat" graph-convolutional networks.
  • Domain Knowledge as a Constraint: Rather than using hand-crafted features as inputs (which often limits accuracy), the authors use them as constraints on the latent space. This allows the model to benefit from psychological insights while still learning data-driven features.
  • Linear Scaling with Data: A key finding was that performance (Average Precision) increases linearly as more unlabeled data is added. This suggests that the model effectively leverages the underlying structure of human motion to improve its classification of subjective emotions.

Key Results

The proposed method achieves a mean Average Precision (mAP) of 0.84, setting a new benchmark for the Emotion-Gait dataset.

  • Superiority over SOTA: It outperforms previous state-of-the-art methods (like STEP and STGCN) by 7%–23% on absolute mAP.
  • Minority Class Boost: The most dramatic improvements were seen in the "Angry" and "Neutral" classes—which are often underrepresented—where the model saw an absolute improvement of 10%–50%.
  • Ablation Success: The authors proved that the combination of Hierarchical Pooling and Affective Mapping is synergistic; removing either component significantly degrades performance on rarer emotions.
A list of the 18 biomechanical affective features used to constrain the model's latent space.

Limitations and Future Work

  • Discrete vs. Continuous: The current model classifies emotions into discrete buckets (Happy, Sad, etc.). The authors acknowledge that emotions exist on a continuous spectrum and plan to move toward regressing values in the VAD (Valence-Arousal-Dominance) space.
  • Single Modality: The model currently only "sees" the walk. Future iterations aim to fuse gait data with facial expressions and body gestures for a more holistic "affective computing" approach.
  • Environmental Context: The model does not yet account for social context (e.g., walking in a crowd vs. alone), which is known to influence how emotions are expressed and perceived.

Summary updated

Abstract

We present an autoencoder-based semi-supervised approach to classify perceived human emotions from walking styles obtained from videos or motion-captured data and represented as sequences of 3D poses. Given the motion on each joint in the pose at each time step extracted from 3D pose sequences, we hierarchically pool these joint motions in a bottom-up manner in the encoder, following the kinematic chains in the human body. We also constrain the latent embeddings of the encoder to contain the space of psychologically-motivated affective features underlying the gaits. We train the decoder to reconstruct the motions per joint per time step in a top-down manner from the latent embeddings. For the annotated data, we also train a classifier to map the latent embeddings to emotion labels. Our semi-supervised approach achieves a mean average precision of 0.84 on the Emotion-Gait benchmark dataset, which contains both labeled and unlabeled gaits collected from multiple sources. We outperform current state-of-art algorithms for both emotion recognition and action recognition from 3D gaits by 7%--23% on the absolute. More importantly, we improve the average precision by 10%--50% on the absolute on classes that each makes up less than 25% of the labeled part of the Emotion-Gait benchmark dataset.
BibTeX
@inproceedings{bhattacharya2020take,
  author = {Uttaran Bhattacharya and Christian Roncal and Trisha Mittal and Rohan Chandra and Kyra Kapsaskis and Kurt Gray and Aniket Bera and Dinesh Manocha},
  title = {{Take an Emotion Walk: Perceiving Emotions from Gaits Using Hierarchical Attention Pooling and Affective Mapping}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58607-2\_9},
}
Figure