Towards General-Purpose Speech Abilities for Large Language Models Using Unpaired Data

Yassir Fathullah, Chunyang Wu, Egor Lakomkin, Junteng Jia, Yuan Shangguan, Jay Mahadeokar, Ozlem Kalinli, Christian Fuegen, Mike Seltzer · OpenReview

Abstract

In this work, we extend the instruction-tuned Llama-2 model with end-to-end general-purpose speech processing and reasoning abilities while maintaining the wide range of original LLM capabilities, without using any carefully curated paired data. The resulting end-to-end model, named AudioChatLlama, can utilize audio prompts as a replacement for text and sustain a conversation. Such a model also has extended cross-modal capabilities such as being able to perform spoken question answering (QA), speech translation, and audio summarization amongst many other closed and open-domain tasks. This is unlike prior approaches in speech, in which LLMs are extended to handle audio for a limited number of pre-designated tasks. On both synthesized and recorded speech QA test sets, evaluations show that our end-to-end approach is on par with or outperforms cascaded systems (speech recognizer + LLM) in terms of modeling the response to a prompt. Furthermore, unlike cascades, our approach can interchange text and audio modalities and intrinsically utilize prior context in a conversation to provide better results.

Introduction

Large Language Models (LLMs) have revolutionized text-based reasoning, yet they remain largely "deaf" to direct audio input. The conventional solution is a cascaded system, where a Speech-to-Text (ASR) engine transcribes audio into text for the LLM to process. However, these systems suffer from two critical weaknesses: error propagation, where ASR inaccuracies lead to LLM failure, and information loss, as text transcriptions discard paralinguistic cues like tone and emotion.

Developing true end-to-end models that "hear" audio directly typically requires massive, human-curated datasets of spoken questions paired with text answers. Such data is rare and expensive. AudioChatLlama addresses this by aligning an audio encoder to a frozen LLM using readily available, unpaired ASR data.

Methodology

The researchers adopted a minimalist architecture to preserve the pre-existing intelligence of the foundation model.

Architecture

The system utilizes a frozen Llama-2-chat (7B) model. By keeping the LLM frozen, the model retains its ability to reason and converse without catastrophic forgetting. A trainable Conformer-based encoder was added to transform raw audio signals into a sequence of embeddings compatible with the LLM's input space.

The AudioChatLlama architecture integrates a Conformer-based audio encoder with a frozen Large Language Model, allowing for prefix and suffix text embeddings.

The Modal-Invariance Trick

The core innovation is the training objective. Instead of requiring complex speech-reasoning pairs, the model was trained on standard ASR data (Audio + Transcript). The transcript is fed into Llama-2 to generate a "gold standard" response. The audio encoder is then trained to produce embeddings that trigger the same response from the LLM. This teaches the model that the audio signal for a sentence is semantically equivalent to its text counterpart.

Evaluation and Results

AudioChatLlama was trained on the English split of Multilingual LibriSpeech (MLS) and evaluated on benchmarks including TriviaQA-TTS (synthetic speech) and RealSQA (human-recorded questions).

Robustness to Acoustic Ambiguity

A key advantage of this end-to-end approach is its resilience to noise. Because the audio encoder provides continuous embeddings rather than discrete text tokens, the LLM can leverage its internal world knowledge to resolve acoustic ambiguities that would cause a standard ASR engine to fail.

A comparison between AudioChatLlama and a cascaded ASR+LLM system shows that AudioChatLlama correctly interprets prompts even when the ASR transcription is flawed.

In high-error scenarios (ASR word error rates ~31%), AudioChatLlama achieved a 48% success rate in answering questions, significantly outperforming the 42% achieved by the cascaded baseline.

Zero-Shot Task Transfer and Modality Switching

Because the underlying LLM remains unchanged, AudioChatLlama inherits all text-based capabilities. It can perform audio summarization, translation, and spoken QA without specific training for those tasks. Additionally, the model supports seamless modality switching, allowing users to mix text and audio inputs within a single multi-turn conversation while maintaining perfect context.

Conclusion

AudioChatLlama demonstrates that general-purpose speech processing can be integrated into LLMs without the need for specialized, expensive datasets. By leveraging unpaired ASR data through a modal-invariance objective, the model achieves superior robustness compared to cascaded systems while maintaining the full reasoning power of the original LLM. Future work will explore larger self-supervised encoders and training on longer conversational segments to further refine audio understanding.

Summary updated

BibTeX
@inproceedings{fathullah2024towards,
  author = {Yassir Fathullah and Chunyang Wu and Egor Lakomkin and Junteng Jia and Yuan Shangguan and Jay Mahadeokar and Ozlem Kalinli and Christian Fuegen and Mike Seltzer},
  title = {{Towards General-Purpose Speech Abilities for Large Language Models Using Unpaired Data}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2024},
  url = {https://openreview.net/forum?id=1fognwdmGh},
}
Figure