REVIEW 4 cited by
Learning to Retrieve In-Context Examples for Large Language Models
Not yet reviewed by Pith; the record is open.
This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.
SPECIMEN: schema-true, not a live event
T0 review · schema-true
One-sentence machine reading of the paper's core claim.
pith:XXXXXXXX · record.json · timestamp
abstract
Large language models (LLMs) have demonstrated their ability to learn in-context, allowing them to perform various tasks based on a few input-output examples. However, the effectiveness of in-context learning is heavily reliant on the quality of the selected examples. In this paper, we propose a novel framework to iteratively train dense retrievers that can identify high-quality in-context examples for LLMs. Our framework initially trains a reward model based on LLM feedback to evaluate the quality of candidate examples, followed by knowledge distillation to train a bi-encoder based dense retriever. Our experiments on a suite of $30$ tasks demonstrate that our framework significantly enhances in-context learning performance. Furthermore, we show the generalization ability of our framework to unseen tasks during training. An in-depth analysis reveals that our model improves performance by retrieving examples with similar patterns, and the gains are consistent across LLMs of varying sizes. The code and data are available at https://github.com/microsoft/LMOps/tree/main/llm_retriever .
Forward citations
Cited by 4 Pith papers
-
True Multimodal In-Context Learning Needs Attention to the Visual Context
A 160-parameter attention-scaling method, DARA, improves true multimodal in-context learning on a new dataset, TrueMICL, that forces models to use demo images rather than copy text patterns.
-
Retrieval Augmented Generation based Large Language Models for Causality Mining
Dynamic retrieval of few-shot examples by causal connective and semantic similarity improves LLM causality detection and extraction over static prompting in most tested settings.
-
Refract ICL: Rethinking Example Selection in the Era of Million-Token Models
In long-context models, more demonstrations do not automatically help; repeating hard examples and appending the model's own zero-shot predictions gives small, inconsistent gains.
-
Being Strong Progressively! Enhancing Knowledge Distillation of Large Language Models through a Curriculum Learning Framework
POCL wraps LLM knowledge distillation in a curriculum that increases data difficulty and temperature over stages, improving Rouge-L on small GPT-2 and OPT students, though ablations show temperature drives the gains.
Discussion (0). Sign in to comment.