Abstract
Continual learning (CL) allows artificial intelligence models to acquire new knowledge sequentially; however, it is frequently hampered by "catastrophic forgetting," where new information overwrites previously learned tasks. While rehearsal-based strategies—which maintain a buffer of past data—are effective, they impose significant memory and computational burdens that are often untenable for resource-constrained edge devices. This paper presents CLFD (Continual Learning in the Frequency Domain), a novel framework that leverages Discrete Wavelet Transforms (DWT) to compress image data and selectively filter features based on frequency. By shifting training from the spatial to the frequency domain, CLFD achieves up to a 2.6× speedup and 3.0× memory reduction on edge hardware like the NVIDIA Jetson, while simultaneously improving accuracy by up to 6.83%.
Introduction
As AI moves from centralized cloud servers to the "edge"—powering drones, smart cameras, and mobile robots—the ability to learn incrementally without losing prior knowledge is critical. The primary challenge in this domain is the trade-off between stability (retaining old knowledge) and plasticity (learning new tasks). Rehearsal-based methods are the current state-of-the-art for maintaining stability, but storing high-resolution images in a buffer is inefficient. Current efficiency-focused methods often sacrifice spatial information or predictive accuracy. CLFD addresses this by reimagining how data is represented and processed, utilizing the inherent efficiencies of the frequency domain to make rehearsal viable for real-world hardware.
Methodology
The CLFD framework introduces two primary architectural innovations designed to optimize both the storage and processing of rehearsal data.
1. Frequency Domain Feature Encoder (FFE)
Traditional neural networks process raw pixels in the spatial domain. CLFD replaces this input stage with a Frequency Domain Feature Encoder (FFE) utilizing the Discrete Wavelet Transform (DWT). Unlike the Discrete Cosine Transform (DCT) used in standard JPEG compression, the DWT preserves both frequency and spatial information. This preservation is vital because it allows the model to continue using standard data augmentation techniques (such as cropping or flipping) while reducing the input feature map size by 50% in both width and height. To ensure a stable foundation for learning, the FFE is frozen after the first task, preventing the encoder itself from forgetting how to extract essential features.
2. Class-aware Frequency Domain Feature Selection (CFFS)
Inspired by the Human Visual System (HVS), which prioritizes low-frequency structural shapes over high-frequency noise, the CFFS component selectively determines which frequency features are most relevant for specific classes. It employs a novel "Frequency Dropout" mechanism that calculates the cosine similarity between classes. This ensures that semantically similar classes (e.g., "cat" and "dog") share frequency features, while dissimilar classes are forced to utilize distinct features. This targeted selection significantly reduces inter-task interference, a major driver of catastrophic forgetting.
Experimental Setup
The framework was rigorously evaluated on three standard continual learning benchmarks:
- Split CIFAR-10: A 10-class dataset split into five sequential tasks.
- Split Tiny ImageNet: A more complex 200-class dataset split into ten tasks.
- ImageNet-R: A challenging variant of ImageNet containing artistic renditions (sketches, cartoons), used to test the model's robustness to domain shifts.
Testing was conducted across both high-performance cloud environments (NVIDIA GTX 2080Ti) and edge-specific hardware (NVIDIA Jetson Orin NX) to measure real-world efficiency gains.
Key Results and Discussion
Performance and Accuracy
CLFD demonstrated that learning in the frequency domain is not just more efficient, but more effective. By optimizing the input and output features of the feature extractor, CLFD can be integrated into existing rehearsal-based methods (such as ER, DER++, or CLS-ER). In testing, this integration boosted the accuracy of state-of-the-art methods by as much as 6.83%.
Resource Efficiency on the Edge
The most significant impact of CLFD was observed on the Jetson Orin NX hardware:
- Training Speed: Achieved a 2.6× speedup in training time.
- Memory Footprint: Reduced peak memory usage by 3.0×.
- Buffer Optimization: Because encoded frequency features are significantly smaller than raw pixel data, the model can store a larger number of "experience" samples within the same fixed memory buffer, directly mitigating forgetting.
The Role of Frequency
The study confirms that while CNNs rely heavily on low-frequency components for general accuracy, high-frequency components provide the necessary "texture" details that prevent information loss during downsampling. CLFD successfully balances these components to maintain high performance at a lower computational cost.
Limitations and Future Work
While CLFD represents a significant step forward, the authors note certain limitations. The framework is currently optimized for rehearsal-based methods and its utility in "bufferless" scenarios remains to be tested. Additionally, while the model excels at stability, there is a minor trade-off in plasticity when the model is presented with highly divergent, brand-new tasks. Future research will explore how this frequency-domain approach scales in environments where memory constraints are less severe and how it might be adapted for non-rehearsal learning paradigms.
Conclusion
By proving that AI can learn more effectively in the frequency domain, CLFD provides a blueprint for deploying sophisticated, ever-evolving models on low-power devices. This approach bridges the gap between high-performance deep learning and the practical constraints of edge computing, enabling smarter, more persistent AI in the real world.
Summary updated