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

Clayton Cohn, Surya Rayala, Caitlin Snyder, Joyce Fonteles, Shruti Jain +8 more
5/22/2025
cs.CL

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Collaborative dialogue offers rich insights into students' learning and critical thinking, which is essential for personalizing pedagogical agent interactions in STEM+C settings. While large language models (LLMs) facilitate dynamic pedagogical interactions, hallucinations undermine confidence, trust, and instructional value. Retrieval-augmented generation (RAG) grounds LLM outputs in curated knowledge but requires a clear semantic link between user input and a knowledge base, which is often weak in student dialogue. We propose log-contextualized RAG (LC-RAG), which enhances RAG retrieval by using 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, C2STEM.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{cohn2025personalizing,
  title  = {Personalizing Student-Agent Interactions Using Log-Contextualized Retrieval Augmented Generation (RAG)},
  author = {Clayton Cohn and Surya Rayala and Caitlin Snyder and Joyce Fonteles and Shruti Jain and Naveeduddin Mohammed and Umesh Timalsina and Sarah K. Burriss and Ashwin T S and Namrata Srivastava and Menton Deweese and Angela Eeds and Gautam Biswas},
  year   = {2025},
  eprint = {2505.17238},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.17238v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.17238.svg)](https://codeofpaper.com/paper/2505.17238)

Discussion