Introduction
Generative AI has made significant strides in "Foley" (sound effect) generation for silent videos. However, most current models produce "flat" audio—either mono or pseudo-stereo—that lacks spatial depth and fails to correlate with the movement of objects on screen. This spatial disconnect stems largely from a lack of high-quality, object-aware stereo training data. Existing datasets like VGGSound often contain professionally mixed audio that does not strictly align with 2D visual positions. StereoFoley addresses this by introducing a framework that generates spatially accurate, 48kHz stereo audio synchronized with video.
Methodology
The StereoFoley framework employs a two-stage approach involving a robust base model and a novel synthetic data generation pipeline.
Base Model Architecture
The core of StereoFoley is a latent diffusion model utilizing a Diffusion-Transformer (DiT) backbone. It incorporates SyncFormer for video encoding and CLAP for text and audio embeddings. A critical design feature is the exact matching of temporal resolution between video and audio latents, which ensures seamless synchronization without complex architectural overhead.
Synthetic "Stereo-fication" Pipeline
To overcome the scarcity of spatially accurate data, the authors developed an automated pipeline to transform existing video datasets into object-aware stereo training sets.
The pipeline consists of four main steps:
- Video Scene Analysis: Gemini 2.5-Flash identifies sound-producing objects and environmental context.
- Object Tracking: Open-Vocabulary Detection (OVD) and SAM2 (Segment Anything Model 2) track the horizontal position and "pixel mass" (size) of identified objects.
- Generation and Panning: Mono sounds are generated for specific objects and then panned according to cinematic rules, where horizontal position dictates stereo placement and pixel mass influences loudness.
- Fine-tuning: The base model is fine-tuned on this synthetic "VGG-obj" dataset to create the final StereoFoley-obj model.
Datasets
The model was initially trained on standard datasets like VGGSound and AudioSet. Finding that approximately 27% of VGGSound is effectively mono, the researchers created VGG-obj, a synthetic subset representing roughly 18% of VGGSound. In this subset, original audio is replaced with spatially accurate stereo mixes generated by the proposed pipeline.
Results and Evaluation
StereoFoley-obj was benchmarked against state-of-the-art models, including MMAudio and Kling-Foley, using both objective and subjective metrics.
Objective Performance
The researchers introduced the Bin-Alignment Score (BAS) to quantify how well audio energy matches the visual position of objects. StereoFoley-obj achieved a BAS of 0.33, significantly outperforming MMAudio (0.08) and the original VGGSound audio (0.23).
Subjective Human Perception
In a Mean Opinion Score (MOS) study, human listeners rated StereoFoley-obj at 3.46/5.0. This score is notably higher than the original video audio (2.97) and mono-focused baselines (2.19), indicating a strong preference for the spatial realism provided by the model.
Conclusion and Future Work
StereoFoley demonstrates that the primary bottleneck in spatial audio generation is data quality rather than architectural complexity. By teaching the model cinematic panning rules through synthetic data, it generalizes effectively to diverse video content. Future work will focus on extending the model to 3D environments (Ambisonics), incorporating more complex acoustics like environmental reverb and Head-Related Transfer Functions (HRTF), and further diversifying the training datasets.
Summary updated