DC4L: Distribution Shift Recovery via Data-Driven Control for Deep Learning Models
Vivian Lin, Kuk Jin Jang, Souradeep Dutta, Michele Caprio, Oleg Sokolsky, Insup Lee
TL;DR
This work tackles the problem of deep model brittleness under real-world distribution shifts by proposing DC4L and its online supervisor SuperStAR, which sanitize inputs through a learned sequence of semantic-preserving transforms. The method formulates shift recovery as a Markov decision process and learns a policy via reinforcement learning, guided by a Wasserstein-distance-based reward and an operability classifier to ensure safe operation. Dimensionality reduction through orthonormal (Cai-Lim) projections enables efficient Wasserstein distance estimation, supporting online decision-making. Applied to ImageNet-C and CIFAR-100-C, SuperStAR yields substantial accuracy gains across multiple shifts and generalizes to composite shifts without retraining the policy. The approach offers a practical, online augmentation-free mechanism to bolster robustness in real-world vision systems, with room for extending the action library and addressing speed constraints.
Abstract
Deep neural networks have repeatedly been shown to be non-robust to the uncertainties of the real world, even to naturally occurring ones. A vast majority of current approaches have focused on data-augmentation methods to expand the range of perturbations that the classifier is exposed to while training. A relatively unexplored avenue that is equally promising involves sanitizing an image as a preprocessing step, depending on the nature of perturbation. In this paper, we propose to use control for learned models to recover from distribution shifts online. Specifically, our method applies a sequence of semantic-preserving transformations to bring the shifted data closer in distribution to the training set, as measured by the Wasserstein distance. Our approach is to 1) formulate the problem of distribution shift recovery as a Markov decision process, which we solve using reinforcement learning, 2) identify a minimum condition on the data for our method to be applied, which we check online using a binary classifier, and 3) employ dimensionality reduction through orthonormal projection to aid in our estimates of the Wasserstein distance. We provide theoretical evidence that orthonormal projection preserves characteristics of the data at the distributional level. We apply our distribution shift recovery approach to the ImageNet-C benchmark for distribution shifts, demonstrating an improvement in average accuracy of up to 14.21% across a variety of state-of-the-art ImageNet classifiers. We further show that our method generalizes to composites of shifts from the ImageNet-C benchmark, achieving improvements in average accuracy of up to 9.81%. Finally, we test our method on CIFAR-100-C and report improvements of up to 8.25%.
