SAM Audio: Segment Anything in Audio

Bowen Shi, Andros Tjandra, John Hoffman, Helin Wang, Yi-Chiao Wu, Luya Gao, Julius Richter, Matt Le, Apoorv Vyas, Sanyuan Chen, Christoph Feichtenhofer, Piotr Dollár, Wei-Ning Hsu, Ann Lee · DOI

Abstract

SAM Audio is a foundation model for general audio source separation capable of isolating any sound using text descriptions, visual masks, or temporal spans. By employing a generative approach with a Diffusion Transformer (DiT) and flow matching, SAM Audio unifies specialized separation tasks into a single controllable framework. Trained on 1 million hours of audio-video data, it achieves state-of-the-art performance across speech, music, and general sound effects, outperforming specialized baselines in both objective and human-centric evaluations.

Introduction

Traditionally, audio source separation has been a fragmented field. Existing systems often fall into two categories: "promptless" models designed for fixed categories (e.g., vocal removal) and "prompted" models that typically support only a single input type, such as text. These systems struggle with "open-domain" mixtures—real-world sounds that do not fit into neat taxonomies—and offer limited user control. Furthermore, standard metrics like the Signal-to-Distortion Ratio (SDR) often fail to correlate with human perception. SAM Audio addresses these challenges by creating a universal, highly controllable foundation model evaluated against human-centric benchmarks.

Methodology

SAM Audio departs from traditional discriminative masking (predicting binary spectrogram masks) in favor of a generative approach.

Architecture and Latent Space

The model utilizes a Diffusion Transformer (DiT) backbone trained with flow matching. This allows the model to learn the underlying distribution of sound sources, effectively handling the "one-to-many" problem where a single mixture could contain several plausible versions of a target sound. To ensure high reconstruction quality with low computational overhead, the model operates in the latent space of a DAC-VAE, which compresses audio into a compact 25Hz representation.

Multimodal Controllability

SAM Audio provides precise control through three primary prompting mechanisms:

  • Text (What): A T5-base encoder processes free-form descriptions (e.g., "glass shattering").
  • Visual (Where): A Perception Encoder processes video frames masked by the user, integrated with SAM 2 for object tracking.
  • Temporal Span (When): A novel "span prompting" mechanism uses timestamps to specify exactly when a sound occurs, helping disambiguate overlapping events.
Overview of the SAM Audio architecture, illustrating the multimodal prompting mechanism (visual, span, and text) integrated with a Diffusion Transformer.

Uniquely, the model predicts both the target stem and the residual stem (everything else) simultaneously in a single pass, ensuring acoustic consistency between the separated components.

Evaluation and Datasets

The model was trained on approximately 1 million hours of audio-video data, utilizing a mix of clean triplets, synthetic mixtures, and a "Pseudo-labeling Data Engine" to leverage unlabeled recordings. To evaluate performance, the researchers introduced:

  • SAM Audio-Bench: A high-quality benchmark of real-world audio with human-labeled multimodal prompts.
  • SAM Audio Judge: A reference-free evaluation model that predicts human preference scores, proving more reliable than traditional SDR metrics.

Key Results

SAM Audio sets a new performance benchmark across multiple domains:

  • General Sound: It achieved a ~36% net win rate over previous state-of-the-art models like SoloAudio.
  • Specialized Tasks: Despite being a general-purpose model, it outperformed specialized systems such as Demucs for music and MossFormer2 for speaker extraction.
  • Subjective Quality: In side-by-side human evaluations, SAM Audio was consistently preferred over both open-source and proprietary baselines (e.g., AudioShake, MoisesAI).
  • Long-form Audio: By employing a "multi-diffusion" approach, the model processes arbitrarily long audio files without the seam artifacts typical of chunk-based processing.

Conclusion and Future Work

SAM Audio demonstrates that modeling separation as a generative task via flow matching handles complex acoustic scenes better than traditional masking. While powerful, the authors note that visual prompting currently lags slightly behind text prompting due to the noisy nature of video-audio supervision. Future work will focus on tighter audio-visual grounding to better associate specific visual movements with their resulting sounds in extremely complex environments.

Summary updated

BibTeX
@inproceedings{shi2026sam,
  author = {Bowen Shi and Andros Tjandra and John Hoffman and Helin Wang and Yi-Chiao Wu and Luya Gao and Julius Richter and Matt Le and Apoorv Vyas and Sanyuan Chen and Christoph Feichtenhofer and Piotr Dollár and Wei-Ning Hsu and Ann Lee},
  title = {{SAM Audio: Segment Anything in Audio}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=Q4Cca8N7na},
}
Figure