arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.07342cs.LGcs.AIcs.SE
收藏

Mage:多轴评估LLM生成的可执行游戏场景超越编译通过率

Mage: Multi-Axis Evaluation of LLM-Generated Executable Game Scenes Beyond Compile-Pass Rate

Chalmers University of Technology and University of Gothenburg(楚尔姆斯理工大学和哥德堡大学)

Hugh Xuechen Liu, Kıvanç Tatar

AI总结:

本文提出Mage多轴评估框架,通过编译通过率、运行通过率、结构保真度和机制符合度四个维度评估LLM生成的游戏场景,发现编译通过率与功能正确性反相关,证明多轴评估对检测领域差异的必要性。

摘要:

编译通过率是评估LLM代码生成的主要信号,但对多组件领域特定制品可能产生误导。我们通过可执行游戏场景合成演示这一点,采用四轴评估协议(命名为Mage)——编译成功、运行成功、结构保真度和机制符合度——应用于858次生成尝试、四个开放权重LLM(7B-30B)、26个手工制作的Unity目标模式可玩概念以及两个自动提取的IR粒度级别。直接NL到C#生成实现了最高的运行通过率(43%平均值),但产生结构上空洞的场景(机制F1≈0.12)。结构IR条件使运行率减半但恢复了领域忠实的结构(F1最高达1.00)。在IR条件中,行为-only和全场景粒度在统计上不可区分(McNemar p=1.0),表明输入级粒度饱和。这些结果表明在该领域编译率与功能正确性反相关,且多轴评估是检测分歧的必要条件。我们发布了基准、回放日志和每条记录的指标供独立验证。

英文摘要:

Compile-pass rate is the dominant evaluation signal for LLM code generation, yet for multi-component domain-specific artifacts it can be actively misleading. We demonstrate this on executable game scene synthesis with a four-axis evaluation protocol (named `Mage') -- compile success, runtime success, structural fidelity, and mechanism adherence -- applied to 858 generation attempts across four open-weight LLMs (7B--30B), 26~hand-crafted Unity goal pattern playable concepts, and two automatically extracted IR granularity levels. Direct NL-to-C\# generation achieves the highest runtime-pass rate (43\% mean) yet produces structurally vacuous scenes (mechanism $F_1 \approx 0.12$). Structural IR conditioning halves the runtime rate but recovers domain-faithful structure ($F_1$ up to 1.00). Within IR conditioning, behavior-only and full-scene granularity are statistically indistinguishable (McNemar $p = 1.0$), indicating input-level granularity saturation. These results show that compile rate is anti-correlated with functional correctness in this domain and that multi-axis evaluation is necessary to detect the divergence. We release the benchmark, replay logs, and per-record metrics for independent verification.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑