arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2403.05931cs.CLcs.LG
收藏

基于提示优化的Transformer对话线程检测与回复生成

Thread Detection and Response Generation using Transformers with Prompt Optimisation

Vellore Institute of Technology, Chennai(韦洛尔理工学院(金奈));Samsung R&D Institute India, Bangalore(三星研发院印度班加罗尔分院)

Kevin Joshua T, Arnav Agarwal, Shriya Sanjay, Yash Sarda, John Sahaya Rani Alex, Saurav Gupta, Sushant Kumar, Vishwanath Kamath

AI总结:

针对多方对话中线程识别与回复排序的管理难题,提出基于Llama2 7b的端到端对话系统,经微调与提示优化后速度最高提升10倍,生成结果更连贯,且可适配任意开源LLM。

摘要:

对话系统是人机交互的核心组件,通过识别对话线程、排序回复优先级来管理复杂对话,这一能力在多方对话中尤为关键——精准的线程识别与策略性的回复优先级排序是高效对话管理的保障。为解决上述挑战,本文提出一种端到端模型,可识别对话线程并根据重要性对回复生成排序;研究将问题系统拆解为线程检测、优先级排序、性能优化三个独立模块,并对各模块进行了细致分析与优化,这些优化后的模块可无缝集成到对话系统的统一框架中。模型选用泛化能力较强的Llama2 7b,同时系统可适配任意开源大语言模型(LLM);研究通过微调方法与策略性提示技术增强Llama2的计算能力,优化模型性能,在减少计算耗时的同时提升模型准确率。实验结果显示,与现有模型相比,该模型速度最高提升10倍,且生成结果的连贯性更强。

英文摘要:

Conversational systems are crucial for human-computer interaction, managing complex dialogues by identifying threads and prioritising responses. This is especially vital in multi-party conversations, where precise identification of threads and strategic response prioritisation ensure efficient dialogue management. To address these challenges an end-to-end model that identifies threads and prioritises their response generation based on the importance was developed, involving a systematic decomposition of the problem into discrete components - thread detection, prioritisation, and performance optimisation which was meticulously analysed and optimised. These refined components seamlessly integrate into a unified framework, in conversational systems. Llama2 7b is used due to its high level of generalisation but the system can be updated with any open source Large Language Model(LLM). The computational capabilities of the Llama2 model was augmented by using fine tuning methods and strategic prompting techniques to optimise the model's performance, reducing computational time and increasing the accuracy of the model. The model achieves up to 10x speed improvement, while generating more coherent results compared to existing models.

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

↑