GeAR: Generation Augmented Retrieval

Haoyu Liu, Shaohan Huang, Jianfeng Liu, Yuefeng Zhan, Hao Sun +4 more
1/6/2025
cs.IRcs.CL

Official code: microsoft/LMOps (4,440 stars, MIT, last commit 2026-04-30).

Abstract

Document retrieval techniques are essential for developing large-scale information systems. The common approach involves using a bi-encoder to compute the semantic similarity between a query and documents. However, the scalar similarity often fail to reflect enough information, hindering the interpretation of retrieval results. In addition, this process primarily focuses on global semantics, overlooking the finer-grained semantic relationships between the query and the document's content. In this paper, we introduce a novel method, $\textbf{Ge}$neration $\textbf{A}$ugmented $\textbf{R}$etrieval ($\textbf{GeAR}$), which not only improves the global document-query similarity through contrastive learning, but also integrates well-designed fusion and decoding modules. This enables GeAR to generate relevant context within the documents based on a given query, facilitating learning to retrieve local fine-grained information. Furthermore, when used as a retriever, GeAR does not incur any additional computational cost over bi-encoders. GeAR exhibits competitive retrieval performance across diverse scenarios and tasks. Moreover, qualitative analysis and the results generated by GeAR provide novel insights into the interpretation of retrieval results. The code, data, and models will be released at \href{https://github.com/microsoft/LMOps}{https://github.com/microsoft/LMOps}.

View on arXivView PDF

Code Implementations(1)

microsoft/LMOpsOfficial100%
MIT

General technology for enabling AI capabilities w/ LLMs and MLLMs

4,440377C, C++Dec 13, 20225 months agoMIT
agigptlanguage-modelllmlm+6 more

Similar Papers

Cite this paper

@article{liu2025gear,
  title  = {GeAR: Generation Augmented Retrieval},
  author = {Haoyu Liu and Shaohan Huang and Jianfeng Liu and Yuefeng Zhan and Hao Sun and Weiwei Deng and Feng Sun and Furu Wei and Qi Zhang},
  year   = {2025},
  eprint = {2501.02772},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.02772v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.02772.svg)](https://codeofpaper.com/paper/2501.02772)

Discussion