Multi-Instance Dynamic Ordinal Random Fields for Weakly-supervised Facial Behavior Analysis

Adria Ruiz, Ognjen Rudovic, Xavier Binefa, Maja PanticarXiv 2018 · DOI

TL;DR

The authors introduce Multi-Instance Dynamic Ordinal Random Fields (MI-DORF), a novel framework that learns to predict frame-by-frame facial expression intensities using only coarse, sequence-level "weak" labels. By combining temporal dynamics with ordinal constraints, the model can achieve performance comparable to fully supervised systems while requiring significantly less manual annotation effort.

What Problem Does This Paper Address?

In facial behavior analysis—such as estimating the intensity of pain or specific facial muscle movements (Action Units)—the gold standard is frame-by-frame annotation. However, this process is notoriously labor-intensive and expensive.

The authors address the gap between Single-Instance Learning (which requires a label for every frame) and Multi-Instance Learning (which uses one label for a "bag" of frames). Specifically, they tackle the Multi-Instance Dynamic Ordinal Regression (MI-DOR) problem. Here, labels are not just categories but ordered levels (e.g., a pain scale from 0 to 5), and the data has a clear temporal structure. The goal is to train a model that can pinpoint when and how intensely a behavior occurs in a video, even if the trainer only knows the maximum intensity of the whole clip or whether the intensity was generally increasing.

Methods

The core contribution is the MI-DORF framework, an Undirected Graphical Model (specifically, a latent-variable model) that treats individual frame labels as hidden states.

Key technical innovations include:

  • High-Order Potentials: The authors introduce a new energy function that explicitly links the sequence-level weak label to all latent frame labels simultaneously. This allows the model to enforce rules like "the maximum frame intensity must equal the sequence label."
  • Two Specialized Variants:
    1. MaxMI-DORF: Designed for cases where the weak label represents the maximum intensity reached in a sequence (common in pain studies).
  • RelMI-DORF: Designed for "relative" labels, where a sequence is marked as having an increasing (onset), decreasing (offset), or monotone evolution of intensity.
  • Efficient Inference: Standard inference algorithms (like forward-backward) fail with high-order dependencies. The authors cleverly introduce auxiliary binary variables ($\zeta_t$) that track whether the MIL assumption has been met up to time $t$. This re-linearizes the graph, allowing for efficient computation.
  • Partially-Observed Extension (PoMI-DOR): A hybrid approach that leverages a small percentage of labeled frames alongside sequence-level weak labels to boost accuracy.
Factor graph representation of the MI-DORF framework showing how high-order potentials link sequence labels to latent states.

Datasets

The framework was evaluated on three types of data:

  1. Synthetic Data: Ten datasets generated to test the model's ability to handle noisy observations and varying temporal transitions.
  2. UNBC-McMaster Shoulder Pain Expression Archive: A benchmark for pain intensity estimation where frames are labeled on a 16-point scale (grouped into 6 levels for this study).
  3. DISFA (Denver Intensity of Spontaneous Facial Action): A dataset containing naturalistic facial expressions with frame-by-frame intensity for 12 different Action Units.

Key Insights and Ideas

  • Ordinality is Essential: Treating intensities as ordered levels (0 < 1 < 2...) rather than independent categories significantly improves the model's ability to generalize.
  • Dynamics Smooth the Signal: By modeling the temporal transitions between frames, MI-DORF effectively filters out noise in facial feature extraction, leading to more realistic intensity curves.
  • The Power of "Weak" Supervision: The "Aha!" moment is that sequence-level labels (like "this video contains an onset of a smile") provide enough structural constraint to guide the latent variables toward the correct frame-level values.

Key Results

The authors demonstrate that MI-DORF consistently outperforms static MIL methods and standard latent-dynamic models that ignore ordinal constraints.

  • Pain Estimation (UNBC): MaxMI-DORF achieved a Pearson Correlation of 0.36 using only sequence-level labels, significantly higher than standard HCORF (0.06) or MI-SVM approaches.
  • Action Unit Estimation (DISFA): RelMI-DORF showed that segmenting videos into simple "increasing" or "decreasing" segments is a viable alternative to frame-by-frame coding.
  • Annotation Reduction: In the partially-observed setting, using only 10% of labeled frames combined with weak sequence labels allowed the model to reach performance levels nearly identical to a fully supervised model (100% labeled frames).
Visualization of pain intensity predictions. Note how MaxMI-DORF (Po) closely tracks the ground truth even with minimal labeling.

Limitations and Future Work

While the graphical model framework is robust, the current implementation relies on hand-crafted geometric features (landmark points). The authors acknowledge that modern computer vision often benefits from end-to-end feature learning.

Consequently, a primary direction for future work is the integration of MI-DORF with Deep Learning architectures (like CNNs or RNNs). Coupling the high-level structural constraints of MI-DORF with the representational power of deep features could further reduce the need for expensive manual data labeling in affective computing.

Summary updated

BibTeX
@misc{ruiz2018multi,
  author = {Adria Ruiz and Ognjen Rudovic and Xavier Binefa and Maja Pantic},
  title = {{Multi-Instance Dynamic Ordinal Random Fields for Weakly-supervised Facial Behavior Analysis}},
  year = {2018},
  eprint = {1803.00907},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1803.00907},
}
Figure