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 , Xiaoliang Chen , Duoqian Miao , Hongyun Zhang , Xiaolin Qin , Xu Gu , 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.
期刊介绍:
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.