跳到正文
arXiv cs.AI· Samarth Varshney, Ritu Yadav·· 3 小时前AI 评分41

StateWise:教语言模型在多轮对话中追踪并遵守不断演化的约束

StateWise: Teaching Language Models to Track and Obey Evolving Constraints in Multi-Turn Dialogue

AI 导读

arXiv 论文提出 StateWise 方法,通过让单个 LLM 维护自身的可修订约束状态(含针对已撤销约束的墓碑机制),解决多轮对话中约束失效与复犯两类问题。

正文 · 原文

View PDF HTML (experimental)

Abstract:Users of conversational assistants rarely state all requirements up front: they add constraints, amend them, withdraw them, digress, and return. Instruction-tuned LLMs fail here in two ways: active constraints stop being honored as turns accumulate (persistence failure), and withdrawn constraints keep being enacted (relapse). The only existing repair we know of is an external ledger that re-injects a compiled specification every turn. We propose StateWise, a self-improving approach that teaches a single LLM to maintain its own revisable constraint state, a typed state with tombstones for revoked constraints, so persistence and relapse are measured by executable checkers and ground-truth states are compiled for free. StateWise fine-tunes the LLM on two complementary skills, summarizing a dialogue into its constraint state and responding conditioned on that state, then self-trains on its own trajectories, keeping only turns that pass an exact round-trip check against the compiled state. This teaches 7-8B models to track the state almost perfectly but, surprisingly, not to obey it: on Llama-3.1-8B every supervised variant roughly doubles relapse. We therefore add a preference stage on self-generated relapse contrasts, where the rejected response enacts a revoked rule and the chosen one passes the round-trip check. On two backbones with held-out constraint families and unseen phrasings, StateWise cuts relapse by 8-22 points relative to supervised self-training, lifts conversation success by 8-19 points over the backbone, and beats an oracle compiled-ledger baseline on relapse with no inference-time scaffolding. We also characterize the recipe's cost on general instruction-following benchmarks and study weight interpolation as a mitigation.
Comments: 13 pages, 1 figure, 5 tables
Subjects: Computation and Language (cs.CL); Artificial Intelligence (cs.AI); Machine Learning (cs.LG)
Cite as: arXiv:2610.33766 [cs.CL]
  (or arXiv:2610.33766v1 [cs.CL] for this version)
  https://doi.org/10.48550/arXiv.2610.33766

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Samarth Varshney [view email]
[v1] Sat, 24 Oct 2026 16:17:56 UTC (54 KB)

来源:arXiv cs.AI · arxiv.org