Feature-Space Generative Models for One-Shot Class-Incremental Learning

Jack Foster, Kirill Paramonov, Mete Ozay, Umberto MichieliarXiv 2026

TL;DR

Gen1S introduces a novel approach to One-Shot Class-Incremental Learning (1SCIL) by leveraging generative models (VAEs and diffusion models) to capture complex, multi-modal feature distributions. By mapping embeddings into a residual space and learning a shared structural prior from base classes, Gen1S significantly improves the recognition of novel classes from a single sample without requiring any on-device model updates.

What Problem Does This Paper Address?

In real-world robotics and computer vision deployments, AI models must continuously adapt to new objects and environments. This challenge is studied under Class-Incremental Learning (CIL). However, standard CIL assumes abundant data, whereas real-world scenarios often suffer from data scarcity. Few-Shot Class-Incremental Learning (FSCIL) addresses this by learning from a handful of examples, but typically still requires 5–10 samples per class to update model parameters or calibrate distributions.

This paper tackles an even more extreme and realistic constraint: One-Shot Class-Incremental Learning (1SCIL). Here, the model receives only a single sample for each novel class, and absolutely no on-device training or model fine-tuning is permitted due to hardware constraints.

Existing methods fail in this setup because they either require multiple exemplars to compute reliable class statistics or rely on the flawed assumption that feature embeddings follow simple, unimodal Gaussian distributions. As shown in Figure 1, real-world feature spaces are often highly complex and multi-modal, causing traditional linear and Gaussian classifiers to collapse.

Figure 1: One-shot generalisation via diffusion model. Left: both nearest-class-mean and Gaussian classifiers collapse each T-shaped class embeddings into a single mode, forcing a linear boundary (red solid line) that slices through the true clusters. Right: a diffusion model trained only on the resid- uals of the base class captures the multimodal geometry and generalizes to the novel class, yielding a nonlinear decision boundary (red dashed line) that separates the two clusters despite observing just a single sample from the novel class.

Methods

The core philosophy behind the authors' method, Gen1S, is that semantically related classes share a similar intra-class geometric structure in a well-generalized embedding space.

  1. Residual Space Mapping: Instead of modeling absolute feature embeddings, Gen1S subtracts the class prototype (the mean embedding) from the input samples to map them into a residual space.
  2. Learning the Structural Prior: The authors train a feature-space generative model—either a Variational Autoencoder (VAE) or a Denoising Diffusion Probabilistic Model (DDPM)—solely on the residuals of the abundant base classes. This allows the model to learn the intricate, multi-modal geometry of how features scatter around their class centers.
  3. Prototype Conditioning: Because a one-shot prototype is a noisy approximation of the true class mean, the generative model is conditioned on the candidate class prototype to help it dynamically correct for estimation errors.
  4. Inference via Similarity: During inference, the backbone network remains frozen. For a given query sample, Gen1S calculates its residual against every candidate class prototype. These residuals are passed through the generative model to compute a similarity score (reconstruction log-likelihood for the VAE, or negative denoising loss for the diffusion model). The class that maximizes this structural similarity is selected as the prediction.

Datasets

The authors evaluated Gen1S across four diverse image classification benchmarks using both DINOv2-s and ResNet18 backbones:

  • CUB200: 160 base classes, 40 novel classes (fine-grained bird classification).
  • CIFAR100: 60 base classes, 40 novel classes.
  • CORe50: 25 base classes, 25 novel classes (object recognition across different sessions/environments).
  • iCubWorld: 25 base classes, 25 novel classes (robotic vision dataset).

Key Insights and Ideas

  • The Gaussian Assumption is a Bottleneck: Traditional metric-learning methods assume unimodal Gaussian distributions. The authors empirically demonstrate via optimal transport (Wasserstein distance) that base class residuals provide a significantly richer, non-Gaussian prior that fits novel classes better than a standard Gaussian distribution over 97.5% of the time.
  • Diffusion Models Excel at Geometry: While both VAEs and diffusion models work within the Gen1S framework, the diffusion-based variant scales better as the number of novel classes increases. This is due to the superior expressiveness of diffusion models in capturing complex, multi-modal distributions.
  • Robustness to Sparse Sampling: Surprisingly, increasing the number of noise samples denoised during diffusion inference has a minimal impact on accuracy. This means Gen1S can operate effectively with sparse sampling, making it highly suitable for low-compute, real-time environments.

Key Results

Gen1S consistently achieves state-of-the-art Novel Class Recognition (NCR) across all tested datasets and backbones, while maintaining a strong balance with Base Class Recognition (BCR).

  • CORe50 (DINOv2-s): Gen1S-Diffusion achieved an exceptional 93.0% NCR, vastly outperforming standard ProtoNet (60.7%) and SimpleShot (62.9%).
  • CUB200 (ResNet18): In a highly challenging fine-grained setting, Gen1S-VAE achieved 46.6% NCR, nearly doubling the performance of ProtoNet (26.2%) and beating out specialized FSCIL methods like SAVC (28.2%).
  • Multi-Class 1SCIL: When evaluated on all novel classes simultaneously, Gen1S-Diffusion maintained its edge, outperforming the next best competing method on iCubWorld by over 16.5% in novel class accuracy.

Limitations and Future Work

Despite its strong performance, the authors note a few key limitations:

  • Inference Latency: Gen1S requires a forward pass through the generative model for every candidate class per query sample. For deployment scenarios with thousands of classes, this could become a computational bottleneck, necessitating future optimizations like class-wise batching.
  • Backbone Dependency: The quality of the structural prior is fundamentally bounded by the generalization capability of the frozen backbone. As seen in the results, performance gains were much more pronounced with DINOv2-s than with ResNet18.
  • Domain Shifts: If there is a severe distribution shift between the base classes and novel classes, the learned residual prior may degrade, suggesting a future research direction in domain-adaptive generative priors.

Summary updated

BibTeX
@misc{foster2026feature,
  author = {Jack Foster and Kirill Paramonov and Mete Ozay and Umberto Michieli},
  title = {{Feature-Space Generative Models for One-Shot Class-Incremental Learning}},
  year = {2026},
  eprint = {2601.17905},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.17905},
}
Figure