QMOS: Enhancing LLMs for Telecommunication with Question Masked loss and Option Shuffling

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Guda, Blessed, Ashungafac, Gabrial Zencha, Francis, Lawrence, Joe-Wong, Carlee
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866910812967272448
author Guda, Blessed
Ashungafac, Gabrial Zencha
Francis, Lawrence
Joe-Wong, Carlee
author_facet Guda, Blessed
Ashungafac, Gabrial Zencha
Francis, Lawrence
Joe-Wong, Carlee
contents Large Language models (LLMs) have brought about substantial advancements in the field of Question Answering (QA) systems. These models do remarkably well in addressing intricate inquiries in a variety of disciplines. However, because of domain-specific vocabulary, complex technological concepts, and the requirement for exact responses applying LLMs to specialized sectors like telecommunications presents additional obstacles. GPT-3.5 has been used in recent work, to obtain noteworthy accuracy for telecom-related questions in a Retrieval Augmented Generation (RAG) framework. Notwithstanding these developments, the practical use of models such as GPT-3.5 is restricted by their proprietary nature and high computing demands. This paper introduces QMOS, an innovative approach which uses a Question-Masked loss and Option Shuffling trick to enhance the performance of LLMs in answering Multiple-Choice Questions in the telecommunications domain. Our focus was on using opensource, smaller language models (Phi-2 and Falcon-7B) within an enhanced RAG framework. Our multi-faceted approach involves several enhancements to the whole LLM-RAG pipeline of finetuning, retrieval, prompt engineering and inference. Our approaches significantly outperform existing results, achieving accuracy improvements from baselines of 24.70% to 49.30% with Falcon-7B and from 42.07% to 84.65% with Phi-2.
format Preprint
id arxiv_https___arxiv_org_abs_2409_14175
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle QMOS: Enhancing LLMs for Telecommunication with Question Masked loss and Option Shuffling
Guda, Blessed
Ashungafac, Gabrial Zencha
Francis, Lawrence
Joe-Wong, Carlee
Computation and Language
Artificial Intelligence
Machine Learning
Large Language models (LLMs) have brought about substantial advancements in the field of Question Answering (QA) systems. These models do remarkably well in addressing intricate inquiries in a variety of disciplines. However, because of domain-specific vocabulary, complex technological concepts, and the requirement for exact responses applying LLMs to specialized sectors like telecommunications presents additional obstacles. GPT-3.5 has been used in recent work, to obtain noteworthy accuracy for telecom-related questions in a Retrieval Augmented Generation (RAG) framework. Notwithstanding these developments, the practical use of models such as GPT-3.5 is restricted by their proprietary nature and high computing demands. This paper introduces QMOS, an innovative approach which uses a Question-Masked loss and Option Shuffling trick to enhance the performance of LLMs in answering Multiple-Choice Questions in the telecommunications domain. Our focus was on using opensource, smaller language models (Phi-2 and Falcon-7B) within an enhanced RAG framework. Our multi-faceted approach involves several enhancements to the whole LLM-RAG pipeline of finetuning, retrieval, prompt engineering and inference. Our approaches significantly outperform existing results, achieving accuracy improvements from baselines of 24.70% to 49.30% with Falcon-7B and from 42.07% to 84.65% with Phi-2.
title QMOS: Enhancing LLMs for Telecommunication with Question Masked loss and Option Shuffling
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2409.14175