mlsanityData to 14 Oct 2026

Improving Sample Efficiency of Reinforcement Learning with Background Knowledge from Large Language Models

arXiv 2407.03964 ↗First posted 4 Jul 2024cs.CL cs.LGcited by 4

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

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2023GPT-4 Technical Reportcited by 18,396
  4. 2022Training language models to follow instructions with human feedbackcited by 15,971
  5. 2017Proximal Policy Optimization Algorithmscited by 15,215
  6. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  7. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  8. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  9. 2017Deep reinforcement learning from human preferencescited by 3,912
  10. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,050
  11. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
  12. 2023A Survey of Large Language Modelscited by 2,576
38 more
  1. 2022Do As I Can, Not As I Say: Grounding Language in Robotic Affordancescited by 2,348
  2. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,242
  3. 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,191
  4. 2020D4RL: Datasets for Deep Data-Driven Reinforcement Learningcited by 1,427
  5. 2017Curiosity-driven Exploration by Self-supervised Predictioncited by 1,194
  6. 2018Exploration by Random Network Distillationcited by 993
  7. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 885
  8. 2019Solving Rubik's Cube with a Robot Handcited by 734
  9. 2023Can Large Language Models Be an Alternative to Human Evaluations?cited by 734
  10. 2016Unifying Count-Based Exploration and Intrinsic Motivationcited by 639
  11. 2023RLAIF vs. RLHF: Scaling Reinforcement Learning from Human Feedback with AI Feedbackcited by 625
  12. 2023Eureka: Human-Level Reward Design via Coding Large Language Modelscited by 571
  13. 2023Minigrid & Miniworld: Modular & Customizable Reinforcement Learning Environments for Goal-Oriented Taskscited by 327
  14. 2023Language to Rewards for Robotic Skill Synthesiscited by 312
  15. 2023Reward Design with Language Modelscited by 261
  16. 2018BabyAI: A Platform to Study the Sample Efficiency of Grounded Language Learningcited by 244
  17. 2023Large Language Models as Commonsense Knowledge for Large-Scale Task Planningcited by 231
  18. 2022Pre-Trained Language Models for Interactive Decision-Makingcited by 221
  19. 2021Benchmarking the Spectrum of Agent Capabilitiescited by 200
  20. 2023Grounding Large Language Models in Interactive Environments with Online Reinforcement Learningcited by 195
  21. 2023Guiding Pretraining in Reinforcement Learning with Large Language Modelscited by 187
  22. 2022Exploration in Deep Reinforcement Learning: A Surveycited by 166
  23. 2023Text2Reward: Reward Shaping with Language Models for Reinforcement Learningcited by 160
  24. 2019A Survey of Reinforcement Learning Informed by Natural Languagecited by 154
  25. 2023SmartPlay: A Benchmark for LLMs as Intelligent Agentscited by 125
  26. 2019Using Natural Language for Reward Shaping in Reinforcement Learningcited by 114
  27. 2023Motif: Intrinsic Motivation from Artificial Intelligence Feedbackcited by 102
  28. 2023LLM-Eval: Unified Multi-Dimensional Automatic Evaluation for Open-Domain Conversations with Large Language Modelscited by 101
  29. 2019A survey on intrinsic motivation in reinforcement learningcited by 81
  30. 2023Preference Transformer: Modeling Human Preferences using Transformers for RLcited by 79
  31. 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
  32. 2020Towards Playing Full MOBA Games with Deep Reinforcement Learningcited by 78
  33. 2023Language Model Self-improvement by Reinforcement Learning Contemplationcited by 75
  34. 2020Generalized Hindsight for Reinforcement Learningcited by 51
  35. 2022Semantic Exploration from Language Abstractions and Pretrained Representationscited by 51
  36. 2022Improving Intrinsic Exploration with Language Abstractionscited by 49
  37. 2023Towards A Unified Agent with Foundation Modelscited by 47
  38. 2021ELLA: Exploration through Learned Language Abstractioncited by 42

50 most cited of 62 All 62 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 2.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Beyond Reward Engineering: A Data Recipe for Long-Context Reinforcement Learning
  2. 2025Prompted Policy Search: Reinforcement Learning through Linguistic and Numerical Reasoning in LLMs
  3. 2026A Survey of Reinforcement Learning for Large Language Models under Data Scarcity: Challenges and Solutions
  4. 2024Survey on Large Language Model-Enhanced Reinforcement Learning: Concept, Taxonomy, and Methods
  5. 2026Resource-Efficient Reinforcement for Reasoning Large Language Models via Dynamic One-Shot Policy Refinement
  6. 2025Sample Efficient Reinforcement Learning via Large Vision Language Model Distillation
  7. 2025Reinforcement Learning Meets Large Language Models: A Survey of Advancements and Applications Across the LLM Lifecycle
  8. 2026Memory-Based Advantage Shaping for LLM-Guided Reinforcement Learning