Towards Practical Few-Shot Query Sets: Transductive Minimum Description Length Inference - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2022

Towards Practical Few-Shot Query Sets: Transductive Minimum Description Length Inference


Standard few-shot benchmarks are often built upon simplifying assumptions on the query sets, which may not always hold in practice. In particular, for each task at testing time, the classes effectively present in the unlabeled query set are known a priori, and correspond exactly to the set of classes represented in the labeled support set. We relax these assumptions and extend current benchmarks, so that the query-set classes of a given task are unknown, but just belong to a much larger set of possible classes. Our setting could be viewed as an instance of the challenging yet practical problem of extremely imbalanced K-way classification, K being much larger than the values typically used in standard benchmarks, and with potentially irrelevant supervision from the support set. Expectedly, our setting incurs drops in the performances of state-of-the-art methods. Motivated by these observations, we introduce a PrimAl Dual Minimum Description LEngth (PADDLE) formulation, which balances data-fitting accuracy and model complexity for a given few-shot task, under supervision constraints from the support set. Our constrained MDL-like objective promotes competition among a large set of possible classes, preserving only effective classes that befit better the data of a few-shot task. It is hyperparameter free, and could be applied on top of any base-class training. Furthermore, we derive a fast block coordinate descent algorithm for optimizing our objective, with convergence guarantee, and a linear computational complexity at each iteration. Comprehensive experiments over the standard few-shot datasets and the more realistic and challenging i-Nat dataset show highly competitive performances of our method, more so when the numbers of possible classes in the tasks increase. Our code is publicly available at
Fichier principal
Vignette du fichier
main.pdf (1.42 Mo) Télécharger le fichier
main.synctex.gz (161.67 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-03827880 , version 1 (25-10-2022)



Ségolène Martin, Malik Boudiaf, Emilie Chouzenoux, Jean-Christophe Pesquet, Ismail Ben Ayed. Towards Practical Few-Shot Query Sets: Transductive Minimum Description Length Inference. 2022 Conference on Neural Information Processing Systems, Nov 2022, New Orleans, United States. ⟨hal-03827880⟩
59 View
51 Download



Gmail Facebook X LinkedIn More