Bisecting K-Means在RAG中的应用:提升电信领域问答任务性能
Bisecting K-Means in RAG for Enhancing Question-Answering Tasks Performance in Telecommunications
AI总结:
针对电信领域问答任务,提出基于二分K均值聚类的RAG框架,通过预选相关聚类提升检索效率,在小型语言模型上实现更高准确率和更短训练时间。
摘要:
电信领域的问答任务在文献中仍相对未被充分探索,这主要归因于该领域快速的变化和不断演进的标准。本文提出了一种专门为电信领域设计的检索增强生成框架,重点关注由3GPP文档组成的数据集。该框架引入了二分K均值聚类技术,按内容组织嵌入向量,从而促进更高效的信息检索。通过利用这种聚类技术,系统预先选择与用户查询最相似的一组聚类,增强了检索信息的关联性。为了追求推理时计算成本更低的模型,该框架使用小型语言模型进行了测试,结果显示在phi-2和phi-3微调模型上分别达到了66.12%和72.13%的准确率,性能得到提升,同时训练时间减少。
英文摘要:
Question-answering tasks in the telecom domain are still reasonably unexplored in the literature, primarily due to the field's rapid changes and evolving standards. This work presents a novel Retrieval-Augmented Generation framework explicitly designed for the telecommunication domain, focusing on datasets composed of 3GPP documents. The framework introduces the use of the Bisecting K-Means clustering technique to organize the embedding vectors by contents, facilitating more efficient information retrieval. By leveraging this clustering technique, the system pre-selects a subset of clusters that are most similar to the user's query, enhancing the relevance of the retrieved information. Aiming for models with lower computational cost for inference, the framework was tested using Small Language Models, demonstrating improved performance with an accuracy of 66.12% on phi-2 and 72.13% on phi-3 fine-tuned models, and reduced training time.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。