Improving Sample Efficiency of Reinforcement Learning with Background Knowledge from Large Language Models
Not on the map. Why?
Abstract (arXiv)
Low sample efficiency is an enduring challenge of reinforcement learning (RL). With the advent of versatile large language models (LLMs), recent works impart common-sense knowledge to accelerate policy learning for RL processes. However, we note that such guidance is often tailored for one specific task but loses generalizability. In this paper, we introduce a framework that harnesses LLMs to extract background knowledge of an environment, which contains general understandings of the entire environment, making various downstream RL tasks benefit from one-time knowledge representation. We ground LLMs by feeding a few pre-collected experiences and requesting them to delineate background knowledge of the environment. Afterward, we represent the output knowledge as potential functions for potential-based reward shaping, which has a good property for maintaining policy optimality from task rewards. We instantiate three variants to prompt LLMs for background knowledge, including writing code, annotating preferences, and assigning goals. Our experiments show that these methods achieve significant sample efficiency improvements in a spectrum of downstream tasks from Minigrid and Crafter domains.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 62 of its 84 references that are in the map. First posted on arXiv 4 Jul 2024.
Builds on
62 of 84 references.
References · 62
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023GPT-4 Technical Reportcited by 18,396
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2017Deep reinforcement learning from human preferencescited by 3,912
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,050
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
- 2023A Survey of Large Language Modelscited by 2,576
38 more
- 2022Do As I Can, Not As I Say: Grounding Language in Robotic Affordancescited by 2,348
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,242
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,191
- 2020D4RL: Datasets for Deep Data-Driven Reinforcement Learningcited by 1,427
- 2017Curiosity-driven Exploration by Self-supervised Predictioncited by 1,194
- 2018Exploration by Random Network Distillationcited by 993
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 885
- 2019Solving Rubik's Cube with a Robot Handcited by 734
- 2023Can Large Language Models Be an Alternative to Human Evaluations?cited by 734
- 2016Unifying Count-Based Exploration and Intrinsic Motivationcited by 639
- 2023RLAIF vs. RLHF: Scaling Reinforcement Learning from Human Feedback with AI Feedbackcited by 625
- 2023Eureka: Human-Level Reward Design via Coding Large Language Modelscited by 571
- 2023Minigrid & Miniworld: Modular & Customizable Reinforcement Learning Environments for Goal-Oriented Taskscited by 327
- 2023Language to Rewards for Robotic Skill Synthesiscited by 312
- 2023Reward Design with Language Modelscited by 261
- 2018BabyAI: A Platform to Study the Sample Efficiency of Grounded Language Learningcited by 244
- 2023Large Language Models as Commonsense Knowledge for Large-Scale Task Planningcited by 231
- 2022Pre-Trained Language Models for Interactive Decision-Makingcited by 221
- 2021Benchmarking the Spectrum of Agent Capabilitiescited by 200
- 2023Grounding Large Language Models in Interactive Environments with Online Reinforcement Learningcited by 195
- 2023Guiding Pretraining in Reinforcement Learning with Large Language Modelscited by 187
- 2022Exploration in Deep Reinforcement Learning: A Surveycited by 166
- 2023Text2Reward: Reward Shaping with Language Models for Reinforcement Learningcited by 160
- 2019A Survey of Reinforcement Learning Informed by Natural Languagecited by 154
- 2023SmartPlay: A Benchmark for LLMs as Intelligent Agentscited by 125
- 2019Using Natural Language for Reward Shaping in Reinforcement Learningcited by 114
- 2023Motif: Intrinsic Motivation from Artificial Intelligence Feedbackcited by 102
- 2023LLM-Eval: Unified Multi-Dimensional Automatic Evaluation for Open-Domain Conversations with Large Language Modelscited by 101
- 2019A survey on intrinsic motivation in reinforcement learningcited by 81
- 2023Preference Transformer: Modeling Human Preferences using Transformers for RLcited by 79
- 2024If LLM Is the Wizard, Then Code Is the Wand: A Survey on How Code Empowers Large Language Models to Serve as Intelligent Agentscited by 79
- 2020Towards Playing Full MOBA Games with Deep Reinforcement Learningcited by 78
- 2023Language Model Self-improvement by Reinforcement Learning Contemplationcited by 75
- 2020Generalized Hindsight for Reinforcement Learningcited by 51
- 2022Semantic Exploration from Language Abstractions and Pretrained Representationscited by 51
- 2022Improving Intrinsic Exploration with Language Abstractionscited by 49
- 2023Towards A Unified Agent with Foundation Modelscited by 47
- 2021ELLA: Exploration through Learned Language Abstractioncited by 42
50 most cited of 62 All 62 (JSON)
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2025Data-Efficient Multi-Agent Spatial Planning with LLMscited by 3
- 2026Automating Potential-based Reward Shaping with Vision Language Model Guidancecited by 2
- 2025Causal Model-Based Reinforcement Learning for Sample-Efficient IoT Channel Accesscited by 0
- 2026Sample Complexity of Equivariant Reinforcement Learningcited by 0
- 2026Sample Complexity of Equivariant Reinforcement Learning29 Sep 2026
- 2026Automating Potential-based Reward Shaping with Vision Language Model Guidance25 Jun 2026
- 2025Causal Model-Based Reinforcement Learning for Sample-Efficient IoT Channel Access13 Nov 2025
- 2025Data-Efficient Multi-Agent Spatial Planning with LLMs26 Feb 2025
Similar, not cited
Close in wording, no citation either way
- 2026Beyond Reward Engineering: A Data Recipe for Long-Context Reinforcement Learning
- 2025Prompted Policy Search: Reinforcement Learning through Linguistic and Numerical Reasoning in LLMs
- 2026A Survey of Reinforcement Learning for Large Language Models under Data Scarcity: Challenges and Solutions
- 2024Survey on Large Language Model-Enhanced Reinforcement Learning: Concept, Taxonomy, and Methods
- 2026Resource-Efficient Reinforcement for Reasoning Large Language Models via Dynamic One-Shot Policy Refinement
- 2025Sample Efficient Reinforcement Learning via Large Vision Language Model Distillation
- 2025Reinforcement Learning Meets Large Language Models: A Survey of Advancements and Applications Across the LLM Lifecycle
- 2026Memory-Based Advantage Shaping for LLM-Guided Reinforcement Learning