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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Alabbasi, Nouf, Erak, Omar, Alhussein, Omar, Lotfi, Ismail, Muhaidat, Sami, Debbah, Merouane
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912105361309696
author Alabbasi, Nouf
Erak, Omar
Alhussein, Omar
Lotfi, Ismail
Muhaidat, Sami
Debbah, Merouane
author_facet Alabbasi, Nouf
Erak, Omar
Alhussein, Omar
Lotfi, Ismail
Muhaidat, Sami
Debbah, Merouane
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2411_02617
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle TeleOracle: Fine-Tuned Retrieval-Augmented Generation with Long-Context Support for Network
Alabbasi, Nouf
Erak, Omar
Alhussein, Omar
Lotfi, Ismail
Muhaidat, Sami
Debbah, Merouane
Computation and Language
Machine Learning
Networking and Internet Architecture
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.
title TeleOracle: Fine-Tuned Retrieval-Augmented Generation with Long-Context Support for Network
topic Computation and Language
Machine Learning
Networking and Internet Architecture
url https://arxiv.org/abs/2411.02617