Symbolic Working Memory Enhances Language Models for Complex Rule Application
Siyuan Wang, Zhongyu Wei, Yejin Choi, Xiang Ren

TL;DR
This paper introduces a neurosymbolic framework with external working memory to enhance large language models' ability to perform complex multi-step rule-based reasoning tasks more accurately and robustly.
Contribution
It proposes a novel integration of external symbolic working memory with LLMs, enabling precise rule grounding and improved multi-step reasoning performance.
Findings
Enhanced rule application accuracy across multiple reasoning steps
Robustness of the framework in various settings
Effective symbolic grounding of rules and facts
Abstract
Large Language Models (LLMs) have shown remarkable reasoning performance but struggle with multi-step deductive reasoning involving a series of rule application steps, especially when rules are presented non-sequentially. Our preliminary analysis shows that while LLMs excel in single-step rule application, their performance drops significantly in multi-step scenarios due to the challenge in rule grounding. It requires anchoring the applicable rule and supporting facts at each step, amidst multiple input rules, facts, and inferred facts. To address this, we propose augmenting LLMs with external working memory and introduce a neurosymbolic framework for rule application. The memory stores facts and rules in both natural language and symbolic forms, enabling precise tracking. Utilizing this memory, our framework iteratively performs symbolic rule grounding and LLM-based rule…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
Taxonomy
TopicsNeural Networks and Applications · Fuzzy Logic and Control Systems · AI-based Problem Solving and Planning
