mlsanityData to 7 Oct 2026

RuAG: Learned-rule-augmented Generation for Large Language Models

arXiv 2411.03349 ↗First posted 4 Nov 2024cs.AI cs.CL cs.LGcited by 4

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

  1. 2024Reasoning on Efficient Knowledge Paths:Knowledge Graph Guides Large Language Model for Domain Question Answering16 Apr
  2. 2023ChatRule: Mining Logical Rules with Large Language Models for Knowledge Graph Reasoning4 Sep

Other references · 35

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  3. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  4. 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
  5. 2021Improving language models by retrieving from trillions of tokenscited by 1,278
  6. 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 940
  7. 2023Unifying Large Language Models and Knowledge Graphs: A Roadmapcited by 663
  8. 2023A Comprehensive Overview of Large Language Modelscited by 639
  9. 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 584
  10. 2024A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Modelscited by 450
  11. 2023Benchmarking Large Language Models in Retrieval-Augmented Generationcited by 307
  12. 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 303
23 more
  1. 2023Ghost in the Minecraft: Generally Capable Agents for Open-World Environments via Large Language Models with Text-based Knowledge and Memorycited by 288
  2. 2024A Survey on Knowledge Distillation of Large Language Modelscited by 276
  3. 2019DocRED: A Large-Scale Document-Level Relation Extraction Datasetcited by 239
  4. 2017Learning Explanatory Rules from Noisy Datacited by 210
  5. 2022In-context Examples Selection for Machine Translationcited by 172
  6. 2021Monte Carlo Tree Search: A Review of Recent Modifications and Applicationscited by 158
  7. 2022Synchromesh: Reliable code generation from pre-trained language modelscited by 156
  8. 2019Simple BERT Models for Relation Extraction and Semantic Role Labelingcited by 154
  9. 2024UFO: A UI-Focused Agent for Windows OS Interactioncited by 147
  10. 2020RNNLogic: Learning Logic Rules for Reasoning on Knowledge Graphscited by 117
  11. 2023Everything of Thoughts: Defying the Law of Penrose Triangle for Thought Generationcited by 73
  12. 2019Probabilistic Logic Neural Networks for Reasoningcited by 69
  13. 2023Large Language Models can Learn Rulescited by 66
  14. 2020Efficient Probabilistic Logic Reasoning with Graph Neural Networkscited by 50
  15. 2024Knowledge Graph Large Language Model (KG-LLM) for Link Predictioncited by 36
  16. 2023LogGPT: Exploring ChatGPT for Log-Based Anomaly Detectioncited by 33
  17. 2024Large Language Models Are Neurosymbolic Reasonerscited by 31
  18. 2020DWIE: an entity-centric dataset for multi-task document-level information extractioncited by 29
  19. 2021Learning Logic Rules for Document-level Relation Extractioncited by 15
  20. 2024RuleRAG: Rule-Guided Retrieval-Augmented Generation with Language Models for Question Answeringcited by 13
  21. 2024Enabling MCTS Explainability for Sequential Planning Through Computation Tree Logiccited by 6
  22. 2023STAS: Spatial-Temporal Return Decomposition for Multi-agent Reinforcement Learningcited by 5
  23. 2024Policy Learning with a Language Bottleneckcited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 2; 2026: 1.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025You Don't Need Pre-built Graphs for RAG: Retrieval Augmented Generation with Adaptive Reasoning Structures
  2. 2024Can LLMs Reason with Rules? Logic Scaffolding for Stress-Testing and Improving LLMs
  3. 2025ARise: Towards Knowledge-Augmented Reasoning via Risk-Adaptive Search
  4. 2025Learned-Rule-Augmented Large Language Model Evaluators
  5. 2025MCTS-RAG: Enhancing Retrieval-Augmented Generation with Monte Carlo Tree Search
  6. 2025PIKE-RAG: sPecIalized KnowledgE and Rationale Augmented Generation
  7. 2025LAG: Logic-Augmented Generation from a Cartesian Perspective
  8. 2025SELT: Self-Evaluation Tree Search for LLMs with Task Decomposition