Abstract
In real-world time series forecasting, uncertainty and lack of reliable evaluation pose significant challenges. Notably, forecasting errors often arise from underfitting in-distribution data and failing to handle out-of-distribution inputs. To enhance model reliability, we introduce a dual rejection mechanism combining ambiguity and novelty rejection. Ambiguity rejection, using prediction error variance, allows the model to abstain under low confidence, assessed through historical error variance analysis without future ground truth. Novelty rejection, employing Variational Autoencoders and Mahalanobis distance, detects deviations from training data. This dual approach improves forecasting reliability in dynamic environments by reducing errors and adapting to data changes, advancing reliability in complex scenarios.
Introduction
Deep learning has revolutionized time series forecasting, yet real-world deployment remains risky due to "future uncertainty." Unlike standard evaluation where ground truth is available, live systems must make predictions without knowing if they are likely to fail. Forecasting errors typically stem from two sources: Underfitting (Ambiguity), where the model is unconfident despite familiar patterns, and Out-of-Distribution (Novelty), where input data deviates significantly from training patterns (e.g., sensor failures or market shocks).
This paper introduces a Dual Rejection Mechanism (DRM) that allows models to "abstain" from making a prediction when uncertainty is too high. By identifying and rejecting high-risk scenarios, the framework significantly improves the reliability of forecasts in high-stakes environments like finance and industrial control.
Methodology
The proposed DRM acts as a gatekeeper for the forecasting model, utilizing two distinct modules to evaluate input reliability.
- Ambiguity Rejection: This module assesses internal model confidence. By analyzing the variance of prediction errors on the training set, the system constructs confidence intervals using a Student’s t-distribution. If a new sample's estimated error variance exceeds a predefined threshold, it is flagged as "ambiguous."
- Novelty Rejection: This module identifies data that the model has never encountered. A Variational Autoencoder (VAE) learns the training data's distribution in a latent space. The Mahalanobis distance is then used to measure how far a new input is from the learned mean; significant deviations trigger a rejection.
If either module triggers, the system abstains, incurring a fixed "rejection cost" instead of risking a high-magnitude prediction error.
Experimental Evaluation
The framework was evaluated on standard multivariate benchmarks, including ETT (Electricity Transformer Temperature), Weather, and Exchange Rate datasets, across various temporal scales (96 to 720 time steps).
The DRM was applied to state-of-the-art models such as TimeXer, PAttn, and Autoformer. Key results include:
- Error Reduction: Rejecting just 10% of the most uncertain samples led to consistent drops in Mean Absolute Error (MAE) and Mean Squared Error (MSE). For instance, on ETTh1, TimeXer's MAE decreased from 0.4435 to 0.4252.
- Ablation Success: The dual approach consistently outperformed single-rejection strategies, proving that both ambiguity and novelty are critical components of forecasting failure.
Key Insights
- The "I Don't Know" Advantage: In high-risk fields, a missing prediction is often safer than an incorrect one.
- Ground-Truth Independent Assessment: The method cleverly assesses reliability using historical error patterns and latent space geometry, removing the need for immediate labels.
- Optimal Rejection Rates: Filtering the top 2-10% of uncertain samples provides the best balance between accuracy gains and data retention.
- Theoretical Soundness: The authors provide mathematical proof that their strategy performs at least as well as random rejection.
Conclusion and Limitations
While DRM enhances reliability, it introduces a trade-off: in some systems, "no prediction" is not an option. Future work could explore "fallback" models for rejected samples. Additionally, the computational overhead of running a VAE and the sensitivity of rejection thresholds are factors to consider for real-time or resource-constrained deployments.
Summary updated