arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.18820cs.AIcs.CL
收藏

在模型生成前感知场景

Read the Room Before Your Model Generates

New York University(纽约大学)

Muyao Kong, Zhihao Lin

AI总结:

本研究针对大型语言模型温度选择方法的不足,提出可解释的 Scenario-Actor 框架,基于场景嵌入调整解码温度,在 Llama-3.1-8B-Instruct 上的交互式社交场景、开放式指令遵循等任务中性能优于基线。

摘要:

大型语言模型(LLMs)通常依赖采样温度来调节输出中的随机性。主流的温度选择方法一般采用固定的启发式全局设置,以及上下文或词级校准,而非对交际场景的几何可解释表示。本研究中,我们提出了一种简单且可解释的温度选择框架——**场景-行动者(Scenario-Actor)**,该框架会根据推断出的情境特征调整解码过程。Scenario-Actor 从 Transformer 隐藏状态中提取与场景相关的结构,并从场景嵌入(一种交际场景的结构化几何表示)中确定温度。实验结果表明,在 Llama-3.1-8B-Instruct 模型上,与多个基线相比,Scenario-Actor 在交互式社交场景中实现了出色的目标完成性能,在开放式指令遵循任务中取得了显著提升,在多轮对话任务中也达到了具有竞争力的性能。

英文摘要:

Large language models (LLMs) generally rely on sampling temperature to regulate the amount of randomness in their outputs. Mainstream methods for selecting temperature typically involve fixed, heuristic global settings and context or token-level calibration, rather than a geometrically interpretable representation of the communicative scenario. In this work, we introduce a simple and interpretable temperature selection framework, the Scenario-Actor, which adapts decoding to the inferred situational characteristics. Scenario-Actor extracts scenario-relevant structures from Transformer hidden states and determines the temperature from scenario embedding, a structured geometric representation of the communicative setting. Empirical results show that on Llama-3.1-8B-Instruct, Scenario-Actor achieves strong goal-completion performance in interactive social scenarios, significant gains on open-ended instruction following, and competitive performance on multi-turn conversation compared to multiple baselines.

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

↑