English

ComMem: Complementary Memory Systems for Test-Time Adaptation of Vision-Language Models

Artificial Intelligence 2026-06-27 v1

Abstract

Test-time adaptation (TTA) of vision-language models (VLMs) is essential for their robust deployment in dynamic, real-world environments. However, existing TTA methods often adapt locally without accumulating knowledge over time, or operating within a single modality without exploiting VLMs' inherently multi-modal nature. Inspired by the \textbf{Com}plementary \textbf{Mem}ory systems of the biological brain, we propose \textbf{ComMem}, an innovative approach that mimics the distinct but cooperative roles of the hippocampus and neocortex to enable effective TTA for VLMs. ComMem consists of two key components: a fast-adapting detailed memory, akin to the hippocampus, that forms a dynamic visual cache from high-confidence test samples; and a slow-integrating abstract memory, akin to the neocortex, that continually refines global textual prototypes. For each test instance, ComMem jointly optimizes both memory systems to ensure cross-modal consistency. Extensive experiments on 15 benchmark datasets show that ComMem significantly outperforms state-of-the-art methods under both natural distribution shifts and cross-dataset generalization, offering a promising direction for enhancing VLMs' practical adaptability.

Cite

@article{arxiv.2606.28719,
  title  = {ComMem: Complementary Memory Systems for Test-Time Adaptation of Vision-Language Models},
  author = {Guanglong Sun and Shuang Cui and Bo Lei and Liyuan Wang and Zihan Zhai and Hongwei Yan and Hang Su and Jun Zhu and Yi Zhong},
  journal= {arXiv preprint arXiv:2606.28719},
  year   = {2026}
}

Comments

A brain-inspired complementary memory framework leveraging fast visual caching and slow textual refinement for VLM test-time adaptation