Web Metric Anomaly Forecasting with Intra-Period Alerts
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional web analytics tools provide lagged indicators for anomalous website metrics, allowing corrective actions only after the end of a day, which may not address current issues and is inefficient in predicting future anomalies.
Innovation Solution
The method involves generating a probability of anomalous metric values before the end of a period by analyzing previous values and their distribution, using techniques like time series analysis, linear regression, and recurrent neural networks to predict end-of-period values and send alerts for timely adjustments.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If conventional web analytics tools use end-of-period forecasting, then prediction accuracy is achieved, but timeliness of anomaly detection deteriorates (alerts are sent after the period ends)
Solution Approach 1:
The system performs preliminary forecasting at multiple intermediate points during the period (e.g., hourly or daily updates within a weekly period) rather than only at the end. This allows anomaly detection to occur before the period concludes, enabling timely remedial actions while maintaining prediction accuracy through iterative updates based on actual vs. predicted values.
Solution Approach 2:
The forecasting system transitions from a static end-of-period model to a dynamic multi-stage forecasting process. The model is repeatedly executed at different time points within the period, with parameters adjusted based on actual metric values observed so far, making the anomaly detection process adaptive and time-sensitive.
2Reliability
If conventional tools wait for period completion before sending alerts, then false positives are reduced, but responsiveness to current issues deteriorates
Solution Approach 1:
The system performs preliminary anomaly assessments at intermediate forecasting points using the same rigorous statistical criteria as end-of-period analysis. This maintains reliability by applying consistent false positive filtering while enabling earlier detection of genuine anomalies that can trigger timely responses.
Solution Approach 2:
The system incorporates feedback loops where actual metric values observed during the period are compared against predicted values, and this information feeds into subsequent forecasting iterations. This continuous feedback mechanism refines predictions and anomaly detection accuracy throughout the period, maintaining reliability while improving responsiveness.
Data Source
AI summary
Techniques of forecasting web metrics involve generating, prior to the end of a period of time, a probability of a metric taking on an anomalous value, e.g., a value indicative of an anomaly with respect to web traffic, at the end of the period based on previous values of the metric. Such a probability is based on a distribution of predicted values of the metric at some previous period of time. For example, a web server may use actual values of the number of bounces collected at hourly intervals in the middle of a day to predict a number of bounces at the end of the current day. Further, the web server may also compute a confidence interval to determine whether a predicted end-of-day number of bounces may be considered anomalous. The width of the confidence interval indicates the probability that a predicted end-of-day number of bounces has an anomalous value.


