TRANSMISSION // 2612.05532v1

Can a Course Knowledge Graph Spot When Student Questions Drift?

Source published

A small engineering-course study tests whether a teacher-built knowledge graph can flag chatbot questions that do not match the current learning activity—and explain why.

AI-generated conceptual illustration for Can a Course Knowledge Graph Spot When Student Questions Drift?
AI-generated conceptual illustration; not documentary evidence.

When students ask a chatbot for help, their questions can reveal whether they are working with the concepts a lesson is meant to teach. Researchers tested a knowledge-graph method for identifying questions that appear to fall behind, jump ahead, or stray beyond the course material.

Students’ questions to an educational chatbot may offer clues about the concepts they are working with. But if teachers cannot see those exchanges, they may miss signs that a learner is stuck—or has moved to material the current activity does not cover. A preprint by Maria-Teresa Segarra Montesinos and Grégory Smits proposes a way to flag such mismatches using a structured map of course content.

The researchers define “misalignment” as a discrepancy between the knowledge components (KCs) indicated by a student’s question and the objectives of the learning material the student is using. A flag is not, by itself, proof that a student is confused. It means the question’s apparent concepts do not fit the activity as represented in the course map.

Turning course structure into a map

The method uses a knowledge graph: a network of learning materials, their sections, the KCs covered in those sections, and prerequisite relationships between materials. For example, the paper’s graph includes a lecture on a JPA repository with a lecture on software architecture as a prerequisite.

To analyze a question, the system encodes it and compares it with descriptions of course sections. The most similar sections point to KCs likely involved in the query. It then compares those KCs with the current material and with other materials in the graph. The best-aligning material, its position in the prerequisite structure, and a weighted difference in similarity help determine whether the query appears to concern prerequisite content, later content, or material outside the current activity’s modeled curricular neighborhood. “Outside” here means there is no prerequisite path connecting the materials in the graph—not that no possible relationship exists in the wider curriculum.

The approach still uses an AI language-model encoder to represent text. Its distinction from the tested alternatives is that the curriculum graph and its prerequisite relationships ground the comparison, rather than asking a language model alone to make the alignment judgment.

What the study found

The evaluation took place at a French engineering school. Over three weeks and two assessment sessions, the chatbot collected questions from 61 fourth-year students, along with the identifier of the material each student was working on. Teachers built a graph containing 55 learning materials, 212 sections, and 282 KCs.

The researchers report 109 observed question–material pairs, annotated by two teachers. Queries relevant to more than one material were duplicated to represent those pairings. They then added examples by re-associating authentic questions with earlier or later materials in the prerequisite sequence. The resulting set used for misalignment evaluation contained 112 aligned, 211 misaligned, and 20 advanced pairs. These added examples were constructed, not additional student interactions.

KC retrieval was evaluated separately on 49 queries for which teachers identified the KCs involved. In the reported tests, the graph-based approach outperformed the language-model baselines on KC retrieval metrics and on the misalignment evaluation. For that latter task, the researchers grouped misaligned and advanced pairs as positive cases and aligned pairs as negative cases. The graph-based method’s F1 score was 0.8583, versus 0.7500 for the plain LLM baseline. This score summarizes precision and recall for that particular evaluation; it is not a measure of general performance across courses or kinds of student questions. The graph method’s reported recall was higher than its precision, so it may catch potential cases while also producing false alarms.

The paper also reports per-query inference times: 0.35 seconds for the graph-based method, compared with 0.035 seconds for the simpler string-similarity baseline. It was faster than the tested LLM, chain-of-thought, and self-refinement variants, but not faster than every comparison method. These timings describe the tested setup, not a general computational advantage in all settings.

Why the evidence is limited

The authors caution that the dataset is small and that many misaligned and advanced evaluation pairs were created by reassigning authentic questions according to the prerequisite graph. Because the method also relies on that graph, these examples may favor it. The observed interactions are more direct evidence, but they provide a limited test in one engineering teaching unit. The authors say the dataset size constrains statistical significance.

The graph itself also depends on teacher judgments about which KCs materials cover and how those materials relate. The authors identify the definition and distribution of KCs as areas needing more systematic work. Some questions classified as aligned may still reveal misunderstanding or an inappropriate use of a concept; the paper suggests that representing the cognitive level expected—such as introducing a concept versus applying it—could help distinguish these cases.

The proposed use is to give teachers interpretable information that may support attention and intervention, not to diagnose ability automatically. The study evaluates KC extraction and misalignment detection, not whether the method improves learning or whether teachers used an alert interface in class. As a preprint, the paper presents preliminary findings rather than evidence of peer-reviewed consensus. The authors report that the code and corpus are publicly available for further examination and testing.

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.