arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.02617cs.CLcs.LGcs.NI
收藏

TeleOracle:具有长上下文支持的网络微调检索增强生成

TeleOracle: Fine-Tuned Retrieval-Augmented Generation with Long-Context Support for Network

Khalifa University(哈利法大学);Carleton University(卡尔顿大学)

Nouf Alabbasi, Omar Erak, Omar Alhussein, Ismail Lotfi, Sami Muhaidat, Merouane Debbah

AI总结:

TeleOracle基于Phi-2构建电信专用RAG系统,采用两阶段检索和长上下文支持,在问答任务中准确率达81.20%,比基础模型提升30%,且忠实度优于大型LLM。

摘要:

电信行业的快速发展要求智能系统能够管理复杂网络并适应新兴技术。尽管大型语言模型(LLM)在应对这些挑战方面展现出潜力,但由于边缘设备限制和文档不一致,其在电信环境中的部署面临重大制约。为弥合这一差距,我们提出了TeleOracle,一个基于Phi-2小型语言模型(SLM)构建的电信专用检索增强生成(RAG)系统。为改进上下文检索,TeleOracle采用了两阶段检索器,结合了语义分块和混合关键词与语义搜索。此外,我们在推理过程中扩展上下文窗口,以增强模型在开放式查询上的性能。我们还采用低秩适配进行高效微调。对模型性能的深入分析表明,我们的RAG框架能有效将Phi-2对齐到电信领域的下游问答(QnA)任务,相比基础Phi-2模型准确率提升了30%,总体准确率达到81.20%。值得注意的是,我们表明我们的模型不仅与更大的LLM性能相当,还获得了更高的忠实度分数,表明其对检索上下文的遵循程度更高。

英文摘要:

The telecommunications industry's rapid evolution demands intelligent systems capable of managing complex networks and adapting to emerging technologies. While large language models (LLMs) show promise in addressing these challenges, their deployment in telecom environments faces significant constraints due to edge device limitations and inconsistent documentation. To bridge this gap, we present TeleOracle, a telecom-specialized retrieval-augmented generation (RAG) system built on the Phi-2 small language model (SLM). To improve context retrieval, TeleOracle employs a two-stage retriever that incorporates semantic chunking and hybrid keyword and semantic search. Additionally, we expand the context window during inference to enhance the model's performance on open-ended queries. We also employ low-rank adaption for efficient fine-tuning. A thorough analysis of the model's performance indicates that our RAG framework is effective in aligning Phi-2 to the telecom domain in a downstream question and answer (QnA) task, achieving a 30% improvement in accuracy over the base Phi-2 model, reaching an overall accuracy of 81.20%. Notably, we show that our model not only performs on par with the much larger LLMs but also achieves a higher faithfulness score, indicating higher adherence to the retrieved context.

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

↑