TRAMBA: A Hybrid Transformer and Mamba Architecture for Practical Audio and Bone Conduction Speech Super Resolution and Enhancement on Mobile and Wearable Platforms

Yueyuan Sui, Minghui Zhao, Junxi Xia, Xiaofan Jiang, Stephen Xia

Abstract

This paper presents TRAMBA, a lightweight, hybrid deep learning architecture designed for high-quality speech enhancement and super-resolution on resource-constrained wearable platforms. TRAMBA combines the strengths of Transformers and Mamba (Selective State Space Models) to reconstruct high-fidelity audio from noise-immune but bandwidth-limited sensors, such as bone conduction microphones (BCM) and accelerometers. Experimental results demonstrate that TRAMBA achieves state-of-the-art performance with a memory footprint under 20MB, enabling up to a 160% improvement in wearable battery life through reduced sampling rates.

Introduction

Capturing clear speech in noisy environments remains a significant challenge for mobile and wearable devices. While traditional over-the-air (OTA) microphones provide high-fidelity capture, they are susceptible to ambient noise. Vibration-based sensors, such as BCMs, offer physical noise immunity but suffer from severe high-frequency attenuation, leading to muffled audio. Existing super-resolution solutions often face a trade-off between the high performance of computationally expensive Generative Adversarial Networks (GANs) and the efficiency of lower-performing U-Net architectures.

Comparison of traditional over-the-air microphones versus TRAMBA's bone-conduction approach.

Proposed Architecture: TRAMBA

TRAMBA introduces a hybrid architecture based on a modified U-Net. At its core, it utilizes Mamba at the bottleneck to capture long-range dependencies with significantly lower computational overhead than standard Transformers. To further enhance efficiency, the authors introduce Scale-only Attention-based Feature-wise Linear Modulation (SAFiLM) in the downsampling and upsampling blocks. This layer uses self-attention to learn scaling factors for audio features, capturing complex patterns without excessive memory usage.

System Optimization and Training

To address data scarcity, TRAMBA employs a two-step training strategy: pre-training on large-scale OTA datasets followed by rapid fine-tuning (approximately 15 minutes) on user-specific bone-conduction data. Furthermore, the system is designed to operate on audio sampled at just 4kHz, reconstructing missing frequencies in post-processing to minimize power consumption during data acquisition and transmission.

Key Results

TRAMBA demonstrates superior efficiency and performance across multiple metrics. With only 5.2 million parameters (~19.7 MB), it is significantly smaller than state-of-the-art GANs like Aero. It achieves up to a 465x inference speedup compared to heavy generative models, running in under 30ms on mobile hardware like the iPhone 12.

Performance comparison of TRAMBA against baseline models across PESQ, STOI, model size, and inference time.

In terms of audio quality, TRAMBA outperforms U-Net baselines by 7.3% in PESQ and 1.8% in STOI for BCM speech enhancement. Notably, the reduction in sampling rate to 4kHz translates to a battery life improvement of up to 160% for wearable devices. In high-noise environments, such as construction sites, TRAMBA-enhanced audio reduced the Word Error Rate (WER) from 86.59% (raw) to 14.63%.

Conclusion and Future Work

TRAMBA provides a practical solution for high-quality speech enhancement on wearables by balancing performance and resource efficiency. Future work will focus on addressing the performance gap observed in higher-pitched voices and enabling on-device fine-tuning to further enhance user privacy and accessibility.

Summary updated

BibTeX
@article{sui2024tramba,
  author = {Yueyuan Sui and Minghui Zhao and Junxi Xia and Xiaofan Jiang and Stephen Xia},
  title = {{TRAMBA: A Hybrid Transformer and Mamba Architecture for Practical Audio and Bone Conduction Speech Super Resolution and Enhancement on Mobile and Wearable Platforms}},
  journal = {Proc. ACM Interact. Mob. Wearable Ubiquitous Technol.},
  year = {2024},
  doi = {10.1145/3699757},
}
Figure