A Semantic Feature-Wise Transformation Relation Network for Automatic Short Answer Grading

Zhaohui Li, Yajur Tomar, Rebecca J. PassonneauEMNLP 2021

Introduction

Automatic Short Answer Grading (ASAG) represents a critical challenge in scaling personalized education. Unlike multiple-choice questions, short natural language answers require students to demonstrate higher-order cognitive skills. However, automating the grading of these responses is difficult due to three primary factors: the complex ternary relationship between the question, reference answer, and student response; the scarcity of high-quality labeled datasets; and significant class imbalance in real-world grading scenarios.

Methodology: The SFRN Model

To address these challenges, researchers proposed the Semantic Feature-wise transformation Relation Network (SFRN). This architecture moves beyond simple binary similarity checks by explicitly modeling the relationship between the Question (Q), Reference Answer (R), and Student Answer (A).

Architecture and Fusion

The SFRN pipeline consists of three stages:

  1. Encoding: Input triples (Q, R, A) are converted into vector representations using either LSTMs or pre-trained BERT models (denoted as SFRN+).
  2. Relation Network ($g_\theta$): The model processes "QRA triples" to learn a relation vector for each reference answer associated with a question.
  3. Semantic Feature-wise Transformation (SFT): Inspired by Feature-wise Linear Modulation (FiLM) in computer vision, SFT serves as a sophisticated fusion mechanism. Rather than simple averaging, it applies a learned transformation to weight and merge relations based on the specific context of the student's answer.
The SFRN architecture processes Question-Reference-Answer triples through a relation network and a feature-wise transformation layer.

Data Augmentation via Back-Translation

To mitigate data scarcity and class imbalance, the authors employed back-translation. Student answers were translated into pivot languages (e.g., Chinese or French) and then back into English. This process generated linguistically diverse training examples while preserving the original labels, effectively re-balancing the dataset by oversampling rare classes like "contradictory" or "partially correct" responses.

Experimental Setup

The model was evaluated on two major benchmarks:

  • SemEval-2013: Comprising the Beetle (electronics) and SciEntsBank (general science) datasets, testing generalization across unseen answers (UA), unseen questions (UQ), and unseen domains (UD).
  • ASAP-SAS: A dataset from a Kaggle competition utilizing rubrics rather than direct reference answers.

Key Results and Discussion

The BERT-enhanced SFRN+ model achieved state-of-the-art results across multiple tasks. On the Beetle dataset, it consistently outperformed baselines in 2-way, 3-way, and 5-way classification.

Performance metrics on the Beetle dataset demonstrate that SFRN+ significantly outperforms existing methods across various task complexities, achieving up to an 11% improvement in accuracy.

Key findings include:

  • Significant Performance Gains: SFRN+ showed up to an 11% improvement over previous state-of-the-art methods on the SemEval-2013 benchmark (e.g., 75% vs 64% accuracy in 5-way UA tasks).
  • Robustness and Generalization: On the ASAP-SAS dataset, the model achieved a Quadratic Weighted Kappa (QWK) of 0.79. Furthermore, the model maintained high performance on "unseen domains," indicating it learns semantic relationships rather than just keyword matching.
  • The Importance of Ternary Modeling: Results confirm that the Question is a vital third pillar providing the necessary context to understand why an answer is correct or incorrect.

Conclusion

The SFRN model demonstrates that treating ASAG as a ternary relational problem and utilizing context-aware fusion (SFT) significantly improves grading accuracy. While 5-way classification remains challenging—particularly for low-content "non-domain" responses—the combination of sophisticated architecture and targeted data augmentation provides a robust framework for automated educational assessment.

Summary updated

BibTeX
@inproceedings{li2021semantic,
  author = {Zhaohui Li and Yajur Tomar and Rebecca J. Passonneau},
  title = {{A Semantic Feature-Wise Transformation Relation Network for Automatic Short Answer Grading}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-main.487},
}
Figure