liu.seSearch for publications in DiVA
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • 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
Input Classification and Output Filtering in a Dialogue System for Child and Robot Book Conversations
Linköping University, Department of Computer and Information Science, Software and Systems.
2026 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesisAlternative title
Input-klassificering och output-filtrering i ett dialogsystem för barns boksamtal med en robot (Swedish)
Abstract [en]

Conversational systems used in educational settings must be able to handle imperfect user input whilst also generating correct and socially appropriate responses. This thesis explores how robustness and appropriateness can be improved for the BookBot project. The BookBot is a conversational robot designed to have book discussions with children, with the goal of inspiring them to read more. Previous versions of the system struggled with misinterpretations of input, as well as a lack of output filtering, resulting in inappropriate responses at times. 

To address these problems, this thesis introduces an input interpretation module as well as an output monitoring module. The input module classifies input into distinct categories with the help of the large language model (LLM) used in the system. Depending on the classification, fallback strategies may be triggered, or normal book-related discussions may continue. The output module filters the generated response by performing sentiment analysis as well as LLM-based self-evaluation on the response. The response may be regenerated depending on the outcome of the sentiment analysis and self-evaluation. These modules were evaluated using historical conversation logs from previous deployments of the BookBot system. 

The results show that the proposed modules improved the robustness and appropriateness of the system. The input interpretation module reduced misunderstandings and improved the handling of unclear input, while the output monitoring module detected and regenerated potentially harmful responses. The combined system showed that the modules interacted positively and performance improved compared to when the modules operated independently. However, these improvements came at a significant cost in increased latency, due to the increase in LLM calls and API throttling.

The thesis concludes that the input interpretation module and the output monitoring module can improve conversation quality in conversational systems for educational use. However, the additional computational cost and latency introduced with the current implementation limits its practicality. Future work should therefore focus on reducing latency, potentially through the use of a local or fine-tuned LLM.

Place, publisher, year, edition, pages
2026. , p. 55
Keywords [en]
Conversational Systems, Large Language Models (LLMs), Dialogue Management, Input Interpretation, Output Monitoring
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:liu:diva-225128ISRN: LIU-IDA/LITH-EX-A--26/049--SEOAI: oai:DiVA.org:liu-225128DiVA, id: diva2:2074027
Subject / course
Computer science
Presentation
2026-06-09, Donald Knuth, B-Huset, Linköpings Universitet, Linköping, 10:15 (English)
Supervisors
Examiners
Available from: 2026-06-23 Created: 2026-06-17 Last updated: 2026-06-23Bibliographically approved

Open Access in DiVA

fulltext(835 kB)35 downloads
File information
File name FULLTEXT01.pdfFile size 835 kBChecksum SHA-512
8cd6fe0452a5fc784f8bf93fc1f0e70e13776fca7cd8dd87126f61a29d8816e4b96fc98a979bb7c7ab1e29c591a644e773b7fb24386ca2d7e5b45c6514db140e
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Roos, Linus
By organisation
Software and Systems
Computer Sciences

Search outside of DiVA

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

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • 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