PAIR-Net
Learn the comparison
- neural representations
- prompt-conditioned cross-attention
- pairwise score differences
- cached embeddings
LANGUAGE DESK // 04
research index ↙NATIONAL RESEARCH FUND–SUPPORTED RESEARCH · 2025
Can a model learn writing quality rather than memorizing the question?
As part of a National Research Fund–supported collaboration between Carnegie Mellon and Qatar University, I worked on automated Arabic writing assessment in low-resource settings.
My focus was cross-prompt generalization: training on writing from several prompts, then evaluating whether the model could score essays responding to a prompt it had never seen before.

research brief // 04
the problem
Most automated essay-scoring systems perform best when training and testing happen on the same writing prompt. That is convenient experimentally, but awkward in real educational settings where new questions appear all the time.
We asked whether Arabic writing quality could be modeled across prompts rather than rebuilding a scoring system every time the question changed.
prompts seen during training
unseen prompt
08?two assumptions
Learn the comparison
Make the language visible
Same question, different assumptions about what evidence of writing quality should look like.
contribution ledger
Built the training and evaluation setup used to hold each prompt out completely in turn.
Worked on the prompt-aware pairwise scoring architecture and efficient embedding reuse.
Developed features spanning morphology, syntax, readability, lexical structure, and semantic prompt adherence.
Structured multi-seed runs, logging, cached representations, and shared evaluation metrics.
Tested whether translated English learner essays could expand training coverage without overwhelming human-scored Arabic data.
a side experiment
We also experimented with cross-lingual augmentation: English learner essays were translated into Arabic with prompts designed to preserve learner-like errors rather than silently “fix” the writing.
The useful question was not simply whether more data helped, but when synthetic data complemented — or distorted — the original scoring signal.
translation models have an unfortunate habit of correcting the mistakes you specifically asked them to preserve
trajectory
Automated assessment is ultimately a model standing in for a human judgment.
This project was one of the first places I became interested in what happens when a model leaves the clean setting it was trained in: new prompts, sparse data, different rubrics, and linguistic structures that were never designed around English.
That question — whether a system remains meaningful when context changes — followed me into much of my later work.
methods
Arabic NLP · cross-prompt evaluation · pairwise regression · cross-attention · linguistic feature engineering · cross-lingual augmentation · AraBERT · CAMeL Tools · QWK
project context