Reinforcement Learning Environment With Llm-controlled Adversary In D&D 5th Edition Combat
2025 Β· Joseph Emmanuel Dl Dayo, Michel Onasis S. Ogbinar, Prospero C. Naval
Abstract
The objective of this study is to design and implement a reinforcement learning (RL) environment using D\&D 5E combat scenarios to challenge smaller RL agents through interaction with a robust adversarial agent controlled by advanced Large Language Models (LLMs) like GPT-4o and LLaMA 3 8B. This research employs Deep Q-Networks (DQN) for the smaller agents, creating a testbed for strategic AI development that also serves as an educational tool by simulating dynamic and unpredictable combat scenarios. We successfully integrated sophisticated language models into the RL framework, enhancing strategic decision-making processes. Our results indicate that while RL agents generally outperform LLM-controlled adversaries in standard metrics, the strategic depth provided by LLMs significantly enhances the overall AI capabilities in this complex, rule-based setting. The novelty of our approach and its implications for mastering intricate environments and developing adaptive strategies are discuss
Authors
(none)
Tags
Stats
Related papers
- Learning To Cope With Adversarial Attacks (2019)0.00
- Language Agents With Reinforcement Learning For Strategic Play In The Werewolf Game (2023)0.00
- Neutral Agent-based Adversarial Policy Learning Against Deep Reinforcement Learning In Multi-party Open Systems (2025)0.00
- Adversarial Policies: Attacking Deep Reinforcement Learning (2019)0.00
- DYSTIL: Dynamic Strategy Induction With Large Language Models For Reinforcement Learning (2025)0.00
- A Survey On Enhancing Reinforcement Learning In Complex Environments: Insights From Human And LLM Feedback (2024)0.00
- Robust Deep Reinforcement Learning Through Adversarial Attacks And Training : A Survey (2024)0.00
- Online Robust Policy Learning In The Presence Of Unknown Adversaries (2018)0.00