DuplexMamba: Enhancing Real-time Speech Conversations with Duplex and Streaming Capabilities

Xiangyu Lu, Wang Xu, Haoyu Wang, Hongyun Zhou, Haiyan Zhao +3 more
2/16/2025
cs.CL

No official code found. Best implementation: khfs/DuplexMamba (18 stars, GPL-3.0, last commit 2026-03-06).

Abstract

Real-time speech conversation is essential for natural and efficient human-machine interactions, requiring duplex and streaming capabilities. Traditional Transformer-based conversational chatbots operate in a turn-based manner and exhibit quadratic computational complexity that grows as the input size increases. In this paper, we propose DuplexMamba, a Mamba-based end-to-end multimodal duplex model for speech-to-text conversation. DuplexMamba enables simultaneous input processing and output generation, dynamically adjusting to support real-time streaming. Specifically, we develop a Mamba-based speech encoder and adapt it with a Mamba-based language model. Furthermore, we introduce a novel duplex decoding strategy that enables DuplexMamba to process input and generate output simultaneously. Experimental results demonstrate that DuplexMamba successfully implements duplex and streaming capabilities while achieving performance comparable to several recently developed Transformer-based models in automatic speech recognition (ASR) tasks and voice assistant benchmark evaluations. Our code and model are released.

View on arXivView PDF

Code Implementations(1)

khfs/DuplexMambaCommunity100%
GPL-3.0
185C, C++Mar 5, 20257 months agoGPL-3.0

Similar Papers

Cite this paper

@article{lu2025duplexmamba,
  title  = {DuplexMamba: Enhancing Real-time Speech Conversations with Duplex and Streaming Capabilities},
  author = {Xiangyu Lu and Wang Xu and Haoyu Wang and Hongyun Zhou and Haiyan Zhao and Conghui Zhu and Tiejun Zhao and Muyun Yang},
  year   = {2025},
  eprint = {2502.11123},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.11123v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.11123.svg)](https://codeofpaper.com/paper/2502.11123)

Discussion