DQ-LoRe: Dual Queries with Low Rank Approximation Re-ranking for In-Context Learning
Not on the map. Why?
Abstract (arXiv)
Recent advances in natural language processing, primarily propelled by Large Language Models (LLMs), have showcased their remarkable capabilities grounded in in-context learning. A promising avenue for guiding LLMs in intricate reasoning tasks involves the utilization of intermediate reasoning steps within the Chain-of-Thought (CoT) paradigm. Nevertheless, the central challenge lies in the effective selection of exemplars for facilitating in-context learning. In this study, we introduce a framework that leverages Dual Queries and Low-rank approximation Re-ranking (DQ-LoRe) to automatically select exemplars for in-context learning. Dual Queries first query LLM to obtain LLM-generated knowledge such as CoT, then query the retriever to obtain the final exemplars via both question and the knowledge. Moreover, for the second query, LoRe employs dimensionality reduction techniques to refine exemplar selection, ensuring close alignment with the input question's knowledge. Through extensive experiments, we demonstrate that DQ-LoRe significantly outperforms prior state-of-the-art methods in the automatic selection of exemplars for GPT-4, enhancing performance from 92.5% to 94.2%. Our comprehensive analysis further reveals that DQ-LoRe consistently outperforms retrieval-based approaches in terms of both performance and adaptability, especially in scenarios characterized by distribution shifts. DQ-LoRe pushes the boundary of in-context learning and opens up new avenues for addressing complex reasoning challenges. Our code is released at https://github.com/menik1126/DQ-LoRe
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). First posted on arXiv 4 Oct 2023.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2024: 4; 2025: 1.
5 papers.
- 2025Quantization Meets Reasoning: Exploring LLM Low-Bit Quantization Degradation for Mathematical Reasoningcited by 37
- 2024Learning From Correctness Without Prompting Makes LLM Efficient Reasonercited by 15
- 2024EXPLORA: Efficient Exemplar Subset Selection for Complex Reasoningcited by 5
- 2024Reasoning Graph Enhanced Exemplars Retrieval for In-Context Learningcited by 3
- 2024Teaching-Inspired Integrated Prompting Framework: A Novel Approach for Enhancing Reasoning in Large Language Modelscited by 2
- 2025Quantization Meets Reasoning: Exploring LLM Low-Bit Quantization Degradation for Mathematical Reasoning6 Jan 2025
- 2024EXPLORA: Efficient Exemplar Subset Selection for Complex Reasoning6 Nov 2024
- 2024Teaching-Inspired Integrated Prompting Framework: A Novel Approach for Enhancing Reasoning in Large Language Models10 Oct 2024
- 2024Reasoning Graph Enhanced Exemplars Retrieval for In-Context Learning17 Sep 2024
- 2024Learning From Correctness Without Prompting Makes LLM Efficient Reasoner28 Mar 2024
Similar, not cited
Close in wording, no citation either way
- 2025Attention Reveals More Than Tokens: Training-Free Long-Context Reasoning with Attention-guided Retrieval
- 2026Maistros: A Greek Large Language Model Adapted Through Knowledge Distillation From Large Reasoning Models
- 2024Large Language Models are Limited in Out-of-Context Knowledge Reasoning
- 2024Retrieval Meets Reasoning: Dynamic In-Context Editing for Long-Text Understanding
- 2023Knowledge-Driven CoT: Exploring Faithful Reasoning in LLMs for Knowledge-intensive Question Answering
- 2026Counterfactual Benchmarking and Training for Factuality Consistency and Order-Robust Grounded Reasoning in LLMs over Heterogeneous Knowledge
- 2025Reasoning Beyond Language: A Comprehensive Survey on Latent Chain-of-Thought Reasoning
- 2024NeedleBench: Evaluating LLM Retrieval and Reasoning Across Varying Information Densities