cs.AINov 22, 2026

Reinforcement Learning from LLM-Generated (Suboptimal) Demonstrations

Authors: Anurag Kadkol, Lawson L. S. Wong

Organizations: Khoury College of Computer Sciences, Northeastern University, United States

Abstract

Reinforcement learning (RL) has achieved substantial progress across many domains, but training an agent tabula rasa remains highly sample-inefficient. A common remedy is to initialize the agent using a neural network pretrained on demonstrations. However, collecting demonstrations is expensive, and the demonstrations themselves can be suboptimal. In this work, we use a large language model (LLM) to generate an advice policy that produces demonstration data with effectively no human cost. We use this data to warmstart a DQN agent, and use the advice policy itself to guide exploration during training. Because LLM-generated advice is often suboptimal, we further introduce a value warmstart method that initializes the agent to recognize promising states from the advice policy's behavior, without directly copying its actions. To characterize the robustness of this method, we systematically perturb individual sub-skills of an LLM-generated advice policy for a long-horizon, sparse-reward task. Degraded advice still meaningfully accelerates learning relative to unaided baselines. These results suggest that LLM-generated advice, though suboptimal, can be a cheap alternative to costly human demonstrations.

Figures & tables

Appendix figures & tables5 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. When are LLMs Sufficient Policy Optimizers for Sequential RL Tasks?

    May 29, 2026Stephane Hatgis-Kessell, Emma BrunskillLanguage Model-Based ControlPolicy Optimization

  2. 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

  3. Depth Before Breadth: Reverse-to-Forward Curriculum with Advantage Decomposition for LLM Agent

    Nov 18, 2026Siyuan Du, Yuxin Liu, Meng Tang +4RL for LLM AgentsLong-Horizon RL