NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

MAGNET: A Multi-agent Framework for Finding Audio-Visual Needles by Reasoning over Multi-Video Haystacks

Sanjoy Chowdhury, Mohamed Elmoghany, Yohan Abeysinghe, Junjie Fei, Sayan Nag, Salman Khan, Mohamed Elhoseiny, Dinesh Manocha

Introduction

While Large Multimodal Models (LMMs) have shown remarkable progress in understanding single short video clips, they often falter when tasked with retrieving and reasoning across large-scale video libraries. Real-world information-seeking—such as finding a specific guitar tuning technique across hundreds of tutorials—presents a "needle-in-a-haystack" challenge. Researchers from the University of Maryland, KAUST, MBZUAI, and the University of Toronto address this gap with MAGNET, a multi-agent framework designed for complex, grounded reasoning across multi-video haystacks, and AVHaystacks, a novel benchmark specifically designed to test these capabilities.

The AVHaystacks Benchmark

To evaluate models in realistic scenarios, the authors introduced AVHaystacks. This benchmark consists of 500 curated YouTube videos across 27 categories, including DIY, cooking, and travel. It features 3,100 annotated QA pairs where 82% of the questions require evidence from multiple videos to answer correctly. This necessitates not just retrieval, but sophisticated cross-modal reasoning and temporal grounding.

Overview of the AVHaystacks benchmark and the multi-video reasoning challenge.

The MAGNET Framework

MAGNET (Multi-agent Framework for Finding Audio-Visual Needles) employs a "divide and conquer" strategy to manage massive video contexts without losing information in the "middle" of a long-context window.

1. Audio-Visual Retrieval-Augmented Generation (AV-RAG)

MAGNET first identifies the top-$K$ relevant videos using joint audio-visual embeddings from ImageBind and descriptive captions generated by Gemini 1.5 Pro. This ensures the model focuses only on the most pertinent "haystacks."

2. Salient Frame Selector (SFS)

To handle long videos efficiently, the SFS module uses a sinusoidal-inverse-based penalty function. This allows the system to select the most informative and diverse frames while filtering out redundant, temporally adjacent content.

3. Multi-Agent Reasoning

The core of MAGNET is its agentic decomposition. A dedicated Audio-Visual Agent (powered by Qwen 2.5 Omni) is spawned for each retrieved video. These agents independently analyze their assigned video. Finally, a Meta-Agent (GPT-4o) synthesizes the findings from all individual agents into a single, temporally grounded response.

The MAGNET architecture, featuring AV-RAG, Salient Frame Selection, and Multi-Agent Reasoning.

Experimental Results

MAGNET sets a new state-of-the-art for multi-video tasks. On the AVHaystacks-50 split, it achieved a 90.68% R@3 score for retrieval, significantly outperforming standard VideoRAG baselines. In terms of reasoning, MAGNET showed an 89% relative improvement in BLEU@4 and a 65% improvement in GPT-based evaluation scores.

The researchers also introduced two new metrics:

  • STEM (Step-wise Error Metric): To track sequence errors in multi-step instructions.
  • MTGS (Matched Temporal Grounding Score): To evaluate the precision of cited timestamps.

Ablation studies highlighted the critical role of audio; performance dropped significantly when audio cues were removed, particularly in instructional videos where verbal context is paramount.

Conclusion and Future Work

MAGNET demonstrates that agentic decomposition is a powerful alternative to monolithic long-context windows for multi-video reasoning. While highly effective, the current modular pipeline relies on several off-the-shelf models. Future work aims to develop an end-to-end trainable version of MAGNET and explore more complex collaborative reasoning behaviors among agents, such as voting or iterative planning, to further enhance reliability in distinguishing between highly similar audio-visual sources.

Summary updated

BibTeX
@inproceedings{chowdhury2025magnet,
  author = {Sanjoy Chowdhury and Mohamed Elmoghany and Yohan Abeysinghe and Junjie Fei and Sayan Nag and Salman Khan and Mohamed Elhoseiny and Dinesh Manocha},
  title = {{MAGNET: A Multi-agent Framework for Finding Audio-Visual Needles by Reasoning over Multi-Video Haystacks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=CwXyUdqFqW},
}
Figure