少说多查:通过语义检查和执行反馈改进LLM助手
Talk Less, Verify More: Improving LLM Assistants with Semantic Checks and Execution Feedback
AI总结:
本文提出Q*和Feedback+两种验证技术,通过语义检查和执行反馈提升LLM助手的输出准确性与可靠性。
摘要:
随着大型语言模型(LLM)助手越来越多地融入企业工作流程,其生成准确、语义一致且可执行的输出能力变得至关重要。然而,当前的对话式商务分析(CBA)系统往往缺乏内置的验证机制,使用户不得不手动验证可能有缺陷的结果。本文介绍了两种互补的验证技术:Q*,它在代码和用户意图之间执行反向翻译和语义匹配,以及Feedback+,它将执行反馈整合到代码优化中。嵌入在生成器-判别器框架中,这些机制将验证责任从用户转移到系统。在三个基准数据集Spider、Bird和GSM8K上的评估表明,Q*和Feedback+均能降低错误率和任务完成时间。研究还发现反向翻译是关键瓶颈,突显了未来改进的机会。总体而言,本文贡献了一个面向设计的框架,用于构建更可靠、企业级的生成人工智能系统,能够提供可信的决策支持。
英文摘要:
As large language model (LLM) assistants become increasingly integrated into enterprise workflows, their ability to generate accurate, semantically aligned, and executable outputs is critical. However, current conversational business analytics (CBA) systems often lack built-in verification mechanisms, leaving users to manually validate potentially flawed results. This paper introduces two complementary verification techniques: Q*, which performs reverse translation and semantic matching between code and user intent, and Feedback+, which incorporates execution feedback to guide code refinement. Embedded within a generator-discriminator framework, these mechanisms shift validation responsibilities from users to the system. Evaluations on three benchmark datasets, Spider, Bird, and GSM8K, demonstrate that both Q* and Feedback+ reduce error rates and task completion time. The study also identifies reverse translation as a key bottleneck, highlighting opportunities for future improvement. Overall, this work contributes a design-oriented framework for building more reliable, enterprise-grade GenAI systems capable of trustworthy decision support.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。