paper-with-me

Papers

Larger language models do in-context learning differently

2023-03-07 · Jerry Wei, Jason Wei, Yi Tay, Dustin Tran, Albert Webson, Yifeng Lu, Xinyun Chen, Hanxiao Liu, Da Huang, Denny Zhou, Tengyu Ma

We study how in-context learning (ICL) in language models is affected by semantic priors versus input-label mappings. We investigate two setups-ICL with flipped labels and ICL with semantically-unrelated labels-across various model families (GPT-3, InstructGPT, Codex, PaLM, and Flan-PaLM). First, experiments on ICL with flipped labels show that overriding semantic priors is an emergent ability of model scale. While small language models ignore flipped labels presented in-context and thus rely primarily on semantic priors from pretraining, large models can override semantic priors when presented with in-context exemplars that contradict priors, despite the stronger semantic priors that larger models may hold. We next study semantically-unrelated label ICL (SUL-ICL), in which labels are semantically unrelated to their inputs (e.g., foo/bar instead of negative/positive), thereby forcing language models to learn the input-label mappings shown in in-context exemplars in order to perform the task. The ability to do SUL-ICL also emerges primarily with scale, and large-enough language models can even perform linear classification in a SUL-ICL setting. Finally, we evaluate instruction-tuned models and find that instruction tuning strengthens both the use of semantic priors and the capacity to learn input-label mappings, but more of the former.

📄 PDF Abstract BibTeX arXiv:2303.03846

Code (0)

등록된 구현이 없습니다.

Tasks

In-Context Learning

Methods 이 논문이 사용한 방법론

PaLM 설명 없음

Similar Papers 제목 키워드 기반

Why Larger Language Models Do In-context Learning Differently?

2024-05-30 · Zhenmei Shi, Junyi Wei, Zhuoyan Xu, YIngyu Liang

Large language models (LLM) have emerged as a powerful tool for AI, with the key ability of in-context learning (ICL), where they can perform well on unseen tasks based on a brief series of task examples without necessit…

In-Context Learning

Vectors from Larger Language Models Predict Human Reading Time and fMRI Data More Poorly when Dimensionality Expansion is Controlled

2025-05-18 · Yi-Chien Lin, Hongao Zhu, William Schuler

The impressive linguistic abilities of large language models (LLMs) have recommended them as models of human sentence processing, with some conjecturing a positive 'quality-power' relationship (Wilcox et al., 2023), in w…

Sentence

Training Trajectories of Language Models Across Scales

2022-12-19 · Mengzhou Xia, Mikel Artetxe, Chunting Zhou, Xi Victoria Lin 외

Scaling up language models has led to unprecedented performance gains, but little is understood about how the training dynamics change as models get larger. How do language models of different sizes learn during pre-trai…

In-Context LearningMultiple-choice

Transformers generalize differently from information stored in context vs in weights

2022-10-11 · Stephanie C. Y. Chan, Ishita Dasgupta, Junkyung Kim, Dharshan Kumaran 외

Transformer models can use two fundamentally different kinds of information: information stored in weights during training, and information provided ``in-context'' at inference time. In this work, we show that transforme…

In-Context Learning

Solving Cosine Similarity Underestimation between High Frequency Words by L2 Norm Discounting

2023-05-17 · Saeth Wannasuphoprasit, Yi Zhou, Danushka Bollegala

Cosine similarity between two words, computed using their contextualised token embeddings obtained from masked language models (MLMs) such as BERT has shown to underestimate the actual similarity between those words (Zho…

Word Similarity