arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2507.05940cs.CL
收藏

Chat-Ghosting:对话系统中自动补全方法的比较研究

Chat-Ghosting: A Comparative Study of Methods for Auto-Completion in Dialog Systems

Indian Institute of Technology Kharagpur(印度理工学院卡里格普尔分校);Microsoft Research(微软研究院);Microsoft(微软)

Sandeep Mishra, Anubhab Mandal, Bishal Santra, Tushar Abhishek, Pawan Goyal, Manish Gupta

AI总结:

本研究针对对话系统自动补全(Chat-Ghosting)问题,比较了多种方法,提出熵动态早停策略,发现统计模型在已见前缀上更优,神经模型在未见查询上更佳,且对话上下文显著提升效果。

摘要:

Ghosting(幽灵补全),即预测用户意图输入的文本以进行内联查询自动补全的能力,是现代搜索引擎和聊天界面的一项宝贵功能,极大地提升了用户体验。通过为不完整的查询(或前缀)提供补全建议,ghosting 帮助了打字速度慢、有残障或语言能力有限的用户。Ghosting 是一个具有挑战性的问题,并且随着 ChatGPT、Copilot 等基于聊天的系统的普及,这一问题变得愈发重要。尽管利用 ghosting 的基于聊天的系统日益突出,但这一具有挑战性的 Chat-Ghosting 问题却很少受到 NLP/ML 研究界的关注。目前缺乏标准化的基准测试以及深度学习和非深度学习方法相对性能的分析。我们通过使用四个公开可用的对话数据集(两个人人对话数据集:DailyDialog 和 DSTC7-Ubuntu,以及两个人与机器人对话数据集:Open Assistant 和 ShareGPT)对该问题进行了开放而彻底的研究。我们实验了各种现有的查询自动补全方法(使用 trie 树)、n-gram 方法和深度学习方法,并考虑有无对话上下文的情况。我们还提出了一种新颖的基于熵的动态早停策略。我们的分析发现,对于已见前缀,统计 n-gram 模型和 trie 树在模型性能和推理效率方面均优于基于深度学习的模型。对于未见查询,T5 和 Phi-2 等神经模型能产生更好的结果。添加对话上下文显著提升了 ghosting 质量,尤其是在 Open-Assistant 和 ShareGPT 上。我们公开了代码和数据。

英文摘要:

Ghosting, the ability to predict a user's intended text input for inline query auto-completion, is an invaluable feature for modern search engines and chat interfaces, greatly enhancing user experience. By suggesting completions to incomplete queries (or prefixes), ghosting aids users with slow typing speeds, disabilities, or limited language proficiency. Ghosting is a challenging problem and has become more important with the ubiquitousness of chat-based systems like ChatGPT, Copilot, etc. Despite the increasing prominence of chat-based systems utilizing ghosting, this challenging problem of Chat-Ghosting has received little attention from the NLP/ML research community. There is a lack of standardized benchmarks and relative performance analysis of deep learning and non-deep learning methods. We address this through an open and thorough study of this problem using four publicly available dialog datasets: two human-human (DailyDialog and DSTC7-Ubuntu) and two human-bot (Open Assistant and ShareGPT). We experiment with various existing query auto-completion methods (using tries), n-gram methods and deep learning methods, with and without dialog context. We also propose a novel entropy-based dynamic early stopping strategy. Our analysis finds that statistical n-gram models and tries outperform deep learning based models in terms of both model performance and inference efficiency for seen prefixes. For unseen queries, neural models like T5 and Phi-2 lead to better results. Adding conversational context leads to significant improvements in ghosting quality, especially for Open-Assistant and ShareGPT. We make code and data publicly available

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

↑