Can Models Learn Skill Composition from Examples?
Haoyu Zhao, Simran Kaur, Dingli Yu, Anirudh Goyal, Sanjeev Arora
摘要
As large language models (LLMs) become increasingly advanced, their ability to exhibit compositional generalization -- the capacity to combine learned skills in novel ways not encountered during training -- has garnered significant attention. This type of generalization, particularly in scenarios beyond training data, is also of great interest in the study of AI safety and alignment. A recent study introduced the SKILL-MIX evaluation, where models are tasked with composing a short paragraph demonstrating the use of a specified -tuple of language skills. While small models struggled with composing even with , larger models like GPT-4 performed reasonably well with and . In this paper, we employ a setup akin to SKILL-MIX to evaluate the capacity of smaller models to learn compositional generalization from examples. Utilizing a diverse set of language skills -- including rhetorical, literary, reasoning, theory of mind, and common sense -- GPT-4 was used to generate text samples that exhibit random subsets of skills. Subsequent fine-tuning of 7B and 13B parameter models on these combined skill texts, for increasing values of , revealed the following findings: (1) Training on combinations of and skills results in noticeable improvements in the ability to compose texts with and skills, despite models never having seen such examples during training. (2) When skill categories are split into training and held-out groups, models significantly improve at composing texts with held-out skills during testing despite having only seen training skills during fine-tuning, illustrating the efficacy of the training approach even with previously unseen skills. This study also suggests that incorporating skill-rich (potentially synthetic) text into training can substantially enhance the compositional capabilities of models.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Measuring and Narrowing the Compositionality Gap in Language Models 引用了 Measuring Compositional Generalization: A Comprehensive Method on Realistic Data
- Compositional Abilities Emerge Multiplicatively: Exploring Diffusion Models on a Synthetic Task 引用了 Training language models to follow instructions with human feedback
- Skill Neologisms: Towards Skill-based Continual Learning 引用了 STAT: Skill-Targeted Adaptive Training
- Adversarial Déjà Vu: Jailbreak Dictionary Learning for Stronger Generalization to Unseen Attacks 引用了 Training language models to follow instructions with human feedback
- The Power of Power Law: Asymmetry Enables Compositional Reasoning 引用了 Measuring and Narrowing the Compositionality Gap in Language Models
引用它的顶会 Paper9
- Extrapolation by Association: Length Generalization Transfer In TransformersZiyang Cai, Nayoung Lee, Avi Schwarzschild, Samet Oymak 等NeurIPS 2025 · 13 次引用
- Adversarial Déjà Vu: Jailbreak Dictionary Learning for Stronger Generalization to Unseen AttacksMahavir Dabas, Tran Huynh, Nikhil Reddy Billa, Jiachen T. Wang 等ICLR 2026 · 6 次引用
- STAT: Skill-Targeted Adaptive TrainingYinghui He, Abhishek Panigrahi, Yong Lin, Sanjeev AroraICLR 2026 · 3 次引用
- Skill Neologisms: Towards Skill-based Continual LearningAntonin Berthon, Nicolás Astorga, Mihaela van der SchaarICML 2026 · 1 次引用
- The Power of Power Law: Asymmetry Enables Compositional ReasoningZixuan Wang, Xingyu Dang, Jason Lee, Kaifeng LyuICML 2026 · 1 次引用
它引用的 Paper12
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida 等NeurIPS 2022 · 24,707 次引用
- Faith and Fate: Limits of Transformers on CompositionalityNouha Dziri, Ximing Lu, Melanie Sclar, Xiang Lorraine Li 等NeurIPS 2023 · 728 次引用
- Measuring Compositional Generalization: A Comprehensive Method on Realistic DataDaniel Keysers, Nathanael Schärli, Nathan Scales, Hylke Buisman 等ICLR 2020 · 401 次引用
- Measuring and Narrowing the Compositionality Gap in Language ModelsOfir Press, Muru Zhang, Sewon Min, Ludwig Schmidt 等EMNLP Findings 2023 · 296 次引用
- Compositional Abilities Emerge Multiplicatively: Exploring Diffusion Models on a Synthetic TaskMaya Okawa, Ekdeep Singh Lubana, Robert P. Dick, Hidenori TanakaNeurIPS 2023 · 113 次引用
相关 Paper
- SKILL-MIX: a Flexible and Expandable Family of Evaluations for AI ModelsDingli Yu, Simran Kaur, Arushi Gupta, Jonah Brown-Cohen 等ICLR 2024 · 69 次引用
- Skills-in-Context: Unlocking Compositionality in Large Language ModelsJiaao Chen, Xiaoman Pan, Dian Yu, Kaiqiang Song 等EMNLP Findings 2024 · 4 次引用
- From f(x) and g(x) to f(g(x)): LLMs Learn New Skills in RL by Composing Old OnesLifan Yuan, Weize Chen, Yuchen Zhang, Ganqu Cui 等ICLR 2026 · 46 次引用
- How Abilities in Large Language Models are Affected by Supervised Fine-tuning Data CompositionGuanting Dong, Hongyi Yuan, Keming Lu, Chengpeng Li 等ACL 2024 · 39 次引用
- Learning to grok: Emergence of in-context learning and skill composition in modular arithmetic tasksTianyu He, Darshil Doshi, Aritra Das, Andrey GromovNeurIPS 2024 · 52 次引用
