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

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

计算机科学 > 软件工程

arXiv:2601.01320 (cs)
[提交于 2026年1月4日]

标题:Adaptive Hierarchical Evaluation of LLMs and SAST tools for CWE Prediction in Python

作者:Muntasir Adnan, Carlos C. N. Kuhn
查看论文《Adaptive Hierarchical Evaluation of LLMs and SAST tools for CWE Prediction in Python》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:Large Language Models have become integral to software development, yet they frequently generate vulnerable code. Existing code vulnerability detection benchmarks employ binary classification, lacking the CWE-level specificity required for actionable feedback in iterative correction systems. We present ALPHA (Adaptive Learning via Penalty in Hierarchical Assessment), the first function-level Python benchmark that evaluates both LLMs and SAST tools using hierarchically aware, CWE-specific penalties. ALPHA distinguishes between over-generalisation, over-specification, and lateral errors, reflecting practical differences in diagnostic utility. Evaluating seven LLMs and two SAST tools, we find LLMs substantially outperform SAST, though SAST demonstrates higher precision when detections occur. Critically, prediction consistency varies dramatically across models (8.26%-81.87% agreement), with significant implications for feedback-driven systems. We further outline a pathway for future work incorporating ALPHA penalties into supervised fine-tuning, which could provide principled hierarchy-aware vulnerability detection pending empirical validation.
主题: 软件工程 (cs.SE); 人工智能 (cs.AI)
引用方式: arXiv:2601.01320 [cs.SE]
  (或者 arXiv:2601.01320v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2601.01320

提交历史

来自:Muntasir Adnan
[v1] 2026年1月4日 星期日 01:13:37 UTC
全文链接:

访问论文:

  • 查看中文 PDF
  • 查看原文 PDF
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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