Factorized Variational Autoencoders for Modeling Audience Reactions to Movies

Zhiwei Deng, Rajitha Navarathna, Peter Carr, Stephan Mandt, Yisong Yue, Iain A. Matthews, Greg Mori

Introduction

Understanding audience reactions to cinematic content is a long-standing challenge in film studies and behavioral science. While facial expressions provide a rich window into these reactions, the data is inherently high-dimensional, non-linear, and subject to significant individual variation. Traditional linear models often fail to capture the nuance of human expression, while standard deep learning models frequently ignore the shared temporal structure of a collective audience experience.

This paper introduces Factorized Variational Autoencoders (FVAE), a generative framework that bridges the gap between the representational power of deep learning and the structural constraints of tensor factorization. By leveraging a massive dataset of 16 million facial expressions, the FVAE demonstrates an unprecedented ability to reconstruct and even predict individual reactions over time.

Overview of the Factorized VAE pipeline for reconstructing audience facial expressions.

Problem Statement

Existing approaches to modeling audience behavior typically fall into two categories:

  1. Linear Tensor Factorization (TF): These models excel at capturing global patterns (e.g., synchronized laughter) but rely on linear decomposition. However, human facial expressions are non-linear; a smile is not a simple linear addition to a neutral face.
  2. Standard Variational Autoencoders (VAEs): While VAEs learn complex non-linear mappings, they treat each frame and individual as independent. They fail to account for the "collaborative" nature of an audience—the fact that a viewer's reaction at any given moment is a function of both the movie's content and their personal expressive style.

Methodology: The Factorized VAE

The core innovation of the FVAE is the replacement of the standard VAE's simple Gaussian prior with a structured, factorized prior. In the FVAE, the latent variable $z_{it}$, representing the compressed state of person $i$ at time $t$, is modeled as:

$$z_{it} \sim \mathcal{N}(U_i \circ V_t, I)$$

Where:

  • $U_i$ (Individual Affinity): Captures a specific audience member’s baseline tendency to react (e.g., a "stoic" vs. "expressive" viewer).
  • $V_t$ (Temporal Archetype): Captures the archetypal reaction elicited by the movie at time $t$.
  • $\circ$ (Hadamard Product): Represents the element-wise multiplication of these factors.
Probabilistic graphical model of the FVAE, showing the factorized latent space.

By embedding this factorization within the latent space, the model forces the neural network's bottleneck to follow an interpretable, structured pattern. The encoder maps raw facial landmarks to this factorized space, while the decoder reconstructs realistic facial coordinates from the latent factors.

Dataset and Scale

The model was trained and validated on a large-scale, real-world dataset:

  • Environment: A 400-seat theater equipped with four infrared (IR) cameras and illuminators, allowing for unobtrusive recording in total darkness.
  • Scope: Over 150 viewings of 9 mainstream films (e.g., Star Wars: The Force Awakens, Inside Out).
  • Volume: Approximately 16 million faces from 3,179 unique audience members.
  • Preprocessing: 2D landmarks were mapped to a 3D mesh ("Face Frontalization") to isolate expressive deformations from head rotation.

Key Results and Insights

The FVAE significantly outperformed both linear and non-linear tensor factorization baselines. Specifically, it achieved a Mean Squared Error (MSE) of 232.3, compared to 1158.1 for linear TF.

Predictive Power

A remarkable capability of the FVAE is its ability to predict future reactions. After observing an individual for just the first 5-10 minutes of a movie—enough time to estimate their personal affinity factor ($U_i$)—the model can predict their facial expressions for the remainder of the film with high accuracy. This "10-minute threshold" aligns with film theory regarding the time required for an audience to become "immersed" in a story.

Interpretability and Clustering

Unlike standard VAEs, the latent dimensions of the FVAE naturally align with semantic concepts like "smiling" or "laughing." Furthermore, by clustering the $U$ matrix, researchers can automatically identify distinct "reaction profiles" within the audience, distinguishing between hearty laughers and more reserved viewers.

Conclusion and Future Work

The Factorized Variational Autoencoder provides a powerful new tool for understanding collective human behavior. While highly effective, future iterations could benefit from incorporating direct movie content (audio/visual features) as conditional inputs. Additionally, addressing residual skew from extreme head poses remains an area for refinement. By combining structured priors with deep generative models, the FVAE paves the way for more nuanced and predictive models of the human experience.

Summary updated

BibTeX
@inproceedings{deng2017factorized,
  author = {Zhiwei Deng and Rajitha Navarathna and Peter Carr and Stephan Mandt and Yisong Yue and Iain A. Matthews and Greg Mori},
  title = {{Factorized Variational Autoencoders for Modeling Audience Reactions to Movies}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  doi = {10.1109/cvpr.2017.637},
}
Figure