Skip to content
All projects

IELTS Writing Automated Essay Scoring

Automated scoring for IELTS Writing Task 1 and Task 2 on all four criteria instead of a single overall band, using a fine-tuned DeBERTa-v3-Large and a hybrid RoBERTa-Large model.

Role
Final-year project — solo
Year
2025–present
Source code
GitHub
Task 1 QWK
0.9014
Task 1 MAE
0.4604
Task 2 corpus
8,416 essays
Task 2 QWK
0.5036

Context

IELTS Writing is marked on four criteria: Task Achievement / Task Response, Coherence & Cohesion, Lexical Resource, and Grammatical Range & Accuracy. This project scores both Task 1 and Task 2 essays on each of those four criteria, rather than predicting only one overall band.

Problem

Criterion-level scoring needs criterion-level labels, and the raw data did not provide them cleanly:

  • The essays came from six raw datasets with different schemas.
  • Many essays had no criterion scores at all; where they existed, they were often buried in the examiner’s comments.
  • Overall bands had to be recomputed with the IELTS rounding rule so they stayed consistent with the criterion scores.
  • For Task 2, the merged corpus also contained duplicates and conflicting labels.

Solution & architecture

  1. Collect 6 raw datasets
  2. Split by task (Task 1 / Task 2)
  3. Normalise schema + EDA
  4. Clean, extract criterion scores from examiner comments (regex), recompute overall with IELTS rounding
  5. Fill missing criterion scores (BERT / BERT chunking / XLNet)
  6. Train scoring models
  7. Evaluate

Task 1. Fine-tuned DeBERTa-v3-Large on the prompt and the essay together, with head-tail tokenization for long inputs, early stopping, and calibration on the validation set.

Task 2. Built an 8,416-essay corpus: schema normalisation, de-duplication, median-based label resolution and filtering by question type. The model is a hybrid on top of RoBERTa-Large: question + essay as a sentence pair, mean-max pooling, 10 linguistic features, and four criterion heads.

Models benchmarked:

Task Final model Benchmarked against
Task 1 DeBERTa-v3-Large TF-IDF + Linear Regression, Word2Vec + SVR, BiLSTM, MPNet
Task 2 Hybrid RoBERTa-Large ModernBERT, MPNet, RoBERTa-base, RoBERTa-Large (same 70/15/15 split)

My role

Final-year project. The work covered the full pipeline above: data collection and cleaning, label extraction and imputation, model training, benchmarking and evaluation.

I built it alone. There is also a local demo: a Reflex dashboard that scores an essay and generates feedback through Gemini or OpenAI. It runs on localhost and is not deployed yet.

Results

Task 1 — DeBERTa-v3-Large
MAE
0.4604
RMSE
0.6464
Pearson
0.9017
Within ±0.5
79.70%
QWK
0.9014
Task 2 — Hybrid RoBERTa-Large
MAE
0.7466
RMSE
1.0104
Pearson
0.5610
Within ±0.5
59.37%
QWK
0.5036

The final notebooks are in the repo: DeBERTa-v3-Large for Task 1 and RoBERTa-Large for Task 2.

Tech stack

Python · PyTorch · Hugging Face Transformers · scikit-learn · Pandas · NumPy · Matplotlib · Jupyter

All projects
ESC