Lune

ICLR2025顶会

Dual Process Learning: Controlling Use of In-Context vs. In-Weights Strategies with Weight Forgetting

Suraj Anand, Michael A. Lepori, Jack Merullo, Ellie Pavlick

摘要

Language models have the ability to perform in-context learning (ICL), allowing them to flexibly adapt their behavior based on context. This contrasts with in-weights learning (IWL), where memorized information is encoded in model parameters after iterated observations of data. An ideal model should be able to flexibly deploy both of these abilities. Despite their apparent ability to learn in-context, language models are known to struggle when faced with unseen or rarely seen tokens (Land & Bartolo, 2024). Hence, we study structural in-context learning\textbf{structural in-context learning}, which we define as the ability of a model to execute in-context learning on arbitrary novel tokens -- so called because the model must generalize on the basis of e.g. sentence structure or task structure, rather than content encoded in token embeddings. We study structural in-context algorithms on both synthetic and naturalistic tasks using toy models, masked language models, and autoregressive language models. We find that structural ICL appears before quickly disappearing early in LM pretraining. While it has been shown that ICL can diminish during training (Singh et al., 2023), we find that prior work does not account for structural ICL. Building on Chen et al. (2024) 's active forgetting method, we introduce pretraining and finetuning methods that can modulate the preference for structural ICL and IWL. Importantly, this allows us to induce a dual process strategy\textit{dual process strategy} where in-context and in-weights solutions coexist within a single model.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • LoRA: Low-Rank Adaptation of Large Language Models 引用了 Language Models are Few-Shot Learners
  • ICL CIPHERS: Quantifying "Learning" in In-Context Learning via Substitution Ciphers 引用了 Investigating the Pre-Training Dynamics of In-Context Learning: Task Recognition vs. Task Learning
  • Pythia: A Suite for Analyzing Large Language Models Across Training and Scaling 引用了 Language Models are Few-Shot Learners
  • A Survey on In-context Learning 引用了 Language Models are Few-Shot Learners
  • A Survey on In-context Learning 引用了 What Can Transformers Learn In-Context? A Case Study of Simple Function Classes
  • Rapid Word Learning Through Meta In-Context Learning 引用了 Pythia: A Suite for Analyzing Large Language Models Across Training and Scaling
  • Investigating the Pre-Training Dynamics of In-Context Learning: Task Recognition vs. Task Learning 引用了 Pythia: A Suite for Analyzing Large Language Models Across Training and Scaling
  • Investigating the Pre-Training Dynamics of In-Context Learning: Task Recognition vs. Task Learning 引用了 A Survey on In-context Learning
  • Investigating the Pre-Training Dynamics of In-Context Learning: Task Recognition vs. Task Learning 引用了 Language Models are Few-Shot Learners
  • Training Dynamics of In-Context Learning in Linear Attention 引用了 Language Models are Few-Shot Learners
  • Training Dynamics of In-Context Learning in Linear Attention 引用了 What Can Transformers Learn In-Context? A Case Study of Simple Function Classes
  • In-Context Learning Strategies Emerge Rationally 引用了 Language Models are Few-Shot Learners
  • In-Context Learning Strategies Emerge Rationally 引用了 What Can Transformers Learn In-Context? A Case Study of Simple Function Classes
  • What Can Transformers Learn In-Context? A Case Study of Simple Function Classes 引用了 Language Models are Few-Shot Learners
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper6

  1. In-Context Learning Strategies Emerge RationallyDaniel Wurgaft, Ekdeep Singh Lubana, Core Francisco Park, Hidenori Tanaka 等NeurIPS 2025 · 19 次引用
  2. ICL CIPHERS: Quantifying "Learning" in In-Context Learning via Substitution CiphersZhouxiang Fang, Aayush Mishra, Muhan Gao, Anqi Liu 等EMNLP 2025
  3. Rapid Word Learning Through Meta In-Context LearningWentao Wang, Guangyuan Jiang, Tal Linzen, Brenden M. LakeEMNLP 2025
  4. Investigating the Pre-Training Dynamics of In-Context Learning: Task Recognition vs. Task LearningXiaolei Wang, Xinyu Tang, Junyi Li, Xin Zhao 等ICLR 2025
  5. Training Dynamics of In-Context Learning in Linear AttentionYedi Zhang, Aaditya K. Singh, Peter E. Latham, Andrew M. SaxeICML 2025

它引用的 Paper15

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu 等ICLR 2022 · 18,833 次引用
  3. Pythia: A Suite for Analyzing Large Language Models Across Training and ScalingStella Biderman, Hailey Schoelkopf, Quentin Gregory Anthony, Herbie Bradley 等ICML 2023 · 1,822 次引用
  4. What Can Transformers Learn In-Context? A Case Study of Simple Function ClassesShivam Garg, Dimitris Tsipras, Percy Liang, Gregory ValiantNeurIPS 2022 · 883 次引用
  5. A Survey on In-context LearningQingxiu Dong, Lei Li, Damai Dai, Ce Zheng 等EMNLP 2024 · 479 次引用

相关 Paper

  1. Comparing the learning dynamics of in-context learning and fine-tuning in language modelsBasile Confavreux, Aaditya K Singh, Jin Hwa Lee, Amaury Sabran 等ICLR 2026
  2. Prior Forgetting and In-Context OverfittingSungyoon LeeNeurIPS 2025 · 1 次引用
  3. What Do Language Models Learn in Context? The Structured Task HypothesisJiaoda Li, Yifan Hou, Mrinmaya Sachan, Ryan CotterellACL 2024 · 5 次引用
  4. Competition Dynamics Shape Algorithmic Phases of In-Context LearningCore Francisco Park, Ekdeep Singh Lubana, Hidenori TanakaICLR 2025
  5. In-Context Learning Learns Label Relationships but Is Not Conventional LearningJannik Kossen, Yarin Gal, Tom RainforthICLR 2024 · 61 次引用
黄昏的海面,两侧是细线勾勒的悬崖