Deep Discourse Analysis for Generating Personalized Feedback in Intelligent Tutor Systems

Matt Grenander, Robert Belfer, Ekaterina Kochmar, Iulian V. Serban, François St-Hilaire, Jackie C. K. Cheung

TL;DR

This paper introduces a novel framework for Intelligent Tutoring Systems (ITS) that uses neural discourse analysis to provide granular, concept-level feedback. By decomposing student answers into elementary units and mapping them to a relational "exercise graph," the system can pinpoint exactly which parts of an answer are correct, incorrect, or missing, leading to significantly higher student learning gains compared to traditional methods.

What Problem Does This Paper Address?

While Intelligent Tutoring Systems (ITS) have proven effective, they often struggle with the nuance of natural language. Most current systems provide "coarse" feedback—telling a student their entire answer is wrong or providing generic hints. They lack the ability to perform a "surgical" critique: identifying that a student correctly stated a conclusion but failed to provide the necessary justification, or that they used a correct concept but linked it with flawed logic.

The authors aim to bridge this gap by applying Deep Discourse Analysis. The goal is to move beyond simple keyword matching and understand the rhetorical structure of a student's response, allowing the tutor to provide feedback that is both domain-aware and highly contextual.

Methods

The authors propose a multi-stage pipeline to transform raw student text into actionable feedback:

  1. Segmentation: The system first breaks down a student's answer into Elementary Discourse Units (EDUs)—the smallest building blocks of a claim or argument. They use a RoBERTa-based model to predict the start of new units (see Figure 1).
  2. Semantic Equivalence: To understand what is being said, the system uses SBERT (Sentence-BERT) to generate embeddings for each EDU. These are then clustered using DBSCAN so that different ways of saying the same thing (e.g., "it's classification" vs. "this is a classification task") are grouped together.
  3. Discourse Classification: To understand how ideas connect, another RoBERTa model classifies the relationship between adjacent EDUs (e.g., is the second unit a justification for the first?).
  4. The Exercise Graph: For every exercise, the system builds a directed graph where nodes are concept clusters and edges represent discourse relations (see Figure 3). This graph is populated using both expert reference solutions and historical student data.
  5. Triplet Classifier & Local Search: At inference time, the system uses a "triplet classifier" to score transitions in the graph. A local search algorithm then attempts to "edit" the student's answer into a high-scoring path. The differences between the student's original path and the "ideal" path determine the feedback (e.g., "You're right about X, but try adding a reason why").
Figure 1: Our neural discourse segmentation model. The in- put text is tokenized and encoded with RoBERTa. The em- beddings are then classified using a linear classifier. Predict- ing 1 indicates the start of a new EDU, while 0 denotes a continuation.
Figure 3: In this exercise graph example, the input texts are “I think it’s classification”, “it’s a classification task, be- cause it uses categories”, and “classification because the outputs are discrete.” After the EDUs, semantic embeddings and discourse relations are extracted, the semantic embed- dings are clustered, and weighted edges added as described in Section . Larger clusters represent commonly occurring concepts, while higher edge weights denote frequently oc- curring discourse relations.

Datasets

The models were trained and evaluated on several key datasets:

  • RST Discourse Treebank (RST-DT): Used to train the discourse segmenter.
  • Penn Discourse Treebank (PDTB 2.0): Used to train the discourse relation classifier.
  • Korbit ITS Data: A proprietary dataset from the Korbit tutoring platform, consisting of 253 STEM exercises and thousands of student interactions, used to build exercise graphs and evaluate learning gains.

Key Insights and Ideas

  • Rhetorical Structure Matters: The paper demonstrates that knowing that a student is trying to provide a reason (Contingency relation) is just as important as the content of the reason itself for providing helpful feedback.
  • Reconciling Frameworks: A major technical hurdle was that the segmenter (trained on RST-DT) and the classifier (trained on PDTB) use different discourse theories. The authors successfully reconciled these by fine-tuning the classifier on RST-style segments, boosting accuracy from 65.7% to 81.1%.
  • Generalizing Beyond References: By training a "triplet classifier" on the graph, the system learns to recognize valid transitions it hasn't seen before, allowing it to handle creative but correct student answers that weren't in the original reference set.

Key Results

The proposed system achieved state-of-the-art (SOTA) performance on standard discourse tasks and showed clear benefits in a real-world tutoring environment:

  • SOTA Performance: The segmentation model achieved a 97.5% F1 score on the RST-DT test set, while the discourse classifier reached 64.43% F1 for implicit relations, outperforming previous benchmarks (see Figure 5/6).
  • Learning Gains: In a live deployment on the Korbit platform, students receiving the "Full Feedback" were successful on their second attempt 75% of the time, compared to only 20% for a baseline that only matched concept clusters without the relational graph.
  • Expert Preference: Human experts ranked the discourse-based feedback as the "best" option in 65.93% of cases when compared against simpler baselines.
Table 2: Discourse segmentation results on the RST-DT test set. We measure precision (P), recall (R), and F1 score.

Limitations and Future Work

Despite the strong results, the authors note several areas for improvement:

  • Computational Heavyweight: The system currently relies on four separate RoBERTa models, which is memory-intensive. Future work could explore multi-task learning to consolidate these into a single model.
  • Domain Specificity: While SBERT is powerful, it occasionally struggles with highly technical STEM jargon (e.g., failing to realize "bias term" and "intercept" are equivalent in linear models).
  • Error Propagation: The triplet classifier is a critical link; if it misidentifies a transition, the resulting feedback can be nonsensical. The authors suggest incorporating the actual text of the exercise prompt into the classifier to provide more context.

Summary updated

BibTeX
@inproceedings{grenander2021deep,
  author = {Matt Grenander and Robert Belfer and Ekaterina Kochmar and Iulian V. Serban and François St-Hilaire and Jackie C. K. Cheung},
  title = {{Deep Discourse Analysis for Generating Personalized Feedback in Intelligent Tutor Systems}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i17.17829},
}
Figure