AI RESEARCH

Distilling Game Code World Model Generation into Lightweight Large Language Models

arXiv CS.AI

ArXi:2605.24375v1 Announce Type: new Large Language Models (LLMs) have shown great ability in generating executable code from natural language, opening the possibility of automatically constructing environments for AI agents. Recent work on Code World Models (CWMs) nstrates that LLMs can translate game rules into Python implementations compatible with solvers like Monte Carlo Tree Search. We study this problem in game settings, where generated environments must implement rules, legal actions, state transitions, observations, and rewards.