Introduction
Generating synchronized sound effects—or "Foley"—for silent video is a critical task in multimedia production. While recent video-to-audio (V2A) generation models have made significant strides using text prompts and visual cues, they often stumble when precise acoustic control is required. AC-Foley introduces a novel framework that uses reference audio as a primary control signal, moving beyond the limitations of vague text descriptions to achieve state-of-the-art, fine-grained sound synthesis.
The Bottlenecks of Text-Conditioned Audio
Current AI models face two major hurdles when relying primarily on text prompts for audio generation:
- The Semantic Granularity Gap: Training datasets typically rely on coarse labels. A model might learn the general concept of a "dog bark," but a Chihuahua sounds vastly different from a Great Dane. Text prompts like "high-pitched bark" often fail because the model hasn't learned to map specific adjectives to distinct acoustic features.
- Textual Ambiguity: Human language is inherently limited when describing micro-acoustic details. Capturing the exact resonance of a "metallic clang" or the specific crunch of "footsteps on dry leaves" is difficult for users to articulate and for models to interpret accurately.
AC-Foley shifts the paradigm from text-to-audio to reference-audio-to-audio. This allows users to provide a "sound template" (e.g., a specific bark or footstep) that the model adapts to the timing and context of a new video.
Core Capabilities: Synthesis, Transfer, and Zero-Shot Generation
By directly conditioning on audio signals, AC-Foley bypasses semantic ambiguities and enables precise manipulation of acoustic attributes. This unlocks three powerful capabilities:
- Fine-Grained Sound Synthesis: Generating sounds with specific textures, such as matching the exact bark of a specific dog breed to a video.
- Timbre Transfer: Applying the acoustic characteristics of one sound to the visual rhythm of another (e.g., making a lion's roar sound like a cat's meow or a sheep's bleat).
- Zero-Shot Generation: Creating unique sound effects without specific training data, such as generating silenced weapon sounds by providing a reference clip alongside a text prompt.
How AC-Foley Works
AC-Foley is built on a Conditional Flow Matching (CFM) objective, which offers superior stability and quality compared to traditional diffusion models.
Multimodal Architecture
The framework utilizes a Multimodal Transformer that integrates four distinct inputs:
- Video: Encoded via CLIP and Synchformer to capture visual motion and timing.
- Text: Encoded via CLIP for high-level semantic guidance.
- Reference Audio: Instead of using a semantic encoder like CLAP—which flattens audio into broad concepts—AC-Foley uses a VAE encoder. This crucial design choice preserves the raw "acoustic signature," including timbre and spectral details.
- Time Embeddings: Utilized for the flow matching process.
The Two-Stage Training Strategy
To prevent the model from simply "copy-pasting" the reference audio without aligning it to the video, the authors developed a clever two-stage training strategy:
- Stage I (Overlap): The model trains using a 2-second reference clip that overlaps with the target audio. This teaches the model how to extract and utilize acoustic features.
- Stage II (Non-overlap): The model trains using a reference clip from a different part of the same video. Because sounds in a single scene (like continuous footsteps or engine hums) are self-similar, this forces the model to learn the style of the reference audio while adapting its timing to the visual events currently on screen.
Key Results and Performance
Trained on massive datasets including VGGSound (~180k clips) and AudioCaps/WavCaps (~600k pairs), AC-Foley demonstrates remarkable performance:
- Quantitative State-of-the-Art: AC-Foley achieved a 20% improvement in Fréchet Distance (FD) and a 22% reduction in Mel Cepstral Distortion (MCD) compared to previous state-of-the-art models.
- Human Preference: In user studies, AC-Foley's generations were chosen 83.5% of the time for acoustic fidelity when compared to strong baselines.
- Robustness: Even when the reference audio is replaced with a null embedding (acting as a standard text-to-audio V2A model), it remains highly competitive with existing methods.
Limitations and Future Directions
While powerful, AC-Foley has limitations in highly complex auditory scenes. Videos containing multiple concurrent sound sources (e.g., a crowded restaurant with overlapping dialogue and background music) can confuse the model, causing it to prioritize only the most prominent visual trigger. Additionally, extreme temporal mismatches between the reference audio and the video (e.g., using a slow, drawn-out sound for rapid visual motion) can produce rhythmic artifacts. Future work may explore multi-source separation and generation to handle these complex cinematic environments more effectively.
Summary updated