TRANSMISSION // 2611.16375v2

A compact state can remember evidence—but not without limits

Source published

Recursive SALM compresses past evidence into a persistent state that adapts a frozen language model. Controlled tests show promise, but also reveal limits in scale, retention and natural-language memory.

AI-generated conceptual illustration for A compact state can remember evidence—but not without limits
AI-generated conceptual illustration; not documentary evidence.

A language model usually answers from the text currently available to it. What if earlier evidence could be carried forward in a compact internal state instead? A new preprint tests that idea with synthetic reasoning tasks—and finds both encouraging results and clear boundaries.

A clue can matter long after it was given. But if a language model’s context window no longer contains that clue, the model cannot directly use it to answer a later question. One way around this is to keep a transcript or retrieve earlier text. Omer Haq’s preprint explores another approach: compressing the interaction history into a persistent internal state that changes how a frozen language model makes its next prediction.

The method is called Recursive State-Augmented Language Models, or Recursive SALM. After each query and response, an encoder reads that exchange and a recurrent update—implemented as a GRU in the experiments—produces a new state. A separate module uses the state to adapt the language model. The model’s original GPT-2 small weights remain frozen; at inference, the system updates its state through forward computation rather than gradient training.

The distinction is important: the state is not a miniature transcript. It is a fixed-size summary that must be updated as new evidence arrives. In the main tests, the decoder received no earlier evidence at all, so the state was the only route by which that information could affect the final answer.

Testing memory with clues

The main benchmark was deliberately controlled. Each episode presented statements about a hidden code, such as whether it was even or fell within a numerical range. The clues narrowed the possible answers, and a final query asked for the code. Researchers varied the number of clues and the size of the set of possible codes. They compared SALM with a fine-tuned model that could read the complete transcript, and used interventions—such as replacing the state with one from another episode—to check whether predictions actually depended on the stored state.

With a 64-dimensional state and 16 possible codes, SALM reached about 90% accuracy across episodes with 4, 8 or 16 clues. It trailed the full-transcript model by roughly four percentage points in those settings. Replacing its final state with another episode’s state sharply worsened its predictions, supporting the claim that the state carried episode-specific information.

But the picture changed when the task had 32 possible codes: SALM’s accuracy was 73.4%, compared with 94.2% for the transcript model. The researchers also tested models on longer episodes than they had been trained for. When an early clue was essential and was not repeated, SALM’s performance fell as additional clues arrived. The authors report that the state partly loses unrepeated information beyond its training horizon.

How to read the state—and represent uncertainty

The paper also compared seven ways to translate the state into changes to the language model. These included prompt-like inputs, activation adjustments and low-rank weight updates. In this task family, a state-gated low-rank update, or gated LoRA, performed best on average and was the only tested interface without a poorly performing training seed. That is a result from one model and one controlled task, not evidence that gated LoRA is generally the best choice.

A separate experiment asked whether the system could represent uncertainty when clues were noisy. Here, the researchers could calculate the exact Bayesian posterior—the probability assigned to each candidate after accounting for the clues. A four-particle stochastic SALM, trained with that posterior as an auxiliary target, achieved a mean KL divergence of 0.009 nats from it, compared with 0.042 for a matched deterministic SALM. Both systems chose a most-probable answer almost every time. The reported advantage was therefore in how well their probabilities were calibrated, not in choosing different answers.

That comparison has a crucial caveat: the exact posterior was used as a training target. It shows that the stochastic design can represent the target belief more faithfully under this setup; it does not establish that it can infer calibrated beliefs from clues alone. The paper’s smaller, preliminary tests without posterior supervision are explicitly treated as preliminary and do not resolve that question.

A promising mechanism, not a general memory solution

The evidence is strongest for narrow, synthetic tasks, using one frozen backbone and clues drawn from a small set of recurring templates. The authors report that a preliminary natural-language reading-comprehension test did not demonstrate passage-specific memory: SALM depended on having a state, but changed little when given the wrong passage’s state. They do not present that experiment as evidence of natural-language memory.

There are practical trade-offs too. In the measured short tasks, SALM took 6.4–8.2 times longer per episode than the transcript model on CPU, because it repeatedly encoded observations and applied its adaptation. The state itself stayed small, but the study did not establish that this produces a speed or cost advantage at longer horizons.

Overall, the preprint offers a useful proof of concept: a compact state can accumulate evidence and influence later predictions even when the evidence is removed from the decoder’s context. It also documents failure modes—especially larger hypothesis spaces and longer-than-trained sequences. Whether the approach can support robust memory for natural conversations, learn calibrated uncertainty without an exact target, or scale to more complex tasks remains open. This is a preprint, not a peer-reviewed publication, and its controlled findings should not be read as evidence that deployed language models can reliably remember arbitrary interactions.

Reviewed cross-references

These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.

  • How PRISM Compresses Gameplay History for AI

    Shared method: Both papers use recurrent latent memory updated from incoming observations: Recursive SALM uses a GRU transition over query–response observations, while PRISM uses gated updates for short- and long-term memory in game agents. The shared mechanism is architectural; the papers study different tasks and do not establish comparable performance.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2611.16375v2 — Original paper

      Excerpt reference: static/papers/2611.16375v2.md:656-745
      Basis: Paper text
      Source file SHA-256: 9b356963006b2450a4f4db748e4ffea51536a6ad1f7b3b32db77053e89bf4f96

    • 2612.01586v1 — Original paper

      Excerpt reference: static/papers/2612.01586v1.md:109-154
      Basis: Paper text
      Source file SHA-256: 02af8fbd79cd0f282edbf4b3e8077fe08c10f4a65cb313cdac3d9070e911b0eb

  • Can a video be stored in a model’s weights?

    Shared method: Both condition a frozen pretrained model using low-rank weight adaptations: Recursive SALM’s gated LoRA is state-dependent, whereas VaW compiles a video into LoRA weights, optionally with prefix tokens. This is a shared adaptation technique, not evidence that the systems or their results are directly comparable.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2611.16375v2 — Original paper

      Excerpt reference: static/papers/2611.16375v2.md:656-745
      Basis: Paper text
      Source file SHA-256: 9b356963006b2450a4f4db748e4ffea51536a6ad1f7b3b32db77053e89bf4f96

    • 2611.28221v1 — Original paper

      Excerpt reference: static/papers/2611.28221v1.md:124-193
      Basis: Paper text
      Source file SHA-256: 62aa49292394726e0b851c9019717b5ec212f10dece6326f6512fc0829fc1343

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.