Interval Bound Propagation-aided Few-shot Learning

Shounak Datta, Sankha Subhra Mullick, Swagatam Das · DOI

Abstract

Few-shot learning (FSL) typically relies on a large number of training tasks to learn a generalizable task manifold. However, in many domains, training tasks are scarce, leading to overfitting. We propose Interval Bound Interpolation (IBI), a framework that leverages Interval Bound Propagation (IBP) to regularize the task manifold. By constraining task embeddings within local neighborhoods and interpolating between tasks and their interval bounds, IBI generates high-quality synthetic tasks that respect the manifold's local geometry. Evaluated on benchmarks like miniImageNet-S and medical datasets like ISIC, IBI significantly outperforms standard FSL methods, particularly in extreme few-task scenarios.

1. Introduction

Standard few-shot learning assumes access to a massive pool of diverse training tasks. In real-world scenarios such as rare disease detection, data is often limited to only a few available tasks. In these "few-task" settings, models tend to overfit specific training instances, failing to generalize to the broader distribution. While data augmentation and inter-task interpolation (e.g., MixUp) are common remedies, they often generate "off-manifold" data when the feature space is curved, which can degrade performance. This paper introduces Interval Bound Interpolation (IBI) to address these challenges by repurposing Interval Bound Propagation (IBP) as a manifold regularizer.

2. Methodology

The proposed IBI framework integrates two primary strategies into existing FSL architectures like MAML and ProtoNet.

2.1 Neighborhood Preservation via IBP

IBP is traditionally used for adversarial robustness to calculate the bounding box of an $\epsilon$-neighborhood around an input. Here, it is used to force the model to learn a compact and stable representation of the task manifold. By minimizing the distance between a task's embedding and its upper ($L_{UB}$) and lower ($L_{LB}$) interval bounds, the model is constrained to preserve local task neighborhoods.

2.2 Interval Bound Interpolation (IBI)

To avoid the pitfalls of interpolating between distant tasks on a curved manifold, IBI interpolates between a task and its own interval bounds. This ensures that synthetic tasks remain in the immediate vicinity of the real task manifold, effectively acting as a local expansion of the manifold.

Overview of the IBI framework, illustrating task manifold embedding and the use of interval bounds for regularization.

2.3 Dynamic Loss Weighting

A softmax-based dynamic weighting scheme is employed to balance the primary classification loss ($\mathcal{L}_{CE}$) with the bound-related losses ($\mathcal{L}_{UB}$, $\mathcal{L}_{LB}$). This prevents the regularization constraints from overwhelming the learning objective.

3. Experiments and Results

The authors evaluated IBI on several "few-task" benchmarks, including miniImageNet-S, tieredImageNet, and medical datasets such as DermNet-S and ISIC.

3.1 Quantitative Performance

IBI demonstrated superior accuracy across all benchmarks. On the 5-way 1-shot miniImageNet-S task, MAML+IBI achieved 42.20% accuracy, outperforming vanilla MAML (38.27%). The gains were most significant in the medical domain; on the ISIC dataset, which contains only four training classes, MAML+IBI reached 68.58% accuracy, a substantial improvement over the 57.59% achieved by vanilla MAML.

Performance comparison on few-task benchmarks, showing significant gains in accuracy and distance metrics for MAML+IBI.

3.2 Cross-Domain Transferability

Models trained with IBI showed enhanced transferability. For instance, a model trained on medical images (DermNet-S) and tested on natural images (miniImageNet-S) performed better than baselines, suggesting that IBI helps the network learn more fundamental, less domain-specific features.

4. Discussion and Conclusion

IBI offers a novel way to use robustness tools for generalization. By applying IBP to initial feature-extracting layers, the method effectively regularizes the embedding space without excessive computational cost. While deeper architectures with skip connections require careful implementation to manage bound propagation, the results indicate that IBI is a powerful tool for few-shot learning in data-constrained environments. Future work may explore tighter bound methods like CROWN to further refine synthetic task generation.

Summary updated

BibTeX
@inproceedings{datta2023interval,
  author = {Shounak Datta and Sankha Subhra Mullick and Swagatam Das},
  title = {{Interval Bound Propagation-aided Few-shot Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=oqkckmjCYp},
}
Figure