HyQE: Ranking Contexts with Hypothetical Query Embeddings
On the map: Retrieval-augmented generation → Generation and context integration
Abstract (arXiv)
In retrieval-augmented systems, context ranking techniques are commonly employed to reorder the retrieved contexts based on their relevance to a user query. A standard approach is to measure this relevance through the similarity between contexts and queries in the embedding space. However, such similarity often fails to capture the relevance. Alternatively, large language models (LLMs) have been used for ranking contexts. However, they can encounter scalability issues when the number of candidate contexts grows and the context window sizes of the LLMs remain constrained. Additionally, these approaches require fine-tuning LLMs with domain-specific data. In this work, we introduce a scalable ranking framework that combines embedding similarity and LLM capabilities without requiring LLM fine-tuning. Our framework uses a pre-trained LLM to hypothesize the user query based on the retrieved contexts and ranks the context based on the similarity between the hypothesized queries and the user query. Our framework is efficient at inference time and is compatible with many other retrieval and ranking techniques. Experimental results show that our method improves the ranking performance across multiple benchmarks. The complete code and data are available at https://github.com/zwc662/hyqe
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Placed in Generation and context integration, one of 15 directions in Retrieval-augmented generation. Builds on 29 of its 48 references that are in the map. First posted on arXiv 20 Oct 2024.
Builds on
29 of 48 references.
Closest ancestors · 3
Same direction, newest first
- 2023In-Context Retrieval-Augmented Language Models31 Jan
- 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memories20 Dec
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks22 May
Other references · 26
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,185
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
- 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,800
- 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,591
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2016Variational Inference: A Review for Statisticianscited by 1,466
- 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,225
14 more
- 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,216
- 2017Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPRcited by 1,086
- 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 820
- 2023Are Emergent Abilities of Large Language Models a Mirage?cited by 515
- 2022Precise Zero-Shot Dense Retrieval without Relevance Labelscited by 508
- 2020Overview of the TREC 2019 deep learning trackcited by 282
- 2024Nomic Embed: Training a Reproducible Long Context Text Embeddercited by 255
- 2019Document Expansion by Query Predictioncited by 225
- 2021Invariance Principle Meets Information Bottleneck for Out-of-Distribution Generalizationcited by 220
- 2023RankZephyr: Effective and Robust Zero-Shot Listwise Reranking is a Breeze!cited by 151
- 2022From Distillation to Hard Negative Sampling: Making Sparse Neural IR Models More Effectivecited by 98
- 2021One Question Answering Model for Many Languages with Cross-lingual Dense Passage Retrievalcited by 46
- 2018VIREL: A Variational Inference Framework for Reinforcement Learningcited by 22
- 2022A Hierarchical Bayesian Approach to Inverse Reinforcement Learning with Symbolic Reward Machinescited by 9
Built on by
Citing papers per year: 2025: 3; 2026: 3.
6 papers.
- 2025ConFit v2: Improving Resume-Job Matching using Hypothetical Resume Embedding and Runner-Up Hard-Negative Miningcited by 4
- 2026SD-RAG: A Prompt-Injection-Resilient Framework for Selective Disclosure in Retrieval-Augmented Generationcited by 3
- 2025Ask, Retrieve, Summarize: A Modular Pipeline for Scientific Literature Summarizationcited by 1
- 2025When Retrieval Succeeds and Fails: Rethinking Retrieval-Augmented Generation for LLMscited by 1
- 2026From Evidence-Based Medicine to Knowledge Graph: Retrieval-Augmented Generation for Sports Rehabilitation and a Domain Benchmarkcited by 0
- 2026MCompassRAG: Topic Metadata as a Semantic Compass for Paragraph-Level Retrievalcited by 0
- 2026MCompassRAG: Topic Metadata as a Semantic Compass for Paragraph-Level Retrieval16 Jun 2026
- 2026SD-RAG: A Prompt-Injection-Resilient Framework for Selective Disclosure in Retrieval-Augmented Generation16 Jan 2026
- 2026From Evidence-Based Medicine to Knowledge Graph: Retrieval-Augmented Generation for Sports Rehabilitation and a Domain Benchmark1 Jan 2026
- 2025When Retrieval Succeeds and Fails: Rethinking Retrieval-Augmented Generation for LLMs10 Oct 2025
- 2025Ask, Retrieve, Summarize: A Modular Pipeline for Scientific Literature Summarization22 May 2025
- 2025ConFit v2: Improving Resume-Job Matching using Hypothetical Resume Embedding and Runner-Up Hard-Negative Mining17 Feb 2025
Similar, not cited
Close in wording, no citation either way
- 2024RankRAG: Unifying Context Ranking with Retrieval-Augmented Generation in LLMs
- 2024Enhancing Q&A Text Retrieval with Ranking Models: Benchmarking, fine-tuning and deploying Rerankers for RAG
- 2025LLM4Ranking: An Easy-to-use Framework of Utilizing Large Language Models for Document Reranking
- 2026PRECISE: Reducing the Bias of LLM Evaluations Using Prediction-Powered Ranking Estimation
- 2026HAKARI-Bench: A Lightweight Benchmark for Comparing Retrieval Architectures and Efficiency Settings under Unified Conditions
- 2026LRanker: LLM Ranker for Massive Candidates ↗
- 2025ExpandR: Teaching Dense Retrievers Beyond Queries with LLM Guidance
- 2025ELITE: Embedding-Less retrieval with Iterative Text Exploration