MultiPar-T: Multiparty-Transformer for Capturing Contingent Behaviors in Group Conversations

Dong Won Lee, Yubin Kim, Rosalind W. Picard, Cynthia Breazeal, Hae Won Park

Introduction

Human social interaction is fundamentally "interactively contingent." We do not act in isolation; rather, we react to the cues of others in a coordinated dance of turns, nods, and smiles. In multiparty group settings, this complexity grows exponentially. Capturing this "social glue" is critical for AI agents intended for education or workplace productivity, yet standard models often fail to account for these pairwise dynamics.

Multipar-T (Multiparty-Transformer) is a novel architecture designed to model these group dynamics by explicitly capturing contingent behaviors. By introducing a "Crossperson Attention" mechanism, the model significantly outperforms previous state-of-the-art methods in predicting engagement, particularly in detecting rare moments of disengagement.

Methodology: Modeling Contingency via Crossperson Attention

The core innovation of Multipar-T is the Crossperson Attention (CPA) module. While standard cross-attention typically aligns different modalities (e.g., video and text), CPA aligns the behavioral sequences of two different individuals. It implicitly asks: "How is Person A’s current behavior contingent on Person B’s past behavior?"

The MultiPar-T architecture components: (a) Crossperson Attention (CPA) mechanism, (b) the Crossperson Transformer block, and (c) the complete Multiparty-Transformer system.

Key Architectural Features:

  • Directional Modeling: The model sets the "Query" as the target person and the "Key/Value" as the other person. This prioritizes aspects of the target's behavior that are specific responses to others. Research found that this "reverse" direction—looking at how the self is influenced by others—is highly informative for engagement.
  • Hybrid Structure: Multipar-T combines CPA modules with a Self-Transformer to handle individual, non-contingent behaviors. These are then processed by an LSTM-based temporal classifier to capture how interactions evolve over time.
  • Loss Functions: To address extreme class imbalance, the authors employed Focal Loss and oversampling to force the model to focus on hard-to-classify, infrequent examples of disengagement.

Dataset and the Challenge of Imbalance

The model was evaluated using the RoomReader dataset, a multimodal corpus of online student-tutor interactions. The dataset presents a significant challenge: it is extremely skewed, with 80.2% of samples labeled as "highly engaged" and only 0.2% representing "high disengagement."

Left: Distribution of engagement levels in the RoomReader dataset showing extreme imbalance. Right: Comparison of Macro-F1 scores using different loss functions and sampling techniques.

Key Results

Multipar-T outperformed state-of-the-art baselines (including GATs and MulT) by 5.2% in average F-1 scores. Its most significant success was in the "High Disengagement" category, where it achieved an F-1 score of 0.800. In contrast, many baseline models failed to detect these rare instances entirely, scoring zero.

Furthermore, the model provides a level of explainability; by visualizing attention weights, researchers can identify exactly when the model noticed a contingency, such as one person reacting to another's laughter. Despite its complexity, the model maintains an inference time of approximately 0.098 seconds, making it viable for real-time applications.

Conclusion and Future Work

Multipar-T demonstrates that social context is a primary signal rather than just auxiliary data. By modeling how individuals react to one another, the system achieves superior predictive power for group engagement. Future work will look to expand the model to handle variable group sizes and incorporate additional modalities such as language and acoustics to create a richer representation of group dynamics.

Summary updated

BibTeX
@inproceedings{lee2023multipar,
  author = {Dong Won Lee and Yubin Kim and Rosalind W. Picard and Cynthia Breazeal and Hae Won Park},
  title = {{MultiPar-T: Multiparty-Transformer for Capturing Contingent Behaviors in Group Conversations}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.24963/ijcai.2023/433},
}
Figure