The Challenge of Catastrophic Forgetting
In Class-Incremental Learning (CIL), an AI model continuously learns new classes over time. The ultimate goal is to acquire new knowledge without erasing previously learned information—a pervasive issue known as catastrophic forgetting.
The most effective strategy to combat this is "rehearsal" or "replay," which involves maintaining a small memory buffer of old images (exemplars) to interleave with new data during training. However, memory is strictly finite. Storing raw, uncompressed images severely limits the number of exemplars you can keep. Conversely, using standard pixel-level compression methods (like downsampling) discards fine-grained details crucial for distinguishing between visually similar classes. This creates a bittersweet trade-off: retain a few high-quality images or many low-quality ones.
To break this bottleneck, researchers introduce TDMER, a novel approach that leverages tensor decomposition to compress image exemplars. This allows models to store significantly more historical data within the same memory budget, boosting the performance of state-of-the-art incremental learning algorithms by up to 9% without requiring extra storage.
Core Methodology: Tensor Decomposition
The core innovation of TDMER is the application of CANDECOMP/PARAFAC (CP) Tensor Decomposition to compress images within the replay buffer.
Instead of storing an image as a massive 3D grid of pixels (Channels × Height × Width), TDMER factorizes it into a sum of rank-1 tensors (essentially a set of small vectors). Because natural images possess high spatial correlation and low "intrinsic dimensionality," they can be represented by these factors with minimal reconstruction error. For instance, while an ImageNet image might contain 150,000 pixels, its intrinsic dimension is often estimated to be between 26 and 43. Tensor decomposition is mathematically ideal for exploiting this specific type of redundancy.
Hybrid Exemplar Selection and Training Pipeline
Rather than compressing every single image, TDMER employs a strategic two-stage selection process:
- Stage 1 (Quality): The system uses "herding" to select a small subset of the most representative raw samples for a given class, ensuring perfect fidelity for key anchors.
- Stage 2 (Quantity): It then randomly selects additional samples, compresses them using CP decomposition, and stores only the resulting factors.
During subsequent learning stages, the model is trained simultaneously on raw new data and the reconstructed old data read from memory. This adaptive training makes the network robust to the slight visual artifacts introduced by the compression process. TDMER is designed as a versatile, "plug-and-play" module compatible with existing CIL frameworks like iCaRL, DER, or FOSTER.
Key Results and Insights
The researchers evaluated TDMER across several standard benchmarks, ranging from low-resolution datasets (CIFAR-100, 32x32) to high-resolution ones (ImageNet-100 & ImageNet-1k). The results highlight a critical insight: for neural networks, having access to a larger diversity of compressed samples is often more beneficial than having a tiny handful of perfect, uncompressed samples.
- Universal Accuracy Boosts: Integrating TDMER into the iCaRL baseline on CIFAR-100 increased the "Last Accuracy" (performance after all tasks are learned) by an impressive 8.99%.
- State-of-the-Art High-Res Performance: On ImageNet-100, combining the DER baseline with TDMER achieved a state-of-the-art 79.75% average accuracy, outperforming other memory-efficient methods like Masked Autoencoders (MAE-CIL).
- High Compression Efficiency: TDMER achieved a compression ratio of roughly 0.24 to 0.26—meaning data takes up only about a quarter of its original space—while maintaining higher classification accuracy than simple downsampling.
Limitations and Future Directions
While highly effective, TDMER does have limitations. The "Rank" ($R$) of the tensor decomposition is a crucial hyperparameter. While the method is generally robust, finding the absolute optimal rank for a brand-new dataset requires manual tuning. Additionally, decomposing every image into tensors during the "write" phase introduces computational overhead, though this cost is largely offset by the substantial gains in accuracy.
Future work may explore alternative decomposition methods. While CP decomposition was chosen for its simplicity and low storage footprint, techniques like Tucker or Tensor-Train decomposition could offer unique advantages for more complex data modalities, such as video streams or 3D medical volumes.
Summary updated