基于图的生成式常识推理中组合泛化的谜团
The Mystery of Compositional Generalization in Graph-based Generative Commonsense Reasoning
AI总结:
针对大语言模型组合泛化能力存疑的问题,提出基于推理图的CGGC挑战,评估发现7种知名LLM表现不佳,分析推理图结构难度后提出由易到难的样本组织方式可提升其组合泛化能力。
摘要:
尽管大语言模型(LLMs)已成为推理任务中性能优异的架构,但其组合泛化能力一直受到质疑。在本研究中,我们提出了面向基于图的常识推理的组合泛化挑战(Compositional Generalization Challenge for Graph-based Commonsense Reasoning, CGGC),该挑战超越了以往基于序列或树结构的评估,转而涉及推理图:它要求模型基于给定概念和对应的推理图生成自然语句,其中呈现的图包含此前未见过的关系类型组合。要攻克这一挑战,模型需要学习如何对图中的关系元组进行推理,以及在构思语句表达时如何组合这些关系元组。我们使用上下文学习评估了7种知名LLM,发现性能优异的LLM在组合泛化方面仍存在困难。我们通过分析推理图的结构探究了这一差距的潜在原因,发现不同结构对组合泛化而言难度各异。按照结构难度排列演示示例的顺序表明,采用由易到难的模式组织样本可提升LLM的组合泛化能力。
英文摘要:
While LLMs have emerged as performant architectures for reasoning tasks, their compositional generalization capabilities have been questioned. In this work, we introduce a Compositional Generalization Challenge for Graph-based Commonsense Reasoning (CGGC) that goes beyond previous evaluations that are based on sequences or tree structures - and instead involves a reasoning graph: It requires models to generate a natural sentence based on given concepts and a corresponding reasoning graph, where the presented graph involves a previously unseen combination of relation types. To master this challenge, models need to learn how to reason over relation tupels within the graph, and how to compose them when conceptualizing a verbalization. We evaluate seven well-known LLMs using in-context learning and find that performant LLMs still struggle in compositional generalization. We investigate potential causes of this gap by analyzing the structures of reasoning graphs, and find that different structures present varying levels of difficulty for compositional generalization. Arranging the order of demonstrations according to the structures' difficulty shows that organizing samples in an easy-to-hard schema enhances the compositional generalization ability of LLMs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。