The Mystery of Compositional Generalization in Graph-based Generative Commonsense Reasoning

Xiyan Fu, Anette Frank


Abstract
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.
Anthology ID:
2024.findings-emnlp.492
Volume:
Findings of the Association for Computational Linguistics: EMNLP 2024
Month:
November
Year:
2024
Address:
Miami, Florida, USA
Editors:
Yaser Al-Onaizan, Mohit Bansal, Yun-Nung Chen
Venue:
Findings
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
8376–8394
Language:
URL:
https://preview.aclanthology.org/jlcl-multiple-ingestion/2024.findings-emnlp.492/
DOI:
10.18653/v1/2024.findings-emnlp.492
Bibkey:
Cite (ACL):
Xiyan Fu and Anette Frank. 2024. The Mystery of Compositional Generalization in Graph-based Generative Commonsense Reasoning. In Findings of the Association for Computational Linguistics: EMNLP 2024, pages 8376–8394, Miami, Florida, USA. Association for Computational Linguistics.
Cite (Informal):
The Mystery of Compositional Generalization in Graph-based Generative Commonsense Reasoning (Fu & Frank, Findings 2024)
Copy Citation:
PDF:
https://preview.aclanthology.org/jlcl-multiple-ingestion/2024.findings-emnlp.492.pdf