Towards Generalizable Agents in Text-Based Educational Environments: A Study of Integrating RL with LLMs
On the map: LLM agents and tool use → Reinforcement learning for LLM agents
Abstract (arXiv)
There has been a growing interest in developing learner models to enhance learning and teaching experiences in educational environments. However, existing works have primarily focused on structured environments relying on meticulously crafted representations of tasks, thereby limiting the agent's ability to generalize skills across tasks. In this paper, we aim to enhance the generalization capabilities of agents in open-ended text-based learning environments by integrating Reinforcement Learning (RL) with Large Language Models (LLMs). We investigate three types of agents: (i) RL-based agents that utilize natural language for state and action representations to find the best interaction strategy, (ii) LLM-based agents that leverage the model's general knowledge and reasoning through prompting, and (iii) hybrid LLM-assisted RL agents that combine these two strategies to improve agents' performance and generalization. To support the development and evaluation of these agents, we introduce PharmaSimText, a novel benchmark derived from the PharmaSim virtual pharmacy environment designed for practicing diagnostic conversations. Our results show that RL-based agents excel in task completion but lack in asking quality diagnostic questions. In contrast, LLM-based agents perform better in asking diagnostic questions but fall short of completing the task. Finally, hybrid LLM-assisted RL agents enable us to overcome these limitations, highlighting the potential of combining RL and LLMs to develop high-performing agents for open-ended learning environments.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Reinforcement learning for LLM agents, one of 16 directions in LLM agents and tool use. Builds on 30 of its 58 references that are in the map. First posted on arXiv 29 Apr 2024.
Builds on
30 of 58 references.
Closest ancestors · 1
Same direction, newest first
Other references · 29
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2013Playing Atari with Deep Reinforcement Learningcited by 3,274
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
- 2016Enriching Word Vectors with Subword Informationcited by 1,583
- 2023SOTOPIA: Interactive Evaluation for Social Intelligence in Language Agentscited by 367
- 2022ScienceWorld: Is your Agent Smarter than a 5th Grader?cited by 327
- 2023Reward Design with Language Modelscited by 261
- 2022Pre-Trained Language Models for Interactive Decision-Makingcited by 221
- 2023Guiding Pretraining in Reinforcement Learning with Large Language Modelscited by 187
- 2023Do the Rewards Justify the Means? Measuring Trade-Offs Between Rewards and Ethical Behavior in the MACHIAVELLI Benchmarkcited by 182
- 2022Automatic Generation of Programming Exercises and Code Explanations using Large Language Modelscited by 126
17 more
- 2023CLIN: A Continually Learning Language Agent for Rapid Task Adaptation and Generalizationcited by 95
- 2015Deep Reinforcement Learning with a Natural Language Action Spacecited by 88
- 2018Leveraging Grammar and Reinforcement Learning for Neural Program Synthesiscited by 84
- 2020Graph Constrained Reinforcement Learning for Natural Language Action Spacescited by 80
- 2020Aligning Superhuman AI with Human Behavior: Chess as a Model Systemcited by 79
- 2022The AI Teacher Test: Measuring the Pedagogical Ability of Blender and GPT-3 in Educational Dialoguescited by 79
- 2023Learning gain differences between ChatGPT and human tutor generated algebra hintscited by 43
- 2023Generative AI for Programming Education: Benchmarking ChatGPT, GPT-4, and Human Tutorscited by 39
- 2023Large Language Models (GPT) for automating feedback on programming assignmentscited by 32
- 2023Automating Human Tutor-Style Programming Feedback: Leveraging GPT-4 Tutor Model for Hint Generation and GPT-3.5 Student Model for Hint Validationcited by 29
- 2021Reinforcement Learning for Education: Opportunities and Challengescited by 25
- 2023Automated Distractor and Feedback Generation for Math Multiple-choice Questions via In-context Learningcited by 24
- 2020Synthesizing Tasks for Block-based Programmingcited by 19
- 2023Assessing Student Errors in Experimentation Using Artificial Intelligence and Large Language Models: A Comparative Study with Human Raterscited by 16
- 2023Neural Task Synthesis for Visual Programmingcited by 13
- 2024Generative AI for Education (GAIED): Advances, Opportunities, and Challengescited by 13
- 2022From {Solution Synthesis} to {Student Attempt Synthesis} for Block-Based Visual Programming Taskscited by 8
Built on by
Citing papers per year: 2024: 1; 2025: 3.
4 papers.
- 2024TeachTune: Reviewing Pedagogical Agents Against Diverse Student Profiles with Simulated Studentscited by 25
- 2025TutorGym: A Testbed for Evaluating AI Agents as Tutors and Studentscited by 10
- 2025Ranking-Based At-Risk Student Prediction Using Federated Learning and Differential Featurescited by 1
- 2025Accelerating Reinforcement Learning Algorithms Convergence using Pre-trained Large Language Models as Tutors With Advice Reusingcited by 0
- 2025Accelerating Reinforcement Learning Algorithms Convergence using Pre-trained Large Language Models as Tutors With Advice Reusing10 Sep 2025
- 2025Ranking-Based At-Risk Student Prediction Using Federated Learning and Differential Features14 May 2025
- 2025TutorGym: A Testbed for Evaluating AI Agents as Tutors and Students2 May 2025
- 2024TeachTune: Reviewing Pedagogical Agents Against Diverse Student Profiles with Simulated Students5 Oct 2024
Similar, not cited
Close in wording, no citation either way
- 2024Reinforcement Learning Problem Solving with Large Language Models
- 2024Words as Beacons: Guiding RL Agents with High-Level Language Prompts
- 2025LLM Agents for Education: Advances and Applications
- 2026Rethinking Agentic Reinforcement Learning In Large Language Models
- 2025PARL: Prompt-based Agents for Reinforcement Learning
- 2024GLIDE-RL: Grounded Language Instruction through DEmonstration in RL
- 2026A Scoping Review of Large Language Model-Based Pedagogical Agents
- 2024TeaMs-RL: Teaching LLMs to Generate Better Instruction Datasets via Reinforcement Learning