Deep Discourse Analysis for Generating Personalized Feedback in Intelligent Tutor Systems

Matt Grenander, Robert Belfer, Ekaterina Kochmar, Iulian Vlad Serban, François St-Hilaire, Jackie Chi Kit Cheung

Introduction

Intelligent Tutoring Systems (ITS) have long promised to democratize high-quality education. However, a persistent bottleneck remains: the inability of AI tutors to provide nuanced, human-like feedback on open-ended natural language answers. Most current systems operate as "black boxes," offering binary "correct/incorrect" judgments or generic hints that fail to address the specific logical gaps in a student's reasoning. This lack of granularity stems from a deficit in "discourse awareness"—the ability to understand the rhetorical relationships between different parts of a sentence.

Methodology: A Multi-Stage Discourse Pipeline

To bridge this gap, researchers have developed a novel pipeline that decomposes student answers into structured logical arguments rather than simple strings of text. The system follows a multi-stage process to analyze and map student input against a dynamic knowledge base.

The multi-stage pipeline for generating personalized feedback, from initial clustering to final feedback generation.

1. Segmentation and Semantic Mapping

The process begins with Segmentation, where a RoBERTa-based model breaks student answers into Elementary Discourse Units (EDUs). These are the smallest functional components of a sentence (e.g., "because the outputs are discrete"). Following segmentation, Semantic Mapping utilizes Sentence-BERT (SBERT) to determine if these EDUs are semantically equivalent to reference solutions in the system's database.

2. Discourse Classification

The system then performs Discourse Classification to identify the relationships between adjacent EDUs, such as Contingency, Comparison, or Expansion. This classification is based on the Penn Discourse Treebank (PDTB) framework, allowing the tutor to understand the rhetorical structure of the student's argument.

3. The Exercise Graph

The core innovation of this research is the Exercise Graph. For each exercise, the system constructs a graph where nodes represent clusters of semantically similar EDUs and edges represent valid logical transitions.

An example of an Exercise Graph showing logical transitions between discourse units and their associated weights.

By aggregating data from numerous student attempts and reference solutions, the graph learns multiple valid paths to a correct answer. When a student submits an answer, a "triplet classifier" checks if their logical transitions exist within the graph. If a discrepancy is found, a Local Search identifies the closest correct path, enabling the system to generate surgical feedback (e.g., "You have the right conclusion, but your reasoning is missing a justification").

Key Results

The proposed system demonstrates significant improvements in both technical performance and pedagogical outcomes:

  • Discourse Analysis Accuracy: The RoBERTa-based EDU segmenter achieved a state-of-the-art 97.5% F1 score.
  • Massive Learning Gains: In live deployments on the Korbit ITS platform, students receiving "Full Feedback" achieved a 75% success rate on their second attempt. This is a massive improvement over the 8.33% success rate observed with minimal feedback and the 20% rate from simple cluster-based baselines.
  • Expert Validation: Domain experts preferred the system's feedback in 65.93% of cases, ranking it as more helpful than baseline alternatives.

Discussion and Future Work

While the system represents a major step forward, several challenges remain. The current "triplet classifier" uses one-hot encoding for exercises, meaning it does not yet "read" the problem statement itself. Future iterations will focus on encoding the actual text of the questions to improve generalization. Additionally, the reliance on multiple RoBERTa models presents a high computational footprint; exploring multi-task learning could consolidate these into a more efficient architecture. Finally, domain-specific pre-training may be necessary to help SBERT distinguish between highly technical terms in specialized STEM fields.

Summary updated

BibTeX
@inproceedings{grenander2021deep,
  author = {Matt Grenander and Robert Belfer and Ekaterina Kochmar and Iulian Vlad Serban and François St-Hilaire and Jackie Chi Kit 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