Lune

EMNLP2022顶会

Active Example Selection for In-Context Learning

Yiming Zhang, Shi Feng, Chenhao Tan

摘要

With a handful of demonstration examples, large-scale language models demonstrate strong capability to perform various tasks by in-context learning from these examples, without any fine-tuning. We demonstrate that in-context learning performance can be highly unstable across samples of examples, indicating the idiosyncrasies of how language models acquire information. We formulate example selection for in-context learning as a sequential decision problem, and propose a reinforcement learning algorithm for identifying generalizable policies to select demonstration examples. For GPT-2, our learned policies demonstrate strong abilities of generalizing to unseen tasks in training, with a 5.8% improvement on average. Examples selected from our learned policies can even achieve a small improvement on GPT-3 Ada. However, the improvement diminishes on larger GPT-3 models, suggesting emerging capabilities of large language models.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 78 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivity 引用了 Calibrate Before Use: Improving Few-shot Performance of Language Models
  • A Survey on In-context Learning 引用了 Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivity
  • A Survey on In-context Learning 引用了 An Explanation of In-context Learning as Implicit Bayesian Inference
  • A Survey on In-context Learning 引用了 Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?
  • A Survey on In-context Learning 引用了 Calibrate Before Use: Improving Few-shot Performance of Language Models
  • An Explanation of In-context Learning as Implicit Bayesian Inference 引用了 Calibrate Before Use: Improving Few-shot Performance of Language Models
  • Large Language Models are Zero-Shot Reasoners 引用了 Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivity
  • Large Language Models are Zero-Shot Reasoners 引用了 Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?
  • Prompting Large Language Model for Machine Translation: A Case Study 引用了 Calibrate Before Use: Improving Few-shot Performance of Language Models
  • Rethinking the Role of Demonstrations: What Makes In-Context Learning Work? 引用了 Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivity
  • Rethinking the Role of Demonstrations: What Makes In-Context Learning Work? 引用了 Calibrate Before Use: Improving Few-shot Performance of Language Models
  • The Unlocking Spell on Base LLMs: Rethinking Alignment via In-Context Learning 引用了 Large Language Models are Zero-Shot Reasoners
  • The Unlocking Spell on Base LLMs: Rethinking Alignment via In-Context Learning 引用了 Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?
  • LayoutLLM-T2I: Eliciting Layout Guidance from LLM for Text-to-Image Generation 引用了 Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivity
  • LayoutLLM-T2I: Eliciting Layout Guidance from LLM for Text-to-Image Generation 引用了 Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?
  • LayoutLLM-T2I: Eliciting Layout Guidance from LLM for Text-to-Image Generation 引用了 Calibrate Before Use: Improving Few-shot Performance of Language Models
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper78

  1. A Survey on In-context LearningQingxiu Dong, Lei Li, Damai Dai, Ce Zheng 等EMNLP 2024 · 479 次引用
  2. Prompting Large Language Model for Machine Translation: A Case StudyBiao Zhang, Barry Haddow, Alexandra BirchICML 2023 · 402 次引用
  3. The Unlocking Spell on Base LLMs: Rethinking Alignment via In-Context LearningBill Yuchen Lin, Abhilasha Ravichander, Ximing Lu, Nouha Dziri 等ICLR 2024 · 299 次引用
  4. CodeS: Towards Building Open-source Language Models for Text-to-SQLHaoyang Li, Jing Zhang, Hanbing Liu, Ju Fan 等SIGMOD 2024 · 124 次引用
  5. LayoutLLM-T2I: Eliciting Layout Guidance from LLM for Text-to-Image GenerationLeigang Qu, Shengqiong Wu, Hao Fei, Liqiang Nie 等ACM MM 2023 · 91 次引用

它引用的 Paper10

  1. Large Language Models are Zero-Shot ReasonersTakeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo 等NeurIPS 2022 · 8,168 次引用
  2. Calibrate Before Use: Improving Few-shot Performance of Language ModelsZihao Zhao, Eric Wallace, Shi Feng, Dan Klein 等ICML 2021 · 1,843 次引用
  3. Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order SensitivityYao Lu, Max Bartolo, Alastair Moore, Sebastian Riedel 等ACL 2022 · 1,494 次引用
  4. An Explanation of In-context Learning as Implicit Bayesian InferenceSang Michael Xie, Aditi Raghunathan, Percy Liang, Tengyu MaICLR 2022 · 1,030 次引用
  5. Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?Sewon Min, Xinxi Lyu, Ari Holtzman, Mikel Artetxe 等EMNLP 2022 · 634 次引用

相关 Paper

  1. What Do Language Models Learn in Context? The Structured Task HypothesisJiaoda Li, Yifan Hou, Mrinmaya Sachan, Ryan CotterellACL 2024 · 5 次引用
  2. Revisiting Demonstration Selection Strategies in In-Context LearningKeqin Peng, Liang Ding, Yancheng Yuan, Xuebo Liu 等ACL 2024
  3. Provoking Multi-modal Few-Shot LVLM via Exploration-Exploitation In-Context LearningCheng Chen, Yunpeng Zhai, Yifan Zhao, Jinyang Gao 等CVPR 2025
  4. Se²: Sequential Example Selection for In-Context LearningHaoyu Liu, Jianfeng Liu, Shaohan Huang, Yuefeng Zhan 等ACL Findings 2024 · 3 次引用
  5. Instruction Induction: From Few Examples to Natural Language Task DescriptionsOr Honovich, Uri Shaham, Samuel R. Bowman, Omer LevyACL 2023 · 48 次引用
黄昏的海面,两侧是细线勾勒的悬崖