Robust Data Preprocessing for Machine-Learning-Based Disk Failure Prediction in Cloud Production Environments

Shujie Han, Jun Wu, Erci Xu, Cheng He, Patrick P. C. Lee, Yi Qiang, Qixing Zheng, Tao Huang, Zixi Huang, Rui LiarXiv 2019 · arXiv

Abstract

Machine learning (ML) models for disk failure prediction often underperform in real-world cloud environments due to "dirty data" issues such as inaccurate labeling, missing logs, and diverse failure types. This paper introduces RODMAN, a robust preprocessing pipeline designed to bridge the gap between academic models and production realities. RODMAN employs failure-type filtering, cubic spline interpolation for data filling, and automated pre-failure backtracking using Bayesian change point detection. Evaluated on a massive dataset of over three million disks from Alibaba Cloud, RODMAN improves the True Positive Rate (TPR) by up to 23.7% over state-of-the-art methods while maintaining a low False Positive Rate.

Introduction

In massive cloud data centers, disk failures are a daily occurrence, necessitating proactive prediction to maintain service availability. While SMART (Self-Monitoring, Analysis, and Reporting Technology) logs provide telemetry for ML models, production environments present three significant "dirty data" challenges:

  1. Inaccurate Labeling: Traditional models often label only the "fail-stop" moment, ignoring "fail-slow" symptoms that appear much earlier.
  2. Incomplete Datasets: Network glitches and system maintenance lead to frequent gaps in SMART logs, with over half of failure signals often missing.
  3. Diverse Failure Types: Not all failures are predictable; some are sudden crashes or external faults (e.g., power issues) that SMART logs cannot capture.
Distribution of missing data gaps in SMART logs for disk models A1 and B1, illustrating the prevalence of incomplete datasets.

The RODMAN Pipeline

RODMAN addresses these challenges through a three-stage preprocessing pipeline designed to refine data before it reaches the ML model.

The RODMAN architecture, illustrating the flow from raw data input to prediction through specialized preprocessing and feature construction stages.

1. Failure-Type Filtering

To reduce noise, RODMAN uses the Kolmogorov-Smirnov (KS) test to distinguish between "predictable" and "unpredictable" failures. Predictable failures show a statistically significant deviation in SMART attributes compared to healthy disks, while unpredictable ones (e.g., sudden mechanical crashes) are filtered out to prevent model confusion.

2. Spline-Based Data Filling

Standard interpolation methods like forward-fill or linear interpolation often fail to capture the non-linear degradation of a failing disk. RODMAN utilizes cubic spline interpolation to reconstruct missing data points, creating smoother and more realistic time-series curves that better reflect physical wear-out processes.

3. Automated Pre-Failure Backtracking

Instead of a fixed labeling window (e.g., 7 days before failure), RODMAN employs Bayesian change point detection. This algorithm identifies the specific moment a disk's behavior deviates from its healthy baseline. This allows for a custom-tailored "backtracking window" for different disk models, which the authors found can vary significantly (e.g., 27 to 29 days). Additionally, an "observation window" is used to drop ambiguous samples that might otherwise mislabel near-failure disks as healthy.

Evaluation and Results

The study utilized two primary datasets: a one-year trace of over three million disks from Alibaba Cloud and the public Backblaze dataset for cross-validation.

Key findings include:

  • Performance Gains: RODMAN improved the TPR by 21.4% to 23.7% over baseline models like Random Forest and LightGBM on the Alibaba dataset.
  • High Precision: For the Alibaba A1 disk model, the system achieved a 92.8% TPR with a False Positive Rate (FPR) of only 0.1%.
  • Generalizability: On the Backblaze dataset, RODMAN achieved an 82.4% TPR, significantly outperforming existing state-of-the-art methods.

Conclusion

RODMAN demonstrates that robust preprocessing is as critical as model architecture in production disk failure prediction. By accounting for the inherent "messiness" of data center telemetry—specifically missing data and varying failure lead times—RODMAN provides a practical path for deploying ML-based maintenance systems at scale. Future work will focus on adapting these offline techniques for real-time, online data streams.

Summary updated

Abstract

To provide proactive fault tolerance for modern cloud data centers, extensive studies have proposed machine learning (ML) approaches to predict imminent disk failures for early remedy and evaluated their approaches directly on public datasets (e.g., Backblaze SMART logs). However, in real-world production environments, the data quality is imperfect (e.g., inaccurate labeling, missing data samples, and complex failure types), thereby degrading the prediction accuracy. We present RODMAN, a robust data preprocessing pipeline that refines data samples before feeding them into ML models. We start with a large-scale trace-driven study of over three million disks from Alibaba Cloud's data centers, and motivate the practical challenges in ML-based disk failure prediction. We then design RODMAN with three data preprocessing echniques, namely failure-type filtering, spline-based data filling, and automated pre-failure backtracking, that are applicable for general ML models. Evaluation on both the Alibaba and Backblaze datasets shows that RODMAN improves the prediction accuracy compared to without data preprocessing under various settings.
BibTeX
@misc{han2019robust,
  author = {Shujie Han and Jun Wu and Erci Xu and Cheng He and Patrick P. C. Lee and Yi Qiang and Qixing Zheng and Tao Huang and Zixi Huang and Rui Li},
  title = {{Robust Data Preprocessing for Machine-Learning-Based Disk Failure Prediction in Cloud Production Environments}},
  year = {2019},
  eprint = {1912.09722},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1912.09722},
}
Figure