paperbot · PL 论文追踪

全部论文 待读 收藏

P2 LiSum: Open Source Software License Summarization with Multi-Task Learning

LiSum:基于多任务学习的开源软件许可证摘要生成
ASE 2023 38th IEEE/ACM International Conference on Automated Software Engineering (ASE)2023匹配度 1/10 · 该论文研究开源许可证自动摘要与条款分类,属于软件工程/NLP应用,与用户关注的静态分析、Agentic程序、浮点程序分析、贝叶斯程序分析及LLM与PL交叉方向基本无关。引用 5 inbox
Linyu Li, Sihan Xu, Yang Liu, Ya Gao, Xiangrui Cai, Jiarun Wu, Wenli Song, Zheli Liu
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:提出首个面向开源许可证的自动摘要研究,用多任务学习同时生成许可证摘要并分类关键条款。

开源软件许可证数量多、文本长且措辞正式,开发者难以理解其复用、修改和分发条件。661 人问卷显示自动化理解工具确有需求。论文提出首个许可证自动摘要研究,发布高质量摘要数据集,并定义许可证文本摘要(LTS)与许可证条款分类(LTC)两项任务:为任意许可证生成简短摘要,并推断对关键条款(如 Distribute)的态度。作者提出多任务学习方法 LiSum,以联合训练同时优化两项任务。实验显示联合训练提升两方面表现,在四项摘要指标的 F1 上至少超越最优基线 5 分,分类达到 95.13% 微平均 F1,并公开数据集、复现包与问卷。

问题
开源许可证数量多、文本长且法律措辞复杂,开发者理解成本高;用户调查进一步确认了自动摘要工具的需求。
方法
构建首个高质量许可证摘要数据集,定义许可证文本摘要(LTS)和许可证条款分类(LTC)任务,并提出多任务学习模型 LiSum 联合训练两项任务。
评估
在发布数据集上与当前最优基线比较,使用四种摘要指标的 F1 和分类微平均 F1 评估;LiSum 至少领先基线 5 分,分类微平均 F1 达 95.13%。
原文摘要(Abstract)

Open source software (OSS) licenses regulate the conditions under which users can reuse, modify, and distribute the software legally. However, there exist various OSS licenses in the community, written in a formal language, which are typically long and complicated to understand. In this paper, we conducted a 661-participants online survey to investigate the perspectives and practices of developers towards OSS licenses. The user study revealed an indeed need for an automated tool to facilitate license understanding. Motivated by the user study and the fast growth of licenses in the community, we propose the first study towards automated license summarization. Specifically, we released the first high quality text summarization dataset and designed two tasks, i.e., license text summarization (LTS), aiming at generating a relatively short summary for an arbitrary license, and license term classification (LTC), focusing on the attitude inference towards a predefined set of key license terms (e.g., Distribute). Aiming at the two tasks, we present LiSum, a multi-task learning method to help developers overcome the obstacles of understanding OSS licenses. Comprehensive experiments demonstrated that the proposed jointly training objective boosted the performance on both tasks, surpassing state-of-the-art baselines with gains of at least 5 points w.r.t. F1 scores of four summarization metrics and achieving 95.13% micro average F1 score for classification simultaneously. We released all the datasets, the replication package, and the questionnaires for the community.

链接与引用

DOI 原文 · arXiv · PDF(开放获取) · DBLP

BibTeX
@inproceedings{abs-2309-05074,
  title = {LiSum: Open Source Software License Summarization with Multi-Task Learning},
  author = {Linyu Li and Sihan Xu and Yang Liu and Ya Gao and Xiangrui Cai and Jiarun Wu and Wenli Song and Zheli Liu},
  booktitle = {ASE},
  year = {2023},
  doi = {10.1109/ase56229.2023.00150}
}