All models

MEMO-continual

A class-incremental image classifier that shares generalized layers and extends specialized layers for new classes.

Image classification · 480 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (20 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
3.7M
Operations
480
Framework
PyTorch
Recurrent
No
Published
ICLR 2023
Cited by
44 (as of 29 October 2026)
Authors
Da-Wei Zhou, Qi-Wei Wang, Han-Jia Ye, De-Chuan Zhan
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m18083
Graph hash
a12ab7cdb8d1b5ea316ca59047e0a3a20205f01f0edef706f4bfaaa5fc82fd6f
Skeleton hash
137f6e4af34f4dfad61664b4af8064b10c6e87d923fad8b9c09768dba6a1c302
Architecture hash
5335229e1e5d0c037d0f8aa1d6425b3c19e1b694eac6e8e985d7e2fbaa620419
Diagram SHA-256
b138c27504633dcda663afb93f3667776526adb92394a607981b5d3e9929e4db
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

MEMO, short for Memory-efficient Expandable MOdel, is a baseline for class-incremental learning, where a classifier has to adapt to new classes without forgetting old ones. The paper starts from a point about accounting: methods that store earlier models to resist forgetting did not count those models in the memory budget, which the authors say results in unfair comparisons. When model size is counted and methods are compared at aligned memory size, they find that saving models does not consistently work, especially with limited memory budgets.

The design follows from an analysis of the network's layers, in which the authors find that shallow and deep layers have different characteristics in class-incremental learning. MEMO therefore keeps the generalized representations shared and extends only specialized layers, which gives diverse representations at modest cost while representative exemplars are still kept. The repository's training command for CIFAR100 selects a network named memo_resnet32.

The paper was accepted to ICLR 2023 as a Spotlight Presentation. MEMO is also one of the methods implemented in the PyCIL toolbox for class-incremental learning.

Key idea. MEMO extends specialized layers on top of shared generalized representations, giving diverse representations at modest memory cost in class-incremental learning.

  • MEMO
  • Memory-efficient Expandable MOdel
  • MEMO-continual
  • class-incremental learning
  • CIL
  • continual learning
  • A Model or 603 Exemplars
  • memory-efficient incremental learning

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{zhou2023model603exemplarsmemoryefficient,
      title={A Model or 603 Exemplars: Towards Memory-Efficient Class-Incremental Learning}, 
      author={Da-Wei Zhou and Qi-Wei Wang and Han-Jia Ye and De-Chuan Zhan},
      year={2023},
      eprint={2205.13218},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2205.13218}, 
}