A-LAMP: Agentic LLM-Based Framework for Automated MDP Modeling and Policy Generation

Hong Je-Gal, Chan-Bin Yi, Hyun-Suk Lee
12/12/2025
cs.AI
rl

No confident code implementation found for this paper.

Abstract

Applying reinforcement learning (RL) to real-world tasks requires converting informal descriptions into a formal Markov decision process (MDP), implementing an executable environment, and training a policy agent. Automating this process is challenging due to modeling errors, fragile code, and misaligned objectives, which often impede policy training.

Show full abstract

We introduce an agentic large language model (LLM)-based framework for automated MDP modeling and policy generation (A-LAMP), that automatically translates free-form natural language task descriptions into an MDP formulation and trained policy. The framework decomposes modeling, coding, and training into verifiable stages, ensuring semantic alignment throughout the pipeline. Across both classic control and custom RL domains, A-LAMP consistently achieves higher policy generation capability than a single state-of-the-art LLM model. Notably, even its lightweight variant, which is built on smaller language models, approaches the performance of much larger models. Failure analysis reveals why these improvements occur. In addition, a case study also demonstrates that A-LAMP generates environments and policies that preserve the task's optimality, confirming its correctness and reliability.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{jegal2025alamp,
  title  = {A-LAMP: Agentic LLM-Based Framework for Automated MDP Modeling and Policy Generation},
  author = {Hong Je-Gal and Chan-Bin Yi and Hyun-Suk Lee},
  year   = {2025},
  eprint = {2512.11270},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.11270v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.11270.svg)](https://codeofpaper.com/paper/2512.11270)

Discussion