Skip to main content
SHARE
Publication

Mitigating Catastrophic Forgetting in Deep Learning in a Streaming Setting Using Historical Summary

by Sajal Dash, Junqi Yin, Mallikarjun Shankar, Feiyi Wang, Wu-chun Feng
Publication Type
Conference Paper
Book Title
2021 7th International Workshop on Data Analysis and Reduction for Big Scientific Data (DRBSD-7)
Publication Date
Page Numbers
11 to 18
Publisher Location
New Jersey, United States of America
Conference Name
2021 7th International Workshop on Data Analysis and Reduction for Big Scientific Data (DRBSD-7)
Conference Location
St. Louis, Missouri, United States of America
Conference Sponsor
IEEE
Conference Date
-

Recent advancements in scientific equipment and the adaptation of electronics and the Internet of Things (IoT) in our everyday lives resulted in large and complex data production at a high rate. Making meaningful and timely knowledge discovery at a modest cost from this big data is difficult for computing power and storage limitations. Training deep learning models incrementally in a streaming setting can help us with overcoming these limitations. However, in a well-known phenomenon named catastrophic forgetting, incrementally trained models increasingly perform poorly on the past data. To mitigate catastrophic forgetting in training in a streaming setting, we propose constructing a historical summary over time and use the summary with newly arrived data during incremental training. We propose various data summarization techniques such as random sampling, micro clustering, coreset computation, and Auto Encoders to counteract catastrophic forgetting. We built a pipeline for incremental training with a historical summary for training deep learning models for streaming data. We demonstrate the effectiveness of historical summary in mitigating catastrophic forgetting using three case studies involving three different deep learning applications: an Artificial Neural Network (ANN) for classification task on MNIST dataset, a language model (RNN-LM) on the WikiText2 dataset, and a Convolutional Neural Network (CNN), ResNet50 to classify the ImageNet dataset. Through the training of the models, we observe that catastrophic forgetting is evident in ANN and CNN but not in an RNN. For the first task, our method recovers up to 47.9% lost accuracy due to catastrophic forgetting. For the third task, the historical summary recovers classification accuracy by up to 25%. For the second task, though there is not proof of catastrophic forgetting, the training performance (PPL) improves by up to 26% with historical summary.