Improving Generalization and Safety of Deep Neural Networks with Masked Anchoring
Abstract
Anchoring is a recent architecture and task-agnostic technique that can produce state-of-the-art epistemic uncertainty estimates, and improve extrapolation capabilities. However, the differences between anchored models and non-anchored variants is not well studied -- as there is little insight into the kinds of functions anchoring induces and how they behave under distribution shifts. In this paper, we analyze and improve anchoring as a training protocol for deep neural networks, evaluating them on important tasks of out of distribution generalization, task adaptation, anomaly detection and calibration. We pinpoint the impact of anchoring on generalization as being inversely related to the sensitivity of the model to the distribution of residuals. We further improve this sensitivity using a new technique called Random Anchor Masking (RAM) that significantly improves the quality of anchored models. We build evidence for the superiority of RAM-training using a range of benchmarks of varying size, using neural networks of varying complexity and scale.
BibTeX
@misc{narayanaswamy2024improving,
author = {Vivek Narayanaswamy and Kowshik Thopalli and Rushil Anirudh and Jayaraman J. Thiagarajan},
title = {{Improving Generalization and Safety of Deep Neural Networks with Masked Anchoring}},
year = {2024},
url = {https://openreview.net/forum?id=9rzEPbs4Wg},
howpublished = {OpenReview},
note = {Submitted to ICLR 2024},
}Ask Althea to put this paper to the test.
Loading related content...