SENTINEL:管道并行去中心化训练的分阶段完整性验证
SENTINEL: Stagewise Integrity Verification for Pipeline Parallel Decentralized Training
AI总结:
SENTINEL通过轻量级动量监控实现管道并行去中心化训练的分阶段完整性验证,支持在不信任环境中训练大规模LLM。
摘要:
去中心化训练在跨不信任、地理分布的节点执行时引入了关键的安全风险。尽管现有容忍拜占庭故障的文献通过稳健聚合方法处理数据并行(DP)训练,但管道并行(PP)提出了根本不同的挑战。在PP中,模型层分布在工作者中,激活和其梯度在阶段之间流动而非聚合,使传统DP方法不适用。我们提出SENTINEL,一种无需计算重复的PP训练验证机制。SENTINEL采用轻量级基于动量的监控,使用指数移动平均(EMAs)来检测受损的阶段间通信。与现有用于DP的容忍拜占庭故障方法不同,我们的方法验证层间连续激活/梯度传输。我们为这种新设置提供理论收敛保证,当放松到标准训练时恢复经典收敛率。实验显示在最多176个工作节点的不信任分布式环境中成功训练多达4B参数的LLM,同时保持模型收敛和性能。
英文摘要:
Decentralized training introduces critical security risks when executed across untrusted, geographically distributed nodes. While existing Byzantine-tolerant literature addresses data parallel (DP) training through robust aggregation methods, pipeline parallelism (PP) presents fundamentally distinct challenges. In PP, model layers are distributed across workers where the activations and their gradients flow between stages rather than being aggregated, making traditional DP approaches inapplicable. We propose SENTINEL, a verification mechanism for PP training without computation duplication. SENTINEL employs lightweight momentum-based monitoring using exponential moving averages (EMAs) to detect corrupted inter-stage communication. Unlike existing Byzantine-tolerant approaches for DP that aggregate parameter gradients across replicas, our approach verifies sequential activation/gradient transmission between layers. We provide theoretical convergence guarantees for this new setting that recovers classical convergence rates when relaxed to standard training. Experiments demonstrate successful training of up to 4B-parameter LLMs across untrusted distributed environments with up to 176 workers while maintaining model convergence and performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。