RuAG: Learned-rule-augmented Generation for Large Language Models
On the map: LLM reasoning → Knowledge- and tool-augmented reasoning
also in 1 more
Abstract (arXiv)
In-context learning (ICL) and Retrieval-Augmented Generation (RAG) have gained attention for their ability to enhance LLMs' reasoning by incorporating external knowledge but suffer from limited contextual window size, leading to insufficient information injection. To this end, we propose a novel framework, RuAG, to automatically distill large volumes of offline data into interpretable first-order logic rules, which are injected into LLMs to boost their reasoning capabilities. Our method begins by formulating the search process relying on LLMs' commonsense, where LLMs automatically define head and body predicates. Then, RuAG applies Monte Carlo Tree Search (MCTS) to address the combinational searching space and efficiently discover logic rules from data. The resulting logic rules are translated into natural language, allowing targeted knowledge injection and seamless integration into LLM prompts for LLM's downstream task reasoning. We evaluate our framework on public and private industrial tasks, including natural language processing, time-series, decision-making, and industrial tasks, demonstrating its effectiveness in enhancing LLM's capability over diverse tasks.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Knowledge- and tool-augmented reasoning, one of 17 directions in LLM reasoning. Builds on 37 of its 61 references that are in the map. First posted on arXiv 4 Nov 2024.
Builds on
37 of 61 references.
Closest ancestors · 2
Same direction, newest first
- 2024Reasoning on Efficient Knowledge Paths:Knowledge Graph Guides Large Language Model for Domain Question Answering16 Apr
- 2023ChatRule: Mining Logical Rules with Large Language Models for Knowledge Graph Reasoning4 Sep
Other references · 35
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2021Improving language models by retrieving from trillions of tokenscited by 1,278
- 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 940
- 2023Unifying Large Language Models and Knowledge Graphs: A Roadmapcited by 663
- 2023A Comprehensive Overview of Large Language Modelscited by 639
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 584
- 2024A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Modelscited by 450
- 2023Benchmarking Large Language Models in Retrieval-Augmented Generationcited by 307
- 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 303
23 more
- 2023Ghost in the Minecraft: Generally Capable Agents for Open-World Environments via Large Language Models with Text-based Knowledge and Memorycited by 288
- 2024A Survey on Knowledge Distillation of Large Language Modelscited by 276
- 2019DocRED: A Large-Scale Document-Level Relation Extraction Datasetcited by 239
- 2017Learning Explanatory Rules from Noisy Datacited by 210
- 2022In-context Examples Selection for Machine Translationcited by 172
- 2021Monte Carlo Tree Search: A Review of Recent Modifications and Applicationscited by 158
- 2022Synchromesh: Reliable code generation from pre-trained language modelscited by 156
- 2019Simple BERT Models for Relation Extraction and Semantic Role Labelingcited by 154
- 2024UFO: A UI-Focused Agent for Windows OS Interactioncited by 147
- 2020RNNLogic: Learning Logic Rules for Reasoning on Knowledge Graphscited by 117
- 2023Everything of Thoughts: Defying the Law of Penrose Triangle for Thought Generationcited by 73
- 2019Probabilistic Logic Neural Networks for Reasoningcited by 69
- 2023Large Language Models can Learn Rulescited by 66
- 2020Efficient Probabilistic Logic Reasoning with Graph Neural Networkscited by 50
- 2024Knowledge Graph Large Language Model (KG-LLM) for Link Predictioncited by 36
- 2023LogGPT: Exploring ChatGPT for Log-Based Anomaly Detectioncited by 33
- 2024Large Language Models Are Neurosymbolic Reasonerscited by 31
- 2020DWIE: an entity-centric dataset for multi-task document-level information extractioncited by 29
- 2021Learning Logic Rules for Document-level Relation Extractioncited by 15
- 2024RuleRAG: Rule-Guided Retrieval-Augmented Generation with Language Models for Question Answeringcited by 13
- 2024Enabling MCTS Explainability for Sequential Planning Through Computation Tree Logiccited by 6
- 2023STAS: Spatial-Temporal Return Decomposition for Multi-agent Reinforcement Learningcited by 5
- 2024Policy Learning with a Language Bottleneckcited by 4
Built on by
Citing papers per year: 2024: 1; 2025: 2; 2026: 1.
4 papers.
- 2024Large Language Model-Brained GUI Agents: A Surveycited by 160
- 2025SymRAG: Efficient Neuro-Symbolic Retrieval Through Adaptive Query Routingcited by 5
- 2025RLIE: Rule Generation with Logistic Regression, Iterative Refinement, and Evaluation for Large Language Modelscited by 0
- 2026DiagnosticIQ: A Benchmark for LLM-Based Industrial Maintenance Action Recommendation from Symbolic Rulescited by 0
- 2026DiagnosticIQ: A Benchmark for LLM-Based Industrial Maintenance Action Recommendation from Symbolic Rules9 May 2026
- 2025RLIE: Rule Generation with Logistic Regression, Iterative Refinement, and Evaluation for Large Language Models22 Oct 2025
- 2025SymRAG: Efficient Neuro-Symbolic Retrieval Through Adaptive Query Routing15 Jun 2025
- 2024Large Language Model-Brained GUI Agents: A Survey27 Nov 2024
Similar, not cited
Close in wording, no citation either way
- 2025You Don't Need Pre-built Graphs for RAG: Retrieval Augmented Generation with Adaptive Reasoning Structures
- 2024Can LLMs Reason with Rules? Logic Scaffolding for Stress-Testing and Improving LLMs
- 2025ARise: Towards Knowledge-Augmented Reasoning via Risk-Adaptive Search
- 2025Learned-Rule-Augmented Large Language Model Evaluators
- 2025MCTS-RAG: Enhancing Retrieval-Augmented Generation with Monte Carlo Tree Search
- 2025PIKE-RAG: sPecIalized KnowledgE and Rationale Augmented Generation
- 2025LAG: Logic-Augmented Generation from a Cartesian Perspective
- 2025SELT: Self-Evaluation Tree Search for LLMs with Task Decomposition