Skip to main content
QUICK REVIEW

[Paper Review] SALMONN: Towards Generic Hearing Abilities for Large Language Models

Changli Tang, Wenyi Yu|arXiv (Cornell University)|Oct 20, 2023
Music and Audio ProcessingComputer Science18 citations
TL;DR

SALMONN is a speech-audio-language-music open neural network that integrates dual auditory encoders with an LLM to perceive and reason over general audio inputs, enabling both trained and emergent cross-modal abilities.

ABSTRACT

Hearing is arguably an essential ability of artificial intelligence (AI) agents in the physical world, which refers to the perception and understanding of general auditory information consisting of at least three types of sounds: speech, audio events, and music. In this paper, we propose SALMONN, a speech audio language music open neural network, built by integrating a pre-trained text-based large language model (LLM) with speech and audio encoders into a single multimodal model. SALMONN enables the LLM to directly process and understand general audio inputs and achieve competitive performances on a number of speech and audio tasks used in training, such as automatic speech recognition and translation, auditory-information-based question answering, emotion recognition, speaker verification, and music and audio captioning etc. SALMONN also has a diverse set of emergent abilities unseen in the training, which includes but is not limited to speech translation to untrained languages, speech-based slot filling, spoken-query-based question answering, audio-based storytelling, and speech audio co-reasoning etc. The presence of cross-modal emergent abilities is studied, and a novel few-shot activation tuning approach is proposed to activate such abilities. To our knowledge, SALMONN is the first model of its type and can be regarded as a step towards AI with generic hearing abilities. The source code, model checkpoints and data are available at https://github.com/bytedance/SALMONN.

Motivation & Objective

  • Motivate the need for AI that can perceive and understand general auditory information beyond speech alone (speech, audio events, and music).
  • Propose a single multimodal LLM, SALMONN, that fuses speech and audio encoders with an LLM to handle diverse audio tasks.
  • Investigate emergent cross-modal abilities and how to activate them via a few-shot activation tuning stage.

Proposed method

  • Use a dual auditory encoder setup by combining Whisper (speech) and BEATs (non-speech audio) encoders into a single model.
  • Employ a window-level Q-Former as a connection module to produce augmented audio tokens aligned with the LLM input space.
  • Fine-tune with LoRA adapters to align the augmented input space with the LLM output space while keeping the LLM and encoders frozen.
  • Pre-train on speech recognition and audio captioning data to establish cross-modal alignment between audio and text.
  • Conduct instruction tuning on a suite of speech, audio, and music tasks to shape task-specific behaviors.
  • Introduce an activation tuning stage that lowers the LoRA scaling to awaken cross-modal emergent abilities without overfitting trained tasks.

Experimental results

Research questions

  • RQ1Can a single model perceive and understand general audio inputs comprising speech, audio events, and music?
  • RQ2Do cross-modal emergent abilities exist in such a model, and can they be activated with a lightweight training technique?
  • RQ3How does activation tuning affect performance on trained tasks versus untrained cross-modal tasks?
  • RQ4What data, prompts, and architectural choices are needed to align audio encodings with an LLM for end-to-end reasoning?

Key findings

  • SALMONN achieves competitive results on trained tasks like ASR, translation, and audio captioning.
  • Activation tuning enables emergent abilities such as audio-based storytelling and speech-audio co-reasoning, with improved performance on level-2 and level-3 tasks.
  • Discounting the LoRA scaling factor at test time can reveal cross-modal reasoning abilities in a few-shot manner.
  • Activation tuning increases the following rate on challenging tasks (e.g., SQQA, Story, SAC) considerably.
  • The model retains strong performance on trained tasks while gaining new emergent capabilities after activation tuning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.