arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2312.00324cs.SE
收藏

面向可操作警告识别的机器学习:一项全面综述

Machine Learning for Actionable Warning Identification: A Comprehensive Survey

Xiuting Ge, Chunrong Fang, Xuanye Li, Weisong Sun, Daoyuan Wu, Juan Zhai, Shangwei Lin, Zhihong Zhao, Yang Liu, Zhenyu Chen

AI总结:

本文针对基于机器学习的可操作警告识别(AWI)领域缺乏系统综述的问题,梳理了51项相关研究的工作流程、方法分类及各阶段技术的优劣,提出了数据改进与模型探索等未来研究方向。

摘要:

可操作警告识别(Actionable Warning Identification, AWI)在提升静态代码分析器的可用性方面发挥着关键作用。随着机器学习(Machine Learning, ML)的最新发展,已有多种将ML技术应用于AWI的方法被提出。这些基于ML的AWI方法得益于ML从历史数据中学习细微且前所未见的模式的强大能力,已展现出更优的性能。然而,目前缺乏对这些方法的全面概述,这可能会阻碍研究人员和从业者理解基于ML的AWI领域的现有进展,也不利于发现未来的改进潜力。\n本文系统梳理了当前最先进的基于ML的AWI方法。首先,我们采用严谨的调研方法,收集了2000年1月1日至2023年9月1日期间的51项主要研究。接着,我们梳理了典型的基于ML的AWI工作流程,包括警告数据集准备、预处理、AWI模型构建和评估阶段。在该工作流程框架下,我们根据警告输出格式对基于ML的AWI方法进行了分类。此外,我们分析了每个阶段使用的技术,以及它们的优势、劣势和分布情况。最后,我们为未来基于ML的AWI方法提供了可行的研究方向,重点关注数据改进(例如优化警告标注策略)和模型探索(例如探索将大语言模型用于AWI)等方面。

英文摘要:

Actionable Warning Identification (AWI) plays a crucial role in improving the usability of static code analyzers. With recent advances in Machine Learning (ML), various approaches have been proposed to incorporate ML techniques into AWI. These ML-based AWI approaches, benefiting from ML's strong ability to learn subtle and previously unseen patterns from historical data, have demonstrated superior performance. However, a comprehensive overview of these approaches is missing, which could hinder researchers/practitioners from understanding the current process and discovering potential for future improvement in the ML-based AWI community. In this paper, we systematically review the state-of-the-art ML-based AWI approaches. First, we employ a meticulous survey methodology and gather 51 primary studies from 2000/01/01 to 2023/09/01. Then, we outline the typical ML-based AWI workflow, including warning dataset preparation, preprocessing, AWI model construction, and evaluation stages. In such a workflow, we categorize ML-based AWI approaches based on the warning output format. Besides, we analyze the techniques used in each stage, along with their strengths, weaknesses, and distribution. Finally, we provide practical research directions for future ML-based AWI approaches, focusing on aspects like data improvement (e.g., enhancing the warning labeling strategy) and model exploration (e.g., exploring large language models for AWI).

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

↑