[Paper Review] MIRA: Memory-Integrated Reinforcement Learning Agent with Limited LLM Guidance
MIRA uses a growing memory graph to integrate limited LLM guidance into reinforcement learning, accelerating early learning in sparse-reward tasks while reducing online LLM queries and preserving PPO convergence.
Reinforcement learning (RL) agents often suffer from high sample complexity in sparse or delayed reward settings due to limited prior structure. Large language models (LLMs) can provide subgoal decompositions, plausible trajectories, and abstract priors that facilitate early learning. However, heavy reliance on LLM supervision introduces scalability constraints and dependence on potentially unreliable signals. We propose MIRA (Memory-Integrated Reinforcement Learning Agent), which incorporates a structured, evolving memory graph to guide early training. The graph stores decision-relevant information, including trajectory segments and subgoal structures, and is constructed from both the agent's high-return experiences and LLM outputs. This design amortizes LLM queries into a persistent memory rather than requiring continuous real-time supervision. From this memory graph, we derive a utility signal that softly adjusts advantage estimation to influence policy updates without modifying the underlying reward function. As training progresses, the agent's policy gradually surpasses the initial LLM-derived priors, and the utility term decays, preserving standard convergence guarantees. We provide theoretical analysis showing that utility-based shaping improves early-stage learning in sparse-reward environments. Empirically, MIRA outperforms RL baselines and achieves returns comparable to approaches that rely on frequent LLM supervision, while requiring substantially fewer online LLM queries. Project webpage: https://narjesno.github.io/MIRA/
Motivation & Objective
- Address high sample complexity in sparse or delayed reward RL settings.
- Leverage LLM-derived priors without ongoing heavy supervision.
- Introduce a memory-graph framework that co-constructs from experience and LLM outputs.
- Derive a utility-based shaping mechanism that accelerates early learning while preserving convergence guarantees.
Proposed method
- Maintain an evolving memory graph where nodes encode trajectory segments and subgoals.
- Incorporate offline LLM priors and infrequent online LLM guidance via a Screening Unit.
- Define a utility signal U_t that softly shapes advantage estimates for policy updates.
- Use adaptive advantage shaping with parameters eta_t and xi_t to balance critic and memory guidance.
- Prove convergence compatibility by decaying shaping influence as policy improves.
- Ensure compatibility with PPO and policy-gradient methods.

Experimental results
Research questions
- RQ1Does the utility-shaped advantage accelerate early learning compared to PPO in sparse-reward settings?
- RQ2How does MIRA perform on long-horizon, partially observable tasks relative to baselines?
- RQ3How effectively do limited online LLM queries translate into performance gains amid memory-guided guidance?
- RQ4What is the contribution of online versus offline LLM guidance, and how do ablations affect robustness to degraded LLM outputs?
Key findings
- MIRA improves early-stage learning relative to PPO, while final performance remains comparable to PPO.
- In long-horizon tasks, MIRA achieves higher success rates and faster convergence than baselines like HRL.
- With a limited LLM budget, MIRA attains better return per LLM query than methods with heavier supervision.
- The memory graph enables effective reuse of guidance, reducing dependence on real-time LLM access over time.
- Online queries accelerate learning, and offline memory provides meaningful guidance when run-time access is constrained.
- The shaping term decays over time to preserve long-horizon convergence while aiding early exploration.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.