Title: OVERCOMING CATASTROPHIC FORGETTING THROUGH WEIGHT CONSOLIDATION AND LONG-TERM MEMORY

Abstract: Sequential learning of multiple tasks in artificial neural networks using gradient descent leads to catastrophic forgetting, whereby previously learned knowledge is erased during learning of new, disjoint knowledge. Here, we propose a new approach to sequential learning which leverages the recent discovery of adversarial examples. We use adversarial subspaces from previous tasks to enable learning of new tasks with less interference. We apply our method to sequentially learning to classify digits 0, 1, 2 (task 1), 4, 5, 6, (task 2), and 7, 8, 9 (task 3) in MNIST (disjoint MNIST task). We compare and combine our Adversarial Direction (AD) method with the recently proposed Elastic Weight Consolidation (EWC) method for sequential learning. We train each task for 20 epochs, which yields good initial performance (99.24% correct task 1 performance). After training task 2, and then task 3, both plain gradient descent (PGD) and EWC largely forget task 1 (task 1 accuracy 32.95% for PGD and 41.02% for EWC), while our combined approach (AD+EWC) still achieves 94.53% correct on task 1. We obtain similar results with a much more difficult disjoint CIFAR10 task (70.10% initial task 1 performance, 67.73% after learning tasks 2 and 3 for AD+EWC, while PGD and EWC both fall to chance level). We confirm qualitatively similar results for EMNIST with 5 tasks and under 3 variants of our approach. Our results suggest that AD+EWC can provide better sequential learning performance than either PGD or EWC.

1. INTRODUCTION:

Continual learning central to designing general A.I. systems that can learn new tasks sequentially without forgetting old tasks. However, current deep learning models based on stochastic gradient descent severely suffer from catastrophic forgetting (French, 1999; McCloskey & Cohen, 1989) , in that they often forget all old tasks after training each new one. Inspired by the mammalian neocortex, which relies on processes of task-specific synaptic consolidation to enable continual learning (Cichon & Gan, 2015; Hayashi-Takagi et al., 2015; Yang et al., 2009; 2014) , several concepts have been proposed, based on sequential Bayesian learning, which consist of applying a regularization function to a network trained by an old task to learn a new task. Many of these approaches work by finding a local minimum of the loss function for task B around the local region in the parameter space that was optimized for task A, such as learning without forgetting (Li & Hoiem, 2017) , elastic weight consolidation (EWC) (Kirkpatrick et al., 2017) , and incremental moment matching (Lee et al., 2017) . Consider a model trained to perform task A: for input X taskA and probability distribution p(taskA), it produces outputs f (X taskA , W * taskA ) by minimizing loss L p(taskA) (f (X taskA , W )). Training a second task B with input X taskB and probability distribution p(taskB) on the same network involves minimizing loss L p(taskB) (f (X taskB , W * taskA )). Previous approaches mentioned above attempt to restrict the parameters for task B to the local region around the optimum of task A, so as to minimally disturb what had been learned for task A. However, this might prevent the neural network from finding other regions in remote areas of the parameter space, which could contain a better local minimum of the loss function for the joint probability distribution of tasks A and B. To find this better local minimum, (Sprechmann et al., 2018) stores most of the data from old tasks into a working memory and replays it while training a new task. However, the working memory requires potentially large storage for the data from old tasks, and extra training time to replay that data.

Here, we introduce task-dependent memory units M task and memory weights W task to overcome catastrophic forgetting. Consider a two-task scenario, with an output function:

H(X, M task , W , W task ) = f (X, W ) + 1 taskA (g taskA (M taskA , W taskA )) + 1 taskB (g taskB (M taskB , W taskB )) (1)

with input X, task-dependent memory units M task , task-independent network weights W , taskdependent memory weights W task , indicator function 1 taskA (), indicator function 1 taskB (), taskdependent function g taskA () and g taskB () and task-independent function f (). We update W in the EWC direction, update memory units M task in an adversarial direction (further explained below), and update W task in the gradient direction. Without any replaying of previous data, we can achieve a high accuracy on new tasks while minimally decreasing accuracy on old tasks. Our approach is not constrained to the local region around the parameters (W * ) that are optimal for the old tasks. Instead, we create new parameter spaces (W * , M task , W task ) that are good for both old and new tasks.

In the experimental results section, we show, using disjoint MNIST, disjoint EMNIST, and disjoint CIFAR10, that our Adversarial Memory Net (AMN) can be trained sequentially on multiple tasks while minimally decreasing accuracy on old tasks. Beyond these results which use a 5-layer fully connected network, we show that our approach can also apply to CNNs, although more research is necessary to enable EWC constraints to apply to convolutional and pool layers. We discuss complexity analysis, mathematical implications, and EWC in the discussion section.

2. BACKGROUND AND RELATED WORK:

Memory formation and retrieval in Hippocampus (HPC): In the human brain, the hippocampus (Bakker et al., 2008) encodes detailed information in Cornu Ammonis 3 (CA3), which does pattern separation and transforms this information into abstract high-level information, then relayed to Cornu Ammonis 1 (CA1), which does pattern completion. During weight consolidation (Lesburguères et al., 2011; Squire & Alvarez, 1995; Frankland & Bontempi, 2005) , the HPC fuses different features from different tasks into a coherent memory trace. Over days to weeks, as memories mature, HPC progressively stores permanent abstract high-level long-term memories to remote memory storage (neocortical areas). HPC can maintain and mediate their retrieval independently when the specific memory is in need.

Adversarial examples, directions, subspaces, & programs, and long term memory: Artificial neural networks are vulnerable to adversarial examples (Szegedy et al., 2013) . By adding a carefully computed "noise" to an input picture, without changing the neural network, one can force the network into misclassification. The noise is usually computed by backpropagating the gradient in a so-called "adversarial direction" (Tramèr et al., 2017) . Going to an adversarial direction, such as by using the fast gradient sign method (FGSD) (Goodfellow et al.) , can help us generate adversarial examples that span a continuous subspace of large dimensionality (adversarial subspace). Because of "excessive linearity" in many neural networks (Tramèr et al., 2017; Goodfellow) , due to features including Rectified linear units and Maxout, the adversarial subspace often takes a large portion of the total input space. Once an adversarial input lies in the adversarial subspace, nearby inputs also tend to lie in it.

Attack and defense researchers usually view adversarial examples as a curse of neural networks, but we view it as a gift to solve catastrophic forgetting. Input points that lie inside the adversarial subspace of each class lead the neural network to misclassify input images into that class. By extension, inputs which lie in the intersection of several adversarial subspaces that each belong to a different class may be misclassified into any of the underlying classes. Instead of adding input "noise" that lies inside the adversarial subspace calculated from other classes to force the network into misclassification, we can add "noise" calculated by the input's own correct class to assist correct classification. Our approach is to compute, in a task-dependent manner, this helpful "noise", and to store it into long-term memory units which are activated by different tasks. Thus, we propose that the intersection of the adversarial subspaces of all known classes is a representation of long term memory in neural network, although, we do not know how our brain represents permanent long-term memories. In essence, by storing task-dependent data into memory units, we add new dimensions to the original parameter space and create new spaces that are good for both old and new tasks.

Indeed, after we submit our paper to ArXiv for one month, a nice followup work (Elsayed et al., 2018) shows how a carefully computed adversarial program embedded in the input space can repurpose machine models to perform a new task without changing the parameters. This paper confirms that the adversarial program (carefully computed noise), formed by finding the intersection of adversarial subspaces in our paper, is a good way to represent abstract information.

3. METHODS:

In biological brains, during consolidation, abstract high-level memory is believed to be transferred from HPC to remote memory storage, such as the olfactory cortex (Lesburguères et al., 2011) . Inspired by this idea, to achieve sequential learning with minimal interference, we add memory units into our network. We propose that one can designate and switch from task to task using dedicated task-dependent memory units. The intersection of the adversarial subspaces which represent the long-term memory in the network is stored in the memory units. The memory units, that store these long-term memory independently for each task, add additional dimension (M task , W task ) to our old parameter spaces (W ) and form new parameter spaces (W , M task , W task ) that are good for both old and new tasks (Fig. 1 ).

3.1. EMBEDING:

ADVERSARIAL SUBSPACES INTO PARAMETER SPACE (M task , W task , W )

We want to embed the adversarial subspaces that have been found in the input space into our neural network, so that the parameters in our neural network behave like input images and span adversarial subspaces in the parameter space. Thus, we add task-dependent memory units (float tensors M task , Fig. 1 ) and memory weights (W task , Fig. 1 ) in each layer of the neural network. We update memory units in the adversarial direction. Each memory unit is a float tensor that can hold a float value. Memory units play a role similar to adversarial input images, capture the essence of each class, and span an intersection of adversarial subspaces in network parameter space.

3.2. ADVERSARIAL MEMORY NETWORK (AMN):

Task-dependent memory units (M task ∈ R M ×H , M is the number of memory units, H is the hidden size of a memory unit) store the intersection of adversarial subspaces in it which plays a role of long-term memory in our network, leading to the adversarial memory network structure (Fig. 1 ).

During training and testing, the output function for 2 tasks is shown in Eqn. 1. Only memory units corresponding to the current task (yellow for task A or red for task B, chosen by indicator function in Eqn.1) and normal neurons (black) will be activated. The weights for memory units are called memory weights (W task ) and the weights for normal neurons are called normal weights (W ).

Forward rules for each layer: 1. Deactivate the memory units not for the current task.

2.. Output:

= W task * M task + W * X normal_neurons + bias.

What abstract long-term memory should we write into the memory units? The intersection of adversarial subspaces. How can we formulate it? We update memory units with gradients following an adversarial direction which can help us find the intersection of the adversarial subspaces in the parameter space. Thus, we have a joint abstract long-term memory of different classes available for each task in our neural network. In this work, we use the Fast Gradient Sign Method (FGSD) sign(∇ M L(M , y target )), where M are memory units, y target is current input's true classes, as the adversarial direction to replace the gradient direction and use it to update memory units.

Backward rules for each layer:

O Gradients = sign (O Gradients ) if O is memory unit O Gradients else

We use Softmax or Sigmoid cross entropy loss ( L p(taskB) (H(X, M task , W , W task )) the first part in Eqn.2) to calculate the gradients for task-dependent memory units (M task ) and memory weights (W task ). To keep the normal weight close to the learned parameters of old tasks, we use total loss (Eqn. 2) with EWC constrains to calculate the gradients for normal weights (W ). Consider a 2-task scenario, the loss function when we train task B is, where F is the fisher information matrix, λ sets how important the old task is compared to the new one:

T otal Loss = L p(taskB) (H(X, M task , W , W task )) + i λF i (W i -W * taskA,i ) 2 (2)

4. EXPERIMENT RESULTS:

We test our adversarial memory network with three datasets, 3 tasks for disjoint MINST tasks and disjoint CIFAR-10 tasks, 5 tasks for disjoint EMINST dataset (table 1 ). We train tasks sequentially, each for 20 epochs. We show that our approach can also apply to CNN (LeNet) by replacing the fully connected layers (FC) with our adversarial memory layers, and keeping the convolution and maxpool layers. We explore 5 different training methods:

1. EWC only: deactivate all the memory units so that our adversarial memory network becomes a fully connected network, and use elastic weight consolidation only.

2. AD: we use the adversarial memory units only. After finishing the training of task 1, we freeze all the normal weights, and only allow the update of memory units in adversarial direction and memory weights in gradient direction in the latter tasks.

3. EWC + AD: normal weights are updated in EWC direction. The memory units are updated in adversarial direction and memory weights are in gradient direction.

4. PGD: we deactivate all the memory units so that our adversarial memory network become a fully connected network, and use plain gradient descent.

5. One Image Storage (OIS): we use the same training method as EWC + AD, except for the following differences. In One Image Storage Big (OISB): the dimension of memory units is 1 x (28*28). The size is the same as storing a one-channel MNIST image in each layer. In One Image Storage Small (OISS): the dimension of memory units is 1 x (5*5).

We test 4 different networks (in table 2) with different hyperparameters. Note how the settings with 3 output neurons for MINST, CIFAR10, or with 5 outputs neurons for EMNIST (networks 1 & 2 in Table 2 ) will associate several labels with each output neuron, one per task. We use these settings for easy comparison with previous work, but we note that the settings with 9 output neurons for MINST, CIFAR10, or with 25 outputs neurons for EMNIST (networks 3 & 4) may be preferred in practice because they yield unambiguous classification results.

From Fig. 3 and Fig. 4 , adversarial memory network has memory units to store the intersection of adversarial subspaces and plays a role as the abstract long-term memory. It uses EWC to form a joint probability distribution for sequential tasks represented by the normal memory (EWC + AD: blue, OISB: black, OISS: magenta curve). It outperforms the fully connected network with EWC (red curve) or plain gradient descent (PGD; yellow curve) by a large margin in both datasets and for our 4 hyperparameter sets. In the disjoint MINST tasks, EWC + AD achieves high accuracy and barely forgets the old tasks at the same time. In the disjoint CIFAR10 tasks, we cannot achieve a high initial accuracy because we only use a fully connected structure and do not have a convolutional structure at all. But the overall result is the same as with the MINST tasks. The sigmoid cross entropy loss converges slower than the SoftMax cross entropy loss and has a lower initial accuracy than the SoftMax cross entropy loss in disjoint CIFAR10 tasks. However, from Fig. 4 c ), we can see that, in more complicated tasks such as disjoint CIFAR10, where tasks do not share similar low-level features, the sigmoid function may be able to pass gradients only through the active tasks since the target vector is in one-hot expression. Thus, it gives us a better accuracy for task 1 after training task 2 and task 3. The AD alone (green curve) does not forget task 1 at all, because it is frozen. But the tradeoff is that we cannot achieve high accuracies in the latter tasks. In contrast, EWC+AD can learn the latter tasks very well while only minimally decreasing task 1 accuracy. The OISB and OISS methods perform slightly worse than AD+EWC, because they use fewer memory units and the first dimension of the memory unit tensors is one for the sake of scalability. You can view OISB as storing a size of a 1-channel MINST image per layer and OISS as storing a size of 1-channel 5*5 image per layer. Yet, both OISB and IOSS still perform much better than EWC and PGD. In Fig. 5 a), the overall result for 5 disjoint EMNIST tasks (5 letters per task) is the same with the MINST tasks. Figure 2 : Disjoint MINST tasks in network 2. a) AD only. We update memory units with the gradient following the adversarial direction using the Fast Gradient Sign Method (blue curve). For comparison, we also update memory units using the normal gradient direction (red curve), but this does not work as well. b) AD+EWC. Varying the number hidden dimension of memory units with 300 memory units per layer. Blue curve: 300 x 1. Green curve: 300 x 3 . Red curve: 300 x 6. Yellow curve: 300 x 9. Magenta curve: 300 x 12.

In Fig. 2 a), we demonstrate that following an adversarial direction and finding the intersection of adversarial memory subspaces is crucial, by comparing updating the memory units in the gradient direction versus the adversarial direction (FGSD). The accuracy for adversarial memory units -FGSD (blue curve) is much higher than Gradient memory units (red curve) and does not vary with the number of epochs after being trained. As a result, we argue that the intersection of adversarial subspaces in memory units is how our neural network represents the abstract long-term information.

If we store this information, we can view it as the long-term memory of our neural network. We view the memory units as storage of the essence of a lot of input pictures from previous tasks and it is ready to retrieve the corresponding one when we test on a specific task. From Fig. 2 b ), while keep the number of memory units as 300 (equal to the number of neurons), by varying the hidden dimension of memory units in each task, we find that a low number hidden dimension of memory units (1 ˜3) may not be sufficient to represent high-level memory information. Yet, too many hidden dimensions (above 9) cause too much disturbance, which also decreases accuracy. Best accuracy was obtained for 6 to 9 hidden dimensions in our experiments.

Many convolutional neural networks (CNN) have some fully connected layers (FC) at the output. These are used to classify the features generated by convolutional layers. To test our method with CNNs, we use the conv and pool layers from LeNet (LeCun et al., 1998) and replace its FC layers by adversarial memory layers (300 hidden units for each layer). We use Softmax cross entropy loss with overlapped 3 outputs. AD + EWC, OISB achieves high accuracy on new tasks, and achieves a better accuracy than PGD on remembering old tasks (Fig. 5 b )). One difficulty with applying AD+EWC to CNNs, which will need to be addressed in future research, is to better understand how to apply EWC constraints to convolutional and pool layers. Once we know how to constrain convolutional and pool layers, we may be able to fully adapt our adversarial memory network approach to a wide range of convolutional neural network structures.

5. DISCUSSION:

Complexity analysis: parameter cost, memory cost and extra training cost: One perhaps obvious approach to avoiding interference between sequential tasks might be to use a separate network for each task. However, such method is not scalable with the number of tasks, because there is a one-to-one mapping from network to task and it requires to duplicate every neurons to build a new network. Although we also introduce task-dependent neurons in the FC structure, for our OISS method, we only introduce 25 extra neurons per task per layer compared to 300 neurons increase per task per layer if we use a separate network. The increase of memory cost is 25+25*300 (for 25 units plus the weights from those 25 units to the 300 normal neurons of the next layer) compared to 300*300 in a separate network (duplication a whole layer and its weights). In our CNN experiments, we show that changing the last 3 FC layers(classification layers) into our AMN and keep the conv and pool layers(feature extraction layers) in the original network to overcoming catastrophic forgetting. Figure 5 : a) Disjoint EMNIST tasks. The red curve is using EWC alone (training method 1). The blue curve is EWC and adversarial memory training (training method 3). The yellow curve is PGD (training method 4). The black curve is OISB and the magenta curve is OSSS (training method 5). We use Sigmoid cross entropy loss with overlapped 5 outputs. b) Disjoint CIFAR10 tasks using a convolutional network. The convolutional and pool layers are the same as LeNet, but we replace the last 3 fully connected layers by our adversarial memory layers (300 neurons for each layer). After training task 1, we freeze the parameters in the convolutional layers. we use AD+EWC or OISB on adversarial memory layers (blue curve) . The yellow curve is the PGD method. We use Softmax cross entropy loss with overlapped 3 outputs. direction is how to find the intersection of adversarial subspaces belonging to all classes from all tasks sequentially. This allows all tasks to share one task-independent memory units. Another advantage of our method is that, since we do not need to replay data from old tasks while training the new task, we save extra training cost. This gives us a good way to do online learning. A ). When the sequential tasks do not share similar low-level features, we usually cannot find a good joint probability distribution around the local region of parameters space of task A. Even worse is that the neural network fails to traverse other regions in the remote area of the space which might have a much better local minimum (W * A,B ) by minimizing L p(taskA,taskB) (f (X taskA,taskB , W )) for the joint probability distribution of tasks A and B. Although we cannot revisit the data from earlier tasks in sequential learning, we can store some abstract long-term features shared by the data from earlier tasks into the memory units of our neural network and use this knowledge to classify the old test data from earlier tasks. In our adversarial memory network case, we store the adversarial gradient into memory units, which forms the intersection of adversarial subspaces inside the memory units M task . When we test on each task, we combine the information stored in the specific memory units with our normal weights trained by the EWC to form new spaces (W * , M task , W task ). These new spaces usually give us a good estimate of the current test task, even though the normal weights have been modified by the EWC algorithm. This opens a new world for us that we build new curvature spaces which our experiments show have better local minima of the loss function for tasks A and B, by combination of normal weights, memory weights, and memory units.

Comments on EWC::

In our experiments, EWC alone did not prevent catastrophic forgetting, though it did perform better than PGD. Yet, our EWC implementation works well with the original permuted MINST task used by the authors of EWC. Here, we tested networks with shared outputs and individual outputs separately, to evaluate the influence of having different classes from different tasks share the same label. With shared outputs, as used in the original EWC work except that our dataset is not permuted MNIST, after finishing training of task 3, task 1 accuracy for both EWC and PGD fell to chance level. With individual outputs, during the training of task 2 and task 3, both EWC and PGD rapidly decreased to 0% accuracy because the neural network cannot map task 1 to the corresponding correct outputs properly. In comparison, our EWC+AD, OISB, OISS and AD methods work well in both output scenarios.

:



Figures and Tables:

Figure 1: The structure of Adversarial Memory Network. N: dimensions of the normal neurons and normal weights (black), D A : dimensions of the memory units and memory weights for task A (yellow),D B : dimensions of the memory units and memory weights for task B (red), M: number of memory units, H: hidden dimension of a memory unit.

Figure3: Disjoint MINST tasks. The red curve is using EWC alone (training method 1). The green curve is using adversarial memory units alone (training method 2). The blue curve is EWC and adversarial memory training (training method 3). The yellow curve is PGD (training method 4).The black curve is OISB and the magenta cur is OSSS (training method 5). Each subfigure is a) network 1, b) network 2, c) network 3, d) network 4, in Table2.

Mathematical explanation: Methods like EWC only apply a regularization function to a network trained by old tasks, to learn a new task based on sequential Bayesian inference, by finding a sub optimum local minima (W * B around A ) by minimizing L p(taskB) (f (X taskB , W * A )) of task B around the local region of parameters space of task A (W *

Disjoint MINST tasks, disjoint CIFAR10 tasks and disjoint EMNIST tasks. We train our Adversarial Memory Network sequentially on disjoint tasks for each dataset.

Table content: <table><tr><td>Tasks</td><td>Task1</td><td>Task2</td><td>Task3</td><td>Task4</td><td>Task5</td></tr><tr><td>Datasets</td><td/><td/><td/><td/><td/></tr><tr><td>MNIST</td><td>Digits 0,1,2</td><td>Digits 4,5,6</td><td>Digits 7,8,9</td><td>N/A</td><td>N/A</td></tr><tr><td>CIFAR10</td><td>Airplane Automobile Bird</td><td>Deer Dog</td><td>Horse Ship</td><td>N/A</td><td>N/A</td></tr><tr><td/><td/><td>Frog</td><td>Truck</td><td/><td/></tr><tr><td>EMNIST</td><td>Letter A,B,C,D,E</td><td>Letter</td><td>Letter</td><td>Letter</td><td>Letter</td></tr><tr><td/><td/><td>F,G,H,I,J</td><td>K,L,M,N,O</td><td>P,Q,R,S,T</td><td>U,V,W,X,Y</td></tr></table>

Hyperparameters for 4 different network structures

Table content: <table><tr><td>Hyperparameters</td><td>Network1</td><td>Network2</td><td>Network3</td><td>Network4</td></tr><tr><td>Number of hidden</td><td>4</td><td>4</td><td>4</td><td>4</td></tr><tr><td>layer</td><td/><td/><td/><td/></tr><tr><td>Width of hidden layer</td><td>300</td><td>300</td><td>300</td><td>300</td></tr><tr><td>Width of Output layer(whether to have overlap output or not)</td><td>EMNIST: 5 MINST, CIFAR10: 3</td><td>EMNIST: 5 MINST, CIFAR10: 3</td><td>EMNIST: 25 MINST, CIFAR10: 9</td><td>EMNIST: 25 MINST, CIFAR10: 9</td></tr><tr><td>Loss function</td><td>Sigmoid cross</td><td>SoftMax cross</td><td>Sigmoid cross</td><td>SoftMax cross</td></tr><tr><td/><td>entropy loss</td><td>entropy loss</td><td>entropy loss</td><td>entropy loss</td></tr><tr><td>Dropout</td><td>Yes</td><td>Yes</td><td>Yes</td><td>Yes</td></tr><tr><td>Memory units</td><td>OISB: 1 x (28*28)</td><td>OISB: 1 x (28*28)</td><td>OISB: 1 x (28*28)</td><td>OISB: 1 x (28*28)</td></tr><tr><td>dimension in each</td><td>OISS:1 x (5*5)</td><td>OISS:1 x (5*5)</td><td>OISS:1 x (5*5)</td><td>OISS:1 x (5*5)</td></tr><tr><td>layer</td><td>EWC,AD,EWC+AD:</td><td>EWC,AD,EWC+AD:</td><td>EWC, AD, EWC+AD:</td><td>EWC, AD, EWC+AD:</td></tr><tr><td/><td>300 x 9</td><td>300 x 9</td><td>300 x 9</td><td>300 x 9</td></tr><tr><td>Adversarial direction</td><td>Fast gradient sign</td><td>Fast gradient sign</td><td>Fast gradient sign</td><td>Fast gradient sign</td></tr><tr><td/><td>method</td><td>method</td><td>method</td><td>method</td></tr><tr><td>Epsilon in FGSM</td><td>0.2</td><td>0.2</td><td>0.2</td><td>0.2</td></tr><tr><td>Optimizer</td><td>SGD + 0.15</td><td>SGD + 0.15</td><td>SGD + 0.15</td><td>SGD + 0.15</td></tr><tr><td/><td>momentum</td><td>momentum</td><td>momentum</td><td>momentum</td></tr></table>

VGG16. Complexity analysis: parameter cost, memory cost in forward and backward pass. Duplicate a new VGG16, EWC + AD, OISB, OISS, EWC

Table content: <table><tr><td>Complexity</td><td>VGG 16</td><td>Duplicate a VGG16</td><td>EWC + AD</td><td>OISB</td><td>OISS</td><td>EWC</td></tr><tr><td>Analysis</td><td/><td/><td/><td/><td/><td/></tr><tr><td>Memory cost</td><td>96  *  2</td><td>96  *  2</td><td>6.48  *  10 -2  *  2</td><td>1.88  *  10 -2  *  2</td><td>6  *  10 -4  *  2</td><td>0</td></tr><tr><td>(forward and</td><td>MB / image</td><td>MB / Image x # of task</td><td>MB / Image x # of</td><td>MB / Image x # of</td><td>MB / Image x # of</td><td>MB / Image x # of</td></tr><tr><td>backward cost)</td><td/><td>(100% increase)</td><td>tasks</td><td>tasks</td><td>tasks</td><td>tasks (0% increase)</td></tr><tr><td/><td/><td/><td>(0.0675 % increase)</td><td>(0.0196% increase)</td><td>(0.000625% increase)</td><td/></tr><tr><td>Parameter cost</td><td>138 M</td><td>138 M x # of tasks</td><td>89.8641 M x # of tasks</td><td>26.0939 M x # of tasks</td><td>0.8321 M x # of tasks</td><td>0 M x # of tasks</td></tr><tr><td/><td/><td>(100% increase)</td><td>(65.12% increase)</td><td>(18.91% increase)</td><td>(0.6% increase)</td><td>(0% increase)</td></tr></table>

Peer review (iclr2019):
 This paper proposes a new approach to sequential learning by introducing an adversarial memory unit for each new task and uses EWC as a regularizer for training other parts of the network on the new task. The memory units are trained with Fast Gradient Sign Method to increase the loss, and they are connected to the next layer with weights trained to decrease the loss. It shows superior performance than EWC and the plain gradient descent baseline on disjoint MNIST/CIFAR10 and EMNIST. The authors also share their experience with EWC, which provides useful feedbacks to the community. The proposed adversarial memory unit is novel to the best of my knowledge. However, its motivation is not quite intuitive to me, and the authors fail to provide persuading explanations. My major concern is whether it is better to take the adversarial direction rather than the direction that decrease the loss for the memory units. To support their ideas, the authors mentioned the paper "Adversarial Reprogramming of Neural Networks" and said this paper*s "adversarial program" is formed by choosing the "intersection of adversarial subspaces" as in their paper. However, they (Elsayed et al. 2018) are actually finding such adversarial programs in the direction of decreasing the loss, which is contrary to finding the "intersection of adversarial subspaces". The authors also want to support the pros of adversarial memory units by comparing against "Gradient" memory units that are trained to decrease the loss with the experiment shown in Figure 2. However, Figure 2a seems problematic to me, so I am not sure whether the authors are doing their experiments correctly. I think the experimental conditions for FGSD and Gradient are different, which makes the comparison meaningless. We can see that the network*s accuracy with Adversarial memory unit on task 1 is a constant when the network is trained on task 2 and 3, because the network*s weights (except memory units and their weights for task 2 and 3) and task 1*s memory units are fixed, as described in the experimental setting for "AD". The accuracy on task 1 with Gradient memory units is changing when the network is trained on task 2 and 3, which means either the network*s weights are changing or the memory unit is changing. As a result, I don*t think this paper will be accepted until the authors provide further explanations and results to support the adversarial memory unit, or clarify my misunderstandings in the comments above.