Pretrained language models condition on a finite token context, so evidence that leaves the context can no longer influence prediction. We study Recursive State-Augmented Language Models (Recursive SALM), in which a persistent latent state $z_t$ is updated after every query-response observation $D_t = (x_t, y_t)$ and generates an adaptation of a frozen pretrained model, giving the state-conditioned predictor $p_θ(y_t \mid x_t, z_t)$. We derive the filtering recursion of this latent sequence model, obtain deterministic recurrent state as its Dirac special case, and give a trajectory evidence lower bound and a particle approximation for stochastic state. With frozen GPT-2 small and all earlier evidence removed from the decoder context: (i) a 64-dimensional state accumulates 4-16 evidence statements over 16 hypotheses and trails a fine-tuned model that reads the full transcript by only 4.0-4.4 accuracy points (five seeds), but falls 20.9 points behind at 32 hypotheses and loses unrepeated clues beyond its training horizon; (ii) among seven state-to-model interfaces with near-equal parameter counts, a state-gated low-rank update (gated LoRA) is the most accurate and the only one with no poorly trained seed; (iii) on noisy evidence with an exact Bayesian posterior, a four-particle stochastic SALM trained with that posterior as an auxiliary target reaches 0.009 nats of KL divergence to it, against 0.042 for a matched deterministic SALM. Both select posterior modes almost always, so the stochastic advantage lies in calibration, not decisions. Calibrated inference without posterior supervision, larger hypothesis spaces and natural-language memory remain open.
翻译:暂无翻译