原子性为何对AI/ML基础设施至关重要:快照、固件更新以及单向时间类别谬误的代价
Why Atomicity Matters to AI/ML Infrastructure: Snapshots, Firmware Updates, and the Cost of the Forward-In-Time-Only Category Mistake
AI总结:
本文探讨了AI/ML基础设施中原子性的重要性,指出单向时间类别谬误导致检查点与收敛属性混淆,并提出双方面收敛协议以解决该问题。
摘要:
大规模AI/ML训练系统依赖于两个很少被检验的假设:(1)检查点代表全局训练状态的原子快照;(2)基础设施更新可以在不引起混合协议集群状态的情况下应用。这两个假设都是更深层次结构错误的实例:单向时间(FITO)类别谬误,它混淆了协议收敛属性与时间谓词。我们正式将这种混淆表述为一种类型错误:将时间快照Snap(t)与收敛属性Conv(P,e)混淆。我们用过程代数框架建模检查点执行,并证明在异步组合与崩溃恢复故障下,没有任何时间瞬间能作为原子性边界。我们重新表述检查点不一致性的epoch格,并显示原子性是一种测度为零的事件,其补集随着独立持久域数量的增加呈指数增长。我们正式将混合epoch恢复表述为优化代数中的类型违规,并显示由此产生的更新不是任何标准优化器的有效步骤。对于固件舰队更新,我们加强了已知的一致性难度结果:原子部署不仅需要同意,还需要对epoch转换的共同知识,这在异步系统中不可靠通信下严格无法实现。我们最后通过受Open Atomic Ethernet启发的双方面收敛协议,展示了如何在不需Snap(t)的情况下实现Conv(P,e)——用约束语义取代FITO假设。
英文摘要:
Large-scale AI/ML training systems depend on two assumptions that are rarely examined: (1) that checkpoints represent atomic snapshots of global training state, and (2) that infrastructure updates can be applied without inducing mixed-protocol cluster states. Both assumptions are instances of a deeper structural error: the Forward-In-Time-Only (FITO) category mistake, which confuses protocol convergence properties with temporal predicates. We formalize this confusion as a type error: the identification of a temporal snapshot $\mathsf{Snap}(t)$ with a convergence property $\mathsf{Conv}(\mathcal{P},e)$. We model checkpoint execution in a process-algebraic framework and prove that under asynchronous composition with crash-recovery failures, no temporal instant can serve as an atomicity boundary. We reformulate checkpoint inconsistency on an epoch lattice and show that atomicity is a measure-zero event whose complement grows exponentially with the number of independent persistence domains. We formalize mixed-epoch recovery as a type violation in the optimization algebra and show that the resulting update is not a valid step of any standard optimizer. For firmware fleet updates, we strengthen the known consensus-hardness result: atomic deployment requires not merely agreement but common knowledge of the epoch transition, which is strictly unattainable in asynchronous systems with unreliable communication. We conclude by sketching a bilateral convergence protocol, inspired by Open Atomic Ethernet, that achieves $\mathsf{Conv}(\mathcal{P},e)$ without requiring $\mathsf{Snap}(t)$ -- replacing the FITO assumption with constraint semantics.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。