TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Open-Set Likelihood Maximization for Few-Shot Learning

Open-Set Likelihood Maximization for Few-Shot Learning

Malik Boudiaf, Etienne Bennequin, Myriam Tami, Antoine Toubhans, Pablo Piantanida, Céline Hudelot, Ismail Ben Ayed

2023-01-20CVPR 2023 1Few-Shot LearningOpen Set LearningOutlier DetectionFew-Shot Image Classification
PaperPDFCode(official)

Abstract

We tackle the Few-Shot Open-Set Recognition (FSOSR) problem, i.e. classifying instances among a set of classes for which we only have a few labeled samples, while simultaneously detecting instances that do not belong to any known class. We explore the popular transductive setting, which leverages the unlabelled query instances at inference. Motivated by the observation that existing transductive methods perform poorly in open-set scenarios, we propose a generalization of the maximum likelihood principle, in which latent scores down-weighing the influence of potential outliers are introduced alongside the usual parametric model. Our formulation embeds supervision constraints from the support set and additional penalties discouraging overconfident predictions on the query set. We proceed with a block-coordinate descent, with the latent scores and parametric model co-optimized alternately, thereby benefiting from each other. We call our resulting formulation \textit{Open-Set Likelihood Optimization} (OSLO). OSLO is interpretable and fully modular; it can be applied on top of any pre-trained model seamlessly. Through extensive experiments, we show that our method surpasses existing inductive and transductive methods on both aspects of open-set recognition, namely inlier classification and outlier detection.

Results

TaskDatasetMetricValueModel
Image ClassificationMini-Imagenet 5-way (5-shot)Accuracy83.4OSLO
Image ClassificationMini-Imagenet 5-way (1-shot)Accuracy71.73OSLO
Image ClassificationTiered ImageNet 5-way (1-shot)Accuracy76.64OSLO
Image ClassificationTiered ImageNet 5-way (5-shot)Accuracy86.35OSLO
Few-Shot Image ClassificationMini-Imagenet 5-way (5-shot)Accuracy83.4OSLO
Few-Shot Image ClassificationMini-Imagenet 5-way (1-shot)Accuracy71.73OSLO
Few-Shot Image ClassificationTiered ImageNet 5-way (1-shot)Accuracy76.64OSLO
Few-Shot Image ClassificationTiered ImageNet 5-way (5-shot)Accuracy86.35OSLO

Related Papers

GLAD: Generalizable Tuning for Vision-Language Models2025-07-17Robust Spatiotemporal Epidemic Modeling with Integrated Adaptive Outlier Detection2025-07-12ViT-ProtoNet for Few-Shot Image Classification: A Multi-Benchmark Evaluation2025-07-12Doodle Your Keypoints: Sketch-Based Few-Shot Keypoint Detection2025-07-10An Enhanced Privacy-preserving Federated Few-shot Learning Framework for Respiratory Disease Diagnosis2025-07-10Few-Shot Learning by Explicit Physics Integration: An Application to Groundwater Heat Transport2025-07-08Universal Embeddings of Tabular Data2025-07-08ViRefSAM: Visual Reference-Guided Segment Anything Model for Remote Sensing Segmentation2025-07-03