DA-Mamba: Dialogue-aware selective state-space model for multimodal engagement estimation

Shenwei Kang, Xin Zhang, Wen Liu, Bin Li, Yujie Liu, Bo GaoarXiv 2025 · DOI

Abstract

Estimating human engagement in conversations is essential for developing responsive AI systems. While Dialogue-Aware Transformers (DAT) currently lead in accuracy, their quadratic complexity limits scalability for long-form or multi-party dialogues. We introduce DA-Mamba, a novel architecture that leverages Selective State-Space Models (SSMs) to achieve linear complexity. By integrating modality-group fusion and partner-group modeling, DA-Mamba achieves state-of-the-art performance (0.66 Global CCC) while reducing GPU memory usage by up to 39% and avoiding the out-of-memory errors common in Transformer-based models.

Introduction

Human engagement estimation—the process of quantifying a person's involvement in a conversation through facial expressions, vocal cues, and gestures—is a cornerstone of affective computing. It enables AI tutors, healthcare assistants, and social robots to respond naturally to human social signals.

The current state-of-the-art, the Dialogue-Aware Transformer (DAT), effectively models multi-modal and multi-participant interactions. However, the self-attention mechanism at its core possesses $O(N^2)$ complexity. As dialogue length increases, memory and processing requirements grow quadratically, creating a "scalability wall" that hinders real-time deployment on edge devices or the analysis of extended interactions.

Methodology

DA-Mamba addresses these limitations by replacing standard Transformer layers with Mamba-based Selective State-Space Models. The architecture is built upon several key innovations:

  1. Hybrid Mamba Blocks: The model utilizes a hybrid design combining local chunked attention for immediate behavioral cues with a global SSM branch for long-range context, maintaining $O(N)$ linear complexity.
  2. Modality-Group Fusion: Features are categorized into independent "Audio" (e.g., wav2vec2, Egemapsv2) and "Visual" (e.g., CLIP, OpenFace, Openpose) streams. These are processed by dedicated Mamba stacks before alignment.
  3. Partner-Group Modeling: To capture the reciprocal nature of engagement, a "Context Mamba" processes the behaviors of conversational partners. A lightweight cross-attention mechanism then allows the target's features to attend to this collective partner context.
  4. Audio-Visual Alignment: A symmetric InfoNCE loss is employed to ensure temporal synchronization and consistency between audio and visual representations.
The DA-Mamba architecture, illustrating the flow from raw modalities through Modality-Group Fusion and Partner-Group Fusion to the final Dialogue-Aware Encoder.

Experimental Evaluation

The model was benchmarked against three datasets:

  • NoXi Base: 150 dyadic conversations in English, French, and German.
  • NoXi-Add: A cross-lingual test set featuring dialogues in Arabic, Italian, Indonesian, and Spanish.
  • MPIIGroupInteraction (MPIIGI): A complex multi-party dataset involving group discussions with four participants.

Key Results and Discussion

DA-Mamba demonstrates that linear-complexity models can match or exceed the performance of Transformers in social signal processing while being significantly more efficient.

Performance and Efficiency

DA-Mamba achieved a Global Concordance Correlation Coefficient (CCC) of 0.66, surpassing the previous DAT baseline of 0.64. More importantly, it exhibited superior computational efficiency. At a sequence length of 96 frames, DA-Mamba required 39% less GPU memory than DAT. While DAT encountered "Out of Memory" (OOM) errors at sequence lengths of 128 and 192, DA-Mamba continued to operate with only marginal increases in memory consumption.

Memory usage and parameter comparison between DAT and DA-Mamba. Note the OOM (Out of Memory) failures for DAT at higher sequence lengths.

The Importance of Context

Ablation studies highlighted that "Partner-Group Fusion" is critical for accuracy. Engagement is inherently dyadic or group-based; modeling the partner's reactions (such as nodding or speaking) significantly improves the estimation of the target's engagement level. Furthermore, DA-Mamba achieves these results with roughly 28.7 million parameters, a 32% reduction compared to DAT's 42.5 million.

Conclusion

DA-Mamba represents a significant step toward efficient, real-time multimodal engagement estimation. By achieving state-of-the-art results with reduced parameter counts and linear memory scaling, it paves the way for deploying sophisticated social AI on resource-constrained edge hardware. Future work will focus on end-to-end training from raw signals and further latency benchmarking on specialized mobile processors.

Summary updated

BibTeX
@misc{kang2025da,
  author = {Shenwei Kang and Xin Zhang and Wen Liu and Bin Li and Yujie Liu and Bo Gao},
  title = {{DA-Mamba: Dialogue-aware selective state-space model for multimodal engagement estimation}},
  year = {2025},
  eprint = {2509.17711},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.17711},
}
Figure