Back to search

Heriot-Watt University

Towards robust open-world few-shot recognition

Abstract

dc:description.abstract

In recent years, substantial progress has been made in Few-Shot Learning (FSL), where models are trained on small, task-specific labelled datasets. These efforts have yielded many promising FSL approaches, significantly increasing their use in bench-marking meta-learning algorithms and sample-efficient deep neural networks. However, current FSL benchmarks often overlook practical challenges in real-world applications, limiting generalisation beyond controlled research contexts. The themes in this thesis are relevant to critical stages of the FSL pipeline, from training and evaluation to continual learning and navigating towards robust open-world environments. The thesis begins with an exploration of training methodologies to handle class imbalances. Moving to evaluation, the thesis explores the complexities of open-set recognition, testing the adaptability of methods in detecting outlier classes encountered beyond the training environment. Finally, the thesis examines continual learning scenarios, emphasising the necessity of efficient re-training and updating pipelines to maintain and enhance performance over time as new data becomes available. Together, this thesis navigates towards robust open-world environments, ensuring comprehensive coverage from initial training and evaluation to continual re-training of methods. The individual summaries of these themes are as follows. The first major chapter of this thesis (Chapter 3) investigates the impact of class imbalance on the training of FSL algorithms. Class imbalance is a common issue in real-world datasets, where the number of samples in each class is unequal. While it is generally understood that class imbalance harms the performance of supervised methods, limited work examines the impact of imbalance on the FSL evaluation task prior to this research. This thesis provides an analysis of 10 state-of-the-art meta-learning and FSL methods across different imbalance distributions and rebalancing techniques. The results reveal that 1) some FSL methods display a natural disposition against imbalance while most other approaches produce a performance drop by up to 17% compared to the balanced task without the appropriate mitigation; 2) contrary to popular belief, many meta-learning algorithms will not automatically learn to balance from exposure to imbalanced training tasks; 3) classical rebalancing strategies, such as random oversampling, can still be very effective, leading to state-of-the-art performances and should not be overlooked; 4) FSL methods are more robust against meta-dataset imbalance than imbalance at the task-level with a similar imbalance ratio (ρ < 20), with the effect holding even in long-tail datasets under a larger imbalance (ρ = 65). The second major chapter of this thesis (Chapter 4) delves into the evaluation challenges of FSL algorithms in the open-world scenario. Typically, FSL models are evaluated on query instances that mirror the class distribution of the support set. However, this chapter addresses the more nuanced and realistic challenge of Open-Set Few-Shot Learning (OSFSL), which involves incorporating unknown classes into the query set. This requires the model not only to classify known classes but also to identify outliers, reflecting the unpredictable nature of real-world evaluation settings. This scenario poses particular challenges for transductive inference methods, which utilise the query set as an additional unlabelled set of points for enhancing the FSL algorithm. Building on the groundwork laid by previous studies, this chapter defines a novel transductive inference technique that leverages the InfoMax principle to exploit the unlabelled query set. The approach is called the Enhanced Outlier Logit (EOL) method. EOL refines class prototype representations through model calibration and effective balancing of the inlier-outlier ratios during optimisation within the transductive inference process. The alternations enhance pseudo-label accuracy for the query set. The chapter also provides a comprehensive empirical evaluation demonstrating that EOL consistently surpasses traditional methods, recording performance improvements ranging from approximately +1.3% to +6.3% across a variety of classification and outlier detection metrics and benchmarks, even amid inlier-outlier imbalance. The third major chapter (Chapter 5) discusses the scalability and robustness of FSL methods in the context of continual learning, where models must maintain knowledge across multiple datasets. This integration poses unique challenges, as the classical approach to continual learning (CL) does not typically address the constraints of FSL. This thesis proposes a suite of benchmarks for the hybrid setting combining these two paradigms, where a model is trained on several sequential few-shot tasks and then tested on a validation set stemming from all those tasks. This thesis proposes a theoretical framework for Continual Few-Shot Learning (CFSL) with a range of flexible benchmarks to unify the evaluation criteria. A compact variant of the ImageNet dataset is introduced as part of the benchmark. The proposed benchmarks examine several popular few-shot and continual learning methods, exposing previously unknown strengths and weaknesses of those algorithms. The comprehensive exploration of these themes not only highlights the intricate challenges and opportunities within FSL but also lays out practical implications and solutions. The presented insights contribute to the development of more resilient and adaptive FSL models, effectively bridging the gap between theoretical research and practical deployment. Building on the solid foundation laid by this thesis, future research is anticipated to drive the continued evolution and refinement of FSL methodologies, ensuring they meet the rigorous demands of real-world applications and set new benchmarks in the field.

Degree

thesis:*
Grantor dc:publisher
Heriot-Watt University
Year dc:date.issued
2024

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Ochal, Mateusz
Advisors dc:contributor.advisor
  • Wang, Professor Sen
  • Petillot, Professor Yvan

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/10399/5115

Chain of custody

source
Harvested from
Heriot-Watt University
Base URL
www.ros.hw.ac.uk/oai/request
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
related terms
citation

Ochal, Mateusz. Towards robust open-world few-shot recognition. Heriot-Watt University, 2024. https://hdl.handle.net/10399/5115