cs.LGFeb 20, 2026

Memory-Based Advantage Shaping for LLM-Guided Reinforcement Learning

Authors: Narjes Nourzad, Carlee Joe-Wong

Organizations: University of Southern California · Carnegie Mellon University

Abstract

In environments with sparse or delayed rewards, reinforcement learning (RL) incurs high sample complexity due to the large number of interactions needed for learning. This limitation has motivated the use of large language models (LLMs) for subgoal discovery and trajectory guidance. While LLMs can support exploration, frequent reliance on LLM calls raises concerns about scalability and reliability. We address these challenges by constructing a memory graph that encodes subgoals and trajectories from both LLM guidance and the agent's own successful rollouts. From this graph, we derive a utility function that evaluates how closely the agent's trajectories align with prior successful strategies. This utility shapes the advantage function, providing the critic with additional guidance without altering the reward. Our method relies primarily on offline input and only occasional online queries, avoiding dependence on continuous LLM supervision. Preliminary experiments in benchmark environments show improved sample efficiency and faster early learning compared to baseline RL methods, with final returns comparable to methods that require frequent LLM interaction.

Figures & tables

Explore similar work

CardsList
  1. MIRA: Memory-Integrated Reinforcement Learning Agent with Limited LLM Guidance

    Feb 20, 2026Narjes Nourzad, Carlee Joe-WongMemory-Augmented RLReinforcement Learning

  2. VLM-Guided Experience Replay

    Feb 2, 2026Elad Sharony, Tom Jurgenson, Orr Krupnik +2Reinforcement LearningPrioritized Experience Replay

  3. Experience is the Best Teacher: Motivating Effective Exploration in Reinforcement Learning for LLMs

    Mar 20, 2026Wenjian Zhang, Kongcheng Zhang, Jiaxin Qi +2Hindsight Experience ReplayRL for Language Model Reasoning