Take One Step at a Time to Know Incremental Utility of Demonstration: An Analysis on Reranking for Few-Shot In-Context Learning
Not on the map. Why?
Abstract (arXiv)
In-Context Learning (ICL) is an emergent capability of Large Language Models (LLMs). Only a few demonstrations enable LLMs to be used as blackbox for new tasks. Previous studies have shown that using LLMs' outputs as labels is effective in training models to select demonstrations. Such a label is expected to estimate utility of a demonstration in ICL; however, it has not been well understood how different labeling strategies affect results on target tasks. This paper presents an analysis on different utility functions by focusing on LLMs' output probability given ground-truth output, and task-specific reward given LLMs' prediction. Unlike the previous work, we introduce a novel labeling method, incremental utility, which estimates how much incremental knowledge is brought into the LLMs by a demonstration. We conduct experiments with instruction-tuned LLMs on binary/multi-class classification, segmentation, and translation across Arabic, English, Finnish, Japanese, and Spanish. Our results show that (1) the probability is effective when the probability values are distributed across the whole value range (on the classification tasks), and (2) the downstream metric is more robust when nuanced reward values are provided with long outputs (on the segmentation and translation tasks). We then show that the proposed incremental utility further helps ICL by contrasting how the LLMs perform with and without the demonstrations.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 33 of its 43 references that are in the map. First posted on arXiv 16 Nov 2023.
Builds on
33 of 43 references.
References · 33
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
- 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,818
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,475
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,392
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
- 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 905
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 648
- 2019Passage Re-ranking with BERTcited by 645
- 2015Sequence Level Training with Recurrent Neural Networkscited by 576
21 more
- 2021Sentence-T5: Scalable Sentence Encoders from Pre-trained Text-to-Text Modelscited by 463
- 2019An Evaluation Dataset for Intent Classification and Out-of-Scope Predictioncited by 386
- 2023Label Words are Anchors: An Information Flow Perspective for Understanding In-Context Learningcited by 236
- 2023RA-DIT: Retrieval-Augmented Dual Instruction Tuningcited by 195
- 2022Scaling Up Models and Data with textttt5x and textttseqiocited by 187
- 2019Learning to Retrieve Reasoning Paths over Wikipedia Graph for Question Answeringcited by 147
- 2023Compositional Exemplars for In-context Learningcited by 144
- 2023Unified Demonstration Retriever for In-Context Learningcited by 142
- 2022RankT5: Fine-Tuning T5 for Text Ranking with Ranking Lossescited by 115
- 2023Finding Support Examples for In-Context Learningcited by 104
- 2023Dr.ICL: Demonstration-Retrieved In-context Learningcited by 72
- 2023Coverage-based Example Selection for In-Context Learningcited by 59
- 2023Active Learning Principles for In-Context Learning with Large Language Modelscited by 54
- 2019Revealing the Importance of Semantic Retrieval for Machine Reading at Scalecited by 50
- 2023SemEval-2023 Task 10: Explainable Detection of Online Sexismcited by 48
- 2020Discriminative Nearest Neighbor Few-Shot Intent Detection by Transferring Natural Language Inferencecited by 47
- 2023Which Examples to Annotate for In-Context Learning? Towards Effective and Efficient Selectioncited by 37
- 2022Transforming Sequence Tagging Into A Seq2Seq Taskcited by 15
- 2016The Z-loss: a shift and scale invariant classification loss belonging to the Spherical Familycited by 12
- 2020A High-Quality Multilingual Dataset for Structured Documentation Translationcited by 10
- 2023Exploring the Viability of Synthetic Query Generation for Relevance Predictioncited by 9
Built on by
Citing papers per year: 2024: 1; 2025: 0; 2026: 1.
2 papers.