University of Toronto
Towards Reliably Handling Inputs Not From the Training Distribution
Abstract
dc:description.abstractDeep learning methods today are exceptional at handling test inputs coming from the training distribution. This makes them effective for automating processes in a controlled and closed environment, like in a lab or a factory. To broaden their applicability, we need to develop systems that can act safely in open environments, where they may face ``unexpected’’ inputs. One strategy to handle unexpected inputs is to abstain from making a decision. For example, an image classifier trained to recognize animals in photographs should abstain from assigning a label when the input image contains a building. Bayesian neural networks are promising candidates to make deep classifiers better at detecting such unexpected inputs. The first part of the thesis presents a new variant of Bayesian neural networks that provides computational savings while performing well on benchmark tasks that simulate detecting unexpected inputs. Another strategy to handle unexpected inputs is to estimate how likely an input is from the training distribution. This view decouples the capability of a classifier from how unexpected a test input is. An ideal method can identify whether an input comes from the training distribution and only pass down inputs from the training distribution, effectively creating a closed environment. Deep generative models are good surrogates to the training distribution, hence are promising methods to enable this strategy. We study different types of generative models, identify one practical issue with a popular class of density models built on invertible neural networks, and show promising results for using unnormalized density models for detecting unexpected inputs. The last strategy to cope with inputs not from the training distribution is to adapt to them, using transfer learning and few-shot learning. We first demonstrate that modern generative models are capable of generating images of concepts not present in the training set using auxiliary information. Then, we show two novel applications of few-shot learning. Finally, we propose a benchmark and a baseline method for anomaly detection in the few-shot classification setting. The goal of this last study is to facilitate research on improving the reliability of machine learning models in the increasingly popular few-shot setting.
Degree
thesis:*- Department dc:contributor.department
- Computer Science
- Year dc:date.issued
- 2022
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Wang, Kuan-Chieh
- Advisor dc:contributor.advisor
-
- Zemel, Richard
Subjects
dc:subject × 4Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/1807/123465