立足现实:从离线日志中学习与部署主动式大语言模型
Grounded in Reality: Learning and Deploying Proactive LLM from Offline Logs
AI总结:
本文提出无需模拟器的Learn-to-Ask框架,通过利用离线专家轨迹的已观测未来推断逐轮奖励信号,训练LLM输出结构化动作与状态评估元组以决定问什么和何时停止,并在真实医疗场景中部署后取得优于人类专家的表现。
摘要:
大语言模型(LLMs)作为被动响应者表现出色,但将其培养为主动、目标导向的合作伙伴——这一在高风险领域中至关重要的能力——仍然是一个重大挑战。当前范式要么短视地优化单轮属性,要么依赖脆弱且成本高昂的用户模拟器,从而造成持续的“现实差距”。为弥合这一差距,我们提出了 \ exttt{Learn-to-Ask},一个通用的、无需模拟器的框架,用于直接从未离线的专家数据中学习和部署主动对话智能体,从而绕开了对复杂用户动态进行建模的需求。我们的核心洞见是,通过利用每条专家轨迹的\ extbf{已观测未来}来重新表述离线策略学习问题。这使我们能够推断出一个基于专家所揭示策略的、逐轮的稠密奖励信号,将难以处理的长期问题分解为一系列监督学习任务,并训练策略输出结构化的 \ exttt{(action, state\_assessment)} 元组,同时控制\ extbf{问什么}以及关键的\ extbf{何时停止}。为确保奖励保真度,我们的自动评分器校准流程在最少人工监督下系统性地清除基于LLM的奖励模型中的噪声。在实证方面,我们在一个真实世界的医疗数据集上,使用规模最高达32B的不同LLM,验证了 \ exttt{Learn-to-Ask} 的有效性。我们的方法最终成功将LLM部署到一个在线的、大规模的真实AI服务中。在严格的内部评估中,我们的模型上线后取得了甚至优于人类专家的表现,证明了我们的框架能够将离线数据转化为切实的现实世界影响。我们希望这项工作能为将被动LLM转变为主动、目标导向的LLM应用提供一份实用且经济可行的蓝图。
英文摘要:
Large Language Models (LLMs) excel as passive responders, but teaching them to be proactive, goal-oriented partners, a critical capability in high-stakes domains, remains a major challenge. Current paradigms either myopically optimize single-turn attributes or rely on brittle, high-cost user simulators, creating a persistent ``reality gap''. To bridge this gap, we introduce \texttt{Learn-to-Ask}, a general, simulator-free framework for learning and deploying proactive dialogue agents \textit{directly from offline expert data}, bypassing the need to model complex user dynamics. Our key insight is to reframe the offline policy learning problem by leveraging the \textbf{observed future} of each expert trajectory. This allows us to infer a dense, turn-by-turn reward signal grounded in the expert's revealed strategy, decomposing the intractable long-horizon problem into a series of supervised learning tasks, and training a policy to output a structured \texttt{(action, state_assessment)} tuple, governing both \textbf{what to ask} and, crucially, \textbf{when to stop}. To ensure reward fidelity, our Automated Grader Calibration pipeline systematically purges noise from the LLM-based reward model with minimal human supervision. Empirically, we demonstrate the efficacy of \texttt{Learn-to-Ask} in a real-world medical dataset, using LLMs of varying sizes up to 32B. Our approach culminates in the successful deployment of LLMs into a live, large-scale online AI service. In rigorous in-house evaluations, our model was launched and achieved performance even superior to human experts, proving our framework's ability to translate offline data into tangible, real-world impact. We hope this work provides a practical and economically viable blueprint for transforming passive LLMs into proactive, goal-oriented LLM applications.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。