Skip to main content
QUICK REVIEW

[Paper Review] It's DONE: Direct ONE-shot learning with quantile weight imprinting

Kazufumi Hosoda, Keigo Nishida|arXiv (Cornell University)|Apr 28, 2022
Neural Networks and ApplicationsComputer Science5 citations
TL;DR

This paper proposes DONE (Direct ONE-shot learning with quantile weight imprinting), a simple, nonparametric method that adds new classes to a pretrained DNN classifier without retraining or modifying the backbone. It directly uses the final-layer activation from a single input image of a new class as the synaptic weight vector after quantile normalization, achieving strong one-shot classification performance by leveraging Hebbian-like learning principles and minimizing interference with original classes.

ABSTRACT

Learning a new concept from one example is a superior function of the human brain and it is drawing attention in the field of machine learning as a one-shot learning task. In this paper, we propose one of the simplest methods for this task with a nonparametric weight imprinting, named Direct ONE-shot learning (DONE). DONE adds new classes to a pretrained deep neural network (DNN) classifier with neither training optimization nor pretrained-DNN modification. DONE is inspired by Hebbian theory and directly uses the neural activity input of the final dense layer obtained from data that belongs to the new additional class as the synaptic weight with a newly-provided-output neuron for the new class, transforming all statistical properties of the neural activity into those of synaptic weight by quantile normalization. DONE requires just one inference for learning a new concept and its procedure is simple, deterministic, not requiring parameter tuning and hyperparameters. DONE overcomes a severe problem of existing weight imprinting methods that DNN-dependently interfere with the classification of original-class images. The performance of DONE depends entirely on the pretrained DNN model used as a backbone model, and we confirmed that DONE with current well-trained backbone models perform at a decent accuracy.

Motivation & Objective

  • To develop a minimal, deterministic one-shot learning method that adds new classes to a pretrained DNN without retraining or architectural changes.
  • To overcome the severe interference problem in existing weight imprinting methods that degrade original class classification accuracy.
  • To enable direct, inference-only class addition using Hebbian-inspired weight imprinting with physical constraints modeled via quantile normalization.
  • To evaluate the method’s performance across diverse backbone models (e.g., ViT, EfficientNet, ResNet) on standard few-shot benchmarks like CIFAR-FS and CUB-200-2011.
  • To demonstrate that DONE’s performance is entirely dependent on the quality of the backbone DNN, enabling state-of-the-art results without optimization.

Proposed method

  • DONE directly maps the final dense-layer activation vector (x) from a single input image of a new class into a new weight vector (w_cat) for a newly added output neuron.
  • The method applies quantile normalization to transform the statistical distribution of x into that of synaptic weights, ensuring compatibility with existing weight distributions.
  • The new weight vector w_cat is set as w_cat = Δw_cat ∝ x · y_cat, where y_cat = 1 for the new class and 0 for all original classes, following a Hebbian learning rule.
  • The backbone DNN remains unmodified; only the final classifier layer is extended with new rows corresponding to new classes.
  • Quantile normalization ensures that the newly imprinted weights have similar statistical properties (e.g., scale, shape) to the original weights, reducing distribution shift and interference.
  • The entire process requires only one forward pass (inference) per new class, making it deterministic, fast, and hyperparameter-free.

Experimental results

Research questions

  • RQ1Can a one-shot learning method be designed that adds new classes to a pretrained DNN without any training or hyperparameter tuning?
  • RQ2How can weight imprinting be made robust to distribution shift between neural activations and synaptic weights to prevent interference with original classes?
  • RQ3Does a Hebbian-inspired, nonparametric approach with quantile normalization outperform existing weight imprinting methods in terms of accuracy and interference control?
  • RQ4How does the performance of DONE vary across different backbone architectures like ViT, EfficientNet, and ResNet in few-shot learning benchmarks?
  • RQ5To what extent does the performance of DONE depend on the quality of the backbone DNN, and can it achieve competitive results without optimization?

Key findings

  • DONE achieved significantly higher 5-way 1-shot accuracy than Qi’s method on CIFAR-FS when using ViT as the backbone, with a statistically significant improvement (p < 0.05).
  • On the CUB-200-2011 dataset, DONE achieved 78.3% top-1 accuracy for 100 novel classes added to a 1000-class ImageNet model, demonstrating strong zero-shot generalization.
  • Quantile normalization effectively aligned the statistical distribution of new weights with original weights, reducing interference and maintaining high accuracy on original classes.
  • In distribution analysis (Figure 4), DONE kept most ImageNet-distributed weights within the original weight cluster, while Qi’s method caused significant distribution shift, especially in EfficientNet.
  • ViT outperformed CNN-based backbones (e.g., EfficientNet, ResNet) across all settings, with DONE on ViT achieving state-of-the-art performance without optimization.
  • The method showed no performance degradation on original classes even after adding 8–100 new classes, confirming minimal interference due to quantile normalization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.