Introduction
Predicting extreme events—such as financial crashes, natural disasters, or energy spikes—is a critical challenge in time series analysis. Traditional deep learning models are typically "mean-seekers," optimized to minimize average error, which often leads them to treat extreme values as outliers to be ignored or smoothed over. While Extreme Value Theory (EVT) provides a robust statistical framework for modeling such events, classical methods are often linear and struggle with the complex, non-linear dependencies found in real-world data.
DeepExtrema bridges this gap by integrating the Generalized Extreme Value (GEV) distribution into a deep learning architecture. Unlike "Peaks Over Threshold" approaches that require choosing an arbitrary threshold, DeepExtrema focuses on Block Maxima—the maximum value within a fixed time window (e.g., the highest wind speed in a 6-day period). This approach avoids arbitrary thresholds but introduces technical hurdles due to the inter-dependent constraints of GEV parameters that are easily violated by random neural network initialization.
Methodology
The DeepExtrema framework utilizes a Stacked Long Short-Term Memory (LSTM) network to extract temporal features from input sequences. These features are then fed into fully connected layers to estimate the three parameters of the GEV distribution: location ($\mu$), scale ($\sigma$), and shape ($\xi$).
Key Innovations
To overcome the instability of training neural networks with GEV distributions, the authors introduced several key mechanisms:
- Constraint Enforcement: GEV parameters must satisfy specific mathematical constraints (e.g., the scale $\sigma$ must be positive). DeepExtrema enforces these using Softplus activations and reformulated bounds for the shape parameter.
- Model Bias Offset (MBO): Neural networks with random initialization often produce invalid GEV parameters, causing the loss function to explode. MBO "warm-starts" the model by calculating the bias between initial outputs and a valid global fit, ensuring training begins in a statistically safe region.
- Hybrid Loss Function: The model optimizes a weighted combination of the Negative Log-Likelihood (NLL) of the GEV distribution and the Root Mean Squared Error (RMSE) of the point prediction.
Experimental Results
The model was evaluated across synthetic and real-world datasets, including hurricane wind speeds (HURDAT2), solar energy usage (Ausgrid), and hourly temperature data.
DeepExtrema consistently outperformed standard LSTMs, Transformers, and existing extreme-value models like EVL. In hurricane intensity forecasting, it achieved an RMSE of 12.81, compared to 13.31 for a standard LSTM and 15.72 for EVL. Beyond point accuracy, the model's ability to provide quantile estimates allows for "90% worst-case" scenario planning, providing a more comprehensive risk assessment than traditional models. On synthetic data, the model even outperformed ground-truth parameters in terms of Negative Log-Likelihood, suggesting it effectively captured the underlying distribution.
Conclusion
DeepExtrema demonstrates that incorporating statistical priors from Extreme Value Theory can significantly enhance the performance of deep learning models on rare, high-impact events. By ensuring mathematical validity through the Model Bias Offset, the framework allows deep networks to learn complex patterns without succumbing to the numerical instability of extreme value statistics. Future work will explore extending the framework to multivariate and spatio-temporal data, as well as integrating more advanced attention-based architectures.
Summary updated