Personalizing Student-Agent Interactions Using Log-Contextualized Retrieval Augmented Generation (RAG)

📅 2025-05-22
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
In STEM+C education, large language model (LLM)-based teaching agents suffer from retrieval failure and hallucination in RAG systems due to semantic sparsity in student utterances. To address this, we propose Log-Contextualized RAG (LC-RAG), the first approach to jointly embed multimodal learning environment interaction logs—including collaborative modeling actions, tool usage, and dialogue history—into the RAG retrieval process, thereby enabling dynamic semantic alignment between student discourse and domain knowledge. LC-RAG integrates dialogue modeling, log representation learning, and a collaborative computational modeling environment (XYZ) to generate context-aware, personalized feedback. Experiments on collaborative modeling tasks show that LC-RAG improves retrieval accuracy by 32% over a dialogue-only RAG baseline. It significantly enhances the relevance, credibility, and cognitive support capability of the Copa teaching agent, demonstrating robust performance in authentic pedagogical settings.

Technology Category

Application Category

📝 Abstract
Collaborative dialogue offers rich insights into students' learning and critical thinking. This is essential for adapting pedagogical agents to students' learning and problem-solving skills in STEM+C settings. While large language models (LLMs) facilitate dynamic pedagogical interactions, potential hallucinations can undermine confidence, trust, and instructional value. Retrieval-augmented generation (RAG) grounds LLM outputs in curated knowledge, but its effectiveness depends on clear semantic links between user input and a knowledge base, which are often weak in student dialogue. We propose log-contextualized RAG (LC-RAG), which enhances RAG retrieval by incorporating environment logs to contextualize collaborative discourse. Our findings show that LC-RAG improves retrieval over a discourse-only baseline and allows our collaborative peer agent, Copa, to deliver relevant, personalized guidance that supports students' critical thinking and epistemic decision-making in a collaborative computational modeling environment, XYZ.
Problem

Research questions and friction points this paper is trying to address.

Enhancing student-agent interactions with contextualized RAG
Reducing LLM hallucinations in STEM+C learning dialogues
Improving retrieval relevance for personalized educational guidance
Innovation

Methods, ideas, or system contributions that make the work stand out.

Log-contextualized RAG enhances retrieval with environment logs
LC-RAG improves semantic links in student dialogue
Personalized guidance supports critical thinking in STEM+C
🔎 Similar Papers
No similar papers found.
Clayton Cohn
Clayton Cohn
PhD Student, Vanderbilt University
NLPLLMsAIEDAgents
S
Surya Rayala
Department of Computer Science, Vanderbilt University, Nashville, USA
C
Caitlin Snyder
College of Engineering & Science, University of Detroit Mercy, Detroit, USA
J
J. Fonteles
Department of Computer Science, Vanderbilt University, Nashville, USA
S
Shruti Jain
Department of Computer Science, Vanderbilt University, Nashville, USA
Naveeduddin Mohammed
Naveeduddin Mohammed
Vanderbilt University
Open ended computer based learning environmentscognitioncomputer aided instructionlearning
Umesh Timalsina
Umesh Timalsina
Vanderbilt University
cyber physical systemsdeep learningmulti modal data
S
Sarah K. Burriss
Department of Computer Science, Vanderbilt University, Nashville, USA
S
S. AshwinT.
Department of Computer Science, Vanderbilt University, Nashville, USA
Namrata Srivastava
Namrata Srivastava
Research Scientist, Vanderbilt University
Learning AnalyticsHuman Computer InteractionEye-trackingData ScienceArtificial Intelligence
M
Menton M. Deweese
Department of Computer Science, Vanderbilt University, Nashville, USA
A
Angela Eeds
Department of Computer Science, Vanderbilt University, Nashville, USA
Gautam Biswas
Gautam Biswas
Cornelius Vanderbilt Professor of Engineering; Professor of Computer Science and Engineering
Artificial Intelligence in EducationReinforcement LearningMultimodal AnalyticsLearning Tech