Lune

EMNLP2024顶会

Symbolic Working Memory Enhances Language Models for Complex Rule Application

Siyuan Wang, Zhongyu Wei, Yejin Choi, Xiang Ren

摘要

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 implementation. The former matches predicates and variables of symbolic rules and facts to ground applicable rules at each step. Experiments indicate our framework's effectiveness in rule application and its robustness across various steps and settings 1 . 1 Code and data are available at https://github.com/ SiyuanWangw/RuleApplication . [Sequential Input] Facts: Nicole's grandfather, Harold, accompanied her to the basketball match. (F1) Beverly went car shopping with her husband Louis and her daughter Nicole. (F2) Harold bought a new dress for his daughter Marie. (F3) Rules: If B is A's daughter, and C is B's grandfather, then C is the father of A. (R1) If B is the father of A, and C is the daughter of B, then C is the sister of A. (R2) [Non-Sequential Input] Facts: Harold bought a new dress for his daughter Marie. (F3) Nicole's grandfather, Harold, accompanied her to the basketball match. (F1) Beverly went car shopping with her husband Louis and her daughter Nicole. (F2) Rules: If B is A's father, and C is B's daughter, then C is the sister of A. (R2) If B is A's daughter, and C is B's grandfather, then C is the father of A. (R1) [Query] How is Marie related to Beverly? [Rule Application Order]: R1→ (F2+F1) ⟹ F4; R2 → (F4+F3) ⟹ Answer

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Leibniz: Theory-of-Mind Driven Neuro-Symbolic Logical Reasoning via Multi-Agent Collaboration 引用了 Self-Consistency Improves Chain of Thought Reasoning in Language Models
  • Leibniz: Theory-of-Mind Driven Neuro-Symbolic Logical Reasoning via Multi-Agent Collaboration 引用了 Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoning
  • Leibniz: Theory-of-Mind Driven Neuro-Symbolic Logical Reasoning via Multi-Agent Collaboration 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • Self-Consistency Improves Chain of Thought Reasoning in Language Models 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • Chain-of-Thought Prompting Elicits Reasoning in Large Language Models 引用了 Self-Consistency Improves Chain of Thought Reasoning in Language Models
  • Augmenting Language Models with Long-Term Memory 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoning 引用了 Self-Consistency Improves Chain of Thought Reasoning in Language Models
  • Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoning 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • Generative Agents: Interactive Simulacra of Human Behavior 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • MAGNET: Towards Adaptive GUI Agents with Memory-Driven Knowledge Evolution 引用了 Generative Agents: Interactive Simulacra of Human Behavior
  • RuleReasoner: Reinforced Rule-based Reasoning via Domain-aware Dynamic Sampling 引用了 Self-Consistency Improves Chain of Thought Reasoning in Language Models
  • RuleReasoner: Reinforced Rule-based Reasoning via Domain-aware Dynamic Sampling 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • RuleArena: A Benchmark for Rule-Guided Reasoning with LLMs in Real-World Scenarios 引用了 Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoning
  • RuleArena: A Benchmark for Rule-Guided Reasoning with LLMs in Real-World Scenarios 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • Can Compressed LLMs Truly Act? An Empirical Evaluation of Agentic Capabilities in LLM Compression 引用了 Self-Consistency Improves Chain of Thought Reasoning in Language Models
  • Can Compressed LLMs Truly Act? An Empirical Evaluation of Agentic Capabilities in LLM Compression 引用了 Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoning
  • Can Compressed LLMs Truly Act? An Empirical Evaluation of Agentic Capabilities in LLM Compression 引用了 Generative Agents: Interactive Simulacra of Human Behavior
  • Can Compressed LLMs Truly Act? An Empirical Evaluation of Agentic Capabilities in LLM Compression 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper6

  1. RuleArena: A Benchmark for Rule-Guided Reasoning with LLMs in Real-World ScenariosRuiwen Zhou, Wenyue Hua, Liangming Pan, Sitao Cheng 等ACL 2025 · 13 次引用
  2. RuleReasoner: Reinforced Rule-based Reasoning via Domain-aware Dynamic SamplingYang Liu, Jiaqi Li, Zilong ZhengICLR 2026 · 8 次引用
  3. MAGNET: Towards Adaptive GUI Agents with Memory-Driven Knowledge EvolutionLibo Sun, Jiwen Zhang, Siyuan Wang, Zhongyu WeiACL 2026 · 5 次引用
  4. Leibniz: Theory-of-Mind Driven Neuro-Symbolic Logical Reasoning via Multi-Agent CollaborationYue Fan, Hu Zhang, Yunxiao Zhao, Guangjun Zhang 等ACL 2026
  5. Can Compressed LLMs Truly Act? An Empirical Evaluation of Agentic Capabilities in LLM CompressionPeijie Dong, Zhenheng Tang, Xiang Liu, Lujun Li 等ICML 2025

它引用的 Paper19

  1. Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma 等NeurIPS 2022 · 22,562 次引用
  2. Generative Agents: Interactive Simulacra of Human BehaviorJoon Sung Park, Joseph C. O'Brien, Carrie Jun Cai, Meredith Ringel Morris 等UIST 2023 · 1,882 次引用
  3. Self-Consistency Improves Chain of Thought Reasoning in Language ModelsXuezhi Wang, Jason Wei, Dale Schuurmans, Quoc V. Le 等ICLR 2023 · 681 次引用
  4. Augmenting Language Models with Long-Term MemoryWeizhi Wang, Li Dong, Hao Cheng, Xiaodong Liu 等NeurIPS 2023 · 256 次引用
  5. Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical ReasoningLiangming Pan, Alon Albalak, Xinyi Wang, William Yang WangEMNLP Findings 2023 · 145 次引用

相关 Paper

  1. Advancing Multimodal Agent Reasoning with Long-Term Neuro-Symbolic MemoryRongjie Jiang, Jianwei Wang, Gengda Zhao, Chengyang Luo 等KDD 2026 · 5 次引用
  2. RLIE: Rule Generation with Logistic Regression, Iterative Refinement, and Evaluation for Large Language ModelsYang Yang, Hua XU, Zhangyi Hu, Yutao YueICML 2026
  3. MAC-Reasoner: A Multi-Agent Collaborative Framework for Enhancing Logical Reasoning in Large Language ModelsYehua Lin, Liping Zheng, Yin ChenACL Findings 2026
  4. Logically Consistent Language Models via Neuro-Symbolic IntegrationDiego Calanzone, Stefano Teso, Antonio VergariICLR 2025 · 2 次引用
  5. Faithful Logical Reasoning via Symbolic Chain-of-ThoughtJundong Xu, Hao Fei, Liangming Pan, Qian Liu 等ACL 2024
黄昏的海面,两侧是细线勾勒的悬崖