Dyadformer: A Multi-modal Transformer for Long-Range Modeling of Dyadic Interactions

David Curto, Albert Clapés, Javier Selva, Sorina Smeureanu, Júlio C. S. Jacques Júnior, David Gallardo-Pujol, Georgina Guilera, David Leiva, Thomas B. Moeslund, Sergio Escalera, Cristina Palmero

Introduction

Personality computing—the automated inference of traits such as the "Big Five" (OCEAN)—has traditionally treated individuals as isolated entities, often analyzing short, 3-second snippets. However, human behavior is inherently contextual and social. How an individual acts is influenced by their interlocutor, the nature of their relationship, and the specific situational context. Furthermore, personality traits often manifest through long-term behavioral patterns that are not captured in short-term observations.

The Dyadformer addresses two critical gaps in the field: the Dyadic Gap, which ignores the mutual influence between two people (a dyad), and the Temporal Gap, which relies on short-term observations that miss long-range dependencies.

Methods

The Dyadformer is a novel two-stream Transformer-based architecture designed to jointly process video, audio, and metadata for both participants in an interaction. The model employs a hierarchical attentional structure to capture complex dependencies:

  1. Cross-modal Stage: For each participant, the model utilizes cross-attention to fuse audio and video features, allowing acoustic cues to enrich the visual stream.
  2. Cross-subject Stage: This core innovation uses a "double cross-attention" mechanism. Features from Participant A serve as the "query" for Participant B’s "memory" (and vice versa), explicitly modeling the interpersonal dynamics and reactions between the pair.
  3. Long-Range Modeling: The architecture scales to 30-second windows (12 chunks), significantly longer than the standard 3-second windows used in previous research.
  4. Weight Sharing: Parallel encoders for both participants share weights to maintain efficiency and prevent overfitting on smaller datasets.
The Dyadformer architecture featuring cross-modal and cross-subject attention stages.

Experimental Setup

The model was evaluated on the UDIVA v0.5 dataset, a multi-modal benchmark of face-to-face dyadic interactions. The dataset includes four distinct tasks: Talk (getting to know each other), Lego (collaborative building), Ghost (competitive gaming), and Animals (collaborative gaming). Features were extracted using pre-trained R(2+1)D for video and VGGish for audio, supplemented by 21 handcrafted metadata features (e.g., age, gender).

Key Results

The Dyadformer achieved state-of-the-art (SOTA) performance on the UDIVA dataset, reducing the participant-level Mean Squared Error (MSE) from 0.812 to 0.722—a 12.5% improvement over previous methods.

Ablation studies highlighted the importance of the cross-subject attention layer and temporal depth. Performance improved significantly when increasing the sequence length from 6 chunks (15s) to 12 chunks (30s), confirming that personality is a "slow" signal requiring temporal depth to decode accurately.

Performance comparison across different architectures and sequence lengths (T).

Discussion and Insights

A primary insight from this work is that personality is inherently social. Modeling the partner's behavior helps predict the target's personality, particularly for traits like Agreeableness, which are fundamentally cooperative.

The inclusion of situational and demographic metadata was also found to be crucial. Without metadata, models often suffer from "regression to the mean," predicting average scores for all participants. Metadata acts as an anchor, enabling the model to make more specific and accurate predictions.

While the Dyadformer shows significant promise, limitations remain. The model currently relies on pre-computed features from fixed backbones; future work could explore end-to-end training to better coordinate low-level cues with high-level interaction modeling. Additionally, further research is needed to determine how these dyadic patterns generalize across different cultures and interaction types.

Summary updated

Abstract

Personality computing has become an emerging topic in computer vision, due to the wide range of applications it can be used for. However, most works on the topic have focused on analyzing the individual, even when applied to interaction scenarios, and for short periods of time. To address these limitations, we present the Dyadformer, a novel multi-modal multi-subject Transformer architecture to model individual and interpersonal features in dyadic interactions using variable time windows, thus allowing the capture of long-term interdependencies. Our proposed cross-subject layer allows the network to explicitly model interactions among subjects through attentional operations. This proof-of-concept approach shows how multi-modality and joint modeling of both interactants for longer periods of time helps to predict individual attributes. With Dyadformer, we improve state-of-the-art self-reported personality inference results on individual subjects on the UDIVA v0.5 dataset.
BibTeX
@inproceedings{curto2021dyadformer,
  author = {David Curto and Albert Clapés and Javier Selva and Sorina Smeureanu and Júlio C. S. Jacques Júnior and David Gallardo-Pujol and Georgina Guilera and David Leiva and Thomas B. Moeslund and Sergio Escalera and Cristina Palmero},
  title = {{Dyadformer: A Multi-modal Transformer for Long-Range Modeling of Dyadic Interactions}},
  booktitle = {ICCVW},
  year = {2021},
  url = {https://openreview.net/forum?id=3UaBlRWzFWD},
}

Loading related content...

Figure