跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 软件工程

arXiv:2609.03592 (cs)
[提交于 2026年9月3日]

标题:Code Transformation Rule Synthesis using LLMs: Potential and Limits

作者:Axel Allain, Aymeric Blot, Djamel Eddine Khelladi, Mathieu Acher
查看论文《Code Transformation Rule Synthesis using LLMs: Potential and Limits》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Due to their black-box nature, LLMs suffer from limited explain- ability and a lack of determinism. Their usage cost can also rise, particularly with repetitive tasks on large codebases. To mitigate this, we conduct a novel empirical study targeting three domain- specific languages for transformation rules, namely Comby, GritQL, and Ast-Grep. We evaluate three LLMs (GPT-5.4, GPT-oss-120B, and Llama3.1-8B) on six diverse datasets covering four software- evolution tasks: API misuse correction, program repair, API migra- tion, and language version migration. Our results provide evidence that transformation rule synthesis moves beyond proof-of-concept with strong frontier models. GPT-5.4 achieves consistently high rule applicability rates and produces transformations closest to the ground truth across most benchmarks. Smaller and open-weight GPT-oss-120B and Llama3.1-8B models remain effective for simpler, localized changes but struggle with complex migration scenarios. We also observe non-negligible generalizability through the usage of meta-variables and through a high reuse score in the first quartile of many datasets. Finally, when compared to the anti-unification algorithm, LLMs outperform it in correctness, but underperform in rule applicability. Overall, our results show great potential for LLMs to generate sound, correct, generalizable, and reusable rules.
评论: Accepted at the 41st IEEE/ACM International Conference on Automated Software Engineering (ASE 2026)
主题: 软件工程 (cs.SE)
引用方式: arXiv:2609.03592 [cs.SE]
  (或者 arXiv:2609.03592v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2609.03592
相关 DOI: https://doi.org/10.1145/3832783.3837504

提交历史

来自:Axel Allain
[v1] 2026年9月3日 星期四 09:40:30 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.SE
< 上一篇   |   下一篇 >
最新 | 近期 | 2026-09
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站