Recursive State-Augmented Language Models: Persistent Latent-State Adaptation of Pretrained Language Models
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.
Related
- SIRNET: Causal Adaptation of Pretrained Embeddings for Semiparametric Treatment-Effect Estimation Under Surrogacy
- Large Reported CHB-MIT Adaptation Gains Disappear with Pretrained Encoders and Matched Probes
- Hierarchical Majority Decomposition for Imbalanced Classification: A Recursive Binary Majority-Class Tree with Persistent Minority Comparison
- Ablation study of correction methods in Polish language Retrieval-Augmented Generation chatbots
- Large Language Models for Multimodal Fact-Checking: Methodological Advances and Persistent Challenges
BibTeX
@misc{haq2026recursive,
title = {{Recursive State-Augmented Language Models: Persistent Latent-State Adaptation of Pretrained Language Models}},
author = {Omer Haq},
howpublished = {arXiv},
year = {2026},
month = nov,
doi = {10.48550/arxiv.2611.16375},
eprint = {2611.16375},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.16375},
}
RIS
TY - UNPB
TI - Recursive State-Augmented Language Models: Persistent Latent-State Adaptation of Pretrained Language Models
AU - Omer Haq
PY - 2026
DA - 2026/11/12
PB - arXiv
DO - 10.48550/arxiv.2611.16375
UR - https://arxiv.org/abs/2611.16375
AB - 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.
ER -