TL;DR
Harmony is a novel open-source joint audio-video generation framework that solves the notorious cross-modal synchronization problem in diffusion models. By introducing cross-task synergy training, decoupled global-local attention, and a synchronization-enhanced Classifier-Free Guidance (CFG) mechanism, Harmony achieves state-of-the-art alignment across speech, music, and ambient sounds.
What Problem Does This Paper Address?
While proprietary models like OpenAI's Sora or Google's Veo generate highly realistic, synchronized audio-visual content, open-source alternatives lag significantly behind in audio-video alignment. Existing open-source models either specialize exclusively in one domain (like human speech or environmental sounds) or suffer from severe lip-sync and timing mismatches.
The authors identify three root causes behind this synchronization gap in joint diffusion processes:
- Correspondence Drift: In joint generation, both audio and video modalities are denoised concurrently from pure noise. Trying to align two highly stochastic, constantly changing latent variables early in the training process creates an unstable learning target.
- Architectural Tension: Fine-grained temporal alignment (e.g., lip movements) and holistic style consistency (e.g., emotional tone) have competing architectural needs. Standard monolithic global cross-attention mechanisms conflate these goals, leading to a suboptimal trade-off.
- Intra-modal Bias of CFG: Conventional Classifier-Free Guidance (CFG) amplifies text-adherence for each modality in isolation but does nothing to inherently improve the synchronization between the generated audio and video streams.
Methods
Harmony introduces three core innovations to mechanistically enforce audio-visual synchronization:
-
Cross-Task Synergy (CTS) Training: To counteract Correspondence Drift, the model co-trains the primary joint generation task alongside two auxiliary, uni-directional tasks: audio-driven video generation and video-driven audio generation. By anchoring one modality with a clean, noise-free signal, the model receives a stable supervisory gradient that accelerates and stabilizes alignment learning.
The Cross-Task Synergy training paradigm and Harmony model architecture. -
Global-Local Decoupled Interaction (GLDI) Module: This module splits the alignment responsibility. For local timing, a RoPE-Aligned Frame-wise Attention mechanism dynamically scales Rotary Positional Embeddings (RoPE) to resolve the mismatched sampling rates between video and audio frames ($T_v \neq T_a$). For global consistency, a Global Style Alignment module modulates the reference audio latents using the global context of the entire video latent space.
-
Synchronization-Enhanced CFG (SyncCFG): During inference, instead of contrasting text-conditioned outputs against an empty text prompt, SyncCFG introduces structural "Negative Anchors." For video guidance, it uses a "silent audio" negative anchor to isolate and amplify visual dynamics caused purely by sound (like mouth movements). For audio guidance, it uses a "static video" negative anchor to isolate motion-driven sounds.
The SyncCFG mechanism isolates and amplifies alignment signals using mute audio and static video negative anchors.
Datasets
- Training Data: Harmony is trained on a massive, diverse corpus of over 4 million audio-visual clips. This includes public datasets such as OpenHumanVid (for human-centric data), AudioCaps, and WavCaps (for environmental sounds), all uniformly annotated using Gemini.
- Evaluation Benchmark: The authors introduce Harmony-Bench, a new 150-case benchmark split into three 50-item subsets of increasing complexity: Ambient Sound-Video, Speech-Video, and Complex Scenes (Ambient + Speech).
Key Insights and Ideas
-
Anchoring the Moving Target: The empirical motivation behind Cross-Task Synergy shows that joint diffusion models converge much slower because they try to map noise to noise. Forcing the model to learn from a clean, deterministic anchor modality acts as a powerful catalyst for cross-modal interaction.
Alignment score convergence comparison showing the stability provided by anchoring modalities. -
Meaningful Negative Guidance: Standard CFG is blind to cross-modal relationships. Redefining the negative condition as a physical state (silence or stillness) rather than an abstract semantic state (null text) allows the diffusion process to explicitly maximize the delta that represents co-occurrence and motion.
- Decoupling Time from Style: Frame-level synchronization requires tight, localized temporal windows to prevent jitter, whereas style propagation requires global context. Forcing a single attention mechanism to handle both inevitably degrades fine-grained synchronization.
Key Results
Harmony establishes a new state-of-the-art in audio-visual synchronization while maintaining competitive video and audio fidelity:
- Quantitative Dominance: On Harmony-Bench, Harmony achieves a Sync-C (Sync Confidence) score of 5.61, vastly outperforming prior open-source models like Ovi (4.04) and UniVerse-1 (0.97). It also achieves the lowest Sync-D (Sync Distance) score of 7.53 (where lower is better).
- Qualitative Excellence: Qualitative evaluations demonstrate that Harmony successfully generates complex scenes—such as a musician playing a mandolin—where the visual strumming motions are dynamically and precisely synchronized with a rich, complex audio waveform.
Limitations and Future Work
Not explicitly discussed in the paper.
Summary updated