Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Adressing Domain-specific Knowledge and Terminology using Large Language Models and Word Embeddings
Uppsala University, Disciplinary Domain of Science and Technology, Mathematics and Computer Science, Department of Information Technology.
2024 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent 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
Available from: 2024-08-16 Created: 2024-06-28 Last updated: 2024-08-16Bibliographically approved

Open Access in DiVA

Adressing Domain-specific Knowledge and Terminology using Large Language Models and Word Embeddings(1440 kB)629 downloads
File information
File name FULLTEXT01.pdfFile size 1440 kBChecksum SHA-512
b5454c0caaac7595f0a1dc0c03f42dc8b08a53979bf18ad7da06bdf102bdc9eadc52629a29c6041a46bad6cc110a0e3d798eabeb41ffbac565606c74f961fad2
Type fulltextMimetype application/pdf

By organisation
Department of Information Technology
Computer and Information Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 632 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 1334 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf