UNEM: UNrolled Generalized EM for Transductive Few-Shot Learning

Long Zhou, Fereshteh Shakeri, Aymen Sadraoui, M. Kaaniche, J. Pesquet +1 more
2/9/2026

No official code found. Best implementation: ZhouLong0/UNEM-Transductive (12 stars, last commit 2025-04-11).

Abstract

Transductive few-shot learning has recently triggered wide attention in computer vision. Yet, current methods introduce key hyper-parameters, which control the prediction statistics of the test batches, such as the level of class balance, affecting performances significantly. Such hyper-parameters are empirically grid-searched over validation data, and their configurations may vary substantially with the target dataset and pre-training model, making such empirical searches both sub-optimal and computationally intractable. In this work, we advocate and introduce the unrolling paradigm, also referred to as "learning to optimize", in the context of few-shot learning, thereby learning efficiently and effectively a set of optimized hyperparameters. Specifically, we unroll a generalization of the ubiquitous Expectation-Maximization (EM) optimizer into a neural network architecture, mapping each of its iterates to a layer and learning a set of key hyper-parameters over validation data. Our unrolling approach covers various statistical feature distributions and pre-training paradigms, including recent foundational vision-language models and standard vision-only classifiers. We report comprehensive experiments, which cover a breadth of fine-grained downstream image classification tasks, showing significant gains brought by the proposed unrolled EM algorithm over iterative variants. The achieved improvements reach up to 10% and 7.5% on vision-only and vision-language benchmarks, respectively. The source code and learned parameters are available at https://github.com/ZhouLong0/UNEM-Transductive.

View on arXivView PDF

Code Implementations(1)

(CVPR 2025) Official code of the paper: UNEM: UNrolled Generalized EM for Transductive Few-Shot Learning

120Shell, PythonDec 19, 20241 years ago

Similar Papers

Cite this paper

@article{zhou2026unem,
  title  = {UNEM: UNrolled Generalized EM for Transductive Few-Shot Learning},
  author = {Long Zhou and Fereshteh Shakeri and Aymen Sadraoui and M. Kaaniche and J. Pesquet and Ismail Ben Ayed},
  year   = {2026},
  eprint = {2412.16739},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2412.16739},
  journal = {CVPR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.16739.svg)](https://codeofpaper.com/paper/2412.16739)

Discussion