Introduction
While generative AI has achieved remarkable success in creating high-fidelity images and audio from scratch, the task of editing existing multimodal content remains a significant hurdle. Current models often struggle to maintain the specific identity of a subject (e.g., a particular dog's appearance and unique bark) while simultaneously updating the environment. Furthermore, ensuring that audio properties, such as reverb, synchronize with new visual contexts (e.g., moving from a small room to a cathedral) is a complex challenge. This paper introduces AVEdit, a framework designed for language-guided joint audio-visual editing that treats sound and vision as a unified entity.
The AVEdit Framework
AVEdit addresses the limitations of existing models through two primary technical innovations: Multimodal One-Shot Adaptation and Cross-Modal Semantic Enhancement.
Multimodal One-Shot Adaptation
To preserve the identity of a unique object from a single example, the framework employs a one-shot strategy. Visual features are extracted via CLIP, while audio features are captured via CLAP. These features are fused using Multi-Layer Perceptrons (MLPs) into "text-compatible representations" linked to a special placeholder token (e.g., <c>). By briefly fine-tuning diffusion models (Stable Diffusion for vision and AudioLDM 2 for audio) on a single audio-visual pair, the model anchors the object's identity. When prompted with a command like <c> bird chirping in the rain, the model leverages its memorized knowledge of the specific bird while applying the requested environmental transformation.
Cross-Modal Semantic Enhancement
A common failure in vision models is "catastrophic neglect," where the model focuses so heavily on the primary subject that it ignores editing instructions (like adding rain). The authors discovered that the <sot> (start-of-text) token often dominates cross-attention maps, causing this neglect. AVEdit introduces an attention scaling mechanism that decreases the weight of the <sot> token while increasing the weights of tokens representing new editing instructions. This rebalancing forces the model to prioritize new requirements, such as "waves crashing" or "fire crackling."
Experimental Setup and Datasets
Because no benchmark existed for this specific task, the authors curated the One-shot Audio-Visual Editing (OAVE) dataset. This dataset comprises 44 distinct sounding events, including animals, vehicles, musical instruments, and human speech, sourced from MUSIC, AVSpeech, and VGGSound. Each sample is paired with 25 different editing prompts designed to test environmental changes or the injection of new sounding objects.
Key Results
AVEdit was evaluated against established baselines like DreamBooth and Textual Inversion. The framework demonstrated superior performance across several metrics:
- Subject Fidelity: AVEdit achieved a CLIP-I score of 0.823 and a DINO score of 0.737, significantly outperforming baselines in replicating the original object's appearance.
- Audio Quality: The model achieved a Frechet Audio Distance (FAD) of 15.541, indicating that the generated audio was much closer to the target distribution than competitors.
- Qualitative Success: The model successfully performed "Room Acoustic Adjustment," automatically adding echo to a violin's sound when the visual prompt specified a large cathedral, and "Audio-Visual Composition," such as adding a barking dog into a video of a person playing the violin.
Conclusion and Future Work
AVEdit demonstrates that a single high-quality sample is sufficient to "prime" large pre-trained diffusion models for complex editing tasks. By understanding the synergy between audio and visual modalities and managing the "attention budget" of the vision backbone, the framework achieves high-fidelity edits that maintain subject identity.
Future work will focus on improving temporal consistency for long-form videos and addressing multi-object complexity, where scenes contain multiple interacting sounding objects. Additionally, reducing the computational intensity of the fine-tuning and generation process remains a priority for moving toward real-time applications.
Summary updated