arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2611.16375cs.LGcs.AIcs.CLstat.ML
收藏

递归状态增强语言模型:预训练语言模型的持久潜在状态适配

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

Omer Haq

AI总结:

该研究提出递归状态增强语言模型(Recursive SALM)框架,通过持久潜在状态实现预训练语言模型的适配,在四回合假设推理任务中准确率达89.1%,验证了其在解码器上下文缺失早期证据时支持序列推理的有效性。

摘要:

语言模型依赖有限的 token 上下文,限制了对早期交互的访问。我们提出递归状态增强语言模型(Recursive SALM),该框架中,持久潜在状态随每次观测而演化,并生成预训练语言模型的适配。模块化的读取-转换-写入架构将观测编码、潜在动态和预测器适配分离。我们开发了确定性和随机两种形式。实验仅评估确定性 SALM,使用冻结的 GPT-2 small,且排除其解码器上下文中的早期证据。在四回合假设推理任务中,潜在门控 LoRA 达到 89.1% 的准确率,与训练完整上下文 LoRA 基线的 88.0% 相当,早期证据仅通过 64 维状态获取。将状态置零或打乱会大幅降低准确率。在训练中未见过的码字的两回合任务中,多个接口在候选排序上优于随机水平,但在评估的训练方案下很少生成精确码字。这些实验表明,当解码器上下文中不存在早期证据时,持久潜在条件适配可支持序列推理。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑