TL;DR
PolarMem is a training-free memory framework that introduces explicit negative memory (NOT_HAS constraints) to Vision-Language Models (VLMs). By organizing memory into a polarized graph and prioritizing logical consistency over semantic similarity during retrieval, it significantly reduces hallucinations and prevents contradictory evidence from entering the model's context window.
What Problem Does This Paper Address?
Current retrieval-augmented generation (RAG) and memory systems for Vision-Language Models (VLMs) suffer from a fundamental flaw: structural positive bias. They excel at finding information that is semantically similar or relevant to a query, but they completely lack a mechanism to encode negation—what is absent, logically excluded, or proven false.
When a VLM agent queries its memory, standard vector databases or positive-only knowledge graphs often retrieve evidence that looks highly relevant on paper but flatly contradicts the current visual reality. This leads to severe retrieval-induced hallucinations. As shown in Figure 1, existing paradigms either ignore negation entirely or try to self-correct after the conflicting information has already contaminated the context window.
Methods
The authors introduce PolarMem, an inference-time, training-free framework that restructures a frozen VLM's perceptual signals into a verifiable constraint structure. The pipeline consists of three core components:
- Dual-Pathway Logic Construction:
- Visual Pathway: The frozen VLM proposes an open-set list of candidate concepts. PolarMem uses ensemble semantic consistency verification (multi-prompt querying) to score the VLM's confidence in each concept. It then applies adaptive distributional partitioning (maximizing inter-class variance, similar to Otsu's thresholding method) to categorize concepts into three distinct logical states:
HAS(verified positive),NOT_HAS(verified negative), andUncertain. - Textual Pathway: Text documents are chunked, and an entity extraction operator identifies semantic entities to align text memories with the visual concept states.
-
Polarized Latent Graph Memory ($G_{polar}$): The extracted states are stored in a heterogeneous graph. Unlike traditional graphs that only map positive associations, PolarMem introduces explicit, orthogonal $\mathcal{E}_{NOT\_HAS}$ edges alongside $\mathcal{E}_{HAS}$ edges. A hybrid embedding function encodes these symbolic states back into latent space to enable high-recall semantic matching.
-
Lexicographical Logic-Aware Retrieval: During retrieval, PolarMem completely reformulates how memory is read. Instead of maximizing simple vector similarity, it uses a lexicographical ranking rule: it first filters out any memory node that violates the query's logical constraints (assigning a logical state score $s_{log} = -1$). Semantic similarity is only used to rank memories after logical consistency is fully satisfied.
Datasets
PolarMem was evaluated across six diverse multimodal benchmarks, categorized by their core tasks:
- Multimodal RAG / Retrieval-Intensive: MRAG-Bench (vision-centric RAG across 9 scenarios), MRAMG-Bench (multimodal generation requiring interleaved text/image outputs), and Visual-RAG (knowledge-intensive text-to-image retrieval).
- General Understanding & Validity: MMMU (expert-level multi-discipline university exam questions) and MMStar (a curated dataset enforcing strict visual dependency to eliminate language priors).
- Safety & Robustness: HallusionBench (diagnosing visual illusions and logical consistency via control groups).
Key Insights and Ideas
- Memory as a Constraint, Not Just a Container: A reliable memory system must actively constrain belief. Knowing what isn't there is just as computationally valuable for reasoning as knowing what is there.
- The Failure of Pure Similarity: Increasing vector database capacity or adding standard graph structures (like GraphRAG) is fundamentally insufficient for resolving logical conflicts because similarity metrics collapse truth and relevance into a single continuous score.
- The Verifiability-Reasoning Flexibility Trade-off: Enforcing strict logical constraints dramatically improves performance in evidence-grounded, retrieval-heavy tasks. However, on open-ended general reasoning benchmarks (like MMMU), overly rigid constraints can occasionally limit the VLM's internal reasoning flexibility.
Key Results
The authors evaluated PolarMem across eight different frozen VLM backbones (including Qwen2.5-VL, InternVL-3.5, DeepSeek-VL2, and LLaVA-NeXT).
- Performance Gains: PolarMem achieved substantial improvements on retrieval-intensive tasks. For instance, on MRAG-Bench, it boosted performance across all eight backbones, yielding absolute gains of +10.1 on Qwen2.5-VL-7B, +8.4 on InternVL-3.5-8B, and +17.5 on LLaVA-NeXT-Mistral-7B compared to the baseline.
- Contradiction Filtering: At the retrieval level, PolarMem successfully suppressed contradictory evidence. On MRAG-Bench, it slashed the proportion of contradictory evidence in the top-3 context (Conflict@3) from 0.067 down to 0.033, while boosting the Contradiction Filter Rate from 0.875 to 0.938 (see Figure 3).
Limitations and Future Work
Because PolarMem is entirely training-free, it suffers from a proposal bottleneck: it is fundamentally bounded by the candidate concepts initially proposed by the frozen VLM. If the VLM fails to notice an answer-critical concept in its first pass, PolarMem cannot recover it.
Additionally, the ensemble verification process introduces notable computational overhead during the offline indexing phase. The authors suggest that future work should focus on optimizing this via selective concept verification, concept pruning, and extending polarized memory to dynamic, interactive environments where memory states evolve over time.
Summary updated