cs.CVNov 24, 2026

Memory as the Backbone: A Dual-Store Associative Memory Architecture for Visual Recognition

Authors: Ruizhi Wang, Xiangtao Wang, Bayar Menzat, Jianfeng Wang, Thomas Lukasiewicz

Organizations: Faculty of Informatics, Vienna University of Technology, Austria · Department of Computer Science, University of Oxford, United Kingdom

Abstract

We investigate whether explicit memory can serve as the organizing principle of a general-purpose visual backbone. Inspired by the interaction between working and long-term memory in human cognition, we introduce DuSAM (Dual-Store Associative Memory), a hierarchical memory-native visual backbone coupling image-local working memory (WM) with a fixed-capacity persistent semantic memory (PM). WM organizes local visual evidence into compact, spatially anchored states that are updated and transported across stages, then read back to refine dense features. PM consolidates semantic evidence from training images and annotated regions into prototypes, whose retrieved content enriches the same working states. With these memory operations in place of self-attention or state-space blocks, DuSAM achieves competitive performance relative to representative, similarly sized backbones on ImageNet-1K classification, ADE20K semantic segmentation, and COCO object detection and instance segmentation. Ablations show contributions from both stores, with PM particularly benefiting class groups with fewer annotated training pixels. At 2048×20482048\times2048, the complete DuSAM-based UPerNet segmentor achieves 2.36×2.36\times the throughput of the evaluated DeiT-S/16 counterpart while using 59.5%59.5\% less GPU memory, and 1.24×1.24\times the throughput of the linear-complexity VMamba-T. Memory analyses reveal spatially selective WM access and semantic associations between retrieved prototypes and training regions. Class-targeted removal and restoration further demonstrate that category-specific experience can be replenished through state updates without changing network parameters. These results establish explicit memory as a viable organizing principle for visual backbones and provide a foundation for jointly designing contextual computation and addressable semantic memory.

Figures & tables

Appendix figures & tables12 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Where Should Experience Live? Hierarchical Hebbian Memory for Continual Vision Transformers

    Aug 31, 2026Mohammed Yusuf Mujawar, Noorbakhsh Amiri GolilarzHebbian LearningVision Transformer

  2. Vision Hopfield Memory Networks for Image Recognition

    Mar 26, 2026Jianfeng Wang, Amine M'Charrak, Luk Koska +6Memory-Augmented Neural NetworksHopfield Networks

  3. ReMAP: Restoring the Perceptual Cycle with Reasoning-Time Latent Visual Memory

    Oct 4, 2026Hao Jiang, Zhanyu Guo, Chenwei Wu +11Memory-Augmented VLMsEfficient Multimodal Inference