Spatial-Temporal Memory Error Prediction for Uncorrectable Failures
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current machine learning methods for predicting uncorrectable errors (UEs) in memory systems suffer from high false positives and low recall rates due to the imbalance in data distribution and the inherent noise and heterogeneity of memory data, as well as the need to handle spatial and temporal variability in memory frameworks.
Innovation Solution
A spatial-temporal transformer model is trained using self-attention mechanisms to learn spatial and temporal features from memory cells, aggregating historical error logs to generate micro and bit-level features, and using a transformer encoder for prediction, enabling timely preventive maintenance.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If traditional machine learning methods are used to predict uncorrectable errors, then the prediction system can be implemented, but the system suffers from high false positives and low recall rates due to data imbalance and noise
Solution Approach 1:
The patent segments the prediction task into multiple stages: (1) data preprocessing to handle imbalance and noise, (2) feature extraction at multiple levels (bit-level, chip-level, board-level), and (3) ensemble prediction combining multiple models. This segmentation allows each stage to optimize for specific aspects, improving overall reliability while reducing false positives and enhancing recall.
Solution Approach 2:
The patent introduces multiple dimensions to the prediction system: spatial dimensions (different memory locations, chips, boards) and temporal dimensions (historical error patterns over time). By analyzing errors across these dimensions, the system captures complex patterns that single-dimension approaches miss, thereby improving prediction accuracy and reducing false positives while maintaining high recall.
2Reliability
If comprehensive historical data is collected for training, then prediction reliability improves, but data noise and heterogeneity increase making training more difficult
Solution Approach 1:
The patent extracts only the most relevant features from comprehensive historical data through careful feature selection. It identifies and extracts key patterns such as error frequencies, spatial distributions, and temporal trends while discarding noisy or irrelevant information. This extraction process maintains prediction reliability by focusing on signal while filtering out noise and heterogeneity.
Solution Approach 2:
The patent introduces data preprocessing and feature engineering as intermediary steps between raw historical data and the prediction model. These intermediaries transform noisy, heterogeneous data into clean, structured features that are easier to process, thereby maintaining the benefits of comprehensive data while reducing its noise and heterogeneity for effective training.
3Loss of time
If preventive maintenance is performed based on predictions, then server downtime is reduced, but hardware replacement costs increase
Solution Approach 1:
The patent enables preliminary identification of memory devices that are likely to fail by predicting uncorrectable errors before they occur. This allows scheduling of hardware replacement during planned maintenance windows rather than during unexpected failures, reducing server downtime while allowing organizations to plan and budget for replacements efficiently, thereby mitigating the cost impact.
Data Source
AI summary
Systems and methods are directed to training and using a spatial-temporal transformer to predict memory errors. The system aggregates historical data including error logs from data centers by time windows and generates, from the aggregated historical data, a spatial representation of the errors and a set of micro features for each time window in an observation period. A memory feature vector is generated for each time window by flattening the spatial representation and appending the corresponding set of micro features to an end of the flattened spatial representation. The spatial-temporal transformer is trained by applying the memory feature vector for each time window to a transformer encoder. This training process is repeat for each observation period within a data collection period. During inference time, a similar process is performed to generate inference memory feature vectors for an inference observation period, which are applied to the trained transformer to predict errors.


