arXiv AI By Omer Haq

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

Read the original on arXiv AI →

Recursive State-Augmented Language Models (Recursive SALM) introduce a persistent latent state that evolves with each observation and adapts a pretrained language model. The framework uses a modular read‑transition‑write architecture to separate observation encoding, latent dynamics, and predictor adaptation, and is implemented in both deterministic and stochastic forms. Experiments with deterministic SALM and a frozen GPT‑2 small show that a latent‑gated LoRA achieves 89.1% accuracy on a four‑turn hypothesis‑inference task, matching a full‑context LoRA baseline, while zeroing or shuffling the state markedly degrades performance.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.

arXiv AI
Nov 6

Circe: Training-Free LLM Self-Evaluation via Component Interaction Consistency

Circe is a training‑free method for self‑evaluating large language model responses without reference answers. It combines internal signals—component interaction consistency (CIC) and representation geometry (RG)—with an external likelihood confidence (LC) score to produce a unified correctness score. Experiments on five LLMs across six benchmarks demonstrate that Circe better distinguishes correct from incorrect responses than existing baselines and works in multilingual, multimodal, and open‑world settings.

By Shuyi Miao, Zheng Li, Xu Xie, Linrui Xu, Fei Shen, Xiaoyu Du, Tat-Seng Chua
arXiv AI
Oct 15

Not All Drift Is a Mechanism: Tracing Prompt Adaptation in LLMs

The paper investigates how different prompt adaptation techniques—discrete prompt optimization, prompt tuning, and prefix tuning—affect the internal processing of dense and mixture-of-experts language models. It finds that the adaptation location determines how task information reaches the output: text prompts mainly influence response construction, input-level prompts modify content representations, and layer-wise prefixes exert direct control via attention. In MoE models, these differences also lead to distinct expert‑routing patterns, while generic representation‑level metrics fail to reliably distinguish effective adaptations from placebo effects.

By Mikhail Aleksandrov, Nail Bashirov, Maksim Ivanov, Andrew Tsukanov, Timofey Karyagin, Alexander Miasnikov, Gleb Molodtsov, Valentin Samokhin, Aleksandr Beznosikov
arXiv Computation and Language
Sep 18

On-Demand Attention: Language Models Know When to Recall

The paper introduces On‑Demand Attention (ODA), a decoding strategy that lets pretrained language models decide when to use global attention based on a lightweight recall head. ODA keeps the original model weights unchanged, only training the recall head, and can be implemented with GPU‑side conditional execution to reduce global reads. Experiments on Qwen, Gemma, and hybrid‑attention models show that ODA largely recovers performance lost by local attention while cutting the number of global attention operations.

By Haibo Feng, Ruiqi Liang, Hanyang Peng, Shiqi Yu