paperbot · PL 论文追踪

全部论文 待读 收藏

P2 evalSmarT: An LLM-Based Framework for Evaluating Smart Contract Generated Comments

evalSmarT:一个基于LLM的智能合约生成注释评估框架
ASE 2025 40th IEEE/ACM International Conference on Automated Software Engineering (ASE)2025匹配度 2/10 · 该论文聚焦用 LLM-as-evaluator 评估智能合约生成注释的质量,核心是提示策略与多模型配置的评测框架,属于 LLM 评价/代码理解任务,与用户关注的“程序分析×LLM”主线(静态分析用于 ML/Agentic 程序、LLM 改进静态分析与形式化验证、浮点/贝叶斯程序分析)几乎无交集;其研究目标本身偏向通过提示工程提升 LLM 评测能力,正落在用户明确不感兴趣的方向。引用 0 inbox
Fatou Ndiaye Mbodji, Mame Marieme C. Sougoufara, Wendkûuni A. M. Christian Ouedraogo, Alioune Diallo, Kui Liu, Jacques Klein, Tegawendé F. Bissyandé
crossref: 2026-09-12

AI 速览

一句话:提出基于LLM的模块化框架evalSmarT,通过多模型与多提示策略评估智能合约生成注释的质量。

智能合约注释生成有助于提升区块链系统的代码理解与可维护性,但生成注释的质量评估仍具挑战:BLEU、ROUGE等传统指标难以捕捉领域语义,人工评估成本高且难以扩展。本文提出evalSmarT,一个模块化、可扩展的基于大语言模型(LLM)的评估框架。它通过组合约40个LLM与10种提示策略,支持超过400种评估器配置,并用于对注释生成工具进行基准测试及挑选信息量最大的输出。结果表明,提示设计会显著影响评估结果与人类判断的一致性;基于LLM的评估为现有方法提供了可扩展且语义更丰富的替代方案。

问题
如何自动、可扩展且语义丰富地评估智能合约生成注释的质量,克服传统指标和人工评估的不足。
方法
提出模块化可扩展的LLM评估框架evalSmarT,组合约40个LLM与10种提示策略形成400+评估器配置,用于基准测试和输出选择。
评估
通过基准测试注释生成工具并分析提示设计与人类判断的一致性,展示LLM评估的可扩展性与语义优势。
原文摘要(Abstract)

Smart contract comment generation has gained traction as a means to improve code comprehension and maintainability in blockchain systems. However, evaluating the quality of generated comments remains a challenge. Traditional metrics such as BLEU and ROUGE fail to capture domain-specific nuances, while human evaluation is costly and unscalable. In this paper, we present evalSmarT, a modular and extensible framework that leverages large language models (LLMs) as evaluators. The system supports over 400 evaluator configurations by combining approximately 40 LLMs with 10 prompting strategies. We demonstrate its application in benchmarking comment generation tools and selecting the most informative outputs. Our results show that prompt design significantly impacts alignment with human judgment, and that LLM-based evaluation offers a scalable and semantically rich alternative to existing methods.ResourcesVideo Demo: https://youtu.be/HXS_Yiszoz4Code and Data: https://anonymous.4open.science/r/SC_code_summarization-4653

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot9520,
  title = {evalSmarT: An LLM-Based Framework for Evaluating Smart Contract Generated Comments},
  author = {Fatou Ndiaye Mbodji and Mame Marieme C. Sougoufara and Wendkûuni A. M. Christian Ouedraogo and Alioune Diallo and Kui Liu and Jacques Klein and Tegawendé F. Bissyandé},
  booktitle = {ASE},
  year = {2025},
  doi = {10.1109/ase63991.2025.00389}
}