日志解析何时丢失关键信息:分布式 GPU 工作负载中的故障检测研究
When Log Parsing Removes What Matters: Detecting Failures in Distributed GPU Workloads
AI 导读
研究者提出 PyTorch 框架 GF-Bench,用于在分布式 GPU 工作负载中注入可控故障,并发布含 220 个标注双 GPU 运行的数据集,覆盖正常行为、CUDA out-of-memory fail-stop 与持续 straggler fail-slow 故障。
正文 · 原文
Abstract:Large AI models increasingly rely on distributed GPU execution, yet it remains unclear whether established anomaly detection methods transfer effectively to this setting. We introduce GF-Bench, a PyTorch-based framework for generating controlled failures in distributed GPU workloads, and a dataset produced with it. The framework supports extensible workload and fault-injection logic; based on this design, the current release targets failures visible in multi-GPU communication logs and provides 220 labeled two-GPU runs covering normal behavior, CUDA out-of-memory fail-stop faults, and persistent-straggler fail-slow faults. Using GF-Bench, we evaluate three sequence-based methods (DeepLog, LogAnomaly, and LogBERT) and the large language model (LLM)-based LogPrompt with in-context learning (ICL) and chain-of-thought (CoT) prompting strategies on parsed logs, and additionally evaluate LogPrompt on raw logs. On parsed inputs, no method reliably detects both failure classes, and the highest overall F1 score is 0.667. Raw inputs raise the overall F1 score of ICL-LogPrompt to 0.983, at 9.0x its average input-token usage and 8.9x its per-run cost. These results reveal a trade-off between effectiveness and efficiency: parsed inputs reduce LLM token use and inference cost but can discard the distributed execution context required for accurate failure detection. GF-Bench provides a reproducible basis for studying cost-efficient anomaly detection methods and can be extended to additional GPU workloads and failure types.
| Comments: | v2: revised after publication; differs from the RASE '26 version |
| Subjects: | Machine Learning (cs.LG); Artificial Intelligence (cs.AI); Distributed, Parallel, and Cluster Computing (cs.DC); Software Engineering (cs.SE) |
| Cite as: | arXiv:2610.14009 [cs.LG] |
| (or arXiv:2610.14009v2 [cs.LG] for this version) | |
| https://doi.org/10.48550/arXiv.2610.14009 arXiv-issued DOI via DataCite |
|
| Journal reference: | Proceedings of the 1st International Workshop on Reliable and trustworthy Automated Software Engineering (RASE '26). pp. 60-63, 2026 |
| Related DOI: | https://doi.org/10.1145/3820756.3844919
DOI(s) linking to related resources |
Submission history
From: Boyuan Cui [view email]
[v1]
Tue, 29 Sep 2026 01:15:10 UTC (77 KB)
[v2]
Thu, 29 Oct 2026 15:23:34 UTC (78 KB)
来源:arXiv cs.AI · arxiv.org