Back to search

Georgia Southern University

Contextual Augmentation in Artificial Intelligence

Abstract

dc:description.abstract

Contextual understanding is a significant challenge of Large Language Models (LLMs), which are typically trained on general-purpose datasets. Due to this, LLMs fail to capture nuanced or domain-specific information and may struggle to interpret user queries accurately. Consequently, prompt engineering can become complex in automating, and LLMs are prone to “hallucinating”—generating random or irrelevant texts—when they lack sufficient context. This undermines their ability to provide focused, accurate responses. Accordingly, this thesis seeks to enhance the contextual understanding capabilities of Artificial Intelligence systems to facilitate more precise and relevant answer generation. Study A looks into a new approach to combating misinformation on social media using Retrieval-Augmented Generation (RAG) with LangChain. The proposed model compares users’ posts against corresponding news articles by feeding both into LLM to assess their alignment. This process enables the LLM to detect potential misinformation in the user’s post. To empirically validate the model’s effectiveness, we conduct a t-test to evaluate our hypothesis; the results confirm that this RAG-based method significantly improves misinformation detection. Study B explores the importance of sentiment in text-to-image generation, focusing on a new text-to-sticker prediction model. The model generates stickers from textual inputs based on sentiment and contextual cues, making digital interactions more engaging. To evaluate its effectiveness, we compared sticker outputs that included sentiment values against those that did not. A t-test analysis revealed that incorporating sentiment significantly improves the stickers’ relevance to user conversations and emotions, ultimately making them more appealing than the sentiment-free outputs. Study C focuses on improving LLM contextual understanding through external context sourcing RAG. In this approach, document containing text, images, and tables, are transformed into high-dimensional vectors via LLM-generated embeddings, then stored in a vector database. When a user submits a query, the LLM retrieves the most relevant documents from this vector store, enabling a deeper understanding of the query and improving response quality. A comparative analysis—supported by a t-test—indicates that this RAG-based model outperforms typical LLM, demonstrating greater efficiency and accuracy. These research studies are combined in this thesis to unlock the hidden potentials of LLMs by providing a comprehensive understanding of improving Artificial Intelligence in contextualization for accurate answer generation and engagement. This solution eradicates LLMs’ hallucinations by providing them with the right context and putting machines’ reasoning on the same page as humans. The thesis also creates a solution to the long challenges of AI and the battle with the spread of misinformation through digital means.

Degree

thesis:*
Name thesis:degree_name
Master of Science, Information Technology
Level thesis:degree_level
Thesis (open access)
Discipline thesis:degree_discipline
Department of Information Technology

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Balogun, Emmanuel Joshua
Contributors dc:contributor
  • Jongyeop Kim
  • Atef Mohamed

Subjects

dc:subject × 19

Rights

Identifiers

dc:identifier.*
Repository record dc:identifier
https://digitalcommons.georgiasouthern.edu/etd/2921

Chain of custody

source
Harvested from
Georgia Southern University
Base URL
digitalcommons.georgiasouthern.edu/do/oai/
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Balogun, Emmanuel Joshua. Contextual Augmentation in Artificial Intelligence. Thesis (open access) thesis, https://digitalcommons.georgiasouthern.edu/etd/2921