When Log Parsing Removes What Matters: Detecting Failures in Distributed GPU Workloads
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.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI, cs.DC, cs.SE
- Journal
- Proceedings of the 1st International Workshop on Reliable and trustworthy Automated Software Engineering (RASE '26). pp. 60-63, 2026
- Comments
- v2: revised after publication; differs from the RASE '26 version
Related papers
A General Framework for Post-Hoc Predictive Distributions on Fixed Regression Models via Local Error Distributions
Shared title terminologycs.LGBreno Freitas, Youcef Msaid, Tiago A. Almeida
RISE-DMD: Reward-Improved Self-Evolving Distribution Matching Distillation for Black-Box Reward Optimization
Shared title terminologycs.LGYixiang Zhou, An Zhao, Xuanyi Liu et al.
T-ARC: Topology-Aware Randomized Clustering via Distributionally Robust Stochastic Block Models
Shared title terminologycs.LGSerena Grazia De Benedictis, Andersen Ang, Nicoletta Del Buono et al.
From Benchmarks to Production: Transferring Time Series Anomaly Detection Methods for Electricity Production Monitoring
Shared title terminologycs.LGNicolas Vautier, Paul Caron, Nardi Xhepi et al.
Right Answer, Wrong Mechanism: Detecting Pernicious Divergence in Causal Interventions
Shared title terminologycs.LGBeiming Liu, Minjie Chen
What Streaming Anomaly Detection Finds (and Misses) in Industrial Time Series
Shared title terminologycs.LGMagali Parrino, Antoine Ajenjo, Emmanuel Remy et al.