Reinforcement Learning from LLM-Generated (Suboptimal) Demonstrations

Anurag Kadkol, Lawson L. S. Wong
11/22/2026
cs.AIcs.LG
rl

No confident code implementation found for this paper.

Abstract

Reinforcement learning (RL) has achieved substantial progress across many domains, but training an agent \textit{tabula rasa} remains highly sample-inefficient. A common remedy is to initialize the agent using a neural network pretrained on demonstrations.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kadkol2026reinforcement,
  title  = {Reinforcement Learning from LLM-Generated (Suboptimal) Demonstrations},
  author = {Anurag Kadkol and Lawson L. S. Wong},
  year   = {2026},
  eprint = {2611.29732},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.29732v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.29732.svg)](https://codeofpaper.com/paper/2611.29732)

Discussion