Read the Room Before Your Model Generates
Muyao Kong, Zhihao Lin
Abstract
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.
Create a lesson
Related papers
AesCode: Aesthetic Code Generation with Decoupled Cross-Modal Rewards
Xin Gao, Yifan Yang, Xin Li et al.
MFG: Multi-turn Feedback Guided Molecular Optimization
Trieu Nguyen, Frazier N. Baker, Ruoxi Gao et al.
Who Improves the Robot? Toward Physical Recursive Self-Improvement
Hai Zhou, Fan Yang, Zeyi Chen et al.
Self-Evolving Agent Harness
Chuyang Wei, Haoxiang Guan, Minghang Zhu et al.
Pack Light, CarryOn: Building Object-Oriented Context for Long-Horizon Agents
Yuchen Lu, Julian McAuley, Lei Zhang
BLADE: Auditing Information Use for Failure Attribution in LLM Multi-Agent Systems
Xiaoguang Guo, Yaohao Long, Chuxu Zhang