Random Representations Outperform Online Continually Learned Representations

Ameya Prabhu, Shiven Sinha, Ponnurangam Kumaraguru, Philip H. S. Torr, Ozan Sener +1 more
2/13/2024
cs.CVcs.LG

No official code found. Best implementation: drimpossible/RanDumb (8 stars, GPL-3.0, last commit 2024-07-21).

Abstract

Continual learning has primarily focused on the issue of catastrophic forgetting and the associated stability-plasticity tradeoffs. However, little attention has been paid to the efficacy of continually learned representations, as representations are learned alongside classifiers throughout the learning process. Our primary contribution is empirically demonstrating that existing online continually trained deep networks produce inferior representations compared to a simple pre-defined random transforms. Our approach projects raw pixels using a fixed random transform, approximating an RBF-Kernel initialized before any data is seen. We then train a simple linear classifier on top without storing any exemplars, processing one sample at a time in an online continual learning setting. This method, called RanDumb, significantly outperforms state-of-the-art continually learned representations across all standard online continual learning benchmarks. Our study reveals the significant limitations of representation learning, particularly in low-exemplar and online continual learning scenarios. Extending our investigation to popular exemplar-free scenarios with pretrained models, we find that training only a linear classifier on top of pretrained representations surpasses most continual fine-tuning and prompt-tuning strategies. Overall, our investigation challenges the prevailing assumptions about effective representation learning in online continual learning. Our code is available at://github.com/drimpossible/RanDumb.

View on arXivView PDF

Code Implementations(1)

GPL-3.0
83Shell, PythonMar 11, 20242 years agoGPL-3.0

Similar Papers

Cite this paper

@article{prabhu2024random,
  title  = {Random Representations Outperform Online Continually Learned Representations},
  author = {Ameya Prabhu and Shiven Sinha and Ponnurangam Kumaraguru and Philip H. S. Torr and Ozan Sener and Puneet K. Dokania},
  year   = {2024},
  eprint = {2402.08823},
  archivePrefix = {arXiv},
  doi    = {10.52202/079017-1200},
  url    = {http://arxiv.org/abs/2402.08823v3},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.08823.svg)](https://codeofpaper.com/paper/2402.08823)

Discussion