Optimizing chatbot responsiveness: Automated history context selector via three-way decision for multi-turn dialogue Large Language Models

IF 4.2 2区 工程技术 Q1 ENGINEERING, MULTIDISCIPLINARY
Weicheng Wang , Xiaoliang Chen , Duoqian Miao , Hongyun Zhang , Xiaolin Qin , Xu Gu , Peng Lu
{"title":"Optimizing chatbot responsiveness: Automated history context selector via three-way decision for multi-turn dialogue Large Language Models","authors":"Weicheng Wang ,&nbsp;Xiaoliang Chen ,&nbsp;Duoqian Miao ,&nbsp;Hongyun Zhang ,&nbsp;Xiaolin Qin ,&nbsp;Xu Gu ,&nbsp;Peng Lu","doi":"10.1016/j.enganabound.2025.106150","DOIUrl":null,"url":null,"abstract":"<div><div>Enhancing the efficiency of chat models in multi-turn dialogue systems is a critical challenge in Artificial Intelligence. Multi-turn dialogues often span diverse topics, with irrelevant dialogue turns frequently degrading the quality of the model’s responses. This study addresses this challenge by proposing a novel method for the automated identification and selection of contextually relevant dialogue turns. Our approach introduces an Automated Relevance Labeling Pipeline, which leverages three-way decision and the K-Nearest Neighbors algorithm to automatically assign relevance labels by calculating the distance between dialogue turns and final responses. A Relevance Selector is trained on these labels, enabling it to accurately detect and prioritize relevant dialogue turns from the conversation history. The proposed method has been tested across various datasets demonstrating significant performance improvements over existing approaches that indiscriminately expand the entire conversation history. Notably, the integration of this method into existing chat models resulted in an increase in Recall rates by 4%–6% and a marked reduction in perplexity, approaching the accuracy of manually annotated data. The method’s zero-shot learning capabilities further underscore its generalizability applying to diverse conversational contexts without requiring additional fine-tuning. These results highlight the method’s potential to significantly enhance the performance of multi-turn dialogue systems.</div></div>","PeriodicalId":51039,"journal":{"name":"Engineering Analysis with Boundary Elements","volume":"173 ","pages":"Article 106150"},"PeriodicalIF":4.2000,"publicationDate":"2025-02-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Engineering Analysis with Boundary Elements","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0955799725000384","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"ENGINEERING, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0

Abstract

Enhancing the efficiency of chat models in multi-turn dialogue systems is a critical challenge in Artificial Intelligence. Multi-turn dialogues often span diverse topics, with irrelevant dialogue turns frequently degrading the quality of the model’s responses. This study addresses this challenge by proposing a novel method for the automated identification and selection of contextually relevant dialogue turns. Our approach introduces an Automated Relevance Labeling Pipeline, which leverages three-way decision and the K-Nearest Neighbors algorithm to automatically assign relevance labels by calculating the distance between dialogue turns and final responses. A Relevance Selector is trained on these labels, enabling it to accurately detect and prioritize relevant dialogue turns from the conversation history. The proposed method has been tested across various datasets demonstrating significant performance improvements over existing approaches that indiscriminately expand the entire conversation history. Notably, the integration of this method into existing chat models resulted in an increase in Recall rates by 4%–6% and a marked reduction in perplexity, approaching the accuracy of manually annotated data. The method’s zero-shot learning capabilities further underscore its generalizability applying to diverse conversational contexts without requiring additional fine-tuning. These results highlight the method’s potential to significantly enhance the performance of multi-turn dialogue systems.
优化聊天机器人响应:通过多回合对话大型语言模型的三向决策自动历史上下文选择器
提高多回合对话系统中聊天模型的效率是人工智能领域的一个重要挑战。多回合对话通常跨越不同的主题,不相关的对话回合经常降低模型响应的质量。本研究提出了一种新的方法来自动识别和选择与上下文相关的对话回合,从而解决了这一挑战。我们的方法引入了一个自动相关标签管道,它利用三向决策和k近邻算法,通过计算对话回合和最终响应之间的距离来自动分配相关标签。相关性选择器在这些标签上进行训练,使其能够从对话历史中准确地检测并优先考虑相关的对话。所提出的方法已经在各种数据集上进行了测试,表明与不加选择地扩展整个会话历史的现有方法相比,性能有了显著提高。值得注意的是,将这种方法集成到现有的聊天模型中,召回率提高了4%-6%,困惑度显著降低,接近人工注释数据的准确性。该方法的零学习能力进一步强调了其适用于不同会话上下文的泛化性,而无需额外的微调。这些结果突出了该方法在显著提高多回合对话系统性能方面的潜力。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Engineering Analysis with Boundary Elements
Engineering Analysis with Boundary Elements 工程技术-工程:综合
CiteScore
5.50
自引率
18.20%
发文量
368
审稿时长
56 days
期刊介绍: This journal is specifically dedicated to the dissemination of the latest developments of new engineering analysis techniques using boundary elements and other mesh reduction methods. Boundary element (BEM) and mesh reduction methods (MRM) are very active areas of research with the techniques being applied to solve increasingly complex problems. The journal stresses the importance of these applications as well as their computational aspects, reliability and robustness. The main criteria for publication will be the originality of the work being reported, its potential usefulness and applications of the methods to new fields. In addition to regular issues, the journal publishes a series of special issues dealing with specific areas of current research. The journal has, for many years, provided a channel of communication between academics and industrial researchers working in mesh reduction methods Fields Covered: • Boundary Element Methods (BEM) • Mesh Reduction Methods (MRM) • Meshless Methods • Integral Equations • Applications of BEM/MRM in Engineering • Numerical Methods related to BEM/MRM • Computational Techniques • Combination of Different Methods • Advanced Formulations.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信