Introduction
Standard artificial neural networks suffer from catastrophic forgetting: the tendency for a model to overwrite knowledge of previously learned tasks when trained on new ones. Current solutions generally fall into two categories: regularization methods (like EWC) that penalize changes to important weights, and memory replay methods (like GEM) that store and re-show old data. However, memory buffers scale poorly to long-term learning, and many methods require explicit "task labels" to know when a distribution has shifted.
This paper proposes the Self-Organized Multi-Layer Perceptron (SOMLP), a "memoryless" architecture that identifies task changes and preserves knowledge without hoarding raw data or requiring external task signals.
The SOMLP Architecture
The SOMLP architecture consists of two components operating in parallel: a supervised Multi-Layer Perceptron (MLP) for classification and an unsupervised Self-Organizing Map (SOM) that learns the input data distribution.
As shown in Figure 1, the SOM acts as a "traffic controller." For any given input, the SOM identifies a Best Matching Unit (BMU) and generates a topographical mask ($\Gamma$). This mask is element-wise multiplied by the output of the MLP’s hidden layer. By leveraging competitive learning, the SOM activates specific subsets of neurons based on the input context. Similar tasks share neural pathways, while distinct tasks are routed to different parts of the network, preventing new learning from "trampling" old weights.
Experimental Evaluation
The authors evaluated SOMLP on two 20-task continual learning benchmarks:
- MNIST-permutations: Digits are randomly shuffled using a unique fixed pattern for each task.
- MNIST-rotations: Digits are rotated by specific angles ranging from 0 to 180 degrees.
Two versions of the model were tested: $SOMLP_s$, trained from scratch, and $SOMLP_m$, which was "primed" by pretraining the SOM on 10% of the unlabeled data distribution. These were compared against a standard MLP, Elastic Weight Consolidation (EWC), and Gradient Episodic Memory (GEM).
Results and Analysis
SOMLP demonstrated high competitiveness, particularly in maintaining performance over long sequences of tasks without the need for a memory buffer.
As illustrated in Figure 5, $SOMLP_m$ maintains stable performance as more tasks are added, significantly outperforming EWC and a naive MLP. In the MNIST-Permutations test, $SOMLP_m$ achieved 85.4% accuracy, surpassing EWC (83.6%). In MNIST-Rotations, it reached 79.1%, far exceeding EWC's struggle to maintain ~50-59% accuracy.
While GEM remains the performance leader when provided with large memory buffers, its accuracy drops sharply as those buffers are reduced. SOMLP provides a robust alternative that maintains high performance with a constant memory footprint, regardless of the number of tasks encountered.
Conclusion
SOMLP offers a biologically inspired, online approach to continual learning. By using a SOM to automatically detect context and route information, it avoids the need for explicit task labels and massive data storage. While the model currently benefits from small-scale pretraining ($SOMLP_m$), it represents a significant step toward scalable, memory-efficient artificial intelligence. Future work will explore the capacity limits of these networks and their performance on higher-dimensional data like natural images.
Summary updated