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?"
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."
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