TL;DR
This paper introduces a novel AI task: video object segmentation-aware audio generation, which allows users to generate audio for a specific object in a video by simply selecting it with a mask. The authors present SAGANet, a multimodal generative model that leverages localized visual features and gated cross-attention to achieve precise, object-level Foley synthesis. To train and evaluate this task, they also introduce Segmented Music Solos, a new benchmark dataset of instrument performance videos paired with segmentation masks.
What Problem Does This Paper Address?
Existing video-to-audio generation models (often used for artificial Foley synthesis) lack fine-grained user control. When presented with a complex video scene—such as a musical ensemble or a busy street—these models analyze the entire frame. As a result, they struggle to prioritize a specific object, frequently generating irrelevant background noise or synchronizing the audio to the wrong visual cues. Describing a target object using text prompts quickly becomes unfeasible or imprecise in cluttered scenes.
To give sound designers and video editors pinpoint control, the authors tackle the challenge of explicitly conditioning audio generation on object-level visual segmentation maps. This ensures that the synthesized sound matches the exact timing and semantic nature of a single, user-selected object.
Methods
SAGANet builds upon MMAudio, a state-of-the-art video-to-audio model driven by Conditional Flow Matching (CFM) and a Diffusion Transformer (DiT). The core innovation is a parallel, segmentation-aware control module that injects localized visual features into the frozen generative network.
Key components of the method include:
- Focal Prompting: Inspired by localized image captioning, the model processes both the global video stream ($V, M$) and a cropped, high-resolution "focal" stream ($V', M'$) centered around the target object's segmentation mask.
- Weight-Sharing ViT Backbone: A Vision Transformer (based on Synchformer) extracts features from both streams. The global and regional feature extractors share self-attention weights to maintain cross-scale alignment.
- Gated Cross-Attention Adapters: These layers fuse the local focal features with the global visual context, allowing the model to selectively attend to the target object without losing track of the broader environment.
- LoRA Fine-Tuning: To efficiently adapt the pre-trained MMAudio DiT blocks to these new localized features, the authors inject Low-Rank Adaptation (LoRA) matrices into the attention layers, updating only a fraction of the total parameters.
Datasets
The authors curated and introduced Segmented Music Solos, a high-quality dataset designed specifically for segmentation-aware audio generation.
- Training & Validation: Compiled from existing solo performance datasets (MUSIC21, AVSBench, and Solos), the pipeline filters clips through automated visual and auditory verification models (ImageNet-trained CNNs and Audio Spectrogram Transformers) to ensure high audio-video correspondence. GroundedSAM2 and Florence-2 were used to generate precise instrument segmentation masks across 5,395 training and 665 validation samples spanning 25 instruments.
- Testing: The model was evaluated using the URMP (University of Rochester Multi-Modal Music Performance) dataset, which features multi-instrument ensemble videos where each instrument's audio track was recorded separately, providing a perfect ground truth for object-isolated evaluation.
Key Insights and Ideas
- Single-Source Training, Multi-Source Generalization: Even though SAGANet is trained exclusively on solo performances (one instrument, one mask), it successfully generalizes to complex, multi-instrument videos at test time. It effectively "shuts out" the sounds of neighboring instruments to synthesize audio only for the masked target.
- The Global-Local Balance: Relying only on local crops harms overall audio quality because environmental context (e.g., whether a guitar is played in a concert hall or a small room) is lost. Fusing global context with local focal prompts yields the best balance of audio fidelity and object tracking.
- Gated Attention is Non-Negotiable: Standard cross-attention fails to properly balance the dual streams, leading to poor temporal synchronization. Gated cross-attention acts as a crucial regulator for precise timing.
Key Results
SAGANet demonstrates substantial quantitative and qualitative improvements over the baseline MMAudio model on the multi-source URMP test set:
- Semantic Alignment: SAGANet achieved an ImageBind similarity score of 41.50 (with LoRA), compared to the baseline's 35.94, proving the generated audio is much more relevant to the specific masked instrument.
- Temporal Synchronization: The temporal offset error (DeSync metric) dropped dramatically from 0.95 (baseline) to 0.30 (SAGANet with LoRA), indicating near-perfect synchronization with the physical movements of the player.
- Subjective User Study: In a blind study with 21 participants rating audio on a 1–5 Likert scale, SAGANet's semantic alignment score jumped from 2.30 to 4.47, and its temporal alignment score rose from 1.91 to 3.77 compared to the baseline.
Limitations and Future Work
While SAGANet sets a new standard for controllable Foley synthesis, the authors note a few limitations:
- Domain Specificity: The current model and dataset are strictly focused on musical instruments. Extending this to open-domain ambient sounds (footsteps, moving vehicles, breaking objects) remains an open challenge.
- Single-Object Constraint: The architecture is currently designed to generate audio for one selected object at a time. Future iterations will need to support simultaneous multi-object selection to generate complex, multi-layered audio mixes in a single pass.
Summary updated