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
Enriching Retrieval-AugmentedGeneration with Non-TextualInformation to Support ScientificWriting
Uppsala University, Disciplinary Domain of Science and Technology, Mathematics and Computer Science, Department of Information Technology.
2025 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

Retrieval-Augmented Generation (RAG) systems have primarily focused on leveraging textualinformation, often overlooking the insight offered by non-textual elements such as figures, tables,equations, and code snippets. Furthermore, research on this topic remains sparse, withfew comprehensive approaches to tackling the integration of such elements into RAG pipelines.This thesis addresses this gap by proposing a method to enrich RAG systems with non-textualinformation, with a particular focus on research papers.

The objective of this work is to enhance the capabilities of an academic research assistant RAGsystem by integrating non-textual content extracted from scientific documents. The proposedmethod involves a multi-step approach: extraction of non-textual components from diverse researchpapers using tools such as GROBID and Marker, processing and contextualization ofsaid components through classification and the extraction of related information from the papersand ultimately converting them into textual information using multimodal Large Language Models(LLMs) and iterative prompt engineering. This methodology is tested across multiple modelsprovided by OpenAI and Gemini to demonstrate its adaptability.

The core result of this thesis is a complete, modular pipeline that transforms non-textual elementsinto meaningful textual descriptions, enabling their use within existing RAG systems, with a focuson academic writing. The framework supports customization, with each subsystem (extraction,processing, contextualization, and summarization) designed to be independently upgradable.Additionally, the thesis provides validated starting points for each subsystem: a reliable methodfor extracting non-textual elements, an effective approach to processing them accordingly throughsegmentation and classification, contextualizing them using related textual information, and a setof tested prompts to guide LLMs during summarization.

In conclusion, this work attempts to lay the groundwork for future research into more efficientintegration of non-textual information into RAG systems of any type. It does so by offering asimple but scalable pipeline and proposing starting points for each step.

Place, publisher, year, edition, pages
2025. , p. 37
Series
IT ; mDV 25 024
Keywords [en]
Retrieval-Augmented Generation, LLM, Non-Textual Analysis
National Category
Engineering and Technology
Identifiers
URN: urn:nbn:se:uu:diva-565471OAI: oai:DiVA.org:uu-565471DiVA, id: diva2:1990953
Subject / course
Computer Systems Sciences
Educational program
Master Programme in Computer Science
Supervisors
Examiners
Available from: 2025-08-21 Created: 2025-08-21 Last updated: 2025-08-21Bibliographically approved

Open Access in DiVA

fulltext(1021 kB)187 downloads
File information
File name FULLTEXT01.pdfFile size 1021 kBChecksum SHA-512
204901fbbb57d87aece6953dd7a362845f935fd1a1dd18fb51ab4537f0ff527ace10aa606afb3c4ba70149269e0cdb44e6b02d4ce42d0bec07d0cbdaee3b6a95
Type fulltextMimetype application/pdf

By organisation
Department of Information Technology
Engineering and Technology

Search outside of DiVA

GoogleGoogle Scholar
Total: 189 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: 281 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