Omnia vincit amor
Home -> Publications
Home
  Publications
    
edited volumes
  Awards
  Research
  Teaching
  Miscellaneous
  Full CV [pdf]






  Events








  Past Events





Publications of Torsten Hoefler
Maciej Besta, Ales Kubicek, Robert Gerstenberger, Marcin Chrapek, Roman Niggli, Patrik Okanovic, Yi Zhu, Patrick Iff, Michal Podstawski, Lucas Weitzendorf, Mingyuan Chi, Joanna Gajda, Piotr Nyczyk, Jürgen Müller, Hubert Niewiadomski, Torsten Hoefler:

 Multi-Head RAG: Solving Multi-Aspect Problems with LLMs

(arXiv:2406.05085. Feb. 2026)

Abstract

Retrieval-Augmented Generation (RAG) improves Large Language Models (LLMs) by retrieving supporting documents into the prompt, but existing methods do not explicitly target queries that require fetching multiple documents with substantially different content. Such multi-aspect queries are challenging because relevant documents can be far apart in embedding space, making joint retrieval difficult. We introduce Multi-Head RAG (MRAG), which addresses this gap with a simple yet powerful idea: using Transformer multi-head attention activations rather than the standard decoder-layer embedding, as retrieval keys. It leverages the observation that different heads capture different semantic aspects. This yields multi-aspect embeddings for both documents and queries, improving retrieval accuracy on complex queries. We show MRAG's design advantages over 18 RAG baselines, up to 20% higher retrieval success ratios for real-world use cases, and improved downstream LLM generation. MRAG integrates seamlessly with existing RAG frameworks and benchmarks.

Documents

download article:     
 

BibTeX

@article{besta2024multi,
  author={Maciej Besta and Ales Kubicek and Robert Gerstenberger and Marcin Chrapek and Roman Niggli and Patrik Okanovic and Yi Zhu and Patrick Iff and Michal Podstawski and Lucas Weitzendorf and Mingyuan Chi and Joanna Gajda and Piotr Nyczyk and Jürgen Müller and Hubert Niewiadomski and Torsten Hoefler},
  title={{Multi-Head RAG: Solving Multi-Aspect Problems with LLMs}},
  journal={arXiv:2406.05085},
  year={2026},
  month={Feb.},
  source={http://www.unixer.de/~htor/publications/},
}


serving: 216.73.217.47:60484© Torsten Hoefler