TL;DR
Fork-Merge Decoding (FMD) is a simple, training-free inference strategy that fixes "modality bias" in Audio-Visual Large Language Models (AV-LLMs). By processing audio and video inputs separately in early decoder layers (the fork) before combining them for joint reasoning (the merge), FMD forces the model to pay attention to both modalities, significantly reducing hallucinations and boosting performance across multiple benchmarks.
What Problem Does This Paper Address?
Multimodal LLMs have gotten incredibly good at processing video and audio together. However, because these modalities are typically dumped into the decoder language model simultaneously, they suffer from a subtle flaw: modality bias.
If a model finds one modality easier to interpret during training (usually video, due to its strong alignment with visual-language pretraining), it begins to over-rely on it. This causes the model to ignore the other modality (audio), leading to flawed reasoning and modality-specific hallucinations—such as "hearing" a bell ring just because it sees a host gesturing on screen.
Mitigating this bias usually requires expensive retraining or architectural changes. The authors of this paper set out to solve it entirely at inference time.
Methods
The authors propose Fork-Merge Decoding (FMD), a plug-and-play inference strategy that splits the decoding process into two distinct phases:
- The Fork Phase: The original multimodal input is split into two unimodal streams. This is achieved via an input masking strategy where the video tokens are zeroed out in one branch, and the audio tokens are zeroed out in the other (while keeping the text prompt intact). Each branch is processed independently through the first $L_{\text{fork}}$ layers of the LLM decoder. This forces the model to build rich, independent representations of how each modality individually relates to the text prompt.
- The Merge Phase: The hidden states from both branches are fused together before being passed through the remaining layers of the decoder for final joint reasoning.
To handle different model architectures, FMD introduces two fusion mechanisms:
- Attention-Guided Fusion (for token-wise models): Uses a fixed weight ($\alpha$) derived from the model's internal attention matrix to balance the hidden states of the masked and unmasked segments.
- Element-wise Fusion (for channel-wise models): Combines the hidden states via element-wise addition and mean pooling.
Datasets
The authors evaluated FMD across three popular AV-LLMs (VideoLLaMA2, video-SALMONN, and Qwen2.5-Omni) using three major benchmarks:
- AVHBench: A benchmark specifically designed to evaluate cross-modal hallucinations in AV-LLMs across tasks like audio-driven video hallucination ($A \rightarrow V$) and video-driven audio hallucination ($V \rightarrow A$).
- AVQA: A dataset containing 57,000 YouTube videos for real-world audio-visual question answering.
- MUSIC-AVQA: 45,867 QA pairs focused on fine-grained audio-visual reasoning in musical performances (e.g., identifying specific instrument sounds).
Key Insights and Ideas
- The "Video Dominance" is Real: Internal attention analysis confirmed that vanilla decoders allocate disproportionately higher attention weights to video inputs over audio. FMD successfully rebalances this distribution.
- Why Early Forking Works: By analyzing layer-wise hidden state similarity, the authors found that LLM decoders naturally cluster into stages. In the early layers, intra-modal encoding is strengthened while cross-modal interaction is suppressed. Forking precisely during these early layers ($L_{\text{fork}} \approx \text{total layers} / 7$) respects the model's pretrained nature while maximizing unimodal feature enhancement.
- Zeroing-Out Beats Noise: Unlike Vision-Language Model (VLM) debiasing techniques that inject Gaussian noise to disrupt bias, FMD uses zero-out masking. The authors showed that Gaussian noise fails to completely isolate auditory signals in AV-LLMs, whereas zero-out masking cleanly separates the modalities.
Key Results
- Consistent Performance Gains: FMD consistently outperformed vanilla decoding across all models and datasets. Notably, video-SALMONN achieved a massive 12.26% absolute performance increase on the AVQA dataset under zero-shot settings.
- Superiority Over Existing Methods: When compared to popular test-time decoding strategies like DoLa, VCD, and SID (adapted from text and vision domains), FMD achieved the highest overall accuracy on AVHBench.
- Low Computational Overhead: While methods like VCD and SID double the computational cost by requiring two full forward passes, FMD only duplicates the forward pass for the first few layers ($L_{\text{fork}}$). As a result, FMD's relative latency is only 1.26x compared to vanilla decoding, making it significantly faster than alternative methods (~2.0x).
Limitations and Future Work
While FMD is highly effective and training-free, it does introduce a few hyperparameter dependencies. The optimal fusion weight ($\alpha$) varies slightly depending on the model architecture ($\alpha = 0.8$ for VideoLLaMA2 vs. $\alpha = 0.9$ for Qwen2.5-Omni), requiring a lightweight calibration step using a small sample of data. Additionally, the optimal choice for the fork layer ($L_{\text{fork}}$) can vary slightly depending on the specific task. The authors suggest that developing automated, adaptive strategies for task-specific layer selection is a promising direction for future research.
Summary updated