GLOVE: Global Verifier for LLM Memory-Environment Realignment

Xingkun Yin, Hongyang DuNeurIPS 2026

TL;DR

LLM agents rely on external memory to learn from past experiences,- much like keeping a journal of what works and what doesn't. But when the real world changes—a website updates its layout, or a hallway gets blocked—agents keep trusting their outdated notes, marching confidently into failure. GLOVE is a plug-and-play module that treats memories as testable hypotheses rather than permanent facts, actively probing the environment when surprises occur to overwrite stale memories on the fly.

What Problem Does This Paper Address?

To solve long-horizon tasks, LLM agents store past observations and actions in an external memory bank (similar to Retrieval-Augmented Generation, or RAG). The hidden flaw in almost all current agentic memory systems is that once an experience is written down, it is treated as permanent ground truth.

Current solutions try to manage memory in two ways, and both break down under environmental drift (when the rules or layout of the world change):

  1. Internal adaptation (reflection or passive decay): Agents summarize memories or slowly forget old ones. However, a stale memory can still be internally logical while being completely wrong about the current world. An agent will happily rationalize a doomed plan using an obsolete map.
  2. External feedback (rewards or verifiers): Agents update memory when they fail a task. But in the real world, feedback is often sparse or delayed until the very end of a long journey, leaving the agent clueless about which specific step in its memory went bad.

Without a way to check individual memories against live reality, an agent's memory bank degrades into a toxic mix of useful insights and high-confidence delusions.

Methods

Instead of relying on LLM introspection or oracle task-success labels, the authors introduce GLOVE (Global Verifier), a model-agnostic wrapper that establishes relative truth—defining memory validity strictly by whether it matches what the environment is doing right now.

Figure 1: The overview of the GLOVE-augmented LLM workflow.

GLOVE operates in a three-stage loop during live interaction:

  • 1. Cognitive Dissonance Detection: Whenever the agent takes an action from a familiar state, GLOVE compares the outcome to historical records of that exact same state-action pair. Because environments can be noisy or stochastic, a single weird outcome doesn't trigger a rewrite. Instead, GLOVE tracks the empirical probability distribution of past outcomes; if a new observation is statistically surprising for $p_{\text{th}}$ consecutive encounters, an alarm bells rings.
  • 2. Relative Truth Construction: Once dissonance is flagged, GLOVE shifts into active verification. In synchronous mode, the agent intentionally re-executes ("probes") the state-action pair $\alpha$ times to build a fresh, statistically reliable outcome distribution. When repeating an action immediately isn't possible or safe (like clicking "Buy" or navigating irreversible physical spaces), GLOVE falls back to replay-relaxed asynchronous mode: it temporarily quarantines (suppresses) the contradicted memory and waits to gather confirming evidence naturally over future episodes.
  • 3. Memory–Environment Realignment: GLOVE surgically removes the obsolete records for that state-action context from the memory bank and injects the newly verified outcomes, leaving the rest of the agent's architecture untouched.

Datasets

Rather than training models, the authors evaluate deployment-time adaptation by modifying three standard simulated benchmarks and one physical robot setup to include controlled environmental drifts:

  • WebShop: E-commerce web navigation modified with semantic drift (e.g., changing product attributes or hidden scoring logic).
  • FrozenLake: Grid-world discrete planning modified with topology drift (holes moving) and implicit reward reversals.
  • MountainCar: Classic continuous control modified with dynamics drift (changing physics/gravity).
  • HiWonder JetRover (Real-World Robot): A physical mobile robot navigating a cardboard maze with real sensor noise, where target colored blocks are swapped mid-deployment.

Key Insights and Ideas

  • The "Self-Confirming Exploration Deadlock": Why not just overwrite old memories whenever a new outcome happens? In a clever experiment, the authors show that naive overwrite rules fail when a previously bad path becomes good again. If Drift I puts a hole in front of the "Down" action, the agent learns to avoid going Down. If Drift II removes that hole, a standard agent never tries going Down again—selecting it 0 times across 381 steps! Because GLOVE actively probes suspected stale records rather than relying passively on the agent's biased policy, it breaks out of this deadlock.
  • Stale memory is often worse than no memory at all: Under hidden semantic drift in WebShop, a memoryless zero-shot GPT-4o agent scored 87.5%, whereas sophisticated memory agents like Voyager and Generative Agents dropped to 75% because they stubbornly trusted outdated experiences.
  • Asynchronous suppression works: You don't actually need a simulator reset button to verify memories. Simply suppressing a suspicious memory immediately stops the bleeding, allowing the agent to recover slightly slower—but just as effectively—through natural future encounters.

Key Results

GLOVE was tested across 7 LLM backbones (including GPT-4o, Grok-3, Llama-3.3-70B, and Qwen3-30B) and 4 memory baselines (Vanilla RAG, MemoryBank, Voyager, Generative Agents).

Table 1: GLOVE’s robustness to environmental drift (Explicit). Success rate in percent. The shaded rows show the performance of GLOVE-augmented agents. The LLM is GPT-4o. We anno- tate the performance gap relative to the baseline (e.g., (↑56.3) indicates improvement).
  • Recovering from total collapse (Explicit Drift): With GPT-4o on WebShop and FrozenLake, standard Voyager and Vanilla RAG plummeted from 85% to 0% success after drift. Adding GLOVE bounced performance right back to 75%–95%.
  • Handling Invisible Changes (Implicit Drift): When reward rules flipped invisibly in FrozenLake, GPT-4o + Vanilla memory lingered at 50%, while +GLOVE jumped to 97.5%.
  • Beating Adaptive Baselines on a Strict Budget: Given an identical budget of 310 post-drift interactions on FrozenLake (including GLOVE's extra probing steps), GLOVE achieved 31 task successes compared to 18 for the best online-updating baseline.
  • Real-World Robotics: On the physical JetRover, static memory collapsed to 0% after target blocks were swapped, continuously driving to the old location, whereas GLOVE detected the mismatch, ignored minor physical wall shifts, and recovered reliable navigation.

Limitations and Future Work

  • Observational Blind Spots: GLOVE relies entirely on observable interaction evidence (state transitions, scores, user responses, or delayed feedback). As the authors note, if an environmental drift changes neither transitions nor any observable downstream feedback, the change is mathematically indistinguishable from a stationary world, and GLOVE cannot detect it.
  • Replay Constraints & Delay: Synchronous active probing assumes you can safely repeat an action in the exact same state, which fails in irreversible or safety-critical domains. While the replay-relaxed asynchronous mode solves the safety issue, waiting for natural re-encounters delays recovery (e.g., recovering at Episode 32 instead of Episode 26 in FrozenLake).
  • Future Directions: Extending deployment-time memory verification toward broader self-evolving cognitive agents operating over long horizons.

Summary updated

BibTeX
@inproceedings{yin2026glove,
  author = {Xingkun Yin and Hongyang Du},
  title = {{GLOVE: Global Verifier for LLM Memory-Environment Realignment}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=AAW7ljVgUz},
}
Figure