arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.10758cs.SE
收藏

LLM生态系统中的隐藏许可风险

Hidden Licensing Risks in the LLMware Ecosystem

Beijing Jiaotong University(北京交通大学);Singapore Management University(新加坡管理大学);North Carolina State University(北卡罗来纳州立大学);University of Alberta(阿尔伯塔大学)

Bo Wang, Yueyang Chen, Jieke Shi, Minghui Li, Yunbo Lyu, Yinan Wu, Youfang Lin, Zhou Yang

AI总结:

本文提出LiAgent框架,通过LLM分析LLMware生态系统的许可证兼容性,显著提升检测性能,发现多个潜在的许可证冲突问题。

摘要:

大型语言模型(LLMs)越来越多地集成到软件系统中,催生了一种称为LLMware的新类系统。除了传统的源代码组件外,LLMware嵌入或与依赖其他模型和数据集的LLMs交互,形成跨越开源软件(OSS)、模型和数据集的复杂供应链。然而,这些交织依赖关系中出现的许可问题仍然鲜有研究。利用GitHub和Hugging Face,我们构建了一个大规模数据集,捕捉LLMware供应链,包括12,180个OSS仓库、3,988个LLMs和708个数据集。我们的分析发现,LLMware中的许可证分布与传统OSS生态系统有显著差异。我们进一步研究了与许可证相关的讨论,发现许可证选择和维护是主要关注点,占84%的案例。为了理解不兼容风险,我们分析了供应链中的许可证冲突,并评估了最先进的检测方法,这些方法在此设置中仅达到58%和76%的F1分数。受这些限制的启发,我们提出了LiAgent,一种基于LLM的代理框架,用于生态系统层面的许可证兼容性分析。LiAgent达到了87%的F1分数,比先前方法提高了14个百分点。我们报告了LiAgent检测到的60个不兼容问题,其中11个已由开发者确认。值得注意的是,两个冲突的LLMs在Hugging Face上分别有超过1亿和500万次下载,表明可能有广泛的影响。我们最后提出了影响和建议,以支持LLMware生态系统的可持续发展。

英文摘要:

Large Language Models (LLMs) are increasingly integrated into software systems, giving rise to a new class of systems referred to as LLMware. Beyond traditional source-code components, LLMware embeds or interacts with LLMs that depend on other models and datasets, forming complex supply chains across open-source software (OSS), models, and datasets. However, licensing issues emerging from these intertwined dependencies remain largely unexplored. Leveraging GitHub and Hugging Face, we curate a large-scale dataset capturing LLMware supply chains, including 12,180 OSS repositories, 3,988 LLMs, and 708 datasets. Our analysis reveals that license distributions in LLMware differ substantially from traditional OSS ecosystems. We further examine license-related discussions and find that license selection and maintenance are the dominant concerns, accounting for 84% of cases. To understand incompatibility risks, we analyze license conflicts along supply chains and evaluate state-of-the-art detection approaches, which achieve only 58% and 76% F1 scores in this setting. Motivated by these limitations, we propose LiAgent, an LLM-based agent framework for ecosystem-level license compatibility analysis. LiAgent achieves an F1 score of 87%, improving performance by 14 percentage points over prior methods. We reported 60 incompatibility issues detected by LiAgent, 11 of which have been confirmed by developers. Notably, two conflicted LLMs have over 107 million and 5 million downloads on Hugging Face, respectively, indicating potentially widespread downstream impact. We conclude with implications and recommendations to support the sustainable growth of the LLMware ecosystem.

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

↑