AI
New framework bridges symbolic logic and language models to boost AI reasoning
Researchers combine Prolog-based formal reasoning with chain-of-thought prompting to help large language models learn more robust problem-solving strategies.
Researchers have introduced Thought-Like-Pro, a learning framework designed to strengthen the logical reasoning abilities of large language models by merging symbolic logic programming with modern language modeling techniques.
The Problem with Current Approaches#
Despite their versatility, large language models remain heavily dependent on how they're prompted—and there's no unified system to help them learn reasoning patterns that generalize well across different types of problems. The researchers sought to address this gap by creating a more structured approach to reasoning that doesn't rely solely on trial-and-error prompting.
How the Framework Works#
The method operates through a clever cycle: the system starts with instructions that guide a symbolic Prolog logic engine to generate formal reasoning steps. These Prolog-derived trajectories are then converted back into natural language reasoning chains that the language model learns to imitate. The language model itself formulates logical rules from the initial instructions and uses the Prolog engine to verify and compute results. This creates a self-bootstrapping loop where each component reinforces the other.
Key Results#
Testing shows that Thought-Like-Pro meaningfully improves how well large language models handle reasoning tasks. Notably, when the researchers applied model averaging techniques, the approach showed strong generalization even on tasks that required reasoning beyond the original training distribution—a critical capability often sought in AI development.
Significance#
By fusing the precision of symbolic reasoning systems with the flexibility of language models, the framework offers a pathway toward building AI systems that reason more like humans do, combining formal logic with natural language understanding. The researchers have made part of their dataset publicly available to support future work in this direction.

