TL;DR
CoMem is a novel framework for continual vision-language learning that replaces the storage of raw images with a compact, structured "concept-graph" memory. By rehearsing directly in feature space using sampled subgraphs and enforcing compositional consistency, it achieves state-of-the-art performance in retention and transfer while remaining privacy-friendly and memory-efficient.
What Problem Does This Paper Address?
Foundation Vision-Language Models (VLMs) like CLIP are powerful, but they suffer from catastrophic forgetting: when fine-tuned on new data or domains, they quickly lose the knowledge they acquired previously.
In real-world deployments, this problem is compounded by three major constraints:
- Privacy: Systems often cannot store raw user data (images) for later rehearsal.
- Memory Budgets: Storing thousands of exemplars is expensive and scales poorly.
- Compositionality: Models need to not just remember "objects," but also how to recombine attributes and relations (e.g., remembering "red" and "car" to understand a "red car" in a new context).
Existing solutions either try to limit parameter drift (which hurts plasticity) or use synthetic data generation (which can be slow and introduce teacher biases). CoMem seeks a middle ground: a memory that is structured, compact, and operates entirely in the model's internal feature space.
Methods: The CoMem Framework
The authors introduce CoMem (Compositional Concept-Graph Memory), which treats compositional structure as the fundamental unit of memory.
The workflow consists of three main stages:
- Concept Induction: Instead of saving an image, the model extracts "triplets" (Attribute, Entity, Relation) from image-text pairs. It uses a lightweight text parser and a "visual verifier" (based on a frozen teacher model) to ensure these concepts are grounded and noise-free.
- Graph Memory & Anchors: These triplets are organized into a graph. Instead of raw pixels, each node stores "anchors"—small sets of token-level features. This makes the memory extremely compact and privacy-compliant.
- Graph-Conditioned Replay: To rehearse, the model doesn't "look" at old images. Instead, it samples subgraphs (using a diversity-promoting algorithm called k-DPP) and uses a Graph-Conditioned Feature Generator to synthesize features in the representation space.
- Compositional Consistency: A key innovation is the use of a Product of Experts (PoE) loss and Typed Contrast loss. These ensure that the model’s predictions for a whole scene are consistent with its predictions for individual parts (e.g., the probability of a "speeding racing car" should align with the marginal probabilities of "speeding," "racing," and "car").
Key Insights and Ideas
- Structure-as-Memory: The most significant insight is that we don't need pixels to remember; we need the relationships between concepts. By storing a graph, the model can "re-imagine" informative combinations of concepts it has seen before.
- Rehearsing where Learning Happens: By generating features directly in the embedding space rather than pixels in image space, CoMem avoids the massive computational overhead of generative models (like GANs or Diffusion) while staying "on-manifold."
- Teacher-Filtered Replay: The model uses an entropy-based gate to ignore synthetic samples that the teacher model is uncertain about. This prevents "off-manifold drift," where the model starts learning from its own hallucinations.
- Fair Budgets: The paper emphasizes "fair" comparisons, showing that CoMem outperforms other methods even when they are given the same number of trainable parameters and the same memory budget in megabytes.
Datasets and Evaluation
The framework was evaluated on three distinct streams designed to test different aspects of continual learning:
- SVLC (ConStruct-VL): A data-free sequence focused on structured concept families (Color, Material, Size, etc.) to probe retention and recomposition.
- Cross-Domain Retrieval: A multi-domain sequence spanning COCO, Flickr30K, IAPR TC-12, RSICD, and ECommerce-T2I, testing zero-shot retention and robustness.
- Continual Multimodal VQA: Using VQACL (a 10-skill sequence) and CLOVE (scene-incremental and function-incremental tasks) to test reasoning.
Key Results
- Superior Retention: On cross-domain retrieval, CoMem achieved an average mean Recall (mR) of 76.6%, outperforming the previous SOTA (GIFT) by 3.3% while having the lowest Average Forgetting (AF) at 1.9.
- VQA Performance: On the VQACL benchmark, CoMem reached 55.8% accuracy, significantly higher than MLLM-based experts like CL-MoE (54.1%) and synthetic replay methods like GIFT (52.0%).
- Efficiency: CoMem remains stable across long horizons (up to 18 tasks) and shows "diminishing returns" only at very high memory budgets, suggesting it is highly optimized for low-resource settings.
- Zero-Shot Transfer: The model showed strong "Forward Transfer," meaning learning earlier tasks actually helped it perform better on future, unseen domains.
Limitations and Future Work
- Fixed Schema: The current version relies on a relatively lightweight text parser and a predefined set of relation types. This might limit its ability to discover entirely new, complex relations in an "open-world" setting.
- Text Parsing Dependency: The quality of the memory is currently tied to the initial Information Extraction (IE) step.
- Future Directions: The authors suggest moving toward end-to-end concept discovery (removing the fixed schema) and integrating CoMem with instruction-tuned Large Multimodal Models (LMMs). They also see potential for this "privacy-friendly" memory in federated learning and robotics.
Summary updated