Abstract
dc:description.abstract<p>Deep learning has witnessed radical progress in the past few years with state-of-the-art neural networks obtaining excellent performance on several real-world applications. In addition, self-supervised pre-training at scale has led to the advent of generalist foundation models which are capable of solving a wide variety of downstream tasks. However, in spite of its tremendous progress, deep learning still suffers from well-known issues in safety and scalability of neural networks, issues which persist even today.</p> <br> <p>First, in the area of safety, a core technical problem with even the most performant neural networks lies in their failure to know what they don’t know. Neural networks can make confident predictions even when they are incorrect with potentially catastrophic consequences in safety-critical downstream tasks like medical diagnosis and autonomous driving. Second, in the area of scalability, deep learning remains a data and compute-hungry field, with state-of-the-art models often requiring massive training datasets, expensive annotations and large compute resources. Thus, the cost involved in further increasing the abilities of such models can be prohibitive. To mitigate some of these issues, this thesis proposes practical methods to safely scale modern neural networks.</p> <br> <p>The first part of the thesis deals with the area of safety and focuses on developing simple methods to reliably quantify and evaluate uncertainty estimates in modern neural networks. In this part, we begin with a study of the problem of miscalibration in classification neural networks from the lens of overfitting on Negative Log Likelihood (NLL) and propose an alternative loss function, focal loss, to train calibrated neural networks from scratch. Next, we move to the general problem of uncertainty quantification in the open-world setting where inputs can lie outside the closed set of training classes. In this area, we propose a simple method to estimate two different types of uncertainty -- epistemic and aleatoric uncertainty, in deterministic single-forward pass models. Our proposed method is competitive with previous state-of-the-art on several benchmarks while providing computational benefits over prior methods. Finally, we study the popular application of Out-of-Distribution (OoD) detection, commonly used to evaluate uncertainty methods and provide a critique on the conventional evaluation benchmarks used in OoD detection. We identify desirable properties of OoD samples and propose an alternative method to generate such OoD samples. We provide an extensive analysis to show that such generated OoD samples can be used to form stronger yet reliable benchmarks for OoD detection.</p> <br> <p>Our work on uncertainty can be used to identify gaps in the knowledge of trained models, thereby helping us acquire data or annotations that the model needs further fine-tuning on. The second part of this thesis focuses on the challenges of fine-tuning and scaling the abilities of modern neural networks. In this part, we develop fine-tuning methods which can reduce dependence on specialized annotations and preserve the expensive pre-trained knowledge of foundation models. We first analyze emergent properties in pre-trained multi-modal foundation models like CLIP to propose a contrastive fine-tuning method which can transfer such models to dense prediction tasks like semantic segmentation. Our method removes the dependence of semantic segmentation on expensive pixel-level annotations while at the same time bringing the scale of CLIP's pre-training to dense prediction tasks. Next, we study end-to-end fine-tuning for multi-modal foundation models to analyze their effect on pre-trained knowledge. We find most popular fine-tuning methods to cause the model to forget pre-trained concepts and propose a simple alternative which can mitigate this issue to a large extent. Finally, we analyze and evaluate our proposed method to show its efficacy in both single step as well as continual fine-tuning scenarios for foundation models.</p>
Degree
thesis:*- Name dc:type.qualificationname
- DPhil
- Level dc:type.qualificationlevel
- Doctoral
- Grantor dc:publisher.institution
- University of Oxford
- Year dc:date.issued
- 2023
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Mukhoti, Jishnu
- Advisors dc:contributor.advisor
-
- Torr, Philip
- Gal, Yarin
- Dokania, Puneet
Rights
- Language dc:language.dcterms_iso639_2
- eng
Identifiers
dc:identifier.*- Identifier
- uuid:43eb309f-b3a3-4008-9f8d-e680cef62a1b