mlsanityData to 7 Oct 2026

RIMRULE: Improving Tool-Using Language Agents via MDL-Guided Rule Learning

arXiv 2601.00086 ↗First posted 31 Dec 2025cs.CLcited by 2

On the map: LLM agents and tool use → Tool learning and function calling

Abstract (arXiv)

Large language models (LLMs) often struggle to use tools reliably in domain-specific settings, where APIs may be idiosyncratic, under-documented, or tailored to private workflows. This highlights the need for effective adaptation to task-specific tools. We propose RIMRULE, a neuro-symbolic approach for LLM adaptation based on dynamic rule injection. Compact, interpretable rules are distilled from failure traces and injected into the prompt during inference to improve task performance. These rules are proposed by the LLM itself and consolidated using a Minimum Description Length (MDL) objective that favors generality and conciseness. Each rule is stored in both natural language and a structured symbolic form, supporting efficient retrieval at inference time. Experiments on tool-use benchmarks show that this approach improves accuracy on both seen and unseen tools without modifying LLM weights. It outperforms prompting-based adaptation methods and complements finetuning. Moreover, rules learned from one LLM can be reused to improve others, including long reasoning LLMs, highlighting the portability of symbolic knowledge across architectures.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Tool learning and function calling, one of 16 directions in LLM agents and tool use. Builds on 25 of its 102 references that are in the map. First posted on arXiv 31 Dec 2025.

Builds on

25 of 102 references.

Closest ancestors · 5

Same direction, newest first

  1. 2025ToolHop: A Query-Driven Benchmark for Evaluating Large Language Models in Multi-Hop Tool Use5 Jan
  2. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs31 Jul
  3. 2023Gorilla: Large Language Model Connected with Massive APIs24 May
  4. 2023ToolkenGPT: Augmenting Frozen Language Models with Massive Tools via Tool Embeddings19 May
  5. 2023Toolformer: Language Models Can Teach Themselves to Use Tools9 Feb

Other references · 20

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  3. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
  4. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
  5. 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 628
  6. 2023Larger language models do in-context learning differentlycited by 386
  7. 2024Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunitiescited by 247
  8. 2024Self-Discover: Large Language Models Self-Compose Reasoning Structurescited by 108
  9. 2024ToolGen: Unified Tool Retrieval and Calling via Generationcited by 72
  10. 2024Enhancing Reasoning Capabilities of LLMs via Principled Synthetic Logic Corpuscited by 29
  11. 2024Can LLMs Reason with Rules? Logic Scaffolding for Stress-Testing and Improving LLMscited by 28
  12. 2023Structure-Aware Language Model Pretraining Improves Dense Retrieval on Structured Datacited by 23
8 more
  1. 2024Customizing Language Model Responses with Contrastive In-Context Learningcited by 19
  2. 2024Symbolic Working Memory Enhances Language Models for Complex Rule Applicationcited by 17
  3. 2025Tool-R1: Sample-Efficient Reinforcement Learning for Agentic Tool Usecited by 16
  4. 2024RuleRAG: Rule-Guided Retrieval-Augmented Generation with Language Models for Question Answeringcited by 13
  5. 2024SEE: Strategic Exploration and Exploitation for Cohesive In-Context Prompt Optimizationcited by 12
  6. 2025AutoRule: Reasoning Chain-of-thought Extracted Rule-based Rewards Improve Preference Learningcited by 11
  7. 2025ToolBrain: A Flexible Reinforcement Learning Framework for Agentic Toolscited by 2
  8. 2025Improving In-Context Learning with Reasoning Distillationcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024MLLM-Tool: A Multimodal Large Language Model For Tool Agent Learning
  2. 2024Tool Learning in the Wild: Empowering Language Models as Automatic Tool Agents
  3. 2026Beyond Factual Knowledge: Benchmarking and Learning Step-Level Procedural Rule Reasoning in Large Language Models
  4. 2024LLM With Tools: A Survey
  5. 2025Rethinking Reasoning in LLMs: Neuro-Symbolic Local RetoMaton Beyond ICL and CoT
  6. 2025Nemotron-Research-Tool-N1: Exploring Tool-Using Language Models with Reinforced Reasoning
  7. 2023FIAT: Fusing learning paradigms with Instruction-Accelerated Tuning
  8. 2025OmniReflect: Discovering Transferable Constitutions for LLM agents via Neuro-Symbolic Reflections