Learning Slow Features for Behaviour Analysis

Lazaros Zafeiriou, Mihalis A. Nicolaou, Stefanos Zafeiriou, Symeon Nikitidis, Maja PanticICCV 2013

Abstract

A recently introduced latent feature learning technique for time varying dynamic phenomena analysis is the so called Slow Feature Analysis (SFA). SFA is a deterministic component analysis technique for multi-dimensional sequences that by minimizing the variance of the first order time derivative approximation of the input signal finds uncorrelated projections that extract slowly-varying features ordered by their temporal consistency and constancy. In this paper, we propose a number of extensions in both the deterministic and the probabilistic SFA optimization frameworks. In particular, we derive a novel deterministic SFA algorithm that is able to identify linear projections that extract the common slowest varying features of two or more sequences. In addition, we propose an Expectation Maximization (EM) algorithm to perform inference in a probabilistic formulation of SFA and similarly extend it in order to handle two and more time varying data sequences. Moreover, we demonstrate that the probabilistic SFA (EMSFA) algorithm that discovers the common slowest varying latent space of multiple sequences can be combined with dynamic time warping techniques for robust sequence time alignment. The proposed SFA algorithms were applied for facial behavior analysis demonstrating their usefulness and appropriateness for this task.

Introduction

In computer vision, raw signals such as pixel values often exhibit rapid and noisy fluctuations. However, the underlying semantic drivers—such as the progression of a facial expression—typically change at a much slower rate. Slow Feature Analysis (SFA) is an unsupervised learning technique designed to extract these underlying "slow" signals. While traditional SFA is a deterministic tool, this work introduces a robust probabilistic framework, Expectation-Maximization SFA (EM-SFA), to better handle noise and perform inference on latent states.

Methodology

The proposed framework introduces three primary technical contributions:

  1. EM-SFA for Single Sequences: Formulated as a generative model, the observed data is produced by a latent "slow" process. The E-step utilizes Kalman/RTS smoothing for latent state estimation, while the M-step updates transition parameters to enforce temporal slowness.
  2. Multi-Sequence Extension: Both deterministic and probabilistic SFA are extended to identify a shared latent space between multiple sequences, focusing on the common dynamic "essence" while ignoring sequence-specific noise.
  3. SFA-based Alignment: By combining the common latent space of EM-SFA with Dynamic Time Warping (DTW), the method achieves robust temporal alignment based on meaningful behavioral transitions rather than superficial pixel changes.
Figure 1: EM-SFA captures the temporal phases (Neutral, Onset, Apex, Offset) of facial expressions by extracting the slowest varying features.

Experimental Results

The algorithms were evaluated using the MMI Facial Expression Database, which contains videos of subjects performing various facial Action Units (AUs).

Unsupervised Phase Detection

EM-SFA significantly outperformed standard SFA and traditional Linear Dynamic Systems (LDS) in detecting AU phases. For instance, in detecting the "Neutral" phase from mouth movements, EM-SFA achieved 88.15% accuracy, compared to 69.48% for standard SFA. The model was particularly effective at "Apex" detection, reaching 100% accuracy for specific brow and mouth movements.

Sequence Alignment

When aligning videos of the same action, the EM-SFA + DTW approach resulted in lower misalignment errors across all temporal phases compared to Canonical Time Warping (CTW). This demonstrates that "slow features" serve as superior anchors for alignment compared to standard correlation-based features.

Figure 4: Comparison of alignment error between EMSFA and CTW across different temporal phases.

Conclusion and Limitations

EM-SFA provides a powerful unsupervised framework for behavioral analysis by leveraging the prior of temporal slowness. While highly effective for capturing the progression of facial expressions, the model faces challenges with extremely rapid events, such as eye blinks, where the slowness prior may hinder the capture of transient peaks. Future work may explore continuous-time formulations to further refine the analysis of complex temporal dynamics.

Summary updated

BibTeX
@inproceedings{zafeiriou2013learning,
  author = {Lazaros Zafeiriou and Mihalis A. Nicolaou and Stefanos Zafeiriou and Symeon Nikitidis and Maja Pantic},
  title = {{Learning Slow Features for Behaviour Analysis}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2013},
  url = {https://openreview.net/forum?id=HJb1XbGdZH},
}
Figure