DIM: Dyadic Interaction Modeling for Social Behavior Generation

Minh Tran, Di Chang, Maksim Siniukov, Mohammad Soleymani

Abstract

Human conversation is a bidirectional exchange, yet most generative models treat listeners as reactive agents. We present Dyadic Interaction Modeling (DIM), a framework that jointly pre-trains on speaker and listener motions using masked modeling and contrastive learning. By capturing the shared social context, DIM generates realistic, diverse 3D facial behaviors that significantly outperform existing state-of-the-art models in both realism and contextual alignment.

Introduction

Generating lifelike nonverbal behavior for digital humans remains a significant challenge. Most existing models treat the listener as a "reactive agent"—a black box that takes the speaker's voice or face as input and produces a reflexive response, such as a simple head nod.

In reality, human communication is dyadic: a two-way street where both parties constantly influence each other. A listener is an active participant in a shared context. Previous models often failed to capture this nuance, resulting in robotic or repetitive motions that lacked the diversity and emotional alignment found in real-life conversations. DIM addresses this by treating conversation as a bidirectional "dance," learning a unified representation of the interaction itself.

Methodology

The DIM framework employs a two-stage approach to capture the complexity of social interactions.

1. Motion Discretization

Continuous 3D facial parameters (extracted via the EMOCA model) are first encoded into discrete "motion units" using a VQ-VAE (Vector Quantized Variational Autoencoder). This discretization is critical for generating non-deterministic, diverse behaviors, preventing the model from "averaging" possible motions into a static or blurry output.

2. Joint Pre-training

The core of the framework is a self-supervised pre-training stage on the massive CANDOR dataset. The model is trained to jointly represent speaker and listener motions using a masked modeling strategy. By hiding segments of the motion and requiring the model to reconstruct them, and by employing a contrastive loss to link specific speaker-listener pairs, the model learns the deep dependencies inherent in dyadic exchanges.

The DIM pre-training architecture uses joint encoders and decoders to learn a unified representation of speaker and listener behaviors through masking and contrastive learning.

3. Task-Specific Fine-tuning

Following pre-training, the model can be fine-tuned for specialized tasks. In the DIM-Listener configuration, the listener's input is entirely masked, forcing the model to predict a full sequence of listener motions based solely on the speaker's audio and visual cues. The predicted discrete codes are then decoded into 3D parameters and rendered into video.

During fine-tuning for listener generation, the speaker's video and audio drive the model to predict the listener's discrete motion codes, which are then decoded into 3D parameters and rendered into video.

Datasets

  • CANDOR: Over 850 hours of naturalistic dyadic conversations used for self-supervised pre-training.
  • ViCo & LM_Listener: Benchmarks for evaluating speaker-driven listener generation.
  • BiWi: Used for evaluating speech-driven speaker generation (DIM-Speaker).

Key Insights and Results

DIM establishes a new state-of-the-art across multiple benchmarks by prioritizing context over reaction. By learning what a "good" speaker-listener pair looks like during pre-training, the model develops a form of "social intelligence."

  • Quantitative Performance: On the ViCo dataset, DIM achieved a Frechet Distance (FD) of 23.88 for expressions, nearly 1.5x better than the previous best model (L2L). It also demonstrated superior diversity (SID) and synchronization (P-FD).
  • Qualitative Realism: User studies confirm that DIM produces more realistic and contextually appropriate outputs. The model successfully generates complex social signals, such as head-shaking and eye-blinking, that align with the speaker's sentiment.
  • Bidirectional Utility: Despite being designed for dyadic interaction, the model also excels at generating speaker motions (DIM-Speaker), outperforming specialized models in that domain.

Limitations and Future Work

While DIM excels at motion generation, the photorealistic rendering process (converting 3D parameters to pixels) remains a challenge. Current renderers like PIRenderer can produce occasional distortions and often require person-specific fine-tuning. Additionally, while the EMOCA/FLAME representation is efficient, future work may explore higher-density 3D meshes to capture subtler micro-expressions and finer facial details.

Summary updated

BibTeX
@inproceedings{tran2024dim,
  author = {Minh Tran and Di Chang and Maksim Siniukov and Mohammad Soleymani},
  title = {{DIM: Dyadic Interaction Modeling for Social Behavior Generation}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72913-3\_27},
}
Figure