ClosureBench: A Constructive Benchmark for Compositional Graph Reasoning
summary
The gist
ClosureBench introduces a novel, constructive benchmark designed for evaluating compositional graph reasoning capabilities in large language models.
In short
The episode discusses 'ClosureBench: A Constructive Benchmark for Compositional Graph Reasoning,' a paper by Stefano Goria from AIM Research Lab. The hosts conclude that AI struggles with complex, multi-step graph problems, showing performance drops in L3 tasks. They also discuss solutions like using three complexity knobs (N, ho, D) and 'program synthesis' to improve reliability.
Key concepts
- ClosureBench
- A dynamic, generative system designed to test AI by creating fresh instances of complex graph problems. It distinguishes between an AI that has memorized answers and one that actually possesses the necessary logic to solve new data.
- Compositional Graph Reasoning
- The ability to perform multi-step calculations over a graph structure. The paper shows LLMs struggle with this, failing to execute computations across multiple steps even if they understand the underlying rule.
- Program Synthesis
- A method where an AI writes a verifiable program instead of generating the answer in natural language. This offloads complex reasoning to an execution engine, offering greater stability than relying on the model's internal working memory.
Terminology used across episodes
This episode discusses
- ClosureBench: A Constructive Benchmark for Compositional Graph Reasoning · Paper Radio
- BeyondBench: Contamination-Resistant Evaluation of Reasoning in Language Models
- Inductive or Deductive? Rethinking the Fundamental Reasoning Abilities of LLMs
- Training Verifiers to Solve Math Word Problems
- Tensor Logic: The Language of AI
- Talk like a Graph: Encoding Graphs for Large Language Models
- G1: Teaching LLMs to Reason on Graphs with Reinforcement Learning
- FOLIO: Natural Language Reasoning with First-Order Logic
- GraphInstruct: Empowering Large Language Models with Graph Understanding and Reasoning Capability
- GSM-Symbolic: Understanding the Limitations of Mathematical Reasoning in Large Language Models
- Language Models Are Greedy Reasoners: A Systematic Formal Analysis of Chain-of-Thought
- The Illusion of Thinking: Understanding the Strengths and Limitations of Reasoning Models via the Lens of Problem Complexity
- GraphArena: Evaluating and Exploring Large Language Models on Graph Computation
- LLMs Still Can't Plan; Can LRMs? A Preliminary Evaluation of OpenAI's o1 on PlanBench
- Can Language Models Solve Graph Problems in Natural Language?
- LiveBench: A Challenging, Contamination-Limited LLM Benchmark
- GraCoRe: Benchmarking Graph Comprehension and Complex Reasoning in Large Language Models
- Rethinking and Benchmarking Large Language Models for Graph Reasoning
The paper
ClosureBench: A Constructive Benchmark for Compositional Graph Reasoning · Read on arXiv
AIM Research Lab
Large language models fail on multi-step compositional reasoning, but measuring that failure is hard, because new models are trained on the benchmarks used to evaluate them. A fixed test set becomes a memorisation check soon after release. Constructive benchmarks avoid this by generating instances on demand. We introduce ClosureBench, a constructive benchmark for graph-relational logical reasoning. Each task is built from explicit primitives (reachability, degree, set operations, connectivity, aggregation), and its reference answer is computed by executing code that implements that logic exactly. Ground truth is therefore verified, and the supply of fresh instances is unlimited. The benchmark spans 26 task categories at three compositional levels, with three independent difficulty axes: graph size, edge density, and query depth. We evaluate models from 1.5B open weights to frontier systems (o3, GPT-4.1, Gemini 2.5, Claude Sonnet 4). Accuracy falls as graph size and query depth increase, and the two axes interact. The difficulty does not lie in the surface form, since it persists when the graph is given as a JSON edge list or an adjacency matrix rather than prose, nor in the reasoning rule, which models state correctly. It lies in carrying that rule out over the graph across many steps. A 4B model fine-tuned to emit verified programs instead of answers stays nearly flat across compositional levels, while every frontier model degrades. o3 falls from 96% on atomic queries to 82% on the most compositional; the 4B model holds at 93% at a fraction of the token cost. The program offloads multi-step execution to a runtime, and the model's remaining errors are almost entirely misread edges. Constructive generation also supports a direct memorisation check, comparing accuracy on seen and fresh instances.
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: Next we'll be talking about the paper "ClosureBench: A Constructive Benchmark for Compositional Graph Reasoning".
Jane: The paper was written by Stefano Goria from AIM Research Lab.
Tom: Stay tuned as we take you through the paper and discuss its implications.
Summary: Tom: We've seen the name "ClosureBench: A Constructive Benchmark for Compositional Graph Reasoning," and I want us to talk about what this really tells us. It’s a big deal because it shows that when we test AI on complex, multi-step graph problems, the performance drops sharply.
Jane: The core finding is that the failure isn't a lack of understanding the rule; it’s a fundamental inability to execute the computation over the graph. Models understand *what* transitive closure means, but they can't reliably calculate it across those multiple steps required by "ClosureBench."
Lu: It’s fascinating how clearly they demonstrated this degradation, right? The way we see accuracy drop from L1 tasks—which are single operations—to L3 tasks is quite telling about the limitations of LLMs in complex reasoning.
Meng: I noticed the drop-off is significant for both open weights and frontier models, which suggests that even our most advanced systems have a fundamental limit in their compositional ability. This really makes us question how we approach deployment of these powerful tools.
Lalam: It means we can't just assume that if an AI understands the language of a problem, it will solve it correctly. We must ensure its capability to handle the actual structural logic and operational constraints before trusting any decision-making process from "ClosureBench."
Tom: And "ClosureBench" is designed to expose this weakness by making sure every single instance is fresh, which is critical for detecting memorization. It’s not a static test set; it's a dynamic, generative system that we can create on demand.
Jane: That constructive element allows us to tell the difference between an AI that has simply memorized the answer and one that actually possesses the logic required to solve it on new data.
Lu: This forces us to see if the AI is truly reasoning or just regurgitating patterns, which is a huge leap forward in how we critique these systems. It demands a genuine evaluation of computational capacity rather than just superficial knowledge.
Meng: The generative approach allows us to stress-test our models without running out of unique scenarios to evaluate them against, which is very practical for scaling testing across real-world data sets.
Lalam: The implications for building trustworthy AI are immense; knowing that the performance degrades as a measure of reliability is far more actionable than just a general statement about difficulty from "ClosureBench."
Improvements: Tom: Okay, so we know AI struggles with composition, but "ClosureBench: A Constructive Benchmark for Compositional Graph Reasoning" offers several ways that we can improve our understanding and potentially fix the issue. The paper highlights three distinct methodological improvements.
Jane: One is that it uses three independent complexity knobs—graph size (N), edge density (rho), and query depth (D)—which allows us to pinpoint exactly where a model fails, rather than just having a general drop in accuracy.
Lu: The way you can isolate these failure modes is incredibly powerful. It’s like being able to tune the difficulty of a test until you find the exact point where an system breaks down, and then address that is manageable by adjusting those three knobs.
Meng: We' can really control those variables, right? For example, we can test if a model fails because the graph is too large or because it’s too dense with connections. This lets us design better training sets to target specific weaknesses in "ClosureBench."
Lalam: I think the ability to measure the failure rate across these dimensions helps us refine our AI systems to build more robust models that handle complexity gracefully, rather than simply collapsing under pressure when facing a challenging graph structure.
Tom: A fourth major improvement is this concept of "program synthesis." The idea that a 4B model fine-tuned to write a verifiable program is far more stable than generating the answer in natural language.
Jane: It’s essentially offloading the multi-step reasoning from the AI's limited working memory to an execution engine. The AI writes code, and the code performs the hard work of calculation, which is a huge conceptual shift away from relying on "ClosureBench" for its own thinking.
Lu: That 4B model maintaining near level-invariant accuracy suggests that its capacity for generating reliable logic is far more consistent than its capacity for generating coherent natural language reasoning, which is a surprising finding in "ClosureBench."
Meng: This also makes a lot of sense as a highly scalable solution. We're replacing the difficult task (reasoning) with a deterministic one (running code), which is exactly what we need for reliable production AI systems.
Lalam: This suggests that perhaps the future of advanced AI isn't just about generating better prose, but about having the capacity to write and execute reliable logic. It improves our cultural trust in automated systems tremendously, according to "ClosureBench."
Conclusion: Tom: As we wrap up our discussion of "ClosureBench: A Constructive Benchmark for Compositional Graph Reasoning," it really boils down to a few final thoughts on what this means for the future.
Jane: The paper proves that AI is not inherently capable of handling multi-step reasoning in complex graphs, and that this limitation is not just a matter of better training, but a fundamental challenge with how it executes computation over the graph.
Lu: It’s an important realization for us researchers—that we can measure the limits of cognitive abilities in AI by confronting them with verifiable computational structures like those used in "ClosureBench." This provides a clear roadmap for where the next generation of AI must improve.
Meng: The practical implication is that when we deploy AI into high-stakes environments, like supply chain management or financial compliance, we cannot rely on natural language reasoning alone. We need the program-synthesis approach to ensure accuracy at scale in these critical systems.
Lalam: I hope this work helps us move toward a culture where we trust AI not because it sounds convincing, but because it can handle the structural integrity of the systems we rely on. The "ClosureBench" methodology gives us that standard of proof.
Tom: It’s a powerful conclusion to see how complexity compounds, and how the solutions—whether it's better control axes or program synthesis—are designed to address these limitations directly within "ClosureBench."
Jane: It’s a benchmark that doesn't give us a final judgment on AI, but rather than giving us a clear map of where it still has work to do.
Lu: Exactly. We are not looking for the end of the journey, but for better navigation through the challenging terrain ahead in graph reasoning tasks.
Meng: I think we can all agree that this is an essential piece of engineering insight for building more robust systems going forward with "ClosureBench."
Lalam: And it truly helps us build a more reliable future, knowing that we are testing AI against genuine structural challenges instead of just accepting its claims.
Final Wrap-up: Tom: We've spent quite a bit of time discussing "ClosureBench: A Constructive Benchmark for Compositional Graph Reasoning," and it’s clear that AI struggles with complex, multi-step graph calculations in natural language.
Jane: Indeed, and it’s reassuring to see the authors demonstrate that even our most advanced frontier models consistently struggle to perform the actual computation over a set of nodes defined by "ClosureBench."
Lu: The data shows a clear compositional slope where accuracy drops from simple atomic operations all the way down to L3 tasks, which is exactly what I hoped we would observe in this kind of rigorous testing.
Meng: From my side, it’s practical validation that if we are building critical systems like logistical planners, relying on natural language reasoning alone poses a significant risk of failure.
Lalam: The ability to measure the gap between memorized answers and fresh computational logic gives us a definitive standard for how we should trust these models moving forward with "ClosureBench."
Tom: I think the constructive nature of this benchmark is what makes it such a powerful tool, ensuring that the evaluation isn't just testing recall but true reasoning ability in any system.
Jane: And that’s where the program-synthesis finding—the 4B model writing verifiable code—comes in as a real solution to mitigate these compositional errors found in "ClosureBench."
Lu: It’s exciting to see how much more stable those smaller, program-generating models are across different levels of complexity compared to the large language models we've been discussing.
Meng: The engineering insight here is that offloading computation is often a far safer bet than having the model try to hold all the math in its head during runtime.
Lalam: This entire paper, "ClosureBench," pushes us toward a culture where we demand computational proof from AI, rather than just accepting its conversational fluency.
Tom: It really forces a shift in how we think about what constitutes reliable intelligence when using machine learning systems like those tested by "ClosureBench."
Jane: I’m glad we could discuss this with the team and that you found it helpful to understand how this benchmark works.
Lu: I hope future research can build on these insights to make AI even more creative and capable of handling complex structure in our world.
Meng: We're ready for the next paper, though, because there's still so much work left in the field of dependable AI.
More episodes
- 2610.10768-Strategic Investment Decision Making for Value Creation in Energy Transition: A Reinforcement Learning Approach
- 2610.10858-RFChipAgent: Multi-Agentic AI Flow for Analog/RF Chip Design
- 2610.10613-Temporal transformer CAN encoder with federated lightweight heads for anomaly detection
- 2610.10616-When Routing Reveals Membership: Privacy Leakage from MoE Router Telemetry
- 2610.10655-Nullify: Null-Space Activation Steering for Training-Free LLM Unlearning
- 2610.11031-Language Modeling is Monotone Compression
- 2610.01253-Context-Aware Error Mitigation Orchestration for Hybrid Quantum Reinforcement Learning on NISQ Systems
- 2604.24201-CMGL: Confidence-guided Multi-omics Graph Learning for Cancer Subtype Classification
- 2609.34069-Towards Certificate-Driven Software Porting: A Self-Improving Agentic Harness for Scientific Program Optimization
- 2312.01221-Enabling Quantum Natural Language Processing for Hindi Language