paperbot · PL 论文追踪

全部论文 待读 收藏

P2 L4: Diagnosing Large-scale LLM Training Failures via Automated Log Analysis

L4:通过自动化日志分析诊断大规模 LLM 训练失败
FSE Proceedings of the 33rd ACM International Conference on the Foundations of Software Engineering2025匹配度 3/10 · 论文面向大规模LLM训练失败的日志诊断,属于ML系统可靠性与运维调试,与“将静态分析应用于ML系统/Agentic程序”只有间接关联;不涉及静态分析、浮点程序分析、贝叶斯程序分析或LLM改进程序分析。其生产环境实证与落地工具有一定参考价值,但核心方向不匹配。引用 32 inbox
Zhihan Jiang, Junjie Huang, Guangba Yu, Zhuangbin Chen, Yichen Li, Renyi Zhong, Cong Feng, Yongqiang Yang, Zengyin Yang, Michael Lyu
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:基于生产环境 LLM 训练失败的实证研究,提出日志分析框架 L4 自动诊断失败并定位故障节点。

LLM 训练需大量算力与时间,失败不可避免且代价高昂。本文首次对生产平台 Platform-X 在 2023 年 5 月至 2024 年 4 月间的 428 次 LLM 训练失败报告进行实证研究,发现硬件与用户故障是主要根因,现有诊断高度依赖训练日志,但现有日志诊断方法难以处理 LLM 训练日志。作者识别出 LLM 训练日志的跨作业、空间与时间三种独特模式,提出 L4 框架,自动从海量日志中提取指示失败的信息(日志事件、节点、阶段与迭代),减少人工并加速恢复。在真实数据集上,L4 在识别失败指示日志与定位故障节点上优于现有方法,并已在 Platform-X 部署,证明其有效性与效率。

问题
LLM 训练过程复杂、资源消耗大,失败会造成大量资源与时间浪费,亟需高效自动的失败诊断,而现有日志诊断方法不适用于 LLM 训练日志。
方法
对 428 次生产训练失败进行实证研究,归纳出跨作业、空间与时间三类日志模式,并实现 L4 框架,自动抽取日志事件、节点、阶段与迭代等失败指示信息。
评估
在真实数据集上与现有方法对比失败指示日志识别和故障节点定位效果,并在 Platform-X 生产平台部署验证。
原文摘要(Abstract)

As Large Language Models (LLMs) show their capabilities across various applications, training customized LLMs has become essential for modern enterprises. However, due to the complexity of LLM training, which requires massive computational resources and extensive training time, failures are inevitable during the training process. These failures result in considerable waste of resource and time, highlighting the critical need for effective and efficient failure diagnosis to reduce the cost of LLM training. In this paper, we present the first empirical study on the failure reports of 428 LLM training failures in our production Platform-X between May 2023 and April 2024. Our study reveals that hardware and user faults are the predominant root causes, and current diagnosis processes rely heavily on training logs. Unfortunately, existing log-based diagnostic methods fall short in handling LLM training logs. Considering the unique features of LLM training, we identify three distinct patterns of LLM training logs: cross-job, spatial, and temporal patterns. We then introduce our Log-based Large-scale LLM training failure diagnosis framework, L4, which can automatically extract failure-indicating information (i.e., log events, nodes, stages, and iterations) from extensive training logs, thereby reducing manual effort and facilitating failure recovery. Experimental results on real-world datasets show that L4 outperforms existing approaches in identifying failure-indicating logs and localizing faulty nodes. Furthermore, L4 has been applied in Platform-X and demonstrated its effectiveness in enabling accurate and efficient failure diagnosis.

链接与引用

DOI 原文 · arXiv · DBLP

BibTeX
@inproceedings{abs-2503-20263,
  title = {L4: Diagnosing Large-scale LLM Training Failures via Automated Log Analysis},
  author = {Zhihan Jiang and Junjie Huang and Guangba Yu and Zhuangbin Chen and Yichen Li and Renyi Zhong and Cong Feng and Yongqiang Yang and Zengyin Yang and Michael Lyu},
  booktitle = {FSE},
  year = {2025},
  doi = {10.1145/3696630.3728531}
}