AES Systems Are Both Overstable And Oversensitive: Explaining Why And Proposing Defenses

Yaman Kumar Singla, Swapnil Parekh, Somesh Singh, Junyi Jessy Li, Rajiv Ratn Shah, Changyou Chen

Introduction

Automatic Essay Scoring (AES) systems are increasingly deployed in high-stakes environments, from college admissions to visa processing. Despite the adoption of sophisticated transformer-based architectures like BERT, these models often function as "black boxes" with poorly understood failure modes. This research investigates two paradoxical vulnerabilities in state-of-the-art AES models: overstability, where models ignore significant content deletions or structural changes, and oversensitivity, where a few "trigger" words can drastically alter a score.

The "Bag-of-Words" Trap and Overstability

A primary finding of this study is that deep-learning AES models often revert to simple "bag-of-words" behavior, ignoring the rich contextual relationships they were designed to capture. By shuffling sentences or deleting large portions of text, researchers found that model performance remained surprisingly high.

Relative QWK vs. percentage of response length when words are added in order of importance. The steep initial rise and early plateau across different models demonstrate that a small fraction of "important" words dictates the final score, a hallmark of overstability.

As shown in the figure above, when words are added iteratively based on their importance (determined via Integrated Gradients), the Quadratic Weighted Kappa (QWK)—a measure of agreement between the model and human graders—reaches near-maximum levels with only 40-60% of the original text. This suggests that models are overstable; they are indifferent to the presence or absence of nearly half the essay's content, provided the "key" words remain. In extreme cases, a BERT-based model maintained 95% of its performance even when 25% of the words were removed in reverse order of importance.

Interpretability and Oversensitivity

To understand why these models are so easily fooled, the researchers utilized Integrated Gradients (IG) to attribute portions of the final score to specific input words. This revealed that models often latch onto spurious correlations—words that happen to be frequent in high-scoring training essays but are not necessarily indicators of writing quality.

Integrated Gradients (IG) attribution heatmaps. Darker shades represent higher importance assigned by the model. The heatmaps show how models focus on specific keywords (e.g., "magazine", "book", "etc") while largely ignoring the surrounding syntactic structure.

This focus on specific keywords leads to oversensitivity. By identifying "universal adversarial triggers"—short sequences of words with high positive or negative attribution—attackers can swing an essay's score by as much as 50% simply by appending 3-5 random-looking words. In testing, these triggers fooled models over 95% of the time. The heatmaps in Figure 1 illustrate this "context blindness," where the model rewards specific tokens regardless of their factual or grammatical context.

Proposed Defenses

The researchers propose two detection-based defenses to mitigate these vulnerabilities:

  • IG-based Detection: Since adversarial "trigger" words receive unusually high attribution (often 3x higher than normal words), an LSTM-based classifier can analyze these attribution patterns to flag oversensitive samples with 94.3% accuracy.
  • Entropy-based Detection: To combat overstability (e.g., shuffled text or "semantic garbage"), the researchers used a GPT-2 language model to calculate text perplexity. An Isolation Forest model then identifies high-entropy text as anomalous, achieving near-perfect detection for structural perturbations.

Conclusion

While current AES models are powerful, their reliance on keyword frequency over semantic coherence makes them vulnerable to manipulation. This work highlights the need for better inductive biases in model architecture—moving beyond simple word-level correlations toward systems that inherently value factual correctness and logical flow. The provided tools and defense mechanisms offer a path toward more robust and trustworthy automated evaluation.

Summary updated

Abstract

Deep-learning based Automatic Essay Scoring (AES) systems are being actively used by states and language testing agencies alike to evaluate millions of candidates for life-changing decisions ranging from college applications to visa approvals. However, little research has been put to understand and interpret the black-box nature of deep-learning based scoring algorithms. Previous studies indicate that scoring models can be easily fooled. In this paper, we explore the reason behind their surprising adversarial brittleness. We utilize recent advances in interpretability to find the extent to which features such as coherence, content, vocabulary, and relevance are important for automated scoring mechanisms. We use this to investigate the oversensitivity i.e., large change in output score with a little change in input essay content) and overstability i.e., little change in output scores with large changes in input essay content) of AES. Our results indicate that autoscoring models, despite getting trained as "end-to-end" models with rich contextual embeddings such as BERT, behave like bag-of-words models. A few words determine the essay score without the requirement of any context making the model largely overstable. This is in stark contrast to recent probing studies on pre-trained representation learning models, which show that rich linguistic features such as parts-of-speech and morphology are encoded by them. Further, we also find that the models have learnt dataset biases, making them oversensitive. To deal with these issues, we propose detection-based protection models that can detect oversensitivity and overstability causing samples with high accuracies. We find that our proposed models are able to detect unusual attribution patterns and flag adversarial samples successfully.
BibTeX
@article{singla2023aes,
  author = {Yaman Kumar Singla and Swapnil Parekh and Somesh Singh and Junyi Jessy Li and Rajiv Ratn Shah and Changyou Chen},
  title = {{AES Systems Are Both Overstable And Oversensitive: Explaining Why And Proposing Defenses}},
  journal = {Dialogue Discourse},
  year = {2023},
  doi = {10.5210/dad.2023.101},
}
Figure