Data-Centric Debugging: mitigating model failures via targeted data collection

11/17/2022
by   Sahil Singla, et al.
0

Deep neural networks can be unreliable in the real world when the training set does not adequately cover all the settings where they are deployed. Focusing on image classification, we consider the setting where we have an error distribution ℰ representing a deployment scenario where the model fails. We have access to a small set of samples ℰ_sample from ℰ and it can be expensive to obtain additional samples. In the traditional model development framework, mitigating failures of the model in ℰ can be challenging and is often done in an ad hoc manner. In this paper, we propose a general methodology for model debugging that can systemically improve model performance on ℰ while maintaining its performance on the original test set. Our key assumption is that we have access to a large pool of weakly (noisily) labeled data ℱ. However, naively adding ℱ to the training would hurt model performance due to the large extent of label noise. Our Data-Centric Debugging (DCD) framework carefully creates a debug-train set by selecting images from ℱ that are perceptually similar to the images in ℰ_sample. To do this, we use the ℓ_2 distance in the feature space (penultimate layer activations) of various models including ResNet, Robust ResNet and DINO where we observe DINO ViTs are significantly better at discovering similar images compared to Resnets. Compared to LPIPS, we find that our method reduces compute and storage requirements by 99.58%. Compared to the baselines that maintain model performance on the test set, we achieve significantly (+9.45%) improved results on the debug-heldout sets.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset