CausalAffect: Causally Guided Learning of Psychology-Aligned Facial Affect Relations

Guanyu Hu, Tangzheng Lian, Dimitrios Kollias, Oya Celiktutan, Xinyu YangNeurIPS 2026

TL;DR

Computer vision models usually read facial expressions by exploiting pixel-level correlations, missing the actual biomechanics of how facial muscles pull and inhibit one another. CausalAffect bridges computer vision and psychology by using latent "counterfactual interventions" to learn the directed, cause-and-effect wiring of facial muscles directly from images. Not only does it rediscover established psychological pathways (plus new inhibitory ones validated by human experts), it also achieves state-of-the-art accuracy across six emotion and muscle-action benchmarks.

What Problem Does This Paper Address?

When you smile, your cheek raiser muscle (Action Unit 6, or AU6) and lip corner puller (AU12) work together to signal happiness. Meanwhile, pressing your lips together (AU24) physically competes with parting them (AU25). Psychologists have spent decades mapping these Action Units (AUs)—the fundamental building blocks of facial movement—into causal frameworks of muscle facilitation and inhibition.

Standard deep learning models, however, largely ignore this biology. Even models designed to look at AUs rely on symmetric co-occurrence ("these two muscles often fire together") rather than directed causality ("muscle A triggers muscle B, or suppresses emotion C"). Worse, training data is fragmented: datasets either label muscle AUs or high-level emotions (like "Anger"), rarely both. Plus, everyone’s face is slightly different across cultures and individuals. Without being able to physically poke a subject's facial nerves in a lab, how can an AI learn genuine, psychology-aligned causal mechanisms solely from static, disjointed datasets?

Methods

CausalAffect translates facial biomechanics into a four-part neural architecture trained end-to-end under weak, disjoint supervision:

Figure 1: Overview of CausalAffect, consisting of four key components: (1) Disentangled AU Bottleneck Encoding, which extracts semantically independent AU features; (2) Global Causal Graph Construction, which learns a polarity-aware graph capturing population-level dependencies; (3) Sample-Adaptive Graph Refinement, which adjusts the global graph for each instance via residual adaptation; and (4) Feature-Level Counterfactual Intervention, which enforces causal inductive bias through latent perturbations and factual–counterfactual consistency. The figure illustrates AU→AU branch; AU→Expression branch is analogous and omitted for brevity.
  1. Disentangled AU Bottleneck: Using a standard visual backbone (ConvNeXt), the model projects images into distinct AU representations. To ensure the "AU12 node" only encodes lip-pulling—and not lighting, identity, or neighboring muscles—the authors apply an Information Bottleneck using the Hilbert–Schmidt Independence Criterion (HSIC) to strip out global confounders and decorrelate distinct AU nodes.
  2. Global Causal Graph (GC): A learnable, population-level directed graph with edge weights bounded in $(-1, 1)$. Positive weights model facilitation (excitation); negative weights model suppression (inhibition). Because muscle-to-muscle (AU→AU) interactions shouldn't degenerate into dense feedback loops, a soft Directed Acyclic Graph (DAG) penalty keeps causal directions clean alongside the AU→Expression graph.
  3. Sample-Adaptive Causal Graph (SAC): Because facial expressions vary by person and culture, a novel Heterogeneous Polarity-aware Graph Attention (HPGAT) module acts as an "edge residual." Unlike standard graph attention (which forces positive weights), HPGAT outputs signed weights to gently edit the global graph for each specific face.
  4. Feature-Level Counterfactual Intervention (CF): Since we can't electrically stimulate faces in JPEGs, the model performs virtual interventions in feature space. By injecting Gaussian noise into specific AU embeddings, it enforces an intervention-consistency principle: perturbing AUs with strong causal edges must change the downstream prediction (Causal Sensitivity), while perturbing unconnected AUs should leave the target undisturbed (Causal Invariance).

Datasets

CausalAffect is trained and evaluated across six standard benchmarks—crucially, without requiring paired AU and expression labels on the same images:

  • AU Detection Benchmarks: BP4D, DISFA, EmotioNet, and GFT.
  • Facial Expression Recognition (FER) Benchmarks: AffectNet and RAF-DB.

No new datasets were introduced; instead, the framework unifies these existing, disjoint datasets through its shared AU bottleneck.

Key Insights and Ideas

  • Virtual poking recovers real biology: Adding counterfactual feature perturbations isn't just a regularizer—in controlled training comparisons, adding CF boosted alignment with published psychological literature from 10/39 to 35/39 canonical AU→Expression relations.
  • Inhibition matters as much as activation: Standard attention mechanisms only add positive evidence. By separating excitatory and inhibitory message passing, CausalAffect discovers meaningful negative rules—like cheek-raising (AU6) actively suppressing a "Sadness" prediction, or jaw-dropping (AU26) inhibiting lip-stretching (AU20).
Figure 2: Signed global causal graphs.
  • Naive data pooling hurts, causal structure heals: Throwing all six datasets into a standard Multi-Task Learning (MTL) setup actually lowers performance on three AU benchmarks due to domain and label conflicts. CausalAffect turns that same pooled data into consistent gains by routing supervision through a shared, causally constrained AU interface.

Key Results

  • SOTA Predictive Performance: CausalAffect beats prior state-of-the-art across the board. Under joint training, it hits 71.5% F1 on DISFA, 62.5% F1 on GFT, 67.7% accuracy on AffectNet, and 85.3% accuracy on RAF-DB. Even trained on single datasets, it achieves SOTA on BP4D (66.9% F1) and EmotioNet (66.4% F1).
  • Blind Expert Validation: Five domain experts (5–15 years of experience) blindly evaluated the model's learned causal pairs against random controls and established literature. CausalAffect achieved an 0.84 Majority-True rate (0.75 overall Expert True rate vs. 0.23 for random controls), with particularly high expert endorsement for its novel inhibitory AU→Expression links (0.87 Majority-True).
  • Zero-Shot Transfer & Efficiency: Trained on AffectNet and BP4D, it transfers directly to unseen RAF-DB at 78.1% accuracy (beating the 77.4% baseline) with a maximum accuracy gap of just 1.2 percentage points across Asian, Black, and White demographic groups. At inference, it runs at a brisk ~200 FPS on $112 \times 112$ face crops.

Limitations and Future Work

While the main text notes that scope and ethics are further detailed in Appendix Q (not included in the main paper pages), a clear inherent boundary acknowledged in the formulation is that the learned edges are causally guided, psychology-aligned hypotheses derived from observational images and latent perturbations—not substitutes for physical, biological interventions in wet-lab psychophysiology. Additionally, the authors observe a task-dependent trade-off in AU vocabulary coverage: AU detection peaks when modeling the 8 most frequent AUs, whereas expression recognition prefers the broader 12-AU set.

Summary updated

Abstract

Facial affect understanding extends beyond image-to-expression-label prediction. It requires identifying active facial Action Units (AUs), modeling causal facilitation and inhibition among them, and explaining how AU configurations give rise to expression states. Such causal relations have long been studied in cognitive psychology and psychophysiology. The Facial Action Coding System, Component Process Model, and Muscle Synergy Framework provide rich causal priors for facial behavior. In computer vision, however, facial affect models, including structured AU-aware approaches, remain predominantly correlational, with limited grounding in psychological priors. A persistent gap therefore separates biological facial mechanisms from learned visual representations. Without direct biological interventions, existing methods lack a principled way to recover psychology-aligned relations from observational images. To bridge this gap, we propose CausalAffect, a weakly supervised, causally guided framework. It introduces interventions in a semantically grounded AU representation space and requires learned causal relations to explain the resulting downstream responses. This principle guides the learning of directed facilitative and inhibitory relations, capturing shared causal structure while accommodating individual variability. The learned relations recover canonical pathways documented in the psychological literature and reveal plausible inhibitory and sample-specific influences. A blind expert study validates their psychological plausibility. Incorporating these relations into prediction, CausalAffect consistently improves AU detection and facial expression recognition across six benchmarks.
BibTeX
@inproceedings{hu2026causalaffect,
  author = {Guanyu Hu and Tangzheng Lian and Dimitrios Kollias and Oya Celiktutan and Xinyu Yang},
  title = {{CausalAffect: Causally Guided Learning of Psychology-Aligned Facial Affect Relations}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=zrt8lyUHkP},
}
Figure