mlsanityData to 14 Oct 2026

DQ-LoRe: Dual Queries with Low Rank Approximation Re-ranking for In-Context Learning

arXiv 2310.02954 ↗First posted 4 Oct 2023cs.CLcited by 5

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

Cited by year

Citing papers per year: 2024: 4; 2025: 1.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Attention Reveals More Than Tokens: Training-Free Long-Context Reasoning with Attention-guided Retrieval
  2. 2026Maistros: A Greek Large Language Model Adapted Through Knowledge Distillation From Large Reasoning Models
  3. 2024Large Language Models are Limited in Out-of-Context Knowledge Reasoning
  4. 2024Retrieval Meets Reasoning: Dynamic In-Context Editing for Long-Text Understanding
  5. 2023Knowledge-Driven CoT: Exploring Faithful Reasoning in LLMs for Knowledge-intensive Question Answering
  6. 2026Counterfactual Benchmarking and Training for Factuality Consistency and Order-Robust Grounded Reasoning in LLMs over Heterogeneous Knowledge
  7. 2025Reasoning Beyond Language: A Comprehensive Survey on Latent Chain-of-Thought Reasoning
  8. 2024NeedleBench: Evaluating LLM Retrieval and Reasoning Across Varying Information Densities