# Recursive State-Augmented Language Models: Persistent Latent-State Adaptation of Pretrained Language Models

DevFeed: [Recursive State-Augmented Language Models: Persistent Latent-State Adaptation of Pretrained Language Models](<https://devfeed.tech/articles/recursive-state-augmented-language-models-persistent-latent-state-adaptation-of-pretrained-language-models-132227.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.16375>)

Author: Omer Haq

Published: 2026-11-13T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [LLM Techniques](<https://devfeed.tech/topics/llm-techniques.md>), [lora](<https://devfeed.tech/topics/lora.md>), [context window](<https://devfeed.tech/topics/context-window.md>)

Tags: [architecture](<https://devfeed.tech/tags/architecture.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [gpt](<https://devfeed.tech/tags/gpt.md>), [inference](<https://devfeed.tech/tags/inference.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [lora](<https://devfeed.tech/tags/lora.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [stat-ml](<https://devfeed.tech/tags/stat-ml.md>), [state](<https://devfeed.tech/tags/state.md>)

## AI overview

Recursive SALM carries earlier evidence in a persistent latent state that is updated with each observation and used to adapt a pretrained language model through a modular read-transition-write architecture. In experiments using deterministic SALM with frozen GPT-2 small, latent-gated LoRA scored 89.1% on a four-turn inference task, close to 88.0% for a trained full-context LoRA baseline, even though earlier evidence reached the decoder only through a 64-dimensional state. Zeroing or shuffling that state substantially reduced accuracy. In a two-turn task with codewords unseen during training, several interfaces ranked candidates above chance but rarely generated the exact codeword under the tested schedule. The experiments support sequential inference with latent-carried evidence, but evaluate only the deterministic formulation.

## Source excerpt

arXiv:2611.16375v1 Announce Type: cross Abstract: Language models rely on finite token contexts, limiting access to earlier interactions. We introduce Recursive State-Augmented Language Models (Recursive SALM), a framework in which a persistent latent state evolves with each observation and generates adaptations of a pretrained language model. A modular read-transition-write architecture separates observation encoding, latent dynamics, and predictor adaptation. We develop deterministic and stochastic formulations. The experiments evaluate only deterministic SALM with frozen GPT-2 small and exclude earlier evidence from its decoder context. On a four-turn hypothesis-inference task, latent-gated LoRA reaches 89.1% accuracy, comparable to 88.0% for a trained full-context LoRA baseline, with earlier evidence available solely through a 64-dimensional state. Zeroing or shuffling the state substantially reduces accuracy. In a two-turn task with codewords unseen in training, several interfaces improve candidate ranking over chance, but rarely generate the exact codeword under the evaluated training schedule. These experiments show that persistent latent-conditioned adaptation can support sequential inference when earlier evidence is absent from the decoder context.