paper-with-me

홈 › Papers

Can language models learn from explanations in context?

2022-04-05 · Andrew K. Lampinen, Ishita Dasgupta, Stephanie C. Y. Chan, Kory Matthewson, Michael Henry Tessler, Antonia Creswell, James L. McClelland, Jane X. Wang, Felix Hill

Language Models (LMs) can perform new tasks by adapting to a few in-context examples. For humans, explanations that connect examples to task principles can improve learning. We therefore investigate whether explanations of few-shot examples can help LMs. We annotate questions from 40 challenging tasks with answer explanations, and various matched control explanations. We evaluate how different types of explanations, instructions, and controls affect zero- and few-shot performance. We analyze these results using statistical multilevel modeling techniques that account for the nested dependencies among conditions, tasks, prompts, and models. We find that explanations can improve performance -- even without tuning. Furthermore, explanations hand-tuned for performance on a small validation set offer substantially larger benefits, and building a prompt by selecting examples and explanations together substantially improves performance over selecting examples alone. Finally, even untuned explanations outperform carefully matched controls, suggesting that the benefits are due to the link between an example and its explanation, rather than lower-level features. However, only large models benefit. In summary, explanations can support the in-context learning of large LMs on challenging tasks.

📄 PDF Abstract BibTeX arXiv:2204.02329

Code (0)

등록된 구현이 없습니다.

Tasks

In-Context Learning

Similar Papers 제목 키워드 기반

ContextualSHAP : Enhancing SHAP Explanations Through Contextual Language Generation

2025-12-08 · Latifa Dwiyanti, Sergio Ryan Wibisono, Hidetaka Nambo arxiv

Explainable Artificial Intelligence (XAI) has become an increasingly important area of research, particularly as machine learning models are deployed in high-stakes domains. Among various XAI approaches, SHAP (SHapley Ad…

Feature Importance

Complementary Explanations for Effective In-Context Learning

2022-11-25 · Xi Ye, Srinivasan Iyer, Asli Celikyilmaz, Ves Stoyanov 외

Large language models (LLMs) have exhibited remarkable capabilities in learning from explanations in prompts, but there has been limited understanding of exactly how these explanations function or why they are effective.…

In-Context Learning

CLEVR-X: A Visual Reasoning Dataset for Natural Language Explanations

2022-04-05 · Leonard Salewski, A. Sophia Koepke, Hendrik P. A. Lensch, Zeynep Akata

Providing explanations in the context of Visual Question Answering (VQA) presents a fundamental problem in machine learning. To obtain detailed insights into the process of generating natural language explanations for VQ…

Explanation GenerationQuestion AnsweringText GenerationVisual Question Answering+2

Scenarios and Approaches for Situated Natural Language Explanations

2024-06-07 · Pengshuo Qiu, Frank Rudzicz, Zining Zhu

Large language models (LLMs) can be used to generate natural language explanations (NLE) that are adapted to different users' situations. However, there is yet to be a quantitative evaluation of the extent of such adapta…

BenchmarkingIn-Context Learning

Exploring Automatically Perturbed Natural Language Explanations in Relation Extraction

2023-05-24 · Wanyun Cui, Xingran Chen

Previous research has demonstrated that natural language explanations provide valuable inductive biases that guide models, thereby improving the generalization ability and data efficiency. In this paper, we undertake a s…

Computational EfficiencyRelationRelation Extraction