paperbot · PL 论文追踪

全部论文 待读 收藏

P2 FRUGAL: Unlocking Semi-Supervised Learning for Software Analytics

FRUGAL:为软件分析解锁半监督学习
ASE 2021 36th IEEE/ACM International Conference on Automated Software Engineering (ASE)2021匹配度 2/10 · 论文将半监督学习用于静态代码警告识别和问题关闭时间预测,属于软件分析中的机器学习方法,但未涉及用户核心关注的 LLM/Agent 与静态分析交叉、浮点程序分析或贝叶斯程序分析,也未利用当前强模型或智能体技术。引用 9 inbox
Huy Tu, Tim Menzies
crossref: 2026-09-12

AI 速览

一句话:提出调优半监督方法 FRUGAL,仅标注 2.5% 数据即可在静态代码警告识别和问题关闭时间预测上超越现有方法。

软件分析模型常依赖大量人工标注数据,标注数千次提交可能耗时数周,新领域中也难获得。无监督学习可利用未标注数据,但单独使用效果有限,且此前多限于缺陷预测。作者提出 FRUGAL:一种调优半监督方法,不依赖复杂深度模型或全量标注;它通过网格搜索优化无监督学习器配置,并仅标注 2.5% 数据进行验证后预测。在静态代码警告识别与 issue closed time 预测实验中,FRUGAL 优于可采用的 SOTA,并将标注成本降低 40 倍(100% 到 2.5%)。作者建议复杂昂贵方法应以更简单便宜的替代方案为基线,FRUGAL 可作软件分析基线。

问题
软件分析通常需要大量带标签数据,标注成本高且在新研究问题或新领域中不易获得;无监督学习单独使用效果有限。
方法
FRUGAL 通过简单网格搜索调优无监督学习器配置,并仅标注 2.5% 数据用于验证,再进行半监督预测,避免复杂深度模型与全量人工标注。
评估
在静态代码警告识别和 issue closed time 预测任务上,FRUGAL 优于当前可采用的 SOTA 方法,并将标注成本降低 40 倍。
原文摘要(Abstract)

Standard software analytics often involves having a large amount of data with labels in order to commission models with acceptable performance. However, prior work has shown that such requirements can be expensive, taking several weeks to label thousands of commits, and not always available when traversing new research problems and domains. Unsupervised Learning is a promising direction to learn hidden patterns within unlabelled data, which has only been extensively studied in defect prediction. Nevertheless, unsupervised learning can be ineffective by itself and has not been explored in other domains (e.g., static analysis and issue close time).Motivated by this literature gap and technical limitations, we present FRUGAL, a tuned semi-supervised method that builds on a simple optimization scheme that does not require sophisticated (e.g., deep learners) and expensive (e.g., 100% manually labelled data) methods. FRUGAL optimizes the unsupervised learner’s configurations (via a simple grid search) while validating our design decision of labelling just 2.5% of the data before prediction.As shown by the experiments of this paper FRUGAL outperforms the state-of-the-art adoptable static code warning recognizer and issue closed time predictor, while reducing the cost of labelling by a factor of 40 (from 100% to 2.5%). Hence we assert that FRUGAL can save considerable effort in data labelling especially in validating prior work or researching new problems.Based on this work, we suggest that proponents of complex and expensive methods should always baseline such methods against simpler and cheaper alternatives. For instance, a semi-supervised learner like FRUGAL can serve as a baseline to the state-of-theart software analytics.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot6547,
  title = {FRUGAL: Unlocking Semi-Supervised Learning for Software Analytics},
  author = {Huy Tu and Tim Menzies},
  booktitle = {ASE},
  year = {2021},
  doi = {10.1109/ase51524.2021.9678617}
}