Temporal Convolution Networks with Positional Encoding for Evoked Expression Estimation

VanThong Huynh, Guee-Sang Lee, Hyung-Jeong Yang, Soo-Huyng KimarXiv 2021 · DOI

TL;DR

Researchers from Chonnam National University won the 2021 Evoked Expressions from Videos (EEV) challenge by swapping traditional recurrent architectures for Temporal Convolutional Networks (TCNs). By combining these TCNs with positional encoding, they successfully modeled long-term emotional dependencies in video while elegantly handling missing data annotations.

What Problem Does This Paper Address?

Predicting the "evoked expression"—the emotional response a video elicits in a viewer—is a complex task for AI. Unlike simple facial expression recognition, this requires understanding the interplay between visual scenes and audio over time.

Two major hurdles exist in this field:

  1. Temporal Modeling: Traditional Recurrent Neural Networks (RNNs) are often slow to train and struggle with long-term dependencies due to their sequential nature.
  2. Missing Data: Large-scale datasets like the EEV dataset often have "gaps" where annotations are missing for certain timestamps. Simply skipping these frames breaks the temporal continuity that models rely on to understand the flow of a video.

Methods

The authors proposed a two-stage pipeline: feature extraction followed by temporal prediction.

1. Feature Extraction

To represent the video content, the team used high-performance pre-trained models:

  • Visual: They used EfficientNet-B0 (pre-trained on ImageNet) to extract a 1280-dimensional feature vector from video frames sampled at 6 Hz.
  • Audio: They used a MobileNet-based distilled version of TRILL (TRIpLet Loss network) to extract 2048-dimensional vectors from audio segments.

2. The Temporal Module (TCN)

Instead of using an RNN (like an LSTM), the authors deployed a Temporal Convolutional Network (TCN). TCNs use 1D dilated causal convolutions, which allow the model to have a massive "receptive field" (looking far back into the past) without the memory overhead or sequential bottlenecks of RNNs.

Figure 1. An overview of our architecture.

3. Positional Encoding

To solve the "missing annotation" problem, the authors borrowed a trick from Transformer models: Positional Encoding. When timestamps with no labels were discarded during training, the positional encoding ensured the model still knew when a frame occurred relative to the rest of the video, maintaining the structural integrity of the sequence.

Figure 2. The details of TCN residual block.

Datasets

The study utilized the Evoked Expressions from Videos (EEV) dataset, a large-scale benchmark containing YouTube videos across diverse genres (music, games, films, etc.).

  • Scale: 2,971 training videos, 737 validation, and 1,315 testing.
  • Labels: 15 distinct expressions (e.g., amusement, awe, concentration, sadness) annotated at 6 Hz with values between 0 and 1.

Key Insights and Ideas

  • TCNs > RNNs for Video: The TCN architecture proved superior for this task because its parallelizable nature makes it more efficient, and its dilated convolutions are better at capturing long-range temporal patterns in video.
  • The Power of Audio: Interestingly, the audio-only models consistently outperformed the visual-only models. The authors suggest this is because the audio representation accounted for the entire time interval, whereas the visual features were extracted from just a single frame per interval.
  • Positional Encoding is Essential: The results showed a significant performance drop when positional encoding was removed. It acts as a "temporal anchor," allowing the model to handle discontinuous data without losing the sense of time.

Key Results

The model achieved state-of-the-art performance, taking first place in the EEV 2021 challenge. The primary metric was the Pearson correlation coefficient ($\rho$), which measures the linear relationship between predicted and ground-truth emotional scores.

Table 1. The comparison of our models in term of Mρ on public and private test set. dp indicates dropout value in TCN residual block.

The best single model (Audio + Positional Encoding, $d_p=0.2$) reached a Pearson correlation of 0.05477 on the private test set. While an ensemble of visual and audio models improved the public test score, the single audio model remained the top performer on the final private leaderboard.

Limitations and Future Work

The authors identified two main areas for improvement:

  1. Visual Representation: Currently, visual features are pulled from a single frame. Future work will look at incorporating visual information from the entire time interval to match the richness of the audio features.
  2. Modality Interaction: While the current model concatenates audio and visual features, the authors want to investigate more sophisticated ways for these two modalities to "talk" to each other to better capture complex emotional triggers.

Summary updated

BibTeX
@misc{huynh2021temporal,
  author = {VanThong Huynh and Guee-Sang Lee and Hyung-Jeong Yang and Soo-Huyng Kim},
  title = {{Temporal Convolution Networks with Positional Encoding for Evoked Expression Estimation}},
  year = {2021},
  eprint = {2106.08596},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.08596},
}
Figure