When Looks Do Not Lie: Discourse Structure Guided In-Context Learning for Faithful Diagram Generation

Read full text
Authors: Evanfiya Logacheva, Arto Hellas, Tsvetomila Mihaylova, Juha Sorva, Ava Heinonen, Juho Leinonen
Cited by: 0

Abstract

GenAI is widespread in educational applications; however, it is known to generate content with intrinsic and extrinsic hallucination. We introduce a novel method for ICL diagram generation based on Rhetorical Structure Theory, which improves diagram faithfulness to its source text context. We find that ICL performance depends on task distribution and models' reasoning ability, with higher reasoning allowing better quality and performance for an out-of-distribution task. We perform an expert evaluation of 150 generated diagrams and analyze our findings using Bayesian GLMMs. Additionally, we use our evaluation rubric and samples from the data set for automated diagram evaluation, achieving statistically significant agreement with human evaluation.

Fields of Study & Subjects

Topic Modeling Artificial Intelligence in Education Natural Language Processing Techniques

Publication details

Journal / source
arXiv (Cornell University)
Publication date
28 January 2026
Document type
Preprint