信息网络安全 ›› 2026, Vol. 26 ›› Issue (7): 1001-1011.doi: 10.3969/j.issn.1671-1122.2026.07.001

• AI安全防御 • 上一篇    下一篇

面向大模型分布式微调的选择性聚合轻量化后门防御方法

吕昕晨(), 尹士民   

  1. 北京邮电大学网络空间安全学院北京 100876
  • 收稿日期:2026-04-03 出版日期:2026-07-10 发布日期:2026-09-03
  • 通讯作者: 吕昕晨 E-mail:lvxinchen@bupt.edu.cn
  • 作者简介:吕昕晨(1992—),男,重庆,副教授,博士,主要研究方向为6G智能网络、边缘智能安全、人工智能安全|尹士民(2001—),男,山东,硕士研究生,主要研究方向为分布式学习、人工智能安全
  • 基金资助:
    国家自然科学基金(62371059)

A selective aggregation lightweight backdoor defense method for distributed fine-tuning of large models

Lyu Xinchen(), Yin Shimin   

  1. School of Cyberspace Security, Beijing University of Posts and Telecommunications, Beijing 100876, China
  • Received:2026-04-03 Online:2026-07-10 Published:2026-09-03
  • Contact: Lyu Xinchen E-mail:lvxinchen@bupt.edu.cn

摘要:

低秩自适应(LoRA)微调通过冻结预训练权重仅优化低秩分解矩阵,在分布式场景下实现大模型的高效协同训练,显著降低了通信与计算开销,是赋能大模型数据安全流通的关键技术之一。然而,LoRA的低秩更新机制使攻击者能够定向更新子空间,更易受后门攻击。现有后门防御方法多依赖复杂的异常检测、统计筛选或中心化监管机制,引入了大量额外计算与通信开销,难以适配资源受限的大模型分布式微调应用。因此,文章提出一种选择性聚合轻量化后门防御(SA-LoRA)方法,在聚合过程中仅聚合低秩矩阵B,通过保持矩阵A本地化使良性客户端对后门特征形成近似零空间,从而在不增加额外开销的情况下抑制后门传播。在多种开源大模型、词级触发器和同义替换等后门攻击方法下的实验结果表明,文章所提方法可将良性客户端的后门攻击成功率从96.93%显著降低至11.53%,同时主任务性能仅下降约1%,且无须额外计算与通信资源,实现了安全与效率的统一。

关键词: 分布式学习, LoRA微调, 大模型安全, 后门攻击

Abstract:

Low-rank adaptation (LoRA) fine-tuning freezes pretrained weights and only optimizes low-rank factor matrices, enabling efficient collaborative training of large models in distributed settings while substantially reducing communication and computation costs. As a result, LoRA has become a key technique for enabling secure data utilization for large-model training. However, the low-rank update mechanism of LoRA allows attackers to target specific subspaces, making distributed LoRA fine-tuning more vulnerable to backdoor attacks. Existing backdoor defenses methods typically rely on complex outlier detection, statistical filtering, or centralized supervision, which introduce significant additional computation and communication overhead and are therefore ill-suited to resource-constrained distributed fine-tuning of large models. To address this challenge, this paper proposed selective aggregation low-rank adaptation (SA-LoRA), a lightweight backdoor defense method that selectively aggregates only the low-rank matrix B during training while keeping matrix A local to each client. This asymmetric protocol drives benign clients to form an approximately null subspace for backdoor features, thereby suppressing backdoor propagation without introducing extra overhead. Experiments on multiple open-source large models under diverse backdoor attack methods, including word-level triggers and synonym-substitution attacks, show that SA-LoRA reduces the backdoor attack success rate on benign clients from 96.93% to 11.53%, while incurring only about a 1% drop in main-task performance and requiring no additional computation or communication resources, achieving a favorable trade-off between security and efficiency.

Key words: decentralized learning, LoRA fine-tuning, large model security, backdoor attacks

中图分类号: