SAM Audio: Segment Anything in Audio

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

General audio source separation is a critical capability for multimodal AI systems that perceive and reason about sound. However, existing models are often domain-specific (e.g., speech-only or music-only) or limited to a single prompting modality like text. Enter SAM Audio, a foundation model that unifies text, visual, and temporal span prompting into a single, highly controllable framework. Built on a diffusion transformer architecture and trained with flow matching, SAM Audio achieves state-of-the-art performance across speech, music, and general sound effects, outperforming specialized models.

The Challenge of Real-World Audio

Audio source separation—isolating a specific sound from a noisy mixture—has traditionally been highly siloed. Models are typically designed for fixed categories, such as isolating the four stems of a music track or separating overlapping speech.

Real-world audio, however, is messy and unpredictable. Text prompts can be ambiguous (e.g., prompting "man speaking" when two men are talking), and visual-only models often fail when the sound source is occluded off-screen. Furthermore, the field has historically lacked unified benchmarks and reliable metrics. Traditional objective measures like Signal-to-Distortion Ratio (SDR) require clean reference tracks—which rarely exist for "in-the-wild" recordings—and correlate poorly with human perception.

A Unified, Generative Approach

SAM Audio treats separation as a generative task rather than a traditional discriminative masking problem.

  • Architecture & Flow Matching: The model utilizes a Diffusion Transformer (DiT) operating within a compressed latent space provided by a DAC-VAE. Instead of standard diffusion, SAM Audio employs flow matching, learning a vector field to transport noise to the data distribution more efficiently.
  • Multimodal Prompting: The framework supports three distinct input types:
  • Text: Natural language descriptions (e.g., "dog barking").
  • Visual: Pixel-level masks (derived via SAM 2) to isolate sounds from specific on-screen objects.
  • Span: A novel temporal conditioning technique specifying when a sound occurs using precise time intervals.
  • Joint Modeling: Unlike many systems that only predict the target sound, SAM Audio simultaneously predicts both the target stem and the residual stem (everything else) in a single pass.
  • Representation Alignment (REPA): To ensure the model deeply understands what it is separating, its internal representations are aligned with an external Audio Event Detection (AED) model during training.

Massive Scale and New Benchmarks

Building a foundation model requires massive data. The researchers trained SAM Audio on a mixture of approximately 1 million hours of medium-quality video/audio and 10,000 hours of high-quality data. Because ground-truth "clean" stems are rare for real-world video, they developed a sophisticated pseudo-labeling pipeline using an intermediate version of SAM Audio, strictly filtering the outputs with models like CLAP and ImageBind.

To properly evaluate the model, the team introduced two new tools:

  1. SAM AUDIO-BENCH: A human-labeled benchmark of over 700 "in-the-wild" clips featuring dense annotations for text, visual masks, and temporal spans.
  2. SAM AUDIO-JUDGE (SAJ): A reference-free evaluation model trained to predict human perceptual scores (Recall, Precision, Faithfulness, and Quality). SAJ achieves a Pearson correlation of ~0.88 with human judgment, offering a far more reliable metric than SDR.

Key Insights and State-of-the-Art Results

SAM Audio demonstrates that a single, large-scale foundation model can surpass specialized SOTA models on their own turf.

  • The Power of Spans: Introducing span prompting was a major breakthrough. While text describes what a sound is, spans describe when it happens. Combining temporal cues with text consistently improves performance (yielding Net Win Rate gains of +12.9% to +39%), as it helps disambiguate overlapping sounds with similar semantic descriptions.
  • General Sound Effects: SAM Audio achieved a ~36% net win rate over SoloAudio, a top-tier public general separation model.
  • Professional Music: On the MUSDB benchmark, it reached an overall subjective score of 4.45, outperforming proprietary systems like AudioShake (4.28) and specialized models like Demucs.
  • Speaker Separation: The model scored 4.15 versus 3.51 for baselines, representing a ~39% net win rate improvement over models like MossFormer2.
  • Visual Prompting: SAM Audio outperformed DAVIS-Flow by large margins, with net win rates ranging from 5% to 48% depending on the task.
  • Efficiency: Despite its generative nature, SAM Audio produces high-quality results in as few as 2-16 ODE steps, making it highly viable for practical applications.

Limitations and Future Directions

While SAM Audio represents a massive leap forward, challenges remain. Visual-prompted separation is still noisier than text-prompted separation, largely due to the difficulty of finding perfect audio-visual correspondence in training data. Extremely dense soundscapes with many overlapping, similar sounds also pose a challenge for perfect isolation. Finally, the authors note that the ability to isolate individual voices from any mixture introduces privacy risks that will require careful regulation. Future work will focus on improving visual grounding and handling even more complex, multi-event sound effects.

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 Matthew 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