Home Knowledge Base Compositional Reasoning

Compositional Reasoning is the cognitive capability of solving complex problems by decomposing them into simpler sub-problems, solving each sub-problem independently, and combining the sub-solutions according to the compositional structure of the original problem — the fundamental reasoning ability that enables systematic generalization to novel combinations of known concepts, and the critical weakness of current language models that can master individual skills yet fail when those skills must be composed in unseen ways.

What Is Compositional Reasoning?

Why Compositional Reasoning Matters

Compositional Reasoning in LLMs

Chain-of-Thought (CoT):

Least-to-Most Prompting:

Program-of-Thought:

Faithful Decomposition:

Compositional Reasoning Benchmarks

BenchmarkTaskComposition TypeLLM Performance
SCANCommand → action sequenceSpatial + sequentialPoor (without augmentation)
COGSSentence → logical formSyntactic compositionModerate
CFQ (Freebase)NL → SPARQL queryRelational compositionModerate-Good
GSM8KMath word problemsArithmetic + logicGood (with CoT)
DROPReading comprehensionExtraction + comparisonModerate

Compositional Reasoning is the holy grail of artificial intelligence — the capability that would transform language models from impressive pattern matchers into genuine reasoning engines capable of systematic generalization, and the most important open problem in making AI systems that can reliably solve novel problems by composing the skills they have already mastered.

compositional reasoningreasoning

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.