BriefGPT.xyz
Mar, 2025
针对代码优化的执行感知语言模型研究
Investigating Execution-Aware Language Models for Code Optimization
HTML
PDF
Federico Di Menna, Luca Traini, Gabriele Bavota, Vittorio Cortellessa
TL;DR
本研究解决了现有语言模型在代码优化时缺乏运行时代码执行行为理解的问题。通过将执行信息整合入CodeT5+模型,采用三种训练策略,探索其对代码优化能力的影响。研究结果表明,执行感知模型在代码优化方面的效果有限,提示了当前技术的潜在改进方向。
Abstract
Code Optimization
is the process of enhancing code efficiency, while preserving its intended functionality. This process often requires a deep understanding of the code
Execution Behavior
at run-time to identify
→