# 拆分联邦学习

拆分联邦学习（SFL）是一种分布式机器学习方法，它将神经网络拆分到客户端设备与服务器之间，客户端只训练前几层，服务器训练其余部分，双方交换切分层的激活值（“粉碎数据”）和梯度，而非原始数据。它解决了两个互补的问题：标准联邦学习（FL）将完整模型的计算强加于每台边缘设备，而单客户端拆分学习（SL）虽然卸载了计算，却只能串行训练客户端，每个客户端都要等待前一个完成。<sup>[1](https://doi.org/10.48550/arxiv.2004.12088)</sup><sup> • </sup><sup>[2](https://arxiv.org/html/2311.09441)</sup><sup> • </sup><sup>[3](https://proceedings.neurips.cc/paper_files/paper/2025/file/2d945a8085c100de722385171803cc51-Paper-Conference.pdf)</sup> SFL保留了SL的拆分模型结构，但让各客户端的客户端侧训练重叠进行，并通过联邦聚合加以同步——不过在SFL-V2中，服务器仍以单一的共享服务器侧模型串行处理各客户端的粉碎数据。

| 关键事实 | 内容 |
|---|---|
| 网络拆分 | 客户端侧 \( W_{C} \) 与服务器侧 \( W_{S} \) 在切分层相接；客户端发送粉碎数据并接收其梯度<sup>[1](https://doi.org/10.48550/arxiv.2004.12088)</sup> |
| 命名变体 | SFLV1（每个全局轮次做联邦平均聚合）与SFLV2（服务器串行更新，不做聚合）<sup>[1](https://doi.org/10.48550/arxiv.2004.12088)</sup> |
| 与基线的准确率对比（HAM10000，ResNet18，5个客户端） | FL 79.3%，SL 77.5%，SFLV1 79.1%，SFLV2 79.0%<sup>[1](https://doi.org/10.48550/arxiv.2004.12088)</sup> |
| 客户端数量K增长时的训练时间 | 按SFLV2 < SFLV1 < SL的顺序递增<sup>[1](https://doi.org/10.48550/arxiv.2004.12088)</sup> |
| 客户端模型大小 | 一个508 MB、13层的VGG13在第10层切分后，客户端仅剩约36 MB，每批64个样本约产生2 MB特征<sup>[4](https://doi.org/10.48550/arxiv.2307.15870)</sup> |
| 收敛速率（异构数据） | 在T轮内，强凸目标为 \( O(1/T) \)，一般凸目标为 \( O(1/\sqrt{3T}) \)<sup>[5](https://doi.org/10.48550/arxiv.2402.15166)</sup> |
| 工业界关注 | 华为认为SFL是6G边缘智能的关键学习框架<sup>[6](https://doi.org/10.48550/arxiv.2407.00952)</sup> |

## 工作原理

模型 \( W \) 在切分层处被拆分为客户端侧网络 \( W_{C} \) 和服务器侧网络 \( W_{S} \)。每个客户端将一个小批量数据通过 \( W_{C} \) 前向传播，并把切分层激活值——即粉碎数据，通常连同对应标签一起——传给服务器；原始训练数据始终不离开客户端。<sup>[1](https://doi.org/10.48550/arxiv.2004.12088)</sup><sup> • </sup><sup>[7](https://www.mdpi.com/1424-8220/22/16/5983)</sup> 服务器在 \( W_{S} \) 上完成前向传播，经服务器侧各层反向传播，再回传粉碎数据的梯度，使每个客户端只在自己的部分上反向传播。<sup>[1](https://doi.org/10.48550/arxiv.2004.12088)</sup><sup> • </sup><sup>[8](https://arxiv.org/pdf/2412.15536v1.pdf)</sup>

服务器有两种设计方案。在SFL-V1中，训练服务器为每个客户端维护一份独立的服务器侧模型，并在每个全局轮次用联邦平均聚合服务器侧模型；在SFL-V2中，服务器维护单一共享模型，串行处理各客户端的粉碎数据，没有聚合步骤。<sup>[1](https://doi.org/10.48550/arxiv.2004.12088)</sup><sup> • </sup><sup>[8](https://arxiv.org/pdf/2412.15536v1.pdf)</sup> 两种变体中，客户端侧模型都由一个独立的联邦服务器以联邦平均式平均法同步。<sup>[8](https://arxiv.org/pdf/2412.15536v1.pdf)</sup><sup> • </sup><sup>[2](https://arxiv.org/html/2311.09441)</sup>

## 实施方法

实践者确定切分层，将 \( W_{C} \) 部署在客户端、\( W_{S} \) 部署在服务器，并为两侧选择优化器。在一项已发表的设置中，SFL-V1和SFL-V2使用[Adam优化器](https://www.edgepedia.org/zh/adam-optimizer)，学习率0.001，批大小64，而联邦平均基线使用SGD，学习率0.01，批大小相同。<sup>[8](https://arxiv.org/pdf/2412.15536v1.pdf)</sup> 每一轮依次执行客户端前向传播、服务器前向与反向传播、梯度回传、客户端反向传播，以及周期性的客户端侧模型联邦平均聚合。<sup>[2](https://arxiv.org/html/2311.09441)</sup>

切分层选择是主要的设计决策。理论与实验表明，客户端侧模型越小（切分点越靠近客户端），收敛性能越好，而客户端侧层数越多，隐私泄露越少。<sup>[9](https://doi.org/10.48550/arxiv.2501.01078)</sup> SFL-GA将动态切分点选择与资源分配建模为混合整数非线性规划，通过结合双深度Q学习网络与凸优化求解，并向所有客户端广播聚合后的粉碎数据梯度，而非逐客户端传输。<sup>[9](https://doi.org/10.48550/arxiv.2501.01078)</sup>

## 起源

[拆分学习](https://www.edgepedia.org/zh/split-learning)由维帕科马、古普塔、斯威迪什和拉斯卡尔在2018年的《面向健康的拆分学习：无需共享原始患者数据的分布式深度学习》一文中提出，该文引入了切分层的激活值交换。<sup>[10](https://doi.org/10.48550/arxiv.1812.00564)</sup> 另一前身联邦学习由麦克马汉及其同事于2016年提出；后来的文献通常引用为麦克马汉等，2017。<sup>[11](https://doi.org/10.48550/arxiv.2412.17150)</sup>

拆分[联邦学习](https://www.edgepedia.org/zh/federated-learning)由钱德拉·塔帕及其同事在2020年发表于arXiv的预印本《SplitFed：当联邦学习遇上拆分学习》中提出，该文融合了两种方法以消除各自的缺陷。<sup>[1](https://doi.org/10.48550/arxiv.2004.12088)</sup> 后来的论文一致将SFL框架归功于塔帕等人2020年的工作，认为其将SL中的模型拆分整合进了FL。<sup>[12](https://doi.org/10.48550/arxiv.2402.15903)</sup>

## 变体

**SFLV1与SFLV2**的区别在于服务器侧的处理方式：V1用联邦平均聚合服务器侧模型，V2串行处理各客户端的粉碎数据并即时更新服务器，不做聚合。<sup>[1](https://doi.org/10.48550/arxiv.2004.12088)</sup> **U型拆分学习**将网络分为头部、主体和尾部子模型，把输出层和标签保留在客户端以保护标签隐私；U型并行拆分学习（U-PSL）将此配置并行化，使多个客户端同时与一个服务器训练，并采用联合的模型拆分与资源分配方案（LSCRA）。<sup>[13](https://doi.org/10.48550/arxiv.2308.08896)</sup><sup> • </sup><sup>[7](https://www.mdpi.com/1424-8220/22/16/5983)</sup>

资源自适应与效率导向的变体包括：AdaptSFL，在资源受限的边缘网络中自适应调整拆分与客户端参与；<sup>[14](https://doi.org/10.48550/arxiv.2403.13101)</sup> ESFL，面向资源受限的异构无线设备；<sup>[12](https://doi.org/10.48550/arxiv.2402.15903)</sup> SFL-GA，广播聚合梯度；<sup>[9](https://doi.org/10.48550/arxiv.2501.01078)</sup> 以及SemiSFL，将SFL扩展到无标签和非独立同分布（各客户端数据不独立或不同分布）数据。<sup>[4](https://doi.org/10.48550/arxiv.2307.15870)</sup> GSFL将扁平的客户端-服务器拓扑重构为集群架构，而在U型配置中，发往服务器的梯度仍携带隐藏的标签信息。<sup>[15](https://arxiv.org/abs/2604.24468)</sup> SplitFedZip应用学习式压缩以减少SFL的数据传输，<sup>[11](https://doi.org/10.48550/arxiv.2412.17150)</sup> 面向大语言模型的框架则包括SplitLoRA。<sup>[6](https://doi.org/10.48550/arxiv.2407.00952)</sup>

## 应用

一篇综合性综述梳理了联邦拆分学习在物联网与边缘计算、无线网络、医疗健康、车联网、大语言模型和地球观测等领域的应用。<sup>[16](https://eprints.whiterose.ac.uk/id/eprint/241546/)</sup> 在车辆边缘智能中，车辆下载车辆侧模型，运行前向传播，并将粉碎数据上传至路侧单元。<sup>[17](https://arxiv.org/html/2406.15804v3)</sup> 一种2024年提出的、具备隐私保护的边缘辅助U型SFL变体面向物联网应用。<sup>[18](https://www.sciencedirect.com/science/article/pii/S0957417424023613)</sup> 针对大语言模型，SplitLoRA结合模型拆分、聚合、客户端选择和设备聚类，实现参数高效微调。<sup>[6](https://doi.org/10.48550/arxiv.2407.00952)</sup> 在理论方面，首个针对异构数据的SFL收敛性分析给出了强凸目标 \( O(1/T) \)、一般凸目标 \( O(1/\sqrt{3T}) \) 的速率。<sup>[5](https://doi.org/10.48550/arxiv.2402.15166)</sup>

## 局限性与替代方案

SFL基于中继的训练会因掉队者引入同步瓶颈：全局聚合和客户端侧更新都必须等待最慢的参与者，限制了可扩展性。<sup>[3](https://proceedings.neurips.cc/paper_files/paper/2025/file/2d945a8085c100de722385171803cc51-Paper-Conference.pdf)</sup> 客户端通常持有非独立同分布数据，在此类数据上训练的模型表现出不同程度的发散；<sup>[4](https://doi.org/10.48550/arxiv.2307.15870)</sup> SFL通常还要求数据具有完整标签，而这往往不切实际，因为标注耗时且需要领域专业知识。<sup>[4](https://doi.org/10.48550/arxiv.2307.15870)</sup> 粉碎数据的传输与存储成本可能很高，且当非独立同分布数据与中心云共享时，训练可能根本无法收敛。<sup>[19](https://ar5iv.labs.arxiv.org/html/2301.01824)</sup> SFL因客户端侧模型同步而带来额外的客户端通信与计算开销，这促成了MHSL的提出，后者去除了该同步。<sup>[20](https://www.mdpi.com/2409-9279/5/4/60)</sup> 切分层敏感性因变体而异：SFL-V1在独立同分布和非独立同分布设置下对切分层位置相对不敏感，而SFL-V2的性能随切分层变化显著。<sup>[8](https://arxiv.org/pdf/2412.15536v1.pdf)</sup>

隐私依赖于拆分：主服务器只接收粉碎数据，且在常规协议中可能还接收标签，这些信号可能泄露信息；拆分学习并不保证隐私，因为重构攻击或推断攻击通常不需要反演整个客户端侧模型。原始论文将差分隐私和PixelDP选项纳入架构。<sup>[1](https://doi.org/10.48550/arxiv.2004.12088)</sup> 已有若干攻击被记录。标签推断攻击利用同标签样本间切分层梯度的相似性；缓解措施包括谨慎选择切分层和使用差分隐私。<sup>[2](https://arxiv.org/html/2311.09441)</sup> 粉碎数据和交换的更新与原始数据相关，易受重构攻击，恶意服务器可引导客户端侧模型进入某些功能状态，从而恢复原始训练样本。<sup>[2](https://arxiv.org/html/2311.09441)</sup><sup> • </sup><sup>[7](https://www.mdpi.com/1424-8220/22/16/5983)</sup> 切分点决定了权衡：客户端侧层数越多，重构效果越差、泄露潜力越小，但SFL-V2中较低的切分层会通过模型反演或推断攻击提高泄露风险，因而需要差分隐私或安全多方计算。<sup>[9](https://doi.org/10.48550/arxiv.2501.01078)</sup><sup> • </sup><sup>[8](https://arxiv.org/pdf/2412.15536v1.pdf)</sup>

与替代方案相比，FL提供并行更新但客户端计算负担重，SL卸载了计算但只能串行，SFL则在两者之间取得平衡。<sup>[3](https://proceedings.neurips.cc/paper_files/paper/2025/file/2d945a8085c100de722385171803cc51-Paper-Conference.pdf)</sup> 在轻度异构下，SFL与FL收敛情况相似，而SL因灾难性遗忘表现不佳；在强非独立同分布数据和大规模客户端群体下，SFL-V2优于两者——FL受制于客户端漂移，SL受制于灾难性遗忘。<sup>[5](https://doi.org/10.48550/arxiv.2402.15166)</sup>

## References

1. [Thapa, Chandra and colleagues (2020). SplitFed: When Federated Learning Meets Split Learning. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2004.12088)
2. [Exploring the Privacy-Energy Consumption Tradeoff for Split Federated Learning](https://arxiv.org/html/2311.09441)
3. [Towards Straggler-Resilient Split Federated Learning: An Unbalanced Update Approach](https://proceedings.neurips.cc/paper_files/paper/2025/file/2d945a8085c100de722385171803cc51-Paper-Conference.pdf)
4. [Xu, Yang and colleagues (2023). SemiSFL: Split Federated Learning on Unlabeled and Non-IID Data. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2307.15870)
5. [Han, Pengchao and colleagues (2024). Convergence Analysis of Split Federated Learning on Heterogeneous Data. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2402.15166)
6. [Lin, Zheng and colleagues (2024). SplitLoRA: A Split Parameter-Efficient Fine-Tuning Framework for Large Language Models. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2407.00952)
7. [Combined Federated and Split Learning in Edge Computing for Ubiquitous Intelligence in Internet of Things: State-of-the-Art and Future Directions](https://www.mdpi.com/1424-8220/22/16/5983)
8. [The Impact of Cut Layer Selection in Split Federated Learning](https://arxiv.org/pdf/2412.15536v1.pdf)
9. [Liang, Yipeng and colleagues (2025). Communication-and-Computation Efficient Split Federated Learning: Gradient Aggregation and Resource Management. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2501.01078)
10. [Vepakomma, Praneeth and colleagues (2018). Split learning for health: Distributed deep learning without sharing raw patient data. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.1812.00564)
11. [Shiranthika, Chamani and colleagues (2024). SplitFedZip: Learned Compression for Data Transfer Reduction in Split-Federated Learning. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2412.17150)
12. [Zhu, Guangyu and colleagues (2024). ESFL: Efficient Split Federated Learning over Resource-Constrained Heterogeneous Wireless Devices. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2402.15903)
13. [Lyu, Song and colleagues (2023). Optimal Resource Allocation for U-Shaped Parallel Split Learning. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2308.08896)
14. [Lin, Zheng and colleagues (2024). AdaptSFL: Adaptive Split Federated Learning in Resource-constrained Edge Networks. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2403.13101)
15. [A Survey on Split Learning for LLM Fine-Tuning: Models, Systems, and Privacy Optimizations](https://arxiv.org/abs/2604.24468)
16. [Unlocking distributed intelligence: A comprehensive survey on federated split learning's evolution, challenges, and future frontiers](https://eprints.whiterose.ac.uk/id/eprint/241546/)
17. [Split Federated Learning Empowered Vehicular Edge Intelligence: Concept, Adaptive Design and Future Directions](https://arxiv.org/html/2406.15804v3)
18. [Edge-assisted U-shaped split federated learning with privacy-preserving for Internet of Things](https://www.sciencedirect.com/science/article/pii/S0957417424023613)
19. [Privacy and Efficiency of Communications in Federated Split Learning](https://ar5iv.labs.arxiv.org/html/2301.01824)
20. [Performance and Information Leakage in Splitfed Learning and Multi-Head Split Learning in Healthcare Data and Beyond](https://www.mdpi.com/2409-9279/5/4/60)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Machine learning and neural computation › Neural networks and deep learning › Titles I to Z

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/split-federated-learning

English original: https://www.edgepedia.org/split-federated-learning
