Probing Image Compression For Class-Incremental Learning (2403.06288v1)
Abstract: Image compression emerges as a pivotal tool in the efficient handling and transmission of digital images. Its ability to substantially reduce file size not only facilitates enhanced data storage capacity but also potentially brings advantages to the development of continual ML systems, which learn new knowledge incrementally from sequential data. Continual ML systems often rely on storing representative samples, also known as exemplars, within a limited memory constraint to maintain the performance on previously learned data. These methods are known as memory replay-based algorithms and have proven effective at mitigating the detrimental effects of catastrophic forgetting. Nonetheless, the limited memory buffer size often falls short of adequately representing the entire data distribution. In this paper, we explore the use of image compression as a strategy to enhance the buffer's capacity, thereby increasing exemplar diversity. However, directly using compressed exemplars introduces domain shift during continual ML, marked by a discrepancy between compressed training data and uncompressed testing data. Additionally, it is essential to determine the appropriate compression algorithm and select the most effective rate for continual ML systems to balance the trade-off between exemplar quality and quantity. To this end, we introduce a new framework to incorporate image compression for continual ML including a pre-processing data compression step and an efficient compression rate/algorithm selection method. We conduct extensive experiments on CIFAR-100 and ImageNet datasets and show that our method significantly improves image classification accuracy in continual ML settings.
- Podnet: Pooled outputs distillation for small-tasks incremental learning. European Conference on Computer Vision, page 86–102, August 2020.
- icarl: Incremental classifier and representation learning. IEEE/CVF Conference on Computer Vision and Pattern Recognition, June 2017.
- Mnemonics training: Multi-class incremental learning without forgetting. IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2020.
- RMM: reinforced memory management for class-incremental learning. Advances in Neural Information Processing Systems, pages 3478–3490, December 2021.
- Are visual recognition models robust to image compression? Neural Compression Workshop, International Conference on Machine Learning, 2023.
- G. Wallace. The jpeg still picture compression standard. IEEE Transactions on Consumer Electronics, 38(1):xviii–xxxiv, February 1992.
- Advances in video compression system using deep neural network: A review and case studies. Proceedings of the IEEE, 109(9):1494–1520, 2021.
- Riemannian walk for incremental learning: Understanding forgetting and intransigence. European Conference on Computer Vision, September 2018.
- M. Welling. Herding dynamical weights to learn. International Conference on Machine Learning, page 1121–1128, 2009.
- Class-incremental exemplar compression for class-incremental learning. IEEE Conference on Computer Vision and Pattern Recognition, June 2023.
- Memory replay with data compression for continual learning. International Conference on Learning Representations, April 2022.
- Foster: Feature boosting and compression for class-incremental learning. European Conference on Computer Vision, October 2022.
- Variational image compression with a scale hyperprior. International Conference on Learning Representations, April 2018.
- Joint autoregressive and hierarchical priors for learned image compression. Advances in Neural Information Processing Systems, 31:10794–10803, December 2018.
- Deep residual learning for image recognition. IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 770–778, 2016.
- Maintaining discrimination and fairness in class incremental learning. IEEE/CVF conference on computer vision and pattern recognition, June 2020.
- Learning multiple layers of features from tiny image. Technical Report, 2009.
- Imagenet: A large-scale hierarchical image database. IEEE Conference on Computer Vision and Pattern Recognition, pages 248–255, June 2009.
- Video enhancement with task-oriented flow. International Journal of Computer Vision, 2019.
- Unified architecture adaptation for compressed domain semantic inference. IEEE Transactions on Circuits and Systems for Video Technology, 33(8):4108–4121, 2023.
- Towards image understanding from deep compression without decoding. International Conference on Learning Representations, 2018.
- Justin Yang (7 papers)
- Zhihao Duan (38 papers)
- Andrew Peng (4 papers)
- Yuning Huang (11 papers)
- Jiangpeng He (41 papers)
- Fengqing Zhu (77 papers)