Logo: to the web site of Uppsala University

uu.sePublications from Uppsala University
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association
  • 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
RAG-based data extraction: Mining information from second-life battery documents
Uppsala University, Disciplinary Domain of Science and Technology, Mathematics and Computer Science, Department of Information Technology, Division of Systems and Control.
2024 (English)Independent thesis Advanced level (professional degree), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

With the constant evolution of Large Language Models (LLMs), methods for minimizing hallucinations are being developed to provide more truthful answers. By using Retrieval-Augmented Generation (RAG), external data can be provided to the model on which its answers should be based. This project aims at using RAG for a data extraction pipeline specified for second-life batteries. By pre-defining the prompts the user may only provide the documents that are wished to be analyzed, this is to ensure that the answers are in the correct format for further data processing. To process different document types, initial labeling takes place before more specific extraction suitable for the document can be applied. Best performance is achieved by grouping questions that allow the model to reason around what the relevant questions are so that no hallucinations occur. Regardless of whether there are two or three document types, the model performs equally well, and it is clear that a pipeline of this type is well suited to today's models. Further improvements can be achieved by utilizing models containing a larger context window and initially using Optical Character Recognition (OCR) to read text from the documents. 

Place, publisher, year, edition, pages
2024. , p. 43
Series
UPTEC F, ISSN 1401-5757 ; 24025
Keywords [en]
RAG, Retrieval-Augmented Generation, LLM, AI, Data extraction, second-life battery, data extraction pipeline, data extraction
National Category
Natural Language Processing
Identifiers
URN: urn:nbn:se:uu:diva-533357OAI: oai:DiVA.org:uu-533357DiVA, id: diva2:1877456
External cooperation
Cling Systems AB
Educational program
Master Programme in Engineering Physics
Presentation
2024-05-30, Zoom, Uppsala, 10:45 (English)
Supervisors
Examiners
Available from: 2024-06-26 Created: 2024-06-25 Last updated: 2025-02-07Bibliographically approved

Open Access in DiVA

RAG_based_data_extraction_Mining_information_from_second_life_battery_documents(1373 kB)1007 downloads
File information
File name FULLTEXT01.pdfFile size 1373 kBChecksum SHA-512
1f489468d57ed1350e04fadeeaa38b2e4f503c0a1902b9bbf0174a478cf252ac9ac41aec0585cbda0ad2ad4ce683c65aa85ae62ee8d6c01fa7101c9cf3ce03e2
Type fulltextMimetype application/pdf

By organisation
Division of Systems and Control
Natural Language Processing

Search outside of DiVA

GoogleGoogle Scholar
Total: 1008 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: 2062 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association
  • 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