Adressing Domain-specific Knowledge and Terminology using Large Language Models and Word Embeddings
2024 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE credits
Student thesis
Abstract [en]
Knowledge-intensive domains, such as telecommunications, rely heavily on domain-specific terminology, which might create barriers to effective communication and knowledge transfer. This thesis investigates the application of Natural Language Processing (NLP) techniques, specifically Retrieval-Augmented Generation (RAG) and Word2Vec models, to enhance knowledge retrieval and understanding of domain-specific terminology within the context of Ericsson's Cloud Radio Access Network (RAN) technology.
The RAG approach modifies a general-purpose Large Language Model (LLM) to answer domain-specific questions by retrieving relevant information from a knowledge base. The best-performing RAG-based chatbot was the one that retrieved a single document, achieving a score of 207 out of a maximum of 300. Additionally, the RAG-based chatbot outperformed the general-purpose ChatGPT 3.5 model, which scored 144.
Moreover, a Word2Vec model was trained on internal documentation to generate similar terms related to Cloud RAN terminology. The Continuous Bag-of-Words (CBOW) architecture with an embedding size of 300, a window size of 5, and a cosine threshold of 0.9 achieved the best performance, with a precision of 0.71 and a recall of 0.70 in generating relevant similar terms.
The thesis also presents an integrated solution combining the RAG-based chatbot and the Word2Vec model with an user interface. The RAG module generates accurate responses based on user queries and retrieved-context, while the Word2Vec module suggests related technical topics, facilitating further exploration and understanding.
Place, publisher, year, edition, pages
2024. , p. 57
Series
IT ; mIA 24 002
Keywords [en]
Word2Vec, Retrieval-Augmented Generation, RAG, Continuous Bag of Words, CBOW, AI, Large Language Model, LLM, word embeddings, chatbot
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:uu:diva-533869ISRN: IT mIA 24 002OAI: oai:DiVA.org:uu-533869DiVA, id: diva2:1879597
External cooperation
Ericsson AB
Subject / course
Computer Systems Sciences
Educational program
Master's Programme in Industrial Analytics
Supervisors
Examiners
2024-08-162024-06-282024-08-16Bibliographically approved