Abstract
Logarithmic Continual Learning (LogCL) is a novel architecture designed to mitigate catastrophic forgetting in neural networks. By organizing generative models into a binary-indexed hierarchy, LogCL ensures that the number of retraining steps for any given data sample scales logarithmically rather than linearly. This approach preserves the quality of "remembered" data while maintaining a small memory footprint. Our results show that LogCL significantly outperforms traditional generative rehearsal methods and rivals the performance of memory-heavy replay buffers on standard benchmarks.
Introduction
Continual Learning (CL) presents a fundamental challenge for neural networks: catastrophic forgetting. When learning new tasks, models often overwrite weights essential for previous tasks. Current solutions typically fall into two categories:
- Replay Buffers: Storing actual past data, which is effective but scales poorly in terms of memory as the number of tasks grows.
- Generative Rehearsal: Using a generator to produce synthetic past data. This is memory-efficient but suffers from a "copy-of-a-copy" degradation, where recursive retraining on imperfect outputs leads to rapid amnesia.
LogCL seeks to bridge this gap by combining the high performance of replay buffers with the scalability of generative models.
Methodology: Binary Allocation Strategy
The core innovation of LogCL is its binary-indexed hierarchy of local autoencoders. Instead of a single global generator, the system employs a set of smaller models, each responsible for a specific power-of-two number of samples.
As illustrated in the figure above, the system mimics binary addition. When new data arrives, only the models corresponding to the "flipped" bits in the total sample count are retrained. This ensures that larger models, which store older data, are updated exponentially less frequently, preserving long-term stability and minimizing reconstruction noise. A global classifier is then trained on a combination of new data and samples reconstructed by these local models.
Experimental Results
The authors evaluated LogCL against competitive baselines on Split MNIST, Omniglot, and CIFAR-100. In an "Extreme Continual Learning" scenario involving 100 tasks from the Omniglot dataset, LogCL demonstrated superior long-term stability.
Key findings include:
- Omniglot Accuracy: LogCL achieved 55.2% accuracy, significantly higher than the previous best generative method, BinPlay (38.8%).
- CIFAR-100: In a challenging 20-split scenario, LogCL reached 56.75% accuracy, outperforming popular methods like iCaRL (42.9%) and GDumb (28.8%).
- Scalability: The number of models required scales as $\log_2(n)$, allowing the system to handle large amounts of data with minimal overhead compared to the linear growth of replay buffers.
Discussion and Conclusion
LogCL introduces a "Lazy Cat" principle to continual learning: by minimizing the movement and retraining of data, the system reduces the accumulation of reconstruction noise. While managing a collection of $\log n$ models adds architectural complexity, the benefits in stability and scalability are substantial. Future work may explore dynamic model capacities and integrated coreset selection to further optimize efficiency.
Summary updated