[Paper Review] Language models and Automated Essay Scoring
This paper proposes a state-of-the-art automated essay scoring (AES) system using BERT and XLNet, two transformer-based language models fine-tuned on the Kaggle AES dataset. It achieves above-human performance, with the BERT + XLNet ensemble outperforming human raters by 0.47% average quadratic weighted kappa (QWK), demonstrating the superiority of transfer learning and ensemble methods in NLP-based essay scoring.
In this paper, we present a new comparative study on automatic essay scoring (AES). The current state-of-the-art natural language processing (NLP) neural network architectures are used in this work to achieve above human-level accuracy on the publicly available Kaggle AES dataset. We compare two powerful language models, BERT and XLNet, and describe all the layers and network architectures in these models. We elucidate the network architectures of BERT and XLNet using clear notation and diagrams and explain the advantages of transformer architectures over traditional recurrent neural network architectures. Linear algebra notation is used to clarify the functions of transformers and attention mechanisms. We compare the results with more traditional methods, such as bag of words (BOW) and long short term memory (LSTM) networks.
Motivation & Objective
- To evaluate the effectiveness of modern transformer-based language models—BERT and XLNet—for automated essay scoring (AES) on a public benchmark dataset.
- To compare the performance of these advanced neural networks against traditional methods such as bag-of-words (BoW), LSTM, and feature engineering approaches.
- To analyze whether ensemble models combining BERT and XLNet can surpass both individual models and human raters in scoring consistency and accuracy.
- To provide a detailed architectural explanation of BERT and XLNet using clear notation and diagrams to support reproducibility and further research.
- To demonstrate that transfer learning with pre-trained language models significantly improves AES performance over conventional NLP techniques.
Proposed method
- Fine-tuned BERT and XLNet on the Kaggle Automated Student Assessment Prize (ASAP) dataset, which contains essays annotated by human raters using a holistic rubric.
- Applied transfer learning by leveraging pre-trained weights from large-scale language modeling tasks to adapt the models to the essay scoring task.
- Constructed ensembles by combining predictions from multiple model variants (e.g., different hyperparameters, data augmentations) to improve robustness and performance.
- Used a multi-head self-attention mechanism in both BERT and XLNet to capture long-range dependencies and contextual semantics in essays.
- Employed linear transformations and feedforward networks within the transformer blocks to model complex non-linear relationships in text representations.
- Evaluated model performance using quadratic weighted kappa (QWK), a standard metric for inter-rater reliability in regression and classification tasks on ordinal scores.
Experimental results
Research questions
- RQ1Can BERT and XLNet achieve superior performance on automated essay scoring compared to traditional methods like BoW and LSTM?
- RQ2How does model ensembling affect performance in automated essay scoring, and does it surpass human inter-rater agreement?
- RQ3What is the impact of architectural differences—such as bidirectional attention in BERT versus autoregressive modeling in XLNet—on scoring accuracy?
- RQ4To what extent do pre-trained language models reduce the need for manual feature engineering in essay scoring tasks?
- RQ5Can transformer-based models generalize across diverse essay traits (e.g., grammar, organization, content) while maintaining high consistency?
Key findings
- The BERT + XLNet ensemble achieved a mean quadratic weighted kappa (QWK) of 75.76%, outperforming human inter-rater agreement (75.29%) by 0.47 percentage points on average.
- The LSTM ensemble with convolutional layers achieved the highest performance among all models, with a 76.08% average QWK, surpassing human agreement by 0.79%.
- BERT and XLNet individually achieved average QWK scores of 74.75% and 74.34%, respectively, indicating strong but similar performance levels.
- Ensembling improved performance across all models: BERT improved by 0.51%, XLNet by 0.53%, and LSTM by 1.45% compared to their individual counterparts.
- The bag-of-words baseline model performed significantly worse, with a 69.90% average QWK, showing a 6% gap in performance compared to neural network-based methods.
- Neural network models outperformed the bag-of-words model on every individual item, with no single item favoring the BoW approach.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.