MCP
OpenReviewOpenReview
Submission and review
Published: June 16, 2023
cs.AI
v2
EMNLP 2023 accepted

Active Learning Principles for In-Context Learning with Large Language Models

Abstract
The remarkable advancements in large language models (LLMs) have significantly enhanced predictive performance in few-shot learning settings. By using only a small number of labeled examples, referred to as demonstrations, LLMs can effectively perform the task at hand through in-context learning. However, the process of selecting demonstrations for maximizing performance has received limited attention in prior work. This paper addresses the issue of identifying the most informative demonstrations for few-shot learning by approaching it as a pool-based Active Learning (AL) problem over a single iteration. We compare standard AL algorithms based on uncertainty, diversity, and similarity, and consistently observe that the latter outperforms all other methods, including random sampling. Our extensive experimentation involving a diverse range of GPT and OPT models across 2424 classification and multi-choice tasks, coupled with thorough analysis, unambiguously demonstrates the importance of using demonstrations that are semantically similar to the domain of the test examples. In fact, we show higher average classification performance using ``similar'' demonstrations with GPT-2 (124124M) than random demonstrations with GPT-Neox (2020B). Notably, while diversity sampling shows promise, uncertainty sampling, despite its success in conventional supervised learning AL scenarios, performs poorly in in-context learning.
0
AI overview
Reviews · 3
Citation graph
Structured
This paper does not have an AI preview yet
Links
OpenReview
OpenReview
↗
PDF
↗
arXiv
arXiv version on PaperPulse
›
ACL Anthology
Conference paper
ACL Anthology
›
Rating
No ratings yet
Rate
EMNLP 2023
—
3 reviews
accepted
Community rating
—
/ 5
No ratings yet
Rating
—
Soundness
—
Presentation
—
Contribution
—
Confidence
—
Discussion
Top
Newest
Questions
Replication
Author
No comments yet — be the first