arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2508.03097cs.CRcs.AI
收藏

VFLAIR-LLM:大语言模型分割学习的综合框架与基准

VFLAIR-LLM: A Comprehensive Framework and Benchmark for Split Learning of LLMs

Tsinghua University(清华大学);Wuxi Innovation Center of Tsinghua University(清华大学无锡创新中心);AIR(智能产业研究院)

Zixuan Gu, Qiufeng Fan, Long Sun, Yang Liu, Xiaojun Ye

AI总结:

针对本地资源受限下LLM隐私适配难题,提出可扩展轻量级分割学习框架VFLAIR-LLM,支持多种任务与数据集,并基准测试攻击防御,提供配置建议。

摘要:

随着大语言模型(LLM)的进步,LLM应用已扩展到越来越多的领域。然而,有数据隐私顾虑的用户在直接利用LLM API方面面临限制,而私有部署则会产生巨大的计算需求。这在受限的本地资源下实现安全的LLM适配构成了重大挑战。为解决这一问题,协作学习方法,如分割学习(SL),为将LLM适配到私有领域提供了一种资源高效且保护隐私的解决方案。在本研究中,我们介绍了VFLAIR-LLM(可在https://github.com/FLAIR-THU/VFLAIR-LLM获取),一个可扩展且轻量级的LLM分割学习框架,能够在资源受限环境中实现保护隐私的LLM推理和微调。我们的库提供两种LLM分区设置,支持三种任务类型和18个数据集。此外,我们提供了用于实施和评估攻击与防御的标准模块。我们在各种LLM分割学习(SL-LLM)设置下对5种攻击和9种防御进行了基准测试,为实际应用中的模型分区配置、防御策略及相关超参数选择提供了具体见解和建议。

英文摘要:

With the advancement of Large Language Models (LLMs), LLM applications have expanded into a growing number of fields. However, users with data privacy concerns face limitations in directly utilizing LLM APIs, while private deployments incur significant computational demands. This creates a substantial challenge in achieving secure LLM adaptation under constrained local resources. To address this issue, collaborative learning methods, such as Split Learning (SL), offer a resource-efficient and privacy-preserving solution for adapting LLMs to private domains. In this study, we introduce VFLAIR-LLM (available at https://github.com/FLAIR-THU/VFLAIR-LLM), an extensible and lightweight split learning framework for LLMs, enabling privacy-preserving LLM inference and fine-tuning in resource-constrained environments. Our library provides two LLM partition settings, supporting three task types and 18 datasets. In addition, we provide standard modules for implementing and evaluating attacks and defenses. We benchmark 5 attacks and 9 defenses under various Split Learning for LLM(SL-LLM) settings, offering concrete insights and recommendations on the choice of model partition configurations, defense strategies, and relevant hyperparameters for real-world applications.

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

↑