University of Toronto
Building Representations and Quantifying Uncertainty With Pairwise Consistency
Abstract
dc:description.abstractLarge-scale training of neural network models has been shown to be a powerful approach for building useful representations for downstream tasks. However, real-world data is often complex. It is not always possible to fully capture all of the relationships that exist in the data, and moreover uncertainty about some aspects of the data may be more important than others when using a learned model for a downstream task. Interestingly, both of these aspects of machine learning problems can be formalized in terms of conditional distributions that map each input U to a random output V. In particular, if we assume that the important aspects of U should be preserved in V, then those aspects should also be consistent between paired outputs V1, V2 ~ P(V|U). Starting from this formalization, this thesis explores how consistency between paired samples can be used to both identify the important features in data and quantify uncertainty in predictive models. We first consider contrastive learning, and show that optimizing common contrastive losses encourages models to learn a "positive-pair kernel", which can be used to obtain an optimal basis for downstream learning of approximately view-invariant functions. We then shift focus toward generative sequence modeling, and show that applying a pairwise syntax-based edit-distance metric to paired samples from a model can be used to build uncertainty-aware code completion suggestions. Finally, we study the problem of identifying the amount of uncertainty in a generative model when it imitates a ground-truth process, and show that the predicted correlations between independently-generated data points can be used to bound the gap between the learned and ground-truth distributions.
Degree
thesis:*- Department dc:contributor.department
- Computer Science
- Year dc:date.issued
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Johnson, Daniel Dun-ning Woo
- Advisors dc:contributor.advisor
-
- Duvenaud, David
- Maddison, Chris J
Subjects
dc:subject × 3Rights
dc:rights- Statement dc:rights
-
- Attribution 4.0 International
- Licence dc:rights.uri
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/1807/150030