mlsanityData to 7 Oct 2026

Effective Demonstration Annotation for In-Context Learning via Language Model-Based Determinantal Point Process

arXiv 2408.02103 ↗First posted 4 Aug 2024cs.CLcited by 9

Not on the map. Why?

Abstract (arXiv)

In-context learning (ICL) is a few-shot learning paradigm that involves learning mappings through input-output pairs and appropriately applying them to new instances. Despite the remarkable ICL capabilities demonstrated by Large Language Models (LLMs), existing works are highly dependent on large-scale labeled support sets, not always feasible in practical scenarios. To refine this approach, we focus primarily on an innovative selective annotation mechanism, which precedes the standard demonstration retrieval. We introduce the Language Model-based Determinant Point Process (LM-DPP) that simultaneously considers the uncertainty and diversity of unlabeled instances for optimal selection. Consequently, this yields a subset for annotation that strikes a trade-off between the two factors. We apply LM-DPP to various language models, including GPT-J, LlaMA, and GPT-3. Experimental results on 9 NLU and 2 Generation datasets demonstrate that LM-DPP can effectively select canonical examples. Further analysis reveals that LLMs benefit most significantly from subsets that are both low uncertainty and high diversity.

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 32 of its 51 references that are in the map. First posted on arXiv 4 Aug 2024.

Builds on

32 of 51 references.

References · 32

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2022Training language models to follow instructions with human feedbackcited by 15,712
  4. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  5. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  6. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  7. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  8. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  9. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  10. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  11. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  12. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
20 more
  1. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
  2. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
  3. 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,308
  4. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
  5. 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
  6. 2022A Survey on In-context Learningcited by 717
  7. 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
  8. 2019Evaluating the Factual Consistency of Abstractive Text Summarizationcited by 578
  9. 2022Generate rather than Retrieve: Large Language Models are Strong Context Generatorscited by 296
  10. 2019Cosmos QA: Machine Reading Comprehension with Contextual Commonsense Reasoningcited by 281
  11. 2022Selective Annotation Makes Language Models Better Few-Shot Learnerscited by 242
  12. 2023Language Modeling Is Compressioncited by 225
  13. 2022Demystifying Prompts in Language Models via Perplexity Estimationcited by 215
  14. 2022Active Example Selection for In-Context Learningcited by 195
  15. 2023Compositional Exemplars for In-context Learningcited by 143
  16. 2022Ground-Truth Labels Matter: A Deeper Look into Input-Label Demonstrationscited by 116
  17. 2023Finding Support Examples for In-Context Learningcited by 104
  18. 2022An Information-theoretic Approach to Prompt Engineering Without Ground Truth Labelscited by 88
  19. 2023Coverage-based Example Selection for In-Context Learningcited by 58
  20. 2023Active Learning Principles for In-Context Learning with Large Language Modelscited by 53

Built on by

Cited by year (2026 to 7 Oct)

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

9 papers.