arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.00706cs.CRcs.CLcs.LG
收藏

面向大语言模型的模型来源测试

Model Provenance Testing for Large Language Models

National University of Singapore(新加坡国立大学);Georgia Institute of Technology(佐治亚理工学院)

Ivica Nikolic, Teodora Baluta, Prateek Saxena

AI总结:

针对大模型定制化带来的来源追踪难题,研究人员提出基于输出相似性统计分析的黑盒模型来源测试框架,在超600个模型的基准上实现90-95%精确率与80-90%召回率,验证了生产环境中仅靠API访问开展来源验证的可行性。

摘要:

大语言模型正越来越多地通过微调和其他适配方式进行定制,这给许可条款的执行和下游影响管理带来了挑战。追踪模型来源对于保护知识产权,以及在基础模型中发现偏见或漏洞时识别衍生模型都至关重要。我们通过开发一套模型来源测试框架来应对这一挑战:即判断一个模型是否衍生自另一个模型。我们的方法基于一项关键观察:现实世界中的模型衍生会在模型输出中保留显著的相似性,这类相似性可通过统计分析检测到。我们仅使用模型的黑盒访问权限,采用多重假设检验,将模型相似性与由无关模型建立的基线进行比较。在两个涵盖30M到4B参数规模、包含600多个模型的综合真实基准测试中,我们的测试器在识别衍生模型时达到了90-95%的精确率和80-90%的召回率。这些结果表明,即便仅能通过API访问模型,在生产环境中开展系统性来源验证具备可行性。

英文摘要:

Large language models are increasingly customized through fine-tuning and other adaptations, creating challenges in enforcing licensing terms and managing downstream impacts. Tracking model origins is crucial both for protecting intellectual property and for identifying derived models when biases or vulnerabilities are discovered in foundation models. We address this challenge by developing a framework for testing model provenance: Whether one model is derived from another. Our approach is based on the key observation that real-world model derivations preserve significant similarities in model outputs that can be detected through statistical analysis. Using only black-box access to models, we employ multiple hypothesis testing to compare model similarities against a baseline established by unrelated models. On two comprehensive real-world benchmarks spanning models from 30M to 4B parameters and comprising over 600 models, our tester achieves 90-95% precision and 80-90% recall in identifying derived models. These results demonstrate the viability of systematic provenance verification in production environments even when only API access is available.

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

↑