TLDR: This paper evaluates how well a foundational AI model (TimesFM) and traditional statistical models predict rare, spiky production outages in high-performance machine learning services. It finds that while the foundational model generally performs better, the best model and its settings depend heavily on the specific patterns of the outage data. The study highlights the potential of foundational models in software reliability but also points to the need for adaptive model selection and tuning.
In today’s digital world, countless applications we use daily rely on high-performance machine learning (ML) services. These services power everything from personalized content to real-time analytics, serving billions of users globally. When these critical services experience production outages, the impact can be significant, leading to brand damage, revenue loss, and user frustration. Predicting and mitigating these outages is a major challenge, especially when they are sporadic and unpredictable.
A recent research paper explores this very challenge, evaluating the effectiveness of a cutting-edge foundational AI model, TimesFM, against more traditional statistical models for forecasting these rare, spiky production outages. The goal is to understand which models perform best in predicting these critical events for planet-scale machine learning services.
The Challenge of Forecasting Outages
Traditional software reliability growth models (SRGMs) were often designed for older software development methods where the total number of defects was assumed to be fixed. However, modern agile software development means that new defects are continuously introduced and removed, making the total defect count dynamic and unpredictable. This complexity, combined with operational issues that also cause outages, necessitates more sophisticated forecasting models.
The research focuses on forecasting the count of production outages directly, rather than trying to model the underlying software engineering processes. This is particularly difficult because these outages are often rare, spiky, and imbalanced events – a type of extreme event that is notoriously hard to predict accurately.
Models Under Evaluation
The study compared four types of time series forecasting models:
-
Previous Value (PV): The simplest model, predicting the next value based on the immediate previous one.
-
Moving Average (MA): Predicts the next value by averaging a set of recent values.
-
Auto-Regressive (AR): A statistical model that predicts future values based on past values, essentially a logistic regression on historical data.
-
Foundational Model (FM): Specifically, TimesFM, a state-of-the-art model pre-trained on vast amounts of time series data. This model uses a Transformer architecture, similar to those found in large language models, making it adept at capturing complex patterns over long sequences of data.
The researchers also explored optimization techniques like logarithmic transformation (to handle the spiky nature of the data) and ‘0 flooring’ (setting negative predictions to zero, as outage counts cannot be negative). Fine-tuning the foundational model with specific outage data was also investigated.
Key Findings
The study used seven years of production incident statistics from high-performance machine learning services, breaking down outages by their root cause types (e.g., capacity, client, database, ML-oriented). Here are the main takeaways:
-
For overall monthly outage counts, the foundational model (TimesFM) consistently showed the lowest prediction errors. It was notably better at adapting to sudden spikes and drops in outage data compared to traditional models like Auto-Regressive, which often over-predicted spikes.
-
When forecasting outages for specific root causes, the foundational model again demonstrated higher accuracy for most types. However, the optimal model and its settings (like the ‘lag’ or lookback period) varied depending on the unique patterns of each root cause’s outage data.
-
Interestingly, fine-tuning the pre-trained foundational model with a small, specific dataset did not yield significant accuracy gains. This suggests that the model’s broad pre-training is highly effective, and further specialized training might only offer marginal improvements for this type of data.
-
The research also showed that simple optimizations like logarithmic transformation and ‘0 flooring’ were consistently effective in improving accuracy across models.
Also Read:
- Building a Collaborative Space for AI in Network Troubleshooting
- AI Models Enhance IoT Security: A Deep Dive into Threat Detection and Response
Implications for Service Reliability
This research highlights the significant potential of foundational AI models like TimesFM in predicting critical events such as production outages in complex, large-scale machine learning services. While these advanced models offer superior performance on average, the study underscores that no single model or configuration is universally optimal for all types of outage patterns. This suggests a future direction where systems might intelligently select and tune the best forecasting model based on the specific characteristics of the data they are analyzing.
By accurately forecasting these sporadic outages, service providers can better anticipate and mitigate potential disruptions, ultimately enhancing the reliability of the machine learning services that billions of users depend on. For more technical details, you can refer to the full research paper here.


