Nanyang Technological University
Enhancement and evaluation of generalization in deep learning for classification tasks
Abstract
dc:description.abstractModern machine techniques have showcased impressive prowess in many areas. Although they often outperform humans in controlled experiments, training a machine learning models with satisfying performance requires large-scale in-distribution datasets with annotation, which is normally expensive and challenging to collect. This motivates the need to explore the value of out-of-distribution samples collected from free platforms, and furthermore understand the properties and mechanism of model generalization. In pursuit of this goal, the primary emphasis of this thesis lies in examining the inherent challenges posed by distribution shifts. Subsequently, we delve into the characteristics of generalization to deepen our comprehension of its underlying mechanisms. Firstly, traditional machine learning methods are founded on the assumption of independence and identical distribution (i.i.d.) between training and testing datasets. However, this assumption is easy to be violated in the real world, especially when the training data are collected from open and free platforms due to financial budget or technique limitation. Therefore, exploring the useful information of real-world datasets for target tasks is of great practical meaning. This drives the necessity to maintain model performance amidst naturally occurring data corruptions and alterations throughout the machine learning process. Thus, we propose an practical problem setting that the training data suffer from distribution shifts and noisy labels simultaneously. We design a stepwise-dual-learning framework that the training and the test data should learn from each other, which is able to enhance existing algorithms for both domain adaptation and learning with noisy labels. Secondly, evaluating the generalization performance of trained models across diverse distribution shifts is a fundamental and necessary process in practice. However, the traditional evaluation approach assumes the ground-truth labels of test data are accessible, which is hard to achieve in practice. Thus, it is of great importance to estimate the generalization performance of pre-trained models in an unsupervised manner. In the first way, we explore the correlation between feature separability and test accuracy, where we find the hidden features from the feature extractor of trained models are more separable when the test accuracy is higher. Nevertheless, this character cannot maintain consistent performance across different types of distribution shifts. Therefore, in the second way, we derive a gradient-based estimation approach, which aggregates the gradient information of the classification layer to estimate the test accuracy. However, the previous methods struggle with the overconfidence issue which dramatically degrades the estimation performance. To alleviate this issue and satisfy the requirement about confidential model information, in the third way, we propose a logit-based approach with softmax truncation to estimate the test accuracy, where we find the density around decision density linearly reflect the generalization performance of trained models. We assess the efficacy and resilience of all the methodologies introduced across various simulated and real-world benchmarks. The findings reveal that our techniques outperform numerous state-of-the-art approaches in mitigating the identified challenges. It is our aspiration that our endeavors offer valuable insights to inspire the development of tailored solutions for these resilient issues and accelerate the utilization of out-of-distribution examples in crafting robust and efficient systems.
Degree
thesis:*- College dc:contributor.school
- College of Computing and Data Science
- Grantor dc:publisher
- Nanyang Technological University
- Year dc:date.issued
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Xie, Renchunzi
- Advisor dc:contributor.supervisor
-
- Bo An
Subjects
dc:subject × 1Rights
dc:rights- Statement dc:rights
-
- This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0).
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Identifier URI
- https://hdl.handle.net/10356/183174
- Dc Identifier Citation
- Xie, R. (2025). Enhancement and evaluation of generalization in deep learning for classification tasks. Doctoral thesis, Nanyang Technological University, Singapore. https://hdl.handle.net/10356/183174