[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-497287-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-497287-en":131},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","diagnosing-large-scale-llm-training-failures-via-automated-log-analysis-arxiv-250320263v1","Diagnosing Large-scale LLM Training Failures via Automated Log Analysis - arXiv 2503.20263v1","","Large Language Models (LLMs) enable many enterprise applications, yet customized training frequently fails because it demands massive computation and long training cycles, wasting substantial resources and time. This paper conducts the first empirical study of failure reports for 428 LLM training failures on a production Platform-X from May 2023 to April 2024. Hardware and user faults dominate the root causes. Log-based diagnosis is insufficient, motivating L4, an automated framework that extracts failure-indicating log events, nodes, stages, and iterations and improves recovery efficiency.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/diagnosing-large-scale-llm-training-failures-via-automated-log-analysis-arxiv-250320263v1/497287/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/diagnosing-large-scale-llm-training-failures-via-automated-log-analysis-arxiv-250320263v1/497287.png","ImageObject",300,407,{"name":42,"@type":43},"Cipher","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-16","2026-10-02",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",12,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"Why are failures common during large-scale LLM training?","Question",{"text":63,"@type":64},"Failures are common because training requires immense computational resources, large training data volumes, and long training durations, which increases the likelihood of hardware and user-related faults.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"What data and scope does the study cover?",{"text":68,"@type":64},"The study analyzes 428 LLM training failure reports from Platform-X between May 2023 and April 2024.",{"name":70,"@type":61,"acceptedAnswer":71},"What problem do existing log-based diagnostic methods have?",{"text":72,"@type":64},"Existing methods fall short for LLM training logs because such logs exhibit distinct patterns, including cross-job, spatial, and temporal patterns, which are not adequately handled.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},497287,1791357700,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,106,111,115,120,123,127],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":103,"show_sort_weight":104,"slug":105},6,"Technology",50,"technology",{"id":107,"doc_module":4,"doc_module_name":25,"category_name":108,"show_sort_weight":109,"slug":110},7,"Healthcare",40,"healthcare",{"id":112,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":113,"slug":114},8,30,"research-report",{"id":116,"doc_module":4,"doc_module_name":25,"category_name":117,"show_sort_weight":118,"slug":119},9,"Religion & Spirituality",20,"religion-spirituality",{"id":118,"doc_module":4,"doc_module_name":25,"category_name":121,"show_sort_weight":118,"slug":122},"World Cup","world-cup",{"id":124,"doc_module":4,"doc_module_name":25,"category_name":125,"show_sort_weight":124,"slug":126},10,"Lifestyle","lifestyle",{"id":128,"doc_module":4,"doc_module_name":25,"category_name":129,"show_sort_weight":97,"slug":130},19,"General","general",{"code":4,"msg":82,"data":132},{"doc_id":79,"user_id":133,"nickname":42,"user_avatar":134,"doc_module":4,"category_id":112,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":140,"language":141,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":12,"update_tm":145,"read_time":146,"preview_page_count":33,"preview_urls":147},687208528416,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","L4: Diagnosing Large-scale LLM Training Failures via Automated  \nLog Analysis  \narXiv :2503 .20263v1 [ cs . SE] 26 Mar 2025  \nZhihan Jiang  \nThe Chinese University of Hong Kong Hong Kong SAR, China  \nYichen Li, Renyi Zhong  \nThe Chinese University of Hong Kong Hong Kong SAR, China  \nJunjie Huang, Guangba Yu∗ The Chinese University of Hong Kong Hong Kong SAR, China  \nCong Feng, Yongqiang Yang, Zengyin Yang Huawei Cloud Shenzhen, China  \nZhuangbin Chen  \nSun Yat-sen University Zhuhai, China  \nMichael R. Lyu  \nThe Chinese University of Hong Kong Hong Kong SAR, China  \nABSTRACT  \nAs 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.  \nIn 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 logsand localizing faulty nodes. Furthermore, L4 has been applied in Platform-X and demonstrated its effectiveness in enabling accurate and efficient failure diagnosis.  \n1 INTRODUCTION  \nLarge language models (LLMs) have revolutionized various fields including natural language processing [36, 78] and software engineering [28, 52], enabling breakthrough applications such as code generation [30], document translation [71], and dialogue systems [79] . The superior performance of LLMs is primarily driven by the scaling law [45], which establishes that the model capacity strongly correlates with both the model size and the volume of training data. For instance, recent models like Grok-1 [11] incorporate 314 billion parameters, while training datasets such as RedPajama [74] have reached 30 trillion tokens.  \nTo achieve state-of-the-art model capability, significant efforts have been devoted to training or fine-tuning LLMs, which requires  \n∗ Guangba Yu is the corresponding author.  \nsubstantial computational resources. For example, the Llama3-405B model was trained using 16,384 H100 GPUs for 54 days [26] . To facilitate these demanding training requirements, IT enterprises have developed multi-tenant LLM development platforms, such as Amazon SageMaker [3] and Google Vertex AI [10] . These platforms allow users to submit LLM training jobs with customized hardware resources and access to specialized software libraries and tools.  \nLLM training failures have become the norm rather than the exception [31, 73, 75, 85, 88], primarily due to three key factors: the immense scale and complexity of computational resources, the substantial volume of training data, and the extended duration of training processes. For instance, during the training of Llama3-405B, Meta utilized 16,384 H100 GPUs and encountered 466 failures over a 54-day period [26]. These failures result in significant losses in both computation","cbCaideGxDcog2Py","https://ap.wps.com/l/cbCaideGxDcog2Py","pdf",1210371,13,"English","# Abstract\n# Introduction","[{\"question\":\"Why are failures common during large-scale LLM training?\",\"answer\":\"Failures are common because training requires immense computational resources, large training data volumes, and long training durations, which increases the likelihood of hardware and user-related faults.\"},{\"question\":\"What data and scope does the study cover?\",\"answer\":\"The study analyzes 428 LLM training failure reports from Platform-X between May 2023 and April 2024.\"},{\"question\":\"What problem do existing log-based diagnostic methods have?\",\"answer\":\"Existing methods fall short for LLM training logs because such logs exhibit distinct patterns, including cross-job, spatial, and temporal patterns, which are not adequately handled.\"}]","Diagnosing Large-scale LLM Training Failures via Automated Log Analysis - arXiv 2503.20263v1 | PDF",1790951247,33,[148,152,156,160],{"page_no":22,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/897bf906640b00a6b4a9a8540ad28294.webp",983,1272,{"page_no":26,"url":153,"width":154,"height":155},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/3f5ccd6485769185d9cb9f2aadfe6d62.webp",982,1270,{"page_no":30,"url":157,"width":158,"height":159},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/e4c915fbf192d703315b6f13d796f46f.webp",981,1269,{"page_no":33,"url":161,"width":162,"height":163},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/c939218d89b19fab7be7abe5513de779.webp",980,1268]