Investigating More Explainable and Partition-Free Compositionality Estimation for LLMs: A Rule-Generation Perspective
Ziyao Xu, Cong Wang, Houfeng Wang
摘要
Compositional generalization tests are often used to estimate the compositionality of LLMs. However, such tests have the following limitations: (1) they only focus on the output results without considering LLMs' understanding of sample compositionality, resulting in explainability defects; (2) they rely on dataset partition to form the test set with combinations unseen in the training set, suffering from combination leakage issues. In this work, we propose a novel rule-generation perspective for compositionality estimation for LLMs. It requires LLMs to generate a program as rules for dataset mapping and provides estimates of the compositionality of LLMs using complexity-based theory. The perspective addresses the limitations of compositional generalization tests and provides a new way to analyze the compositionality characterization of LLMs. We conduct experiments and analysis of existing advanced LLMs based on this perspective on a stringto-grid task, and find various compositionality characterizations and compositionality deficiencies exhibited by LLMs. Our code is available at https://github.com/xzy-xzy/RGP .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- Toward Compositional Behavior in Neural Models: A Survey of Current Views 引用了 COGS: A Compositional Generalization Challenge Based on Semantic Interpretation
- SPOR: A Comprehensive and Practical Evaluation Method for Compositional Generalization in Data-to-Text Generation 引用了 COGS: A Compositional Generalization Challenge Based on Semantic Interpretation
它引用的 Paper5
- COGS: A Compositional Generalization Challenge Based on Semantic InterpretationNajoung Kim, Tal LinzenEMNLP 2020 · 149 次引用
- Compositional Generalization from First PrinciplesThaddäus Wiedemer, Prasanna Mayilvahanan, Matthias Bethge, Wieland BrendelNeurIPS 2023 · 78 次引用
- Toward Compositional Behavior in Neural Models: A Survey of Current ViewsKate McCurdy, Paul Soulos, Paul Smolensky, Roland Fernandez 等EMNLP 2024 · 12 次引用
- Understanding and Patching Compositional Reasoning in LLMsZhaoyi Li, Gangwei Jiang, Hong Xie, Linqi Song 等ACL Findings 2024 · 4 次引用
- SPOR: A Comprehensive and Practical Evaluation Method for Compositional Generalization in Data-to-Text GenerationZiyao Xu, Houfeng WangACL 2024
相关 Paper
- From A and B to A+B: Can Large Language Models Solve Compositional Math Problems?Xisheng Xiao, Hanlin ZhaoEMNLP 2025
- The Mystery of Compositional Generalization in Graph-based Generative Commonsense ReasoningXiyan Fu, Anette FrankEMNLP Findings 2024
- MC²: A Minimum-Coverage and Dataset-Agnostic Framework for Compositional Generalization of LLMs on Semantic ParsingZiyao Xu, Zhe Yang, Houfeng WangEMNLP Findings 2025
- Rule Extrapolation in Language Modeling: A Study of Compositional Generalization on OOD PromptsAnna Mészáros, Szilvia Ujváry, Wieland Brendel, Patrik Reizinger 等NeurIPS 2024 · 9 次引用
- The Paradox of the Compositionality of Natural Language: A Neural Machine Translation Case StudyVerna Dankers, Elia Bruni, Dieuwke HupkesACL 2022
