Discourse Self-Attention for Discourse Element Identification in Argumentative Student Essays

Wei Song, Ziyao Song, Ruiji Fu, Lizhen Liu, Miaomiao Cheng, Ting Liu

Introduction

Discourse Element Identification (DEI) is a critical task in natural language processing, specifically within the domain of educational technology. It involves classifying the functional role of each sentence in an argumentative essay—identifying whether a sentence serves as an introduction, a thesis statement, a main idea, supporting evidence, or a conclusion. Accurate DEI is foundational for automated essay scoring systems and for providing constructive, formative feedback to student writers.

However, DEI presents significant challenges. First, there is inherent ambiguity; for instance, a "thesis" and a "main idea" may share similar linguistic features, with their distinction relying entirely on their structural role. Second, the task is highly context-dependent, as a sentence's function is defined by its relationship to the surrounding text. Finally, datasets often suffer from class imbalance, where "elaboration" sentences are abundant while "thesis" statements are rare, leading standard models to overlook these minority classes.

Methodology: The DiSA Framework

To address these challenges, the researchers introduced Discourse Self-Attention (DiSA), a model that moves beyond traditional sequence labeling approaches, such as BiLSTMs, by explicitly modeling the structural and semantic relationships between all sentences in an essay.

The DiSA architecture integrates structural positional encodings with element and content self-attention.

The architecture consists of two primary innovations:

  1. Structural Sentence Positional Encodings (SPE): Unlike standard Transformers that utilize word-level positions, DiSA employs three levels of relative sentence positioning: Global (position in the essay), Paragraph (index of the paragraph), and Local (position within the paragraph). This provides a powerful signal, as authors typically follow conventions regarding where specific elements (like a thesis) appear.
  2. Inter-Sentence Attention (ISA): The model employs dual self-attention mechanisms to capture inter-sentence dependencies:
  3. Element Self-Attention (ElemSA): Learns the typical sequences of discourse functions (e.g., the likelihood of a "main idea" following an "introduction").
  4. Content Self-Attention (ContSA): Captures semantic links across the essay, allowing the model to recognize how a thesis statement relates to evidence presented much later in the text.

The resulting attention maps are processed via Adaptive Maxpooling to create a fixed-size representation for final classification.

Experimental Results

The DiSA model was evaluated on both Chinese and English datasets. The Chinese dataset comprised 1,230 high school essays annotated with seven categories, while the English dataset utilized a converted version of the Stab and Gurevych (2014) corpus.

F1 scores across discourse elements on the Chinese dataset, showing DiSA's superior performance, particularly in the difficult 'Thesis' category.

As shown in the results, DiSA significantly outperformed baseline models. On the Chinese dataset, DiSA achieved a macro-F1 score of 0.657, a substantial improvement over the HBiLSTM baseline (0.540). Similar gains were observed on the English dataset, where DiSA reached a macro-F1 of 0.699 compared to 0.501 for HBiLSTM.

A key finding was the model's ability to identify minority classes. The Inter-Sentence Attention mechanism proved particularly effective for identifying the "thesis" statement. Because a thesis typically anchors the entire essay, the global connectivity provided by self-attention allowed the model to distinguish it from localized "main ideas" that a standard BiLSTM might confuse. Furthermore, ablation studies confirmed that structural positional encodings are vital; removing them resulted in an 8% drop in macro-F1 performance.

Conclusion

The DiSA model demonstrates that incorporating structural context and global inter-sentence relationships is essential for effective discourse analysis in student writing. By leveraging positional encodings and dual self-attention, the model overcomes the limitations of local sequence models and handles class imbalance more effectively. Future research will explore applying this architecture to broader argument mining tasks and evaluating document-level coherence.

Summary updated

BibTeX
@inproceedings{song2020discourse,
  author = {Wei Song and Ziyao Song and Ruiji Fu and Lizhen Liu and Miaomiao Cheng and Ting Liu},
  title = {{Discourse Self-Attention for Discourse Element Identification in Argumentative Student Essays}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2020},
  doi = {10.18653/v1/2020.emnlp-main.225},
}
Figure