Improving Rule-based Reasoning in LLMs using Neurosymbolic Representations

Varun Dhanraj, Chris Eliasmith · 2025

Read Improving Rule-based Reasoning in LLMs using Neurosymbolic Representations by Varun Dhanraj, Chris Eliasmith (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2502-01657.txt.

Description

Varun Dhanraj and Chris Eliasmith give language models a second, symbolic workspace to reason in. Models often stumble on tasks that demand exact rule following, such as step-by-step math. Their 2025 method encodes a model's hidden states into neurosymbolic vectors and lets the problem be worked in that structured space. The result is then decoded and merged back into the model's own state.

On a suite of math reasoning tasks, the approach cut the loss measure sharply, by 88.6 percent on average against chain-of-thought prompting and fine-tuning. It also solved 15.4 times as many problems correctly. Performance on unrelated tasks did not suffer. The authors argue that offloading exact computation to a symbolic form buys efficiency, reliability, and a clearer view of how the answer was reached. Their code is released openly.

Catalog record

CREATORVarun Dhanraj, Chris Eliasmith
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE61 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2502-01657

Browse the full library · About the Tower of Babel