In standard deep learning, adding a single new category to a classifier usually requires retraining the entire model from scratch. This "monolithic" approach is computationally expensive and prone to catastrophic forgetting, where new information overwrites previously learned knowledge.
Researchers have converged on a more scalable alternative: modular architectures. By decoupling the general feature extraction process from category-specific logic, these systems allow for "plug-and-play" expansion. Instead of modifying a global weight matrix, the model grows by appending independent modules, branches, or prototypes.
Decoupling Features from Categorization
The fundamental intuition behind this research direction is that the visual or semantic "vocabulary" of a model can be separated from the specific task of classification. When these are decoupled, the underlying feature backbone can remain frozen while new classification "heads" are added.
Salman Khan and colleagues demonstrated this in their work on Any-Shot Object Detection. By using fixed semantic word embeddings as anchors, they created a stable space where new classes could be mapped without disturbing existing ones. Similarly, Young-Bum Kim and the Amazon Alexa team showed that decoupling shared encoders from domain-specific layers allowed them to add new skills 100 times faster than traditional retraining.
Class Knowledge Banks and Prototypes
One of the most effective ways to implement this modularity is through Class Knowledge Banks (CKBs) or prototypes. Instead of a "black-box" linear layer at the end of a network, the model stores a library of representative features for each class.
- How it works: When a new class is introduced, the system simply calculates its feature distribution or "prototype" and adds it to the bank.
- Evidence: Kang Han utilized this in diabetic foot ulcer classification, showing that modular prototypes handle data imbalance better than standard classifiers. Hengrui Lou applied a similar logic to pathology images, using learnable anchors to represent distinct tissue patterns.
This approach transforms classification from a global optimization problem into a local matching problem. As Zhengqiao Zhao noted in the context of genomic sequencing, the complexity of adding knowledge scales with the size of the update, not the size of the entire database.
Hierarchical and Pairwise Decomposition
Another strategy for modularity is the "divide and conquer" approach, where a complex multi-class problem is broken down into simpler sub-problems.
David Price and Stefan Knerr pioneered this with pairwise neural networks, training many small networks to compare pairs of classes. If a new category is added, you only need to train new classifiers for that specific category’s relationship to the others, leaving the rest of the system untouched.
For large-scale tasks, researchers like Wenbo Li use hierarchical tree structures. In an RNN Tree, action recognition is handled by specialized branches. To add a new action, the system identifies the most similar existing branch and updates only that localized sub-tree. This prevents the "global noise" that typically occurs when trying to force a single network to learn thousands of distinct categories simultaneously.
Adapters and Parallel Expansion
Recent work has focused on parameter-efficient modularity, particularly for massive foundation models. Instead of changing the model's weights, researchers add lightweight "sidecar" modules.
Yonatan Dukler introduced InCA (Introspective-Cross-Attention), which uses parallel adapters. Each class is assigned a distinct query within a cross-attention framework. Adding a class is as simple as adding a new query. Similarly, Kai Liu demonstrated that category-specific prompt learning allows models to scale to thousands of new categories by merging independently trained prompt sets.
Why It Works: Localizing the Gradient
The common thread across these papers—from Mikolajczyk’s generative frameworks in 2006 to Xiangyu Wang’s adaptive adapters in 2026—is the localization of change.
In a monolithic model, the gradient from a new class update propagates through every weight, potentially disrupting the delicate configurations that represent old classes. Modular architectures provide "structural isolation." By confining updates to specific branches (Li et al.), redundant slots (Cen et al.), or independent rule sets (Rutkowski et al.), these systems ensure that the cost of learning something new does not include the price of forgetting what was already known.