Multi-Task Learning based Online Dialogic Instruction Detection with Pre-trained Language Models

Yang Hao, Hang Li, Wenbiao Ding, Zhongqin Wu, Jiliang Tang, Rose Luckin, Zitao Liu

Abstract

Effective online education relies on "dialogic instructions"—pedagogical moves such as commending students or summarizing lessons—that foster engagement and discourse. This paper presents a multi-task learning framework designed to automatically detect these instructions within online classroom videos. By integrating pre-trained language models (PLMs) with a specialized contrastive loss and a "hard example mining" strategy, the proposed system effectively identifies teaching strategies even when processing noisy, error-prone speech-to-text transcriptions. Experimental results demonstrate significant performance gains over traditional baselines and standard fine-tuned models.

Introduction

Identifying dialogic instructions in thousands of hours of online classroom video is a monumental task. The authors identify three primary hurdles in automating this process:

  1. Lack of Standardization: Pedagogical styles vary widely among instructors, making it difficult to define a universal template for specific instructions.
  2. Quality Variance: The clarity and effectiveness of instructions differ significantly between junior and senior teachers.
  3. Noisy Data: Automated Speech Recognition (ASR) in classroom environments often yields high error rates. In this study, the ASR character error rate was 11.36%, which frequently confuses standard text classifiers.

Methodology

The researchers proposed an end-to-end multi-task framework built upon Transformer-based Pre-trained Language Models (PLMs).

The Base Model

Several PLMs, including BERT, RoBERTa, and ELECTRA, were evaluated. The model utilizes the hidden state of the [CLS] token as the core sentence representation for downstream tasks.

Multi-Task Learning and Hard Example Mining

The framework optimizes two simultaneous objectives:

  • Multi-class Classification: A standard cross-entropy loss to categorize the instruction type.
  • Contrastive Learning: A loss function designed to maximize the distance in the embedding space between different categories, forcing the model to learn distinct boundaries between similar pedagogical moves.

To enhance this, the authors implemented Hard Example Mining (HEM). Instead of comparing instructions to random negative examples, the HEM strategy specifically targets instances the model currently misclassifies. This focus on "hard" cases allows the model to better distinguish between the most easily confused categories.

Experimental Results

The study utilized a real-world educational dataset comprising 16,174 training instances and 4,088 validation instances, tracking eight specific instructions: greeting, commending, guidance, example-giving, repeating, reviewing, note-taking, and summarization.

Base Model Performance

Initial evaluations compared various PLMs against classic baselines like BiLSTM and TextRCNN. As shown in the performance table below, modern models like RoBERTa and NEZHA significantly outperformed earlier architectures, demonstrating a higher tolerance for ASR noise.

Performance comparison of various base models on macro and micro averages.

Proposed Framework Gains

The final proposed model, M-RoBERTa-Hard, consistently outperformed standard fine-tuned PLMs. It achieved a Macro-average F1 score of 0.852, a notable jump from the 0.812 achieved by the standard RoBERTa model.

Performance of M-RoBERTa variants across specific instruction categories.

As detailed in the category-specific results, the multi-task approach improved performance in 6 out of 8 instruction types. Significant improvements were observed in "Note-taking" (F1 increased from 0.830 to 0.889) and "Example-giving" (F1 increased from 0.859 to 0.893).

Discussion and Future Work

The results indicate that forcing a mathematical "margin" between categories in the vector space via contrastive learning is highly effective for subtle pedagogical differences. Furthermore, the success of the HEM strategy suggests that models learn more efficiently from their failures than from easy successes.

However, limitations remain. The current system is unimodal, relying solely on text transcripts. Future research could incorporate visual cues (gestures, slides) and acoustic features (tone, prosody) to better capture teacher intent. Additionally, expanding the model to handle a broader range of pedagogical nuances beyond the eight defined categories would improve its real-world utility.

Summary updated

BibTeX
@inproceedings{hao2021multi,
  author = {Yang Hao and Hang Li and Wenbiao Ding and Zhongqin Wu and Jiliang Tang and Rose Luckin and Zitao Liu},
  title = {{Multi-Task Learning based Online Dialogic Instruction Detection with Pre-trained Language Models}},
  booktitle = {AIED},
  year = {2021},
  url = {https://openreview.net/forum?id=NXp3byQ6fw},
}
Figure