TL;DR
This paper tackles the critical problem of model drift in financial machine learning models, particularly in volatile developing economies. They introduce novel metrics to quantify model stability under shocks and propose using synthetic outliers generated by a zGAN model to improve resilience, showing promising results in enhancing model performance during unexpected economic events.
What Problem Does This Paper Address?
Machine learning models in finance are prone to "model drift," where their predictive accuracy degrades as the underlying data distribution changes over time. This is a significant issue in mature markets, but it's even more pronounced in developing economies, especially in regions like Central Asia and the Caucasus. These areas are characterized by frequent and unpredictable macroeconomic shocks (e.g., trade conflicts, policy changes) that can drastically destabilize financial data. Existing methods for mitigating drift, such as retraining or using sliding windows, are often reactive. This paper aims to proactively improve model stability by exploring the use of synthetic data, specifically synthetic outliers, to prepare models for these unforeseen shocks.
Methods
The authors introduce a two-level framework for evaluating model stability under shocks:
- Stabilization Score (SS): This metric quantifies a model's ability to maintain predictive performance when faced with a shock. It normalizes performance degradation by the magnitude of the distribution shift, providing a more robust measure of stability.
- Stabilization Uplift (SU): This metric compares two models (a baseline and a stabilized one) to quantify the net advantage of the stabilized model under drift. It considers both performance preservation and relative superiority.
For generating synthetic data and outliers, they leverage zGAN (a generative adversarial network). zGAN is designed for realistic tabular synthesis and includes an explicit mechanism for generating controlled outliers. These synthetic outliers are sampled from heavy-tailed distributions to mimic extreme events or shocks. The stabilized models are trained on a mix of real and synthetic data, optionally including these synthetic outliers.
Datasets
The study utilizes private macroeconomic tabular datasets from developing economies in Central Asia and the Caucasus, specifically from:
- Tajikistan (A1)
- Uzbekistan (A4)
- Kazakhstan (A5)
- Jordan (A6)
- Azerbaijan (A9)
They also include an "Open" dataset from Lending Club for comparison. These datasets are characterized by binary default prediction tasks with class imbalance and often include macro-financial covariates. The paper defines "shocks" based on real-world events like trade or armed conflicts, and uses Out-of-Time (OOT) or Out-of-Sample (OOS) splits to create pre-shock and post-shock segments.
Key Insights and Ideas
- Synthetic outliers are a promising proactive strategy: Instead of reacting to drift, generating synthetic data that mimics potential shocks (outliers) can make models more resilient.
- Developing economies are a critical testbed: The inherent volatility of these regions makes them ideal for studying and validating drift mitigation techniques, as the impact of shocks is more pronounced.
- Outlier proportion matters, but not linearly: The study found that a small proportion of synthetic outliers (often 5-10%) generally yields the best stability gains, with very small or very large amounts being less effective. This suggests a delicate balance is needed.
- Model architecture plays a key role: More flexible models like TabPFN and FT-Transformer tend to benefit more from synthetic outliers than tree-based models, suggesting they can better leverage the added information.
- Distribution shift magnitude influences gains: The benefits of synthetic outliers are more pronounced when the distribution shift (DS) is moderate to high, and attenuated when the shift is minimal.
Key Results
- Adding synthetic outliers generally improved model stability across various datasets and models. Outlier-augmented training improved stability in approximately 83% of the best configurations observed across datasets.
- The Stabilization Uplift (SU) metric showed that models trained with synthetic outliers often achieved higher stability scores compared to baseline models. For instance, in the Tajikistan dataset (A1), the best SU was 0.8441 for TabNet trained without outliers, but a high SU of 0.8126 was achieved with TabPFN trained on 100% outliers.
- Flexible architectures like FT-Transformer and TabPFN frequently achieved the highest SU.
- The optimal share of outliers was non-monotonic, with moderate injections (5-10%) often maximizing SU.
- Gains scaled with shift magnitude, being largest where DS was moderate/high and attenuated for minimal DS.
Limitations and Future Work
- Lack of a universal rule for outlier percentage: The authors acknowledge that there isn't a single optimal percentage of synthetic outliers that works for all datasets and models.
- Future work: The paper suggests focusing on developing heuristics to guide the selection of the best outlier percentage, aiming for improved robustness on average without extensive manual tuning. Further research could also explore other types of synthetic data generation for drift mitigation.
Summary updated