Robust and Active Learning for Deep Neural Network Regression

Xi Li, George Kesidis, David J. Miller, Maxime Bergeron, Ryan Ferguson, Vladimir LucicarXiv 2021

Abstract

Deep Neural Networks (DNNs) are increasingly used to approximate complex, computationally expensive simulators or "oracles." However, standard random sampling often fails to capture high-error regions in high-dimensional spaces. We present an active learning heuristic that identifies local error maximizers via gradient ascent. By iteratively enriching the training set with these challenging points and employing a weighted loss function, we demonstrate a significant reduction in both general test error and error on adversarial points. In a financial derivative valuation task, our method achieved a 45% reduction in Mean Squared Error compared to random sampling.

Introduction

In engineering and financial domains, Deep Neural Networks are frequently deployed to approximate "oracles"—complex mathematical models or simulators that are computationally intensive. While DNNs offer rapid inference, training them to high accuracy requires substantial data. The conventional approach of random sampling in the input space is often inefficient, particularly in high-dimensional regimes where the oracle function may exhibit localized non-convexities or complexities. These "nooks and crannies" often harbor high prediction errors that random sampling misses. This paper addresses the challenge of targeted data acquisition: identifying specific samples that provide the most significant improvements to model performance.

Methodology

We propose an iterative active learning framework designed to "hunt" for high-error regions:

  1. Initial Training: A baseline DNN is trained on a random set of supervised samples ($S_0$).
  2. Error Maximization: The squared error landscape, defined by $|Y(x) - Z(x)|^2$ (where $Y$ is the DNN and $Z$ is the oracle), is explored using gradient ascent. This identifies local maximizers ($M_0$) where the model's performance is poorest. The gradient of the DNN is obtained via backpropagation, while the oracle's gradient is approximated using first-order finite differences.
  3. Dataset Enrichment: The identified high-error points are added to the training set: $S_1 = S_0 \cup M_0$.
  4. Weighted Retraining: The model is retrained using a weighted loss function: $$\alpha \text{Loss}(S_0) + (1 - \alpha) \text{Loss}(M_0)$$ The parameter $\alpha$ controls the balance between the original data distribution and the newly discovered "hard" examples.

  5. Iteration: The process repeats, refining the model with progressively tighter stopping conditions.

Experimental Setup

The methodology was evaluated using a synthetic financial dataset focused on single-barrier option valuation. The input space is 5-dimensional, comprising the barrier/spot price ratio, strike/spot price ratio, time to maturity, volatility, and interest rate. The initial training set ($S_0$) consisted of 200,000 samples, with a test set of 10,000 samples. 10,000 unique local maximizers were generated to form the active learning set ($M_0$).

Results

The active learning approach demonstrated substantial improvements over the random sampling baseline. As shown in Figure 1, the choice of the weighting parameter $\alpha$ is critical to performance.

Performance metrics across varying weighting parameter α. The optimal performance is observed at α = 0.95, where both test MSE and maximizer error are minimized.

The baseline model ($\alpha = 1$) yielded a test Mean Squared Error (MSE) of 0.0688. By incorporating the error maximizers with an optimal weighting of $\alpha = 0.95$, the test MSE was reduced to 0.0381—a nearly 45% improvement. Furthermore, the Mean Absolute Error (MAE) on the "maximizer" set dropped from 1.168 to 0.6821, indicating that the model became significantly more robust in previously problematic regions of the input space. Notably, improving performance on these "adversarial" points also enhanced generalization across the entire test set.

Discussion and Conclusion

Our results highlight that gradient-based "hill-climbing" is a computationally efficient alternative to iterative importance sampling for identifying high-error regions in high-dimensional spaces. The sensitivity of the model to the $\alpha$ parameter suggests that while focusing on hard examples is beneficial, over-weighting them can degrade overall performance.

Additionally, we observed that as the training set is enriched with complex error maximizers, the regression task becomes more difficult. This suggests a dynamic relationship between data complexity and model capacity; a DNN that is initially sufficient may eventually require architectural expansion to fit the increasingly "rugged" error landscape. Future work should explore the integration of Neural Architecture Search and the computational costs associated with oracle gradient approximations in higher dimensions.

In conclusion, this active learning heuristic provides a robust framework for improving DNN regression accuracy by systematically targeting and resolving the model's greatest weaknesses.

Summary updated

BibTeX
@misc{li2021robust,
  author = {Xi Li and George Kesidis and David J. Miller and Maxime Bergeron and Ryan Ferguson and Vladimir Lucic},
  title = {{Robust and Active Learning for Deep Neural Network Regression}},
  year = {2021},
  eprint = {2107.13124},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2107.13124},
}
Figure