[Paper Review] Conditional Computation for Continual Learning
This paper proposes conditional rehearsal, a method for continual learning that reduces catastrophic forgetting by selectively rehearsing only the examples interfered with during training, based on a clipped maxout network that enables partial parameter sharing. The approach achieves near-perfect accuracy on MNIST-ol without forgetting, outperforming random rehearsal on smaller datasets.
Catastrophic forgetting of connectionist neural networks is caused by the global sharing of parameters among all training examples. In this study, we analyze parameter sharing under the conditional computation framework where the parameters of a neural network are conditioned on each input example. At one extreme, if each input example uses a disjoint set of parameters, there is no sharing of parameters thus no catastrophic forgetting. At the other extreme, if the parameters are the same for every example, it reduces to the conventional neural network. We then introduce a clipped version of maxout networks which lies in the middle, i.e. parameters are shared partially among examples. Based on the parameter sharing analysis, we can locate a limited set of examples that are interfered when learning a new example. We propose to perform rehearsal on this set to prevent forgetting, which is termed as conditional rehearsal. Finally, we demonstrate the effectiveness of the proposed method in an online non-stationary setup, where updates are made after each new example and the distribution of the received example shifts over time.
Motivation & Objective
- Address catastrophic forgetting in continual learning by analyzing parameter sharing levels under conditional computation.
- Develop a method that selectively rehearges only interfered examples, improving efficiency over random rehearsal.
- Introduce clipped maxout networks to reduce the number of interfered examples during learning, enhancing forgetting mitigation.
- Evaluate the method in a challenging online, non-stationary setting where data arrives sequentially with shifting distributions.
Proposed method
- Use a conditional computation framework where network parameters Θ(x) are conditioned on input x, enabling partial parameter sharing.
- Apply a many-to-one mapping via a fixed grouping function G(x) to define shared parameter groups, limiting interference to examples in the same group.
- Introduce clipped maxout networks where outputs are clipped to [0,1] and only values ≥0.1 are considered active, reducing the set of interfered examples.
- Define conditional rehearsal as the selective replay of only those historical examples whose parameters are affected by learning a new example.
- Train using online updates with a combined loss: standard cross-entropy loss and a rehearsal loss on the conditionally selected examples.
- Use a threshold (0.1) to determine which examples are considered interfered with, based on activation values in the clipped maxout units.
Experimental results
Research questions
- RQ1How does parameter sharing in conditional computation affect interference and catastrophic forgetting?
- RQ2Can selective rehearsal based on interference analysis reduce forgetting more efficiently than random rehearsal?
- RQ3Does the clipped maxout architecture reduce the number of interfered examples compared to standard maxout?
- RQ4How effective is conditional rehearsal in an online, non-stationary learning setup with shifting data distributions?
- RQ5Can the method generalize to complex datasets where random rehearsal fails due to insufficient coverage?
Key findings
- The number of examples rehearsed per minout unit fluctuates around 100 during training, consistent with theoretical expectations.
- On the full MNIST-ol dataset, conditional rehearsal achieves 100% training accuracy with no forgetting, while the no-rehearsal baseline fails to learn.
- On a smaller subset with 10 examples per class, conditional rehearsal significantly outperforms random rehearsal, demonstrating its advantage in low-data regimes.
- Random rehearsal performs comparably to conditional rehearsal on the full MNIST-ol due to the dataset's low mode complexity, but fails to generalize when data is sparse.
- The clipped maxout architecture reduces the number of interfered examples, enabling more efficient and targeted rehearsal.
- The method maintains monotonic accuracy improvement on both training and test sets, indicating stable continual learning without forgetting.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.