Combinets: Learning New Classifiers via Recombination

Matthew Guzdial, Mark O. Riedl

Abstract

Modern deep learning models are notoriously data-hungry, often failing to generalize to novel or rare classes when only a few examples are available—a challenge known as the "Pegasus Problem." This paper introduces Combinets, a framework for conceptual expansion that constructs new neural network models by recombining the weights and features of existing pre-trained models. By treating trained parameters as modular building blocks and utilizing a greedy optimization search instead of traditional backpropagation, Combinets enable high-performing few-shot learning and image generation. Experimental results demonstrate that Combinets significantly outperform standard transfer learning and zero-shot approaches in data-scarce regimes.

Introduction: The Pegasus Problem

While deep learning models excel at recognizing common categories like "horse" or "bird" given thousands of training images, they struggle with the "long tail" of data. If a model encounters a "pegasus" (a horse with wings) with only a handful of examples, standard training typically fails due to overfitting. Humans, conversely, leverage "combinational creativity," understanding a pegasus as a blend of known concepts. Combinets aim to replicate this ability programmatically by recombining the "knowledge" stored within existing neural networks to recognize or generate novel classes.

Methods: Conceptual Expansion

The authors propose a representation called Conceptual Expansion, which treats a new model as a weighted combination of features from a "knowledge base" of pre-trained models.

1. The Representation

A "Combinet" is defined by the function $CE^X(F, A) = \sum a_i * f_i$, where $F$ represents the set of features (weights and biases) from source models, and $A$ is a set of "filters" or weights determining the contribution of each feature.

To initialize a Combinet, a few examples of a new class (e.g., a fox) are passed through an existing classifier. If the model identifies the fox as a mixture of known classes (e.g., 50% cat, 50% dog), the Combinet is initialized with those ratios. Rather than using gradient descent, the system employs a greedy optimization search. The algorithm iteratively tweaks the $A$ filters, evaluating neighboring combinations to maximize accuracy on the small training set. This approach bypasses the pitfalls of backpropagation in few-shot scenarios.

Key Results

Classification Performance

In tests adding an 11th class ("Fox") to a CIFAR-10 base, Combinets demonstrated remarkable robustness. As shown in the table below, with 100 samples, the Combinet achieved 34.0% accuracy, whereas transfer learning and zero-shot baselines remained between 5% and 11%. Notably, in extreme one-shot scenarios, the Combinet maintained ~12% accuracy while baselines dropped to 0%.

Classification accuracy for new classes (Fox and Plain) across varying sample sizes.

Generative Performance (CombiGAN)

The framework also extends to generative tasks. When generating images of novel classes like "fox" with minimal data, the CombiGAN approach produces recognizable features, whereas standard GAN transfer learning often results in unstructured "fuzzy blobs."

Visual comparison of generated images across different methods and sample sizes.

Discussion and Limitations

Combinets provide a powerful "head start" when data is scarce, though traditional transfer learning eventually catches up as sample sizes increase. However, the method is inherently dependent on the quality and relevance of the underlying knowledge base; creating a "pegasus" model requires pre-existing "bird" and "horse" features. Future work may focus on more sophisticated optimization routines and scaling the approach to high-resolution imagery beyond the 32x32 resolution used in these experiments.

Summary updated

BibTeX
@inproceedings{guzdial2019combinets,
  author = {Matthew Guzdial and Mark O. Riedl},
  title = {{Combinets: Learning New Classifiers via Recombination}},
  booktitle = {Iccc},
  year = {2019},
}
Figure