Paper commentary
RanDumb: Random Representations Outperform Online Continually Learned Representations
Random fixed features beat learned representations in online continual learning
- Problem Continual learning assumes learned representations beat fixed ones, but nobody tested this. Online learning sees each sample once, so the learned features may never converge.
- Method RanDumb keeps a fixed random Fourier feature map instead of learning an encoder. It updates only running class means and a covariance matrix as samples arrive.
- Results RanDumb scored 98.3 on MNIST, compared to 92.3 for PEC.
Why learned representations go unchecked
Continual learning is usually built on training the representation together with the classifier. The reason is a belief carried over from supervised deep learning, that learned features beat fixed kernel-style features. That belief was never tested in continual learning, where networks often receive too few updates to converge.
Online continual learning makes this worse, because each sample is seen once and then discarded. So the study asks whether continually learned representations are actually better than a fixed alternative. To answer this, the authors pair a random representation with a plain linear classifier and call the result RanDumb.
A fixed random kernel with a decorrelated class-mean classifier
RanDumb keeps the feature map fixed and learns only class statistics, so the representation never changes during learning. Its starting point is the nearest class mean classifier, which compares a test sample with the mean of each class. Classes are not linearly separable in pixel space, so RanDumb first projects the pixels into a higher-dimensional space.
The ideal map would be the RBF kernel, exp(−γ‖x − y‖²), but computing it needs distances between all pairs of points, which online learning does not allow. The authors therefore use random Fourier features ϕ(x), where ϕ(x)ᵀϕ(y) approximates the RBF kernel. The frequencies are drawn once from a Gaussian with mean zero and covariance 2γI, and they are never updated.
Each feature vector stacks cos and sin terms of these frequencies, scaled by 1/√D, which gives 2D dimensions.
Random features still have dimensions with different variances, so the decision needs a normalizing step. The inverse is computed from S + λI, which adds a ridge term to keep it stable.
During learning, only the running class means and the empirical covariance are updated as samples arrive. The inverse covariance is updated with the Sherman–Morrison formula instead of being recomputed from scratch. For pretrained backbones in Benchmark F, frozen ViT-B/16 features replace the random map, and only the linear classifier is trained.
Benchmark A, C and exemplar-free comparisons
The authors summarize the remaining datasets as 2-6% margins over prior state-of-the-art methods.
Against the continually trained VAE-GC and SLCA, the authors report margins of 5-15%. They read this as evidence that current online continual learning algorithms fail to learn effective representations on exemplar-free benchmarks.
On CIFAR100 under Benchmark C, RanDumb scored 28.6, compared to 24.6 for PredKD. That is a margin of 4.0 points, and the authors note that RanDumb still trains online while the benchmark is offline.
Ablations, embedding size and pretrained backbones
Removing decorrelation drops RanDumb's CIFAR10 score from 55.6 to 30.0. Removing the random embedding instead leaves 41.6, and removing both leaves 28.5. So on CIFAR10 both components are needed, and the authors keep both in the method.
Increasing the embedding size beyond 15K gives only modest gains, of 0.1%, 1.4%, 1.1% and 0.2% on the four datasets. Flip augmentation adds 3.1% on CIFAR10, and removing it drops the score to 52.5.
With frozen ViT-B/16 features pretrained on ImageNet-1K, L2P scored 2.4 on CIFAR, compared to 84.5 for RanDumb. With ImageNet-21K features RanDumb scored 86.8 on CIFAR, and the prompt-tuning methods collapse under one class per task. The authors hypothesize that prompts built for only two classes have too little discriminative power to carry across tasks.
Limitations
The paper gives no theory for why the training dynamics of continual learning algorithms fail to learn good representations. RanDumb is limited in scope to low-exemplar and online continual learning, and the authors leave high-exemplar and offline settings open.
OnPro beats RanDumb on CIFAR10 by 2.2% under Benchmark B.2. Benchmark C runs offline and Benchmark F uses large pretrained backbones with only the linear classifier trained, so neither is the one-pass setting the method was built for.
Paper info
- Authors
- Prabhu, Ameya, Sinha, Shiven, Kumaraguru, Ponnurangam, Torr, Philip, Sener, Ozan, Dokania, Puneet K.
- Venue
- Advances in Neural Information Processing Systems · Published
- First published
- 2024-12-16
- Added
- 2026-11-27
- DOI
- 10.52202/079017-1200
- Original paper terms
- Check in the original ↗
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Prabhu, Ameya, Sinha, Shiven, Kumaraguru, Ponnurangam, Torr, Philip, Sener, Ozan, Dokania, Puneet K. (2024). RanDumb: Random Representations Outperform Online Continually Learned Representations. Advances in Neural Information Processing Systems. https://doi.org/10.52202/079017-1200
BibTeX
@article{ameya2024randumb,
title = {{RanDumb: Random Representations Outperform Online Continually Learned Representations}},
author = {Prabhu, Ameya and Sinha, Shiven and Kumaraguru, Ponnurangam and Torr, Philip and Sener, Ozan and Dokania, Puneet K.},
year = {2024},
journal = {Advances in Neural Information Processing Systems},
doi = {10.52202/079017-1200},
url = {https://papers.nips.cc/paper_files/paper/2024/hash/4309616aaed8e848009bc4a7ef73b493-Abstract-Conference.html}
}