FSL-Rectifier: Rectify Outliers in Few-Shot Learning via Test-Time Augmentation

Authors

  • Yunwei Bai National University of Singapore
  • Ying Kiat Tan National University of Singapore
  • Shiming Chen Mohamed bin Zayed University of Artificial Intelligence
  • Yao Shu Guangdong Lab of AI and Digital Economy (SZ)
  • Tsuhan Chen National University of Singapore

DOI:

https://doi.org/10.1609/aaai.v39i15.33697

Abstract

Few-shot learning (FSL) commonly requires a model to identify images (queries) that belong to classes unseen during training, based on a few labelled samples of the new classes (support set) as reference. So far, plenty of algorithms involve training data augmentation to improve the generalization capability of FSL models, but outlier queries or support images during inference can still pose great generalization challenges. In this work, to reduce the bias caused by the outlier samples, we generate additional test-class samples by combining original samples with suitable train-class samples via a generative image combiner. Then, we obtain averaged features via an augmentor, which leads to more typical representations through the averaging. We experimentally and theoretically demonstrate the effectiveness of our method, obtaining a test accuracy improvement proportion of around 10% (e.g., from 46.86% to 53.28%) for trained FSL models. Importantly, given a pretrained image combiner, our method is training-free for off-the-shelf FSL models, whose performance can be improved without extra datasets nor further training of the models themselves.

Published

2025-04-11

How to Cite

Bai, Y., Tan, Y. K., Chen, S., Shu, Y., & Chen, T. (2025). FSL-Rectifier: Rectify Outliers in Few-Shot Learning via Test-Time Augmentation. Proceedings of the AAAI Conference on Artificial Intelligence, 39(15), 15462-15471. https://doi.org/10.1609/aaai.v39i15.33697

Issue

Section

AAAI Technical Track on Machine Learning I