[Paper Review] NADS: Neural Architecture Distribution Search for Uncertainty Awareness
NADS introduces a novel Neural Architecture Distribution Search framework that optimizes for uncertainty-aware model architectures by learning a distribution of architectures via WAIC score maximization, enabling superior Out-of-Distribution (OoD) detection. It achieves up to 57% higher accuracy than state-of-the-art methods across 15 OoD detection configurations without requiring OoD training data.
Machine learning (ML) systems often encounter Out-of-Distribution (OoD) errors when dealing with testing data coming from a distribution different from training data. It becomes important for ML systems in critical applications to accurately quantify its predictive uncertainty and screen out these anomalous inputs. However, existing OoD detection approaches are prone to errors and even sometimes assign higher likelihoods to OoD samples. Unlike standard learning tasks, there is currently no well established guiding principle for designing OoD detection architectures that can accurately quantify uncertainty. To address these problems, we first seek to identify guiding principles for designing uncertainty-aware architectures, by proposing Neural Architecture Distribution Search (NADS). NADS searches for a distribution of architectures that perform well on a given task, allowing us to identify common building blocks among all uncertainty-aware architectures. With this formulation, we are able to optimize a stochastic OoD detection objective and construct an ensemble of models to perform OoD detection. We perform multiple OoD detection experiments and observe that our NADS performs favorably, with up to 57% improvement in accuracy compared to state-of-the-art methods among 15 different testing configurations.
Motivation & Objective
- To address the lack of principled architecture design for uncertainty quantification in OoD detection.
- To overcome the limitation of standard NAS, which optimizes for accuracy rather than uncertainty awareness.
- To develop a search method that identifies a distribution of architectures capable of robustly estimating predictive uncertainty.
- To improve OoD detection performance by optimizing for WAIC, a penalized likelihood score known to be robust against OoD misclassification.
- To construct a Bayesian ensemble from the learned architecture distribution for enhanced uncertainty estimation.
Proposed method
- NADS formulates architecture search as a stochastic optimization problem over a distribution of architectures, rather than a single architecture.
- It uses a continuous relaxation of the discrete architecture search space via differentiable architecture search (DARTS-style) with a parameterized architecture distribution.
- The search objective is to maximize the Widely Applicable Information Criterion (WAIC), a Bayesian estimate of predictive accuracy that penalizes overfitting and improves uncertainty calibration.
- A novel generative search space inspired by Glow (Kingma & Dhariwal, 2018) enables efficient sampling and parameterization of diverse, uncertainty-aware architectures.
- The learned posterior architecture distribution is used to construct a Bayesian ensemble of models for OoD detection via WAIC-based scoring.
- Weight sharing across architectures enables efficient training and inference, reducing computational cost while maintaining high performance.
Experimental results
Research questions
- RQ1What architectural components are consistently present in models that perform well on uncertainty-aware OoD detection?
- RQ2Can optimizing for WAIC instead of likelihood improve OoD detection performance and uncertainty calibration?
- RQ3Does learning a distribution of architectures, rather than a single architecture, lead to better uncertainty quantification and OoD detection?
- RQ4How does NADS compare to existing OoD detection methods that require OoD data during training, such as Outlier Exposure?
- RQ5Can a NAS-based approach achieve state-of-the-art OoD detection without access to OoD training data?
Key findings
- NADS achieves up to 57% improvement in OoD detection accuracy compared to state-of-the-art methods across 15 different in-distribution and out-of-distribution data pairings.
- The method significantly outperforms baseline MSP and ODIN, especially in low-frequency anomaly detection, as evidenced by consistently higher AUPR scores.
- NADS performs comparably to Outlier Exposure (OE), a method requiring OoD data during training, despite not using any OoD samples in the search or training process.
- The learned architecture distribution reveals key design principles: simple shallow layers, information-preserving operations, and deeper, expressive skip-connected structures for stability.
- The Bayesian ensemble derived from the architecture distribution improves uncertainty estimation and robustness across diverse OoD datasets.
- NADS demonstrates stability across different OoD distributions, unlike ODIN, which shows inconsistent performance on various datasets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.