paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Predicting Licenses for Changed Source Code

为变更源代码预测许可证
ASE 2019 34th IEEE/ACM International Conference on Automated Software Engineering (ASE)2019匹配度 1/10 · 该论文研究代码变更后的开源许可证预测,属于软件工程与机器学习交叉,但与你关注的 PL 与 AI/LLM 结合(静态分析、形式化验证、浮点程序分析、贝叶斯程序分析、Agentic 程序)几乎无关。其学习目标和应用场景(许可证合规)不在你的研究画像核心范围内。引用 9 inbox
Xiaoyu Liu, LiGuo Huang, Jidong Ge, Vincent Ng
crossref: 2026-09-12

AI 速览

一句话:提出基于学习的自动许可证预测方法 ALP,为代码变更预测合适开源许可证,在 700 个项目上 micro F1 达 92.5%。

开源许可证规范软件的重分发、复用与修改,软件变更过程中确保许可证兼容并避免限制冲突,是保护其商业使用的关键。然而,为变更选择合适许可证需要经验与大量人工,需检查、理解和比较多种许可证及其与变更的关系,且缺乏最先进方法。为此,论文提出自动许可证预测(ALP),一种基于学习的方法与工具,用于在软件变更时预测许可证。作者在 700 个开源项目上进行广泛评估,结果表明 ALP 不仅总体预测准确率高(micro F1 为 92.5%),而且在所有许可证类型上均取得高准确率。

问题
软件变更时需要确保开源许可证兼容并避免限制冲突,但为变更选择合适许可证依赖经验与人工,且缺少先进方法。
方法
提出自动许可证预测 ALP,一种基于学习的方法与工具,用于预测软件变更应采用的许可证。
评估
在 700 个开源项目上评估,micro F1 达 92.5%,并在所有许可证类型上均取得高准确率。
原文摘要(Abstract)

Open source software licenses regulate the circumstances under which software can be redistributed, reused and modified. Ensuring license compatibility and preventing license restriction conflicts among source code during software changes are the key to protect their commercial use. However, selecting the appropriate licenses for software changes requires lots of experience and manual effort that involve examining, assimilating and comparing various licenses as well as understanding their relationships with software changes. Worse still, there is no state-of-the-art methodology to provide this capability. Motivated by this observation, we propose in this paper Automatic License Prediction (ALP), a novel learning-based method and tool for predicting licenses as software changes. An extensive evaluation of ALP on predicting licenses in 700 open source projects demonstrate its effectiveness: ALP can achieve not only a high overall prediction accuracy (92.5% in micro F1 score) but also high accuracies across all license types.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot5326,
  title = {Predicting Licenses for Changed Source Code},
  author = {Xiaoyu Liu and LiGuo Huang and Jidong Ge and Vincent Ng},
  booktitle = {ASE},
  year = {2019},
  doi = {10.1109/ase.2019.00070}
}