Code Failure Prediction and Pattern Extraction using LSTM Networks
Mahdi Hajiaghayi, Ehsan Vahedi

TL;DR
This paper presents a novel LSTM-based approach for predicting code failures and extracting failure-inducing patterns from telemetry data, achieving high accuracy and outperforming classical models in synthetic scenarios.
Contribution
It introduces a new LSTM-based method with Bayesian optimization for code failure prediction and a greedy approach to identify contributors and blockers, enhancing interpretability.
Findings
Over 99% accuracy in synthetic data failure detection
Outperforms Decision Tree and Random Forest models
Successfully identifies contributors and blockers in over 90% of cases
Abstract
In this paper, we use a well-known Deep Learning technique called Long Short Term Memory (LSTM) recurrent neural networks to find sessions that are prone to code failure in applications that rely on telemetry data for system health monitoring. We also use LSTM networks to extract telemetry patterns that lead to a specific code failure. For code failure prediction, we treat the telemetry events, sequence of telemetry events and the outcome of each sequence as words, sentence and sentiment in the context of sentiment analysis, respectively. Our proposed method is able to process a large set of data and can automatically handle edge cases in code failure prediction. We take advantage of Bayesian optimization technique to find the optimal hyper parameters as well as the type of LSTM cells that leads to the best prediction performance. We then introduce the Contributors and Blockers…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAnomaly Detection Techniques and Applications · Time Series Analysis and Forecasting · Software System Performance and Reliability
MethodsSigmoid Activation · Tanh Activation · Long Short-Term Memory
