mlsanityData to 7 Oct 2026

Embroid: Unsupervised Prediction Smoothing Can Improve Few-Shot Classification

arXiv 2307.11031 ↗First posted 20 Jul 2023cs.LG cs.CLcited by 3

Not on the map. Why?

Abstract (arXiv)

Recent work has shown that language models' (LMs) prompt-based learning capabilities make them well suited for automating data labeling in domains where manual annotation is expensive. The challenge is that while writing an initial prompt is cheap, improving a prompt is costly -- practitioners often require significant labeled data in order to evaluate the impact of prompt modifications. Our work asks whether it is possible to improve prompt-based learning without additional labeled data. We approach this problem by attempting to modify the predictions of a prompt, rather than the prompt itself. Our intuition is that accurate predictions should also be consistent: samples which are similar under some feature representation should receive the same prompt prediction. We propose Embroid, a method which computes multiple representations of a dataset under different embedding functions, and uses the consistency between the LM predictions for neighboring samples to identify mispredictions. Embroid then uses these neighborhoods to create additional predictions for each sample, and combines these predictions with a simple latent variable graphical model in order to generate a final corrected prediction. In addition to providing a theoretical analysis of Embroid, we conduct a rigorous empirical evaluation across six different LMs and up to 95 different tasks. We find that (1) Embroid substantially improves performance over original prompts (e.g., by an average of 7.3 points on GPT-JT), (2) also realizes improvements for more sophisticated prompting strategies (e.g., chain-of-thought), and (3) can be specialized to domains like law through the embedding functions.

Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 57 of its 78 references that are in the map. First posted on arXiv 20 Jul 2023.

Builds on

57 of 78 references.

References · 57

  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. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  5. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  6. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  7. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  8. 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
  9. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  10. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  11. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  12. 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
38 more
  1. 2022Locating and Editing Factual Associations in GPTcited by 2,609
  2. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  3. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
  4. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
  5. 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,935
  6. 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
  7. 2019SciBERT: A Pretrained Language Model for Scientific Textcited by 1,404
  8. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
  9. 2022Mass-Editing Memory in a Transformercited by 976
  10. 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 710
  11. 2022Large Language Models Can Self-Improvecited by 656
  12. 2021Knowledge Neurons in Pretrained Transformerscited by 590
  13. 2022Memory-Based Model Editing at Scalecited by 443
  14. 2019Nuanced Metrics for Measuring Unintended Bias with Real Data for Text Classificationcited by 396
  15. 2017Snorkel: Rapid Training Data Creation with Weak Supervisioncited by 370
  16. 2021True Few-Shot Learning with Language Modelscited by 343
  17. 2018FewRel: A Large-Scale Supervised Few-Shot Relation Classification Dataset with State-of-the-Art Evaluationcited by 254
  18. 2022Selective Annotation Makes Language Models Better Few-Shot Learnerscited by 242
  19. 2021CUAD: An Expert-Annotated NLP Dataset for Legal Contract Reviewcited by 232
  20. 2022Is GPT-3 a Good Data Annotator?cited by 208
  21. 2022Large Language Models are Few-Shot Clinical Information Extractorscited by 206
  22. 2021When Does Pretraining Help? Assessing Self-Supervised Learning for Law and the CaseHOLD Datasetcited by 199
  23. 2021Reframing Instructional Prompts to GPTk's Languagecited by 176
  24. 2023AnnoLLM: Making Large Language Models to Be Better Crowdsourced Annotatorscited by 171
  25. 2022Maieutic Prompting: Logically Consistent Reasoning with Recursive Explanationscited by 159
  26. 2022Ask Me Anything: A simple strategy for prompting language modelscited by 155
  27. 2017PubMed 200k RCT: a Dataset for Sequential Sentence Classification in Medical Abstractscited by 123
  28. 2022Pile of Law: Learning Responsible Data Filtering from the Law and a 256GB Open-Source Legal Datasetcited by 113
  29. 2018Training Complex Models with Multi-Task Weak Supervisioncited by 106
  30. 2020Fast and Three-rious: Speeding Up Weak Supervision with Triplet Methodscited by 98
  31. 2021WRENCH: A Comprehensive Benchmark for Weak Supervisioncited by 95
  32. 2021Do Language Models Have Beliefs? Methods for Detecting, Updating, and Visualizing Model Beliefscited by 79
  33. 2022On the Relation between Sensitivity and Accuracy in In-context Learningcited by 71
  34. 2023ChatGPT: Beginning of an End of Manual Linguistic Data Annotation? Use Case of Automatic Genre Identificationcited by 45
  35. 2019Probing Biomedical Embeddings from Language Modelscited by 39
  36. 2019Learning Dependency Structures for Weak Supervision Modelscited by 32
  37. 2019Revisiting Fine-tuning for Few-shot Learningcited by 29
  38. 2021Universalizing Weak Supervisioncited by 27

50 most cited of 57 All 57 (JSON)

Built on by

Cited by year

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

3 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026What Does Prompt Learning Change? -A Natural-Language Concept Analysis of Vision-Language Models
  2. 2025Unlabeled Data Improves Fine-Grained Image Zero-shot Classification with Multimodal LLMs
  3. 2024LLMEmbed: Rethinking Lightweight LLM's Genuine Function in Text Classification
  4. 2026Low-Rank Prompt Learning for Vision-Language Models with Fixed-Token Bases
  5. 2024Prompt Diffusion Robustifies Any-Modality Prompt Learning
  6. 2026How Much Prompt Is Enough? A Blackbox Minimization of Few-Shots in LLMs
  7. 2023Hard Prompts Made Easy: Gradient-Based Discrete Optimization for Prompt Tuning and Discovery
  8. 2023Why Is Prompt Tuning for Vision-Language Models Robust to Noisy Labels?