NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Exploiting the English Grammar Profile for L2 grammatical analysis with LLMs

Stefano Bannò, Penny Karanasou, Kate Knill, Mark Gales · DOI

Abstract

Evaluating the grammatical competence of second language (L2) learners is essential for providing targeted feedback and assessing proficiency. This paper proposes a novel framework leveraging the English Grammar Profile (EGP) to detect learners' attempts at grammatical constructs and classify them as successful or unsuccessful. By comparing original learner sentences with their corrected counterparts, the system provides fine-grained pedagogical feedback and highly accurate proficiency assessments. We demonstrate that Large Language Models (LLMs) outperform rule-based methods on semantically nuanced constructs, while a hybrid pipeline combining a rule-based pre-filter with an LLM offers the strongest overall performance.

Introduction: Beyond Error Correction

Traditional Automated Essay Scoring (AES) systems often function as "black boxes," providing holistic scores with limited actionable advice. Most feedback focuses on Grammatical Error Correction (GEC)—telling students what they did wrong. However, this approach ignores grammatical complexity. A student using simple A1-level sentences might receive fewer penalties than a student attempting complex B2-level structures.

To address this, we introduce a framework that recognizes "can-do" milestones. By identifying which complex structures a learner is successfully navigating and which they are attempting unsuccessfully, we can provide positive, formative feedback that reflects their true developmental stage.

The Attempt-Based Framework

The core of our approach is the classification of grammatical "attempts." Instead of analyzing a single sentence in isolation, the system compares a learner's original sentence with a grammatically corrected version.

The logic of the Attempt-Based Framework.

The logic follows three primary paths:

  • Successful Attempt: The construct appears in both the original and corrected sentence.
  • Unsuccessful Attempt: The construct appears only in the corrected version, indicating the learner tried to use it but failed.
  • No Attempt: The construct appears in neither.
Examples of grammatical attempt classification using original and corrected sentence pairs.

Methodology: LLMs vs. Rule-Based Systems

We compared traditional rule-based systems (using regex and POS tagging) against LLMs like GPT-4 and Qwen 2.5.

  • Rule-based systems remain competitive for "form-driven" constructs, such as checking if "enough" follows an adjective.
  • LLMs excel at "meaning-driven" constructs requiring semantic or pragmatic nuance, such as using "would" to describe the future from a past perspective.

To optimize for both cost and accuracy, we proposed a hybrid pipeline. A lightweight rule-based filter identifies potential candidate sentences, which are then passed to an LLM for final classification.

Key Results

Our evaluation on the Write & Improve (W&I) corpus yielded several significant insights:

  • High Accuracy: GPT-4 achieved an average $F_1$ score of 86.16% for attempt detection, significantly outperforming rule-based baselines (73.68%).
  • Proficiency Prediction: The number of successful attempts at complex grammar is a stronger predictor of a student's CEFR level than the number of errors. Our hybrid pipeline achieved a Spearman’s Rank Correlation of 0.803 with human-assigned levels.
  • Semantic Superiority: For constructs like using "another" to talk about something different, LLMs outperformed rule-based systems by massive margins (e.g., $F_1$ of 81.95% vs 26.05%).
  • Automation Potential: A fully automated pipeline using GEC (like GECToR) closely approaches the performance of semi-automated systems using manual corrections, particularly for detecting successful attempts. However, "under-correction" in automated systems remains a hurdle for identifying unsuccessful attempts.

Conclusion and Future Work

This framework shifts the focus from what learners do wrong to what they are trying to do right. While currently dependent on the quality of automated GEC, the system already provides a valid way to measure proficiency through "can-do" statements. Future work will involve expanding the manual annotation to more of the EGP's 1,211 constructs and extending the framework to spoken language data.

Summary updated

BibTeX
@misc{banno2026exploiting,
  author = {Stefano Bannò and Penny Karanasou and Kate Knill and Mark Gales},
  title = {{Exploiting the English Grammar Profile for L2 grammatical analysis with LLMs}},
  year = {2026},
  eprint = {2603.17171},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.17171},
}
Figure