{"id":{"repo_id":"toronto-retro","oai_identifier":"oai:utoronto.scholaris.ca:1807/150030"},"canonical_url":"https://search.ndltd.org/etd/toronto-retro/oai:utoronto.scholaris.ca:1807/150030","repository":{"repo_id":"toronto-retro","name":"University of Toronto","base_url":"https://utoronto.scholaris.ca/server/oai/request"},"display":{"title":"Building Representations and Quantifying Uncertainty With Pairwise Consistency","abstract":"Large-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.","abstract_html":"Large-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 &quot;positive-pair kernel&quot;, 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.","abstract_has_math":false,"creators":["Johnson, Daniel Dun-ning Woo"],"institution":null,"degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":"Computer Science","school":null,"contributors":[],"advisors":["Duvenaud, David","Maddison, Chris J"],"committee_chairs":[],"committee_members":[],"year":2025,"date_issued":"2025-10","date_published":"2025-10","updated_at":"2026-11-19T09:52:36Z","subjects":["Machine Learning","Representation Learning","Uncertainty Quantification"],"languages":[],"rights":["Attribution 4.0 International"],"rights_urls":["http://creativecommons.org/licenses/by/4.0/"],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/1807/150030","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/1807/150030","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Atoronto-retro%3Aoai%3Autoronto.scholaris.ca%3A1807%2F150030","prefix":"oai_dc"},"source_record":{"url":"https://utoronto.scholaris.ca/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Autoronto.scholaris.ca%3A1807%2F150030","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Duvenaud, David","Maddison, Chris J"]},{"key":"dc:contributor.department","label":"Department","values":["Computer Science"]},{"key":"dc:creator","label":"Author","values":["Johnson, Daniel Dun-ning Woo"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2025-10"]},{"key":"dc:date.accepted","label":"Dc Date Accepted","values":["2025-10"]},{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2025-11-28T16:48:51Z"]},{"key":"dc:date.issued","label":"Date","values":["2025-10"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_date","label":"Thesis Degree Date","values":["2025-10"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Machine Learning","Representation Learning","Uncertainty Quantification"]},{"key":"dc:subject.classification","label":"Dc Subject Classification","values":["0984"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:rights","label":"Dc Rights","values":["Attribution 4.0 International"]},{"key":"dc:rights.uri","label":"Rights URI","values":["http://creativecommons.org/licenses/by/4.0/"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1807/150030"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Large-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."]},{"key":"dc:description.degree","label":"Dc Description Degree","values":["Ph.D."]},{"key":"dc:title","label":"Title","values":["Building Representations and Quantifying Uncertainty With Pairwise Consistency"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Duvenaud, David","Maddison, Chris J"],"dc:contributor.department":["Computer Science"],"dc:creator":["Johnson, Daniel Dun-ning Woo"],"dc:date":["2025-10"],"dc:date.accepted":["2025-10"],"dc:date.accessioned":["2025-11-28T16:48:51Z"],"dc:date.issued":["2025-10"],"dc:description.abstract":["Large-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."],"dc:description.degree":["Ph.D."],"dc:identifier.uri":["https://hdl.handle.net/1807/150030"],"dc:rights":["Attribution 4.0 International"],"dc:rights.uri":["http://creativecommons.org/licenses/by/4.0/"],"dc:subject":["Machine Learning","Representation Learning","Uncertainty Quantification"],"dc:subject.classification":["0984"],"dc:title":["Building Representations and Quantifying Uncertainty With Pairwise Consistency"],"dc:type":["Thesis"],"others:access_status":["open.access"],"thesis:degree_date":["2025-10"]},"updated_at":"2026-11-19T09:52:36Z"}