CAMEL: Continuous Action Masking Enabled by Large Language Models for Reinforcement Learning
Not on the map. Why?
Abstract (arXiv)
Reinforcement learning (RL) in continuous action spaces encounters persistent challenges, such as inefficient exploration and convergence to suboptimal solutions. To address these limitations, we propose CAMEL, a novel framework integrating LLM-generated suboptimal policies into the RL training pipeline. CAMEL leverages dynamic action masking and an adaptive epsilon-masking mechanism to guide exploration during early training stages while gradually enabling agents to optimize policies independently. At the core of CAMEL lies the integration of Python-executable suboptimal policies generated by LLMs based on environment descriptions and task objectives. Although simplistic and hard-coded, these policies offer valuable initial guidance for RL agents. To effectively utilize these priors, CAMEL employs masking-aware optimization to dynamically constrain the action space based on LLM outputs. Additionally, epsilon-masking gradually reduces reliance on LLM-generated guidance, enabling agents to transition from constrained exploration to autonomous policy refinement. Experimental validation on Gymnasium MuJoCo environments demonstrates the effectiveness of CAMEL. In Hopper-v4 and Ant-v4, LLM-generated policies significantly improve sample efficiency, achieving performance comparable to or surpassing expert masking baselines. For Walker2d-v4, where LLMs struggle to accurately model bipedal gait dynamics, CAMEL maintains robust RL performance without notable degradation, highlighting the framework's adaptability across diverse tasks. While CAMEL shows promise in enhancing sample efficiency and mitigating convergence challenges, these issues remain open for further research. Future work aims to generalize CAMEL to multimodal LLMs for broader observation-action spaces and automate policy evaluation, reducing human intervention and enhancing scalability in RL training pipelines.
Key facts. Cited by 2 papers in the map (data through 13 Oct 2026). Builds on 5 of its 7 references that are in the map. First posted on arXiv 17 Feb 2025.
Builds on
5 of 7 references.
References · 5
- 2019Interactive Fiction Games: A Colossal Adventurecited by 166
- 2024Survey on Large Language Model-Enhanced Reinforcement Learning: Concept, Taxonomy, and Methodscited by 114
- 2020Keep CALM and Explore: Language Models for Action Generation in Text-based Gamescited by 108
- 2022Provably Safe Reinforcement Learning: Conceptual Analysis, Survey, and Benchmarkingcited by 31
- 2024Excluding the Irrelevant: Focusing Reinforcement Learning through Continuous Action Maskingcited by 17
Built on by
Citing papers per year: 2025: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Harness-RL: Black-Box Reinforcement Learning with Action-Args Decoupling for Central-Agent Multi-Agent Harnesses
- 2025Guiding Exploration in Reinforcement Learning Through LLM-Augmented Observations
- 2026CARM: Cancellation-Aware Response Masking for LLM Reinforcement Learning
- 2025LLM-Explorer: A Plug-in Reinforcement Learning Policy Exploration Enhancement Driven by Large Language Models
- 2026ClawGym II: Exploring Black-Box RL on Agent Harness
- 2026Masked Diffusion Language Models are Strong and Steerable Text-Based World Models for Agentic RL
- 2026Learning to Explore: Scaling Agentic Reasoning via Exploration-Aware Policy Optimization
- 2025Toward Efficient Exploration by Large Language Model Agents