Compositional generalization--understanding unseen combinations of seen primitives--is an essential reasoning capability in human intelligence. The AI community mainly studies this capability by fine-tuning neural networks on lots of training samples, while it is still unclear whether and how in-context learning--the prevailing few-shot paradigm based on large language models--exhibits compositional generalization. In this paper, we present CoFe, a test suite to investigate in-context compositional generalization. We find that the compositional generalization performance can be easily affected by the selection of in-context examples, thus raising the research question what the key factors are to make good in-context examples for compositional generalization. We study three potential factors: similarity, diversity and complexity. Our systematic experiments indicate that in-context examples should be structurally similar to the test case, diverse from each other, and individually simple. Furthermore, two strong limitations are observed: in-context compositional generalization on fictional words is much weaker than that on commonly used ones; it is still critical that the in-context examples should cover required linguistic structures, even though the backbone model has been pre-trained on large corpus. We hope our analysis would facilitate the understanding and utilization of in-context learning paradigm.
Towards Compositional Generalization of LLMs via Skill Taxonomy Guided Data Synthesis
State Key Laboratory of Complex & Critical Software Environment, Beihang University(复杂与关键软件环境国家重点实验室,北京航空航天大学);Beijing Academy of Artificial Intelligence(北京人工智能研究院);Beijing Institute of Technology(北京理工大学);Institute of Computing Technology, CAS(中国科学院计算技术研究所)
Evaluating Morphological Compositional Generalization in Large Language Models
EPFL(瑞士联邦理工学院);Idiap Research Institute(Idiap研究机构);Duke University(杜克大学);Brandeis University(布兰迪斯大学);LMU Munich(慕尼黑大学);University of Cambridge(剑桥大学);Johns Hopkins University(约翰霍普金斯大学);Università della Svizzera Italiana(瑞士意大利大学);New York University(纽约大学)
ChatGPT as Data Augmentation for Compositional Generalization: A Case Study in Open Intent Detection
Ingenuity Labs Research Institute(创新实验室研究所);Queen’s University(女王大学);Smith School of Business(史密斯商学院);Department of Electrical and Computer Engineering(电气与计算机工程系)
Learning to Substitute Components for Compositional Generalization
School of Computer Science and Technology, University of Science and Technology of China(中国科学技术大学计算机科学与技术学院);Department of Computer Science, Hong Kong Baptist University(香港浸会大学计算机科学系);College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院)
Compositional Generalization from Learned Skills via CoT Training: A Theoretical and Structural Analysis for Reasoning
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学人工智能学院);Beijing Key Laboratory of Research on Large Models and Intelligent Governance(北京大型模型与智能治理研究重点实验室);Engineering Research Center of Next-Generation Intelligent Search and Recommendation, MOE(下一代智能搜索与推荐工程研究中心,教育部);Tianjin University of Science and Technology(天津科技大学);Beijing Institute of Technology(北京理工大学)
Compositional Concept Generalization with Variational Quantum Circuits
School of Computer Science;Engineering University of New South Wales Sydney, Australia;Stanford University California, USA;Computer Science University College London London, UK;School of Eng. Maths. \& Tech University of Bristol Bristol, UK;Inst. Logic Language \& Computation University of Amsterdam Amsterdam, NL
Investigating More Explainable and Partition-Free Compositionality Estimation for LLMs: A Rule-Generation Perspective
National Key Laboratory for Multimedia Information Processing, School of Computer Science, Peking University(国家多媒体信息处理重点实验室,计算机学院,北京大学);OPPO AI Center(OPPO人工智能中心)
Multi-Sourced Compositional Generalization in Visual Question Answering
Beijing Key Laboratory of Intelligent Information Technology, School of Computer Science & Technology, Beijing Institute of Technology, China(北京智能信息科技重点实验室,计算机科学与技术学院,北京理工大学,中国);Guangdong Laboratory of Machine Perception and Intelligent Computing, Shenzhen MSU-BIT University, China(广东机器感知与智能计算实验室,深圳MSU-BIT大学,中国)
Rule Extrapolation in Language Models: A Study of Compositional Generalization on OOD Prompts
University of Cambridge(剑桥大学);AI Center, UCL(伦敦大学学院人工智能中心);Max Planck Institute for Intelligent Systems(马克斯·普朗克智能系统研究所);ELLIS Institute Tübingen(蒂宾根ELLIS研究所);Tübingen AI Center(蒂宾根人工智能中心)
Compositional Instruction Following with Language Models and Reinforcement Learning
The University of Texas at Austin(德克萨斯大学奥斯汀分校);University of the Witwatersrand(威特沃特斯兰德大学);Arizona State University(亚利桑那州立大学);Georgia Institute of Technology(佐治亚理工学院)
COGITAO: A Visual Reasoning Framework To Study Compositionality & Generalization
Institute of Neuroinformatics, University of Zurich(神经信息研究所,苏黎世大学);ETH Zurich(苏黎世联邦理工学院);Centre for Artificial Intelligence, Zurich University of Applied Sciences(人工智能中心,应用科学大学)
一个快速增长的研究机构对合成泛化研究语义解析器的能力,动态重组训练中看到的语言元素到看不见的序列。我们对最近的COGS语料库(Kim和Linzen,2020)上的序列到序列模型和由组成原则指导的模型进行了系统的比较。尽管seq 2seq模型在词汇任务上表现良好,但在需要新语法结构的结构泛化任务上,它们的准确率接近于零;即使它们被训练来预测语法而不是语义,也是如此。相比之下,组合模型在结构泛化方面达到了近乎完美的准确性;我们提出了来自AM解析器的新结果(Groschwitz et al.,2021年)。我们的研究结果表明,结构泛化是组成泛化的一个关键措施,需要知道复杂结构的模型。
Zero-Shot Generalization using Intrinsically Motivated Compositional Emergent Protocols
Indian Institute of Science(印度科学研究所)
人类语言被描述为一个制造\textit{use of finite means to express an unlimited array of thoughts}的系统。特别感兴趣的是组合性方面,由此,复合语言表达的含义可以从其组成部分的含义中推导出来。如果人工智能体能够开发出类似于人类语言的组合通信协议,它们就可以无缝地推广到看不见的组合。研究已经认识到好奇心在促进儿童语言发展方面的作用。在本文中,我们试图使用这种内在的反馈,诱导一个系统的和明确的原语言。我们演示了组合性如何使代理不仅与看不见的对象进行交互,而且还将技能从一个任务转移到另一个任务中的zero-shot设置:\textit{Can an agent, trained to `pull' and `push twice', `pull twice'?}。
Benchmarking and Improving Compositional Generalization of Multi-aspect Controllable Text Generation
University of Science and Technology of China(中国科学技术大学);City University of Hong Kong(香港城市大学);Beijing University of Posts and Telecommunications(北京邮电大学);Nanyang Technological University(南洋理工大学)