Uppsats
ReAct-Driven AI Agent for Document Analysis : An analysis of the ReAct approach and performance comparison with baseline LLMs
Master-uppsats
KTH/Skolan för elektroteknik och datavetenskap (EECS)
Publicerad: 2025
Språk: Engelska
Nyckelord
klicka för att sökaSammanfattning
The rise of Large Language Models (LLMs) has transformed Natural Language Processing (NLP) tasks, enabling impressive capabilities in reasoning, summarization, and question answering. However, their application to realworld, multi-step document analysis in industrial contexts remains limited by a lack of interpretability, tool integration, and consistent performance. This thesis investigates whether the Reasoning and Acting (ReAct) paradigm can address these limitations by combining LLM reasoning with external tool usage in a structured loop. The core problem is enabling accurate, traceable, and robust extraction of structured information from documents like policies and procedures—tasks where direct prompting or retrievalaugmented generation often fail. To tackle this, a ReAct-style agent was implemented using LangGraph and GPT-4o, equipped with tools such as deep search and code execution. The agent was evaluated against baseline methods across tasks like information extraction, classification, and document question answering, using both internal (Volvo) and public datasets. Results show that the ReAct agent achieves higher accuracy on multi-step reasoning tasks, and significantly improves interpretability by exposing intermediate reasoning traces, with only moderate latency overhead. The project demonstrates that ReAct agents can support more auditable, modular, and capable Artificial Intelligence (AI) systems for real-world document analysis, enabling workflows that were previously difficult to automate reliably.
Information
- Författare
- Haddad, Zyad
- Lärosäte / institution
- KTH/Skolan för elektroteknik och datavetenskap (EECS)
- Publiceringsdatum
- 2025
- Uppsatstyp
- Master-uppsats
- Språk
- Engelska
- Nyckelord
- ⌕Large Language Models⌕Stora Språkmodeller⌕document analysis⌕dokumentanalys⌕Natural Language Understanding⌕Reasoning and Acting Agents⌕Interpretability in Artificial Intelligence⌕Tool-Augmented Language Models⌕Industrial Document Processing⌕Multi-Step Information Extraction⌕GPT-4⌕LangGraph Framework⌕Resonemangs- och handlingsagenter⌕Tolkningsbarhet inom artificiell intelligens⌕Verktygsförstärkta språkmodeller⌕Industriell dokumentbehandling⌕Flerstegs informationsutvinning⌕LangGraph-ramverk⌕Förståelse av naturligt språk
Utforska vidare
Liknande uppsatser
Uppsatser med liknande ämnen och nyckelord.
Master-uppsats, KTH/Skolan för elektroteknik och datavetenskap (EECS)
Saleh, Abdelrahman
Publicerad: 2026
Yrkesexamen på avancerad nivå, Uppsala universitet/Avdelningen för systemteknik
Vigholm, Albin
Publicerad: 2026
Kandidat-uppsats, Högskolan i Gävle/Avdelningen för datavetenskap och samhällsbyggnad
Vambe, Vimbainaishe
Publicerad: 2026
Kandidat-uppsats, Högskolan i Halmstad/Akademin för informationsteknologi
Johansson, Nathalie, Jonsson, Liam
Publicerad: 2026
Kandidat-uppsats, Högskolan i Borås/Akademin för bibliotek, information, pedagogik och IT
Lanestedt, Gustav
Publicerad: 2026
Kandidat-uppsats, Uppsala universitet/Institutionen för informatik och media
Olsson, Lukas, Arvidson, Jarl
Publicerad: 2026