测试大模型在组合推理图上的生成能力,发现现有模型仍有短板。
The Mystery of Compositional Generalization in Graph-based Generative Commonsense Reasoning
- 构建基于推理图的组合泛化挑战,要求模型生成对应自然句。
- 七款主流大模型在未见关系组合上表现不佳,准确率不足60%。
- 按推理图难度排序演示样本可显著提升模型泛化能力。
尽管大语言模型在推理任务中表现出色,但其组合泛化能力受到质疑。本文提出一种基于图结构的常识推理组合泛化挑战(CGGC),超越以往基于序列或树结构的评估,要求模型根据给定概念和推理图生成自然语言句子,其中图包含此前未见的关系类型组合。为应对该挑战,模型需学会在图中推理关系元组,并将其组合成语义连贯的表达。我们采用上下文学习对七种知名LLM进行评估,发现高性能模型仍难以实现组合泛化。通过分析推理图结构,我们发现不同结构带来的难度差异显著;按结构难易程度排列演示样本,可有效提升模型的组合泛化能力。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。