cs.LGOct 3, 2026

Learning to Remember: Distilling Memory Retention for Compact Recurrent Neural Networks

Authors: Nilushika Udayangania, Kishor Nandakishora, Marimuthu Palaniswami

Organizations: Department of Electrical and Electronic Engineering, University of Melbourne, Parkville, 3052, VIC, Australia

Abstract

Deep learning models, particularly recurrent neural networks and their variants, such as long short-term memory, have significantly advanced time series analysis. These models capture complex, sequential patterns in time series, enabling real-time assessments. However, their high computational complexity and large model sizes pose challenges for deployment in resource-constrained environments, such as wearable devices and edge computing platforms. Knowledge Distillation (KD) offers a solution by transferring knowledge from a large, complex model (teacher) to a smaller, more efficient model (student), thereby retaining high performance while reducing computational demands. Current KD methods, originally designed for computer vision tasks, neglect the unique temporal dependencies and memory retention characteristics of time series models. To bridge this gap, we propose a novel KD framework termed Memory-Discrepancy Knowledge Distillation (MemKD). MemKD leverages a specialized loss function to capture memory retention discrepancies between the teacher and student models across subsequences within time series data, ensuring that the student model effectively mimics the teacher's behaviour. This approach facilitates the development of compact, high-performing recurrent neural networks suitable for real-time, time series analysis tasks. We provide additional experiments, in-depth theoretical analysis, and insights into the proposed framework across extended time series benchmarks. Our experiments demonstrate that MemKD significantly outperforms state-of-the-art KD methods. Additionally, we demonstrate that it can match the teacher model's performance across a wide range of compression levels, achieving notable reductions in parameter count and memory usage without a significant loss in accuracy.

Figures & tables

Explore similar work

CardsList
  1. Enhancing deep learning models for time series classification via knowledge distillation

    Jul 7, 2026Javidan Abdullayev, Maxime Devanne, Jonathan Weber +1Time Series ClassificationKnowledge Distillation

  2. Memory in Deep Time-Series Models

    Sep 5, 2026Minh Hoang Nguyen, Huu Hiep Nguyen, Manh Nguyen +3Memory-Augmented Neural NetworksSequence Modeling

  3. SPaRSe-TIME: Saliency-Projected Low-Rank Temporal Modeling for Efficient and Interpretable Time Series Prediction

    Apr 19, 2026K. A. ShahriarTime Series ForecastingTime Series Decomposition