paperbot · PL 论文追踪

全部论文 待读 收藏

P1 It Takes Two to Entangle

It Takes Two to Entangle:分布式机器学习模型的细化检查
ASPLOS Proceedings of the 31st ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 22026匹配度 7/10 · 该论文将静态分析与程序验证(细化检查)应用于分布式机器学习系统,直接对应“PL→AI:在机器学习系统中应用静态分析”的方向;但它不涉及 LLM/Agent 程序、浮点或贝叶斯程序分析,也未将 LLM/Agent 作为分析工具,因此并非核心交叉。引用 0 inbox
Zhanghan Wang, Ding Ding, Hang Zhu, Haibin Lin, Aurojit Panda
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出 Entangle,用迭代重写静态检查分布式模型是否细化顺序模型,以定位分布式 ML 中的 bug。

分布式机器学习训练和推理中,程序员通常将顺序模型规格通过多种分布策略拆分到多 GPU 上。这一过程可能引入 bug,使分布式实现输出与顺序模型输出不一致。论文提出通过静态检查模型细化来识别此类问题:顺序模型的输出能否从分布式模型输出中重构出来?作者实现 Entangle,采用迭代重写证明模型细化关系。评估使用 GPT 和 Llama-3 等模型,表明该方法能扩展到当今大模型与部署场景,并能给出可操作输出以辅助 bug 定位。

问题
分布式 ML 模型由顺序模型套用分布策略得到,过程中可能引入 bug,导致分布式实现输出偏离顺序模型输出。
方法
将问题形式化为模型细化检查,即能否从分布式模型输出重构顺序模型输出,并在 Entangle 中用迭代重写证明该细化关系。
评估
使用 GPT 和 Llama-3 进行评估,显示方法可扩展到当今大模型与部署,并提供有助于 bug 定位的可操作输出。
原文摘要(Abstract)

Distributed machine learning training and inference is common today because today's large models require more memory and compute than can be provided by a single GPU. Distributed models are generally produced by programmers who take a sequential model specification and apply several distribution strategies to distribute state and computation across GPUs. Unfortunately, bugs can be introduced in the process, and a distributed model implementation's outputs might differ from the sequential model's outputs. In this paper, we describe an approach to statically identify such bugs by checking model refinement, that is, can the sequential model's outputs be reconstructed from the distributed model's outputs? Our approach, implemented in Entangle, uses iterative rewriting to prove model refinement. Our approach can scale to today's large models and deployments: we evaluate it using GPT and Llama-3. Further, it provides actionable outputs that aids in bug localization.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@inproceedings{WangDZLP26,
  title = {It Takes Two to Entangle},
  author = {Zhanghan Wang and Ding Ding and Hang Zhu and Haibin Lin and Aurojit Panda},
  booktitle = {ASPLOS},
  year = {2026},
  doi = {10.1145/3779212.3790178}
}