arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.06565cs.CL
收藏

EVM-QuestBench: 一个基于执行的自然语言交易代码生成基准测试

EVM-QuestBench: An Execution-Grounded Benchmark for Natural-Language Transaction Code Generation

Gradient;Soochow University(苏州大学)

Pei Yang, Wanyi Chen, Ke Wang, Lynn Ai, Eric Yang, Tianyu Shi

AI总结:

本文提出EVM-QuestBench,一个基于执行的自然语言交易脚本生成基准测试,包含107个任务,通过动态评估和模块化架构评估20个模型,发现单步精度与多步流程完成存在显著差异。

摘要:

大型语言模型日益应用于各种开发场景。然而,在链上交易场景中,即使小错误也可能导致不可逆损失。现有评估往往忽视执行准确性和安全性。我们引入EVM-QuestBench,一个用于EVM兼容链上自然语言交易脚本生成的基于执行的基准测试。该基准测试采用动态评估:指令从模板池中采样,数值参数从预定义区间中抽取,验证者根据这些实例化值验证结果。EVM-QuestBench包含107个任务(62个原子任务,45个复合任务)。其模块化架构支持快速任务开发。运行器在分叉的EVM链上执行脚本,采用快照隔离;复合任务应用步骤效率衰减。我们评估了20个模型,发现性能差异显著,分割分数揭示了单步精度与多步工作流程完成之间的持续不对称性。代码:https://anonymous.4open.science/r/bsc_quest_bench-A9CF/.

英文摘要:

Large language models are increasingly applied to various development scenarios. However, in on-chain transaction scenarios, even a minor error can cause irreversible loss for users. Existing evaluations often overlook execution accuracy and safety. We introduce EVM-QuestBench, an execution-grounded benchmark for natural-language transaction-script generation on EVM-compatible chains. The benchmark employs dynamic evaluation: instructions are sampled from template pools, numeric parameters are drawn from predefined intervals, and validators verify outcomes against these instantiated values. EVM-QuestBench contains 107 tasks (62 atomic, 45 composite). Its modular architecture enables rapid task development. The runner executes scripts on a forked EVM chain with snapshot isolation; composite tasks apply step-efficiency decay. We evaluate 20 models and find large performance gaps, with split scores revealing persistent asymmetry between single-action precision and multi-step workflow completion. Code: https://anonymous.4open.science/r/bsc_quest_bench-A9CF/.

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

↑