arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.15738cs.LGcs.AIcs.DC
收藏

并行分割学习与全局采样

Parallel Split Learning with Global Sampling

Mohammad Kohankhaki, Ahmad Ayad, Mahdi Barhoush, Anke Schmeink

AI总结:

GPSL通过全局采样解决并行分割学习中的批量大小和非IID数据问题,实现稳定优化和集中式准确性,同时减少训练时间。

摘要:

并行分割学习(PSL)面临两个交织的问题:有效的批量大小随着客户端数量的增加而增长,而数据如果不独立同分布(非IID)则会偏斜全局批次。我们提出了并行分割学习与全局采样(GPSL),这是一种由服务器驱动的方案,通过使用池化级别比例计算每个客户端的批量大小计划,固定全局批次大小。每个选定的客户端在本地不放回地抽取实际样本。这消除了按类别的四舍五入,将有效批次与客户端数量解耦,并使每个全局批次的分布等同于集中均匀采样而不放回。因此,我们通过Serfling不等式获得有限总体偏差保证,从而在与本地采样方案相比时获得零四舍五入偏差。GPSL是PSL的直接替代方案,具有可忽略的开销,并能扩展到大规模客户端群体。在广泛的实验中,CIFAR-10/100和ResNet-18/34在非IID分割下,GPSL稳定了优化并实现了集中式准确性,而固定本地批次的性能落后高达60%。此外,GPSL通过避免因数据枯竭导致的训练步骤膨胀而缩短了训练时间。这些发现表明,GPSL是学习资源受限环境中的有前途且可扩展的方法。

英文摘要:

Parallel split learning (PSL) suffers from two intertwined issues: the effective batch size grows with the number of clients, and data that is not identically and independently distributed (non-IID) skews global batches. We present parallel split learning with global sampling (GPSL), a server-driven scheme that fixes the global batch size while computing per-client batch-size schedules using pooled-level proportions. The actual samples are drawn locally without replacement by each selected client. This eliminates per-class rounding, decouples the effective batch from the client count, and makes each global batch distributionally equivalent to centralized uniform sampling without replacement. Consequently, we obtain finite-population deviation guarantees via Serfling's inequality, yielding a zero rounding bias compared to local sampling schemes. GPSL is a drop-in replacement for PSL with negligible overhead and scales to large client populations. In extensive experiments on CIFAR-10/100 and ResNet-18/34 under non-IID splits, GPSL stabilizes optimization and achieves centralized-like accuracy, while fixed local batching trails by up to 60%. Furthermore, GPSL shortens training time by avoiding inflation of training steps induced by data-depletion. These findings suggest GPSL is a promising and scalable approach for learning in resource-constrained environments.

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

↑