kth.sePublications KTH
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
Artificial Intelligence in Mathematics Education: The Creation and Evaluation of an AI Agent from a Feedback Perspective
KTH, School of Industrial Engineering and Management (ITM), Learning.
2026 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesisAlternative title
Artificiell Intelligens i matematikundervisning (Swedish)
Abstract [sv]

Den snabba integreringen av artificiell intelligens (AI) inom utbildning har möjliggjort ett paradigmskifte från att se datorer som statiska verktyg till att behandla dem som symbiotiska partners inom en samverkande “människa-AI-allians”. Detta examensarbete undersöker tillämpningen av generativ artificiell intelligens (GenAI) inom matematikundervisning, med specifikt fokus på konstruktion och utvärdering av en AI agent utformad för att ge återkoppling enligt de fyra nivåer som definieras av Hattie och Timperley: uppgift, process, självreglering och person. Genom en iterativ designprocess innefattade studien utveckling och testning av flera versioner av agenten med hjälp av modellen Llama 3.3 70B, huserad på en lokal server på en svensk gymnasieskola. Prompt engineering delen vägleddes av IDEA ramverket och tillämpade principerna PARTS (Persona, Aim, Recipients, Theme, Structure) och CLEAR (Concise, Logical, Explicit, Adaptive, Restrictive) för att förfina agentens pedagogiska beteende. Empiriska data samlades in från ungefär 60 konversationer med svenska gymnasieelever och analyserades genom tematisk analys för att kartlägga interaktioner mot de teoretiska återkopplingsnivåerna. Resultaten bekräftar att genAI agenter är kapabla att ge återkoppling på alla fyra nivåer, även om återkoppling på uppgiftsnivå förblev mest förekommande på grund av stora språkmodellers grundläggande tendens att ge omedelbar verifiering. Tematiska fynd belyste en framgångsrik förskjutning mot återkoppling på processnivå och användningen av ledtrådar av typen “Vart ska jag härnäst?” för att aktivera elevernas självreglering. En kritisk “upplösning av självreglering” observerades dock i komplexa textuppgifter, där agenterna ofta föll tillbaka på direkt instruktion, vilket potentiellt kan framkalla en “expertise reversal effect”. Även om genAI erbjuder en kraftfull potential för omedelbar kognitiv stöttning (scaffolding), lägger den en betydande utvärderingsbörda på de lärande, som måste besitta tillräckliga förkunskaper för att upptäcka sakfel eller “hallucinationer”. Studien drar slutsatsen att en framgångsrik integrering av AI agenter kräver ett “humans in the loop” ramverk för att mildra tekniskt beroende och säkerställa att teknologin förstärker, snarare än ersätter, elevens egen kognitiva ansträngning.

Abstract [en]

The rapid integration of artificial intelligence in education (AIED) has facilitated a paradigm shift from viewing computers as static tools to treating them as symbiotic partners in a collaborative “human-AI alliance”. This thesis investigates the application of generative artificial intelligence (genAI) in mathematics education, specifically focusing on the creation and evaluation of an artificial intelligence (AI) agent designed to provide feedback according to the four levels defined by Hattie and Timperley: task, process, self-regulation, and self. Adopting an iterative design process, the study involved the development and testing of multiple agent versions using the Llama 3.3 70B model hosted on a local server at a Swedish upper secondary school. The prompt engineering was guided by the IDEA framework, employing PARTS (Persona, Aim, Recipients, Theme, Structure) and CLEAR (Concise, Logical, Explicit, Adaptive, Restrictive) principles to refine the pedagogical behaviour of the agent. Empirical data were gathered from about 60 conversations with Swedish upper secondary school students and analysed through thematic analysis (TA) to map interactions onto the theoretical feedback levels. The results confirm that generative AI agents are capable of providing feedback across all four levels, though task level feedback remained most frequent due to the core nature of large language models to provide immediate verification. The findings highlighted a successful shift toward process level feedback and the use of “Where to next?” cues to activate student self-regulation. However, a critical “dissolution of self-regulation” was observed in complex word problems, where the agents frequently defaulted to direct instruction, potentially inducing an “expertise reversal effect”. While genAI offers powerful potential for immediate cognitive scaffolding, it imposes a significant evaluative burden on learners, who must possess sufficient prior knowledge to detect factual inaccuracies or “hallucinations”. The study concludes that the successful integration of AI agents requires a “humans in the loop” framework to mitigate technological dependency and ensure that technology augments, rather than replaces, the student’s own cognitive effort.

Place, publisher, year, edition, pages
2026. , p. 60
Series
TRITA-ITM-EX ; 2026:22
Keywords [en]
AI, Artificial Intelligence, Artificial Intelligence in Education, Generative AI, Mathematics Education, Feedback, Prompt Engineering
Keywords [sv]
AI, Artificiell Intelligens, artificiell intelligens inom utbildning, generativ AI, matematikundervisning, återkoppling, prompt engineering
National Category
Engineering and Technology
Identifiers
URN: urn:nbn:se:kth:diva-379515OAI: oai:DiVA.org:kth-379515DiVA, id: diva2:2053441
Subject / course
Technology and Learning
Educational program
Master of Science in Engineering - Engineering and of Education
Supervisors
Examiners
Available from: 2026-04-16 Created: 2026-04-16 Last updated: 2026-04-17

Open Access in DiVA

fulltext(7620 kB)175 downloads
File information
File name FULLTEXT01.pdfFile size 7620 kBChecksum SHA-512
6eb528722f3af560b85c888bd550d288fe7eaa762496f280300a4b3e94d747b0a74735103b0c412e4e8bb57a5fe2a85d266e704ef94adb972c4cbc6f3c18450b
Type fulltextMimetype application/pdf

By organisation
Learning
Engineering and Technology

Search outside of DiVA

GoogleGoogle Scholar
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: 3695 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