mlsanityData to 7 Oct 2026

GistScore: Learning Better Representations for In-Context Example Selection with Gist Bottlenecks

arXiv 2311.09606 ↗First posted 16 Nov 2023cs.CLcited by 6

Not on the map. Why?

Abstract (arXiv)

In-context Learning (ICL) is the ability of Large Language Models (LLMs) to perform new tasks when conditioned on prompts comprising a few task examples. However, ICL performance can be critically sensitive to the choice of examples. To dynamically select the best examples for every test input, we propose Example Gisting, a novel approach for training example encoders through supervised fine-tuning with an attention bottleneck between the inputs and outputs. These gist models form the basis for GistScore, a novel metric for scoring and selecting informative examples. Further, we experiment with two variations: (1) fine-tuning gist models for each dataset and (2) multi-task training a single model on a large collection of datasets. The latter can be used for new tasks out-of-the-box, enabling a training-free ICL pipeline. Evaluations with 21 datasets spanning 9 tasks and 8 diverse LLMs show that our fine-tuned models get state-of-the-art ICL performance with over 20% absolute gain over off-the-shelf retrievers and 5% over the best prior methods. Further, our multi-task model generalizes well to new tasks, datasets, and prompt templates. Selection using this model matches or outperforms prior methods while being three orders of magnitude faster than the strongest training-free baseline.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 50 of its 75 references that are in the map. First posted on arXiv 16 Nov 2023.

Builds on

50 of 75 references.

References · 50

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  3. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
  4. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  5. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  6. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  7. 2020Longformer: The Long-Document Transformercited by 3,362
  8. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  9. 2022Emergent Abilities of Large Language Modelscited by 2,483
  10. 2017Billion-scale similarity search with GPUscited by 2,477
  11. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  12. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
38 more
  1. 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
  2. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
  3. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
  4. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  5. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
  6. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
  7. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
  8. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
  9. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
  10. 2018Neural Network Acceptability Judgmentscited by 952
  11. 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 934
  12. 2018XNLI: Evaluating Cross-lingual Sentence Representationscited by 913
  13. 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 896
  14. 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 883
  15. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
  16. 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
  17. 2020TweetEval: Unified Benchmark and Comparative Evaluation for Tweet Classificationcited by 414
  18. 2019PAWS: Paraphrase Adversaries from Word Scramblingcited by 395
  19. 2023Learning to Compress Prompts with Gist Tokenscited by 379
  20. 2019PAWS-X: A Cross-lingual Adversarial Dataset for Paraphrase Identificationcited by 262
  21. 2020COGS: A Compositional Generalization Challenge Based on Semantic Interpretationcited by 260
  22. 2022Selective Annotation Makes Language Models Better Few-Shot Learnerscited by 242
  23. 2021LongT5: Efficient Text-To-Text Transformer for Long Sequencescited by 232
  24. 2022Exploring Length Generalization in Large Language Modelscited by 204
  25. 2022WANLI: Worker and AI Collaboration for Natural Language Inference Dataset Creationcited by 200
  26. 2022Self-Adaptive In-Context Learning: An Information Compression Perspective for In-Context Example Selection and Orderingcited by 158
  27. 2020MTOP: A Comprehensive Multilingual Task-Oriented Semantic Parsing Benchmarkcited by 156
  28. 2023Compositional Exemplars for In-context Learningcited by 143
  29. 2020Task-Oriented Dialogue as Dataflow Synthesiscited by 122
  30. 2022Compositional Semantic Parsing with Large Language Modelscited by 95
  31. 2022Complementary Explanations for Effective In-Context Learningcited by 71
  32. 2023Learning to Retrieve In-Context Examples for Large Language Modelscited by 60
  33. 2023Coverage-based Example Selection for In-Context Learningcited by 58
  34. 2022Evaluating the Impact of Model Scale for Compositional Generalization in Semantic Parsingcited by 50
  35. 2022In-Context Learning for Few-Shot Dialogue State Trackingcited by 47
  36. 2021MedNLI Is Not Immune: Natural Language Inference Artifacts in the Clinical Domaincited by 17
  37. 2022Simplifying Semantic Annotations of SMCalFlowcited by 7
  38. 2023Submodular Minimax Optimization: Finding Effective Setscited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 3; 2026: 1.

6 papers.