A-LAMP:基于代理的大型语言模型框架用于自动马尔可夫决策过程建模与策略生成
A-LAMP: Agentic LLM-Based Framework for Automated MDP Modeling and Policy Generation
AI总结:
A-LAMP通过基于代理的大型语言模型自动将自然语言任务描述转换为马尔可夫决策过程并生成策略,提升了自动化建模和策略生成的效率与准确性。
摘要:
将强化学习(RL)应用于现实任务需要将非正式描述转换为形式化的马尔可夫决策过程(MDP),实现可执行环境,并训练策略代理。自动化这一过程具有挑战性,因为建模错误、脆弱的代码和目标不一致常常阻碍策略训练。我们介绍了一个基于代理的大型语言模型(LLM)框架,用于自动MDP建模和策略生成(A-LAMP),该框架能够自动将非结构化的自然语言任务描述转换为MDP公式和训练好的策略。该框架将建模、编码和训练分解为可验证的阶段,确保整个流程中的语义一致性。在经典控制和定制RL领域中,A-LAMP始终比单个最先进的LLM模型具有更高的策略生成能力。值得注意的是,即使其轻量级变体,其基于较小的语言模型,也接近更大模型的性能。失败分析揭示了这些改进的原因。此外,一个案例研究还表明,A-LAMP生成的环境和策略保持了任务的最优性,证实了其正确性和可靠性。
英文摘要:
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. 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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。