令牌统计揭示多轮LLM交互中的对话漂移
Toward Measuring Structural Drift in LLM Communication Loops
AI总结:
研究通过令牌频率统计监测对话一致性,提出Bipredictability指标,验证其在多轮交互中的有效性,显示结构监控可补充语义评估。
摘要:
大型语言模型(LLMs)越来越多地部署在多轮交互中,早期响应影响后续结果,可靠性依赖于对话在时间上的一致性。当一致性降级未被检测时,下游决策失去其基础。本文表明,可通过令牌频率统计直接监控对话结构一致性,无需嵌入、辅助评估者或模型内部访问。将此信号形式化为Bipredictability(P),测量上下文、响应和下一轮提示循环之间的共享可预测性,相对于轮次总不确定性。在轻量级辅助架构Information Digital Twin(IDT)中实现。在4574次对话轮次上,P建立了稳定的运行基准,与结构一致性在85%的条件下一致,但仅在44%的条件下具有语义质量。IDT检测所有测试的矛盾、主题转移和非连贯性,灵敏度为100%。这些结果表明,扩展LLM交互的可靠性不能仅依赖响应质量,结构监控可补充语义评估。
英文摘要:
Large language models increasingly run in stateful pipelines that assemble each prompt from retrieval, memory, tools, and other agents. Such pipelines drift: information that should shape the next response is dropped, compressed, or misrouted while every component still reports success. Existing diagnostics miss this because they evaluate isolated prompts, responses, or task scores, whereas what decouples is the relation between a prompt and the response it draws. Here we show that treating the prompt to response to next prompt chain as the fundamental unit of analysis makes these relations measurable. We introduce structural communication coherence, quantified by two metrics: communication closure, which asks if what the pipeline returns at one turn matches what it faces next, and normalized conditional action contribution, which measures how much a sent message resolves the subsequent reply. Across 2,171 human to human, 58 human to LLM, and 8 LLM to LLM dialogues, these metrics reveal directional interaction structures; crucially, the measured contribution drops by 87 to 92% when a response is swapped for one from another turn, leaving surrounding prompts untouched. Because this approach requires no labels, healthy reference data, or predefined rules only the raw prompts and responses drift can be defined and measured directly from operational traffic, rather than inferred from eventual task failure. Establishing prospective detection performance is the next step.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。