Abstract
Grammatical error detection and automated essay scoring are two tasks in the area of automated assessment. Traditionally these tasks have been treated independently with different machine learning models and features used for each task. In this paper, we develop a multi-task neural network model that jointly optimises for both tasks, and in particular we show that neural automated essay scoring can be significantly improved. We show that while the essay score provides little evidence to inform grammatical error detection, the essay score is highly influenced by error detection.
Introduction
In the field of automated assessment, researchers typically distinguish between two primary objectives: Grammatical Error Detection (GED) and Automated Essay Scoring (AES). GED is a "low-level" sequence labeling task where the system identifies specific errors at the word level. In contrast, AES is a "high-level" regression task that assigns a holistic grade to an entire document. Historically, these tasks have been approached in isolation, utilizing distinct feature sets and modeling techniques.
This research explores the synergy between these tasks using a multi-task learning framework. The central hypothesis is that a model's understanding of local grammatical correctness can significantly inform its global judgment of writing quality, particularly for English as a Second Language (ESL) learners.
Methodology
The proposed system utilizes a Bidirectional Long Short-Term Memory (BiLSTM) architecture to process text. The model consists of a shared backbone that generates contextual word representations, which are then utilized by task-specific "heads."
- Shared Backbone: The BiLSTM processes the essay word-by-word, capturing context from both directions.
- GED Head: For each word, the model performs binary classification to determine if the word is correct ('c') or incorrect ('i').
- AES Head: The hidden states of all words are aggregated via mean pooling to create a document-level vector. This vector is passed through a sigmoid output layer, scaled to the target score range (e.g., 1–20).
- Auxiliary Task: A semi-supervised language modeling objective ($E_{lm}$) is incorporated to predict the next word, enhancing the model's syntactic understanding.
The final objective function is a weighted sum of the losses from the AES ($E_{aes}$), GED ($E_{ged}$), and language modeling tasks.
Experimental Setup
The study utilized the First Certificate in English (FCE) dataset, a public corpus of essays written by ESL learners. This dataset is uniquely suited for multi-task learning as it provides both word-level error annotations and holistic scores for the same scripts. The authors evaluated a subset of 1,244 scripts mapped to a consistent 20-point scale.
Results and Discussion
The experimental results reveal a significant asymmetry in how the tasks interact. While the inclusion of essay scores provided negligible benefits for error detection (with $F_{0.5}$ scores remaining stable near 0.44), the inclusion of GED data led to a substantial improvement in essay scoring performance.
As shown in the results table, the baseline AES model (trained only on $E_{aes}$) achieved a Quadratic Weighted Kappa (QWK) of 0.324. Integrating the language modeling task ($+ E_{lm}$) improved this to 0.347. However, the most dramatic gain occurred with the addition of the GED task ($+ E_{ged}$), where the QWK soared to 0.459. This represents a significant leap over state-of-the-art dedicated AES models like NEA-300, which achieved a QWK of 0.373 on the same data.
These findings suggest that for ESL learners, grammatical proficiency serves as a primary proxy for overall writing quality. By forcing the model to identify specific errors, it develops a richer internal representation of the text that correlates strongly with human-assigned grades.
Conclusion
This research demonstrates that neural automated essay scoring can be significantly enhanced through multi-task learning with grammatical error detection. The "low-level" signal of word correctness provides critical evidence for "high-level" assessment. Future work should investigate whether these benefits extend to native speaker essays, where grading criteria may shift from grammatical accuracy toward more complex rhetorical and stylistic factors.
Summary updated