Text Keys, Image Evidence: Object Memory That Survives Irreversible Change

Household robots and game agents built from hand-written rules break in a predictable way. The rules assume the world matches what the designer anticipated, and when it doesn't, the agent keeps executing a plan that no longer fits. Learned agents that replace those rules still need memory of what they have seen, and the two common kinds of memory fail in opposite directions. A recurrent hidden vector, a fixed-size summary updated at every step, forgets old observations roughly exponentially fast. A running text log ("a mug is on the counter") never fades, but it keeps only what the describing model chose to write down. The details it drops are often the ones that matter after an irreversible action: whether the apple was already sliced, which of two mugs was rinsed, whether the drawer holding the target was opened and emptied.

We propose a memory in which each remembered object is indexed by a short text entry that a planner can read, and each entry also stores a compact visual embedding of that object's most recent appearance. At decision time, a small verifier checks the text claims the plan depends on against the stored images. The bet is that most of the damage text memory does is concentrated in a narrow set of cases: same-class objects that need telling apart, and objects whose state changed through an action the agent took. One stored image embedding per object, rather than per frame, should repair those cases. It avoids the forgetting of recurrent memory and the cost of attending over the full visual history.

Core Claim

In long-horizon embodied tasks, a text-only object memory fails mainly on state-changed and same-class objects. Attaching a per-object visual embedding, and re-checking the planner's required conditions against it, recovers most of the gap to a perfect-memory oracle at near-constant memory cost. It does so without the extra navigation steps that going back to look again would cost. If the failures of text memory turn out to be spread uniformly, or if a more verbose text log closes the gap, the claim is false. The experiments are built to detect either outcome.

Where This Sits

Three bodies of work motivate the proposal. The first is the theory of forgetting: Do RNN and LSTM have Long Memory? proves that bounded recurrent networks lose the influence of past inputs exponentially. Recurrent Residual Learning for Sequence Classification shows that even an open-gated LSTM washes out a stored signal under many intervening inputs. Their fixes, fractional-differencing filters and skip connections, slow the decay without removing it, and they are tested only on single-modality sequences. The second is empirical evidence that this forgetting cripples agents. The end-to-end sequence-to-sequence model in ALFRED reaches 3.7% success in seen scenes and 0.4% in unseen ones, against 91% for humans. The third is the text bottleneck itself. Planning with an Embodied Learnable Memory keeps a vision-language-model-written list of objects with add, update and remove edits, and reports a 55% absolute success gain over DynaMem on PARTNR. The same paper names the text format as discarding geometry and fine state. We build directly on its text-list design and add the visual evidence it lacks.

Two papers constrain the design. Egocentric Planning for Scalable Embodied Task Achievement (EPA) pairs a persistent semantic map with a symbolic planner written in PDDL, a standard language for describing planning problems. It reaches 36.07% success on ALFRED's unseen test set. It explicitly assumes actions can be undone, and it goes blind when its detector misses an object or attribute. Its map avoids recurrent decay but stores symbols, so it shares the text log's blind spots. We keep its planner and add verification beneath it. Structured Scene Memory stores visual features on graph nodes for navigation and allows jumps back to visited nodes. That jump-back action becomes misleading when a node's contents have been irreversibly altered, and this is exactly the regime we target. Embodied BERT shows that attending over the full multimodal history on ALFRED is too expensive and falls back on cached segment recurrence. This rules out the "just keep every frame" design at scale.

Two papers supply methods. Eidetic 3D LSTM retrieves past visual states with gated attention, but it does so per frame and in pixels only. We borrow the retrieval idea at the granularity of objects. For the verifier that compares text claims with stored crops, MAF shows that raw region features plus visually conditioned text beat detector labels alone for telling same-class instances apart: 61.43% versus 38.71% on Flickr30k Entities. Learning Robust Visual-Semantic Embeddings shows that aligning whole distributions, not only matched pairs, helps on unseen classes. We use its distribution-matching loss only as an ablation for unseen objects.

The closest system overall is the embodied learnable memory. It differs from our proposal in one respect that matters: it commits every observation to text and can never re-read what it saw.

Research Program

The memory holds one entry per object instance. Each entry has a text field in the same format as the learnable-memory work: class, receptacle, and state words such as sliced, clean, open or broken. It also has a visual field: a frozen image-encoder embedding of the object's detector crop, replaced whenever the object is re-observed. Each entry carries a timestamp and a flag set when the agent's own action touched that object.

Planning follows EPA. Symbolic facts are read from the text fields, and the PDDL planner proposes an action sequence. Before each manipulation step, a verifier takes every condition that step depends on, such as "the mug is clean" or "this is the mug that was rinsed". It scores each condition against the stored embeddings. When the verifier disagrees with the text with high confidence, the text entry is corrected and the planner replans. When the verifier is uncertain, the agent falls back to EPA's exploration and goes to look.

The verifier is a small cross-attention model trained on ALFRED's ground-truth object states from training scenes. For entries flagged as touched by the agent, the verifier's check is mandatory. This is where the reversibility assumption fails. Memory cost grows with the number of objects, not the number of steps.

The analysis has two parts. First, we instrument ALFRED rollouts of the text-only system and label every failure by cause: memory error, perception error, planning error, or motor error. This establishes whether memory errors concentrate on touched and same-class objects, which the core claim predicts. Second, we build a delayed-recall probe from ALFRED episodes. At a delay of $k$ steps after an object was last seen, the system is asked its state and identity. We plot accuracy against $k$ for four memories: the recurrent latent, the text log, a frame buffer, and our object memory. The theory predicts a steep drop for the recurrent latent, a flat but capped curve for text, and a flat, higher curve for ours.

Baselines

The naive reference point is the ALFRED sequence-to-sequence model, which uses a ResNet image encoder and LSTM decoder with only a recurrent state for memory. It reports 3.7% seen and 0.4% unseen success (ALFRED). We rerun it on our splits only for the recall probe, where it anchors the forgetting curve.

The strongest existing method on this benchmark is EPA, which reports 36.07% success on ALFRED unseen test. It is the right competitor because it already avoids recurrent decay through a persistent map. Any gain we show therefore cannot come merely from "having memory". We use its released pipeline where possible, with the same detector, planner and step limit. Our system is EPA plus the visual field and the verifier, so the comparison isolates exactly our addition. Beating it means a statistically significant gain in unseen success at an equal step budget, with the gain concentrated in episodes that the failure analysis tags as memory-dependent. A uniform small gain would suggest the verifier is just acting as a better detector.

The key ablation is our own system with the visual field removed and a text-only memory in the style of the learnable-memory paper Planning with an Embodied Learnable Memory. It uses the same planner, detector and training data. On ALFRED there is no reported result found on Lacuna for this text-memory approach, and its PARTNR result is reported only as a relative gain over DynaMem. We therefore run it ourselves.

A second ablation keeps the visual field but disables the mandatory check on touched objects. This isolates whether the irreversibility flag, rather than generic re-verification, carries the gain.

Finally, an oracle that reads ground-truth object states gives the ceiling. We report our result as the fraction of the text-to-oracle gap closed.

Why not just…?

Why not just write richer text? A vision-language model prompted for exhaustive descriptions, covering color, fill level and slicing, might capture most of what the embeddings capture. This is the most serious threat. We run it as a baseline with a verbose-caption memory matched to our system's token budget in the planner. If it closes more than roughly half of what our method closes on the memory-dependent subset, the visual field is not earning its place. In that case the paper becomes a study of which state words matter. The asymmetry we expect is on same-class instances, where the text must anticipate which distinguishing detail will later matter. MAF's finding that detector labels and attributes underperform raw region features for exactly this problem is the evidence in our favor.

Why not just keep all frames and let a long-context model attend over them? Embodied BERT reports that full attention over ALFRED-length multimodal histories is too costly and resorts to segment recurrence. Time-series work on transformers Enhancing the Locality and Breaking the Memory Bottleneck of Transformer on Time Series Forecasting reports degradation as the horizon grows. We still include a frame-buffer baseline capped at our memory size in bytes. It tells us whether per-object organization matters or whether stored pixels alone do the work.

Why not just go back and look again? EPA's exploration already re-observes objects when the planner is stuck, and re-observation is always correct when it succeeds. The cost is steps, and ALFRED penalizes path length. We compare against a policy that re-observes before every manipulation of a touched object. Our system should match its success with measurably fewer steps. If it does not, the verifier is not worth the added complexity.

Why not just use a better recurrent cell? Fractional-differencing LSTMs and skip-connected LSTMs slow forgetting only to polynomial decay and have never been shown on multimodal agent memory. In the recall probe we run a fractional-differencing LSTM with the paper's lag window of 50. We expect its curve to sit between the plain LSTM and the object memories. If it matches ours, the object structure is unnecessary.

Decisive Checks

The first check comes before any system is built. The failure analysis of the text-only ablation on ALFRED validation-unseen must show memory errors concentrated on touched or same-class objects. If they are not concentrated, the core claim is wrong and we stop.

The main result is ALFRED unseen success and path-weighted success against EPA's 36.07%, the text-only ablation, the verbose-text baseline and the re-observation policy, under a matched step budget.

The mechanism result is the delayed-recall curve described above, together with the fraction of the oracle gap closed. It is broken down by touched versus untouched objects. The irreversibility account predicts the largest gains on touched objects.

As a secondary check of transfer, we evaluate the verifier alone on held-out object classes, with and without the distribution-matching loss from ReViSE. This tells us whether stored-image verification degrades gracefully when the object vocabulary shifts. That weakness is flagged for EmBERT and EPA alike.