AI
New two-stage reasoning method helps language models reason logically over multiple facts
Researchers propose ThinkSum, a probabilistic inference approach that improves large language models' ability to make deductive reasoning across sets of objects and facts.
Large language models excel at pattern-matching tasks drawn from their training data or provided examples, yet they struggle when confronted with multi-object reasoning and chains of logical deduction. A new technique called ThinkSum aims to address this fundamental limitation by decomposing complex reasoning into two structured phases.
How ThinkSum works#
The approach operates through a two-stage process. During the "Think" phase, the system queries a language model in parallel across multiple phrases or facts extracted either from the input prompt or generated by an auxiliary model. Rather than relying on the model's internal reasoning trajectory, the second "Sum" phase aggregates these individual query results using probabilistic inference to arrive at a final answer. This externalized inference process differs from standard prompting methods that ask models to reason directly within their outputs.
Performance gains across reasoning tasks#
When evaluated on the BIG-bench evaluation suite—a collection of challenging tasks designed to push LLM boundaries—ThinkSum demonstrated substantial improvements over baseline approaches. The method outperformed existing state-of-the-art results on thirteen difficult reasoning problems, frequently using smaller and less computationally expensive model variants than previous best solutions.
Advantages over alternative approaches#
Compared to popular alternatives like chain-of-thought prompting, ThinkSum offers several practical benefits. By performing its core inference outside the language model itself, the method becomes less dependent on how questions are phrased and produces more interpretable results. The structured nature of the approach also allows integration with latent variable models, enabling extraction of more precise, organized knowledge from LLMs.
The findings suggest that moving probabilistic reasoning outside language models—rather than asking them to reason internally—represents a promising direction for improving their logical capabilities on complex multi-step problems.

