For developers3 min read
Catching nitpicky AI feedback with old-school NLP
AI feedback named every real gap in partly right answers, but invented a problem on 15% of correct ones. Word overlap, syntax, embeddings and entailment, combined, cut that to 7%.
By Colin Barrett-Fox
Telling a student what their answer is missing is the most useful feedback a grader can give. It is also where AI feedback quietly fails. Ask a model what an answer lacks and it will usually find something, even when the answer is complete.
We measured how often, and then built a cheap check, with no LLM involved, that catches about half of those nitpicks.
Measuring the problem
We took GPT-6 Luna's grades and feedback on the open-ended answers in our benchmark. For every answer it passed that our labels called correct or partial, a second model (Claude Sonnet 5.5) answered two questions about the feedback:
- Does it name the real gap in the answer?
- Does it invent a problem that isn't there?
| Feedback source | Invents a problem on a correct answer | Names the real gap on a partial answer |
|---|---|---|
| GPT-6 Luna, three verdicts | 15.2% (20 of 132) | 100% (76 of 76) |
| GPT-6 Luna, prompt that favors passing and lists what is missing | 43.2% | 98.6% |
| GPT-6.1 Sol, same prompt | 37.9% | 100% |
The second and third rows are worth a pause. A prompt explicitly built to be generous to students made the nitpicking worse, because asking "what is missing?" on every pass invites an answer every time.
Four cheap signals
The answer key for each question lists its key ideas. For each key idea and each student answer, we compute four kinds of evidence that the idea is present:
| Signal | What it measures | Tool |
|---|---|---|
| Lexical | How many of the idea's words appear, typo-tolerant | plain code |
| Syntax | Matching lemmas, heads, subject-verb-object triples, and swapped roles | spaCy, en_core_web_sm |
| Embedding | Meaning similarity between the idea and the answer | EmbeddingGemma 300M |
| Entailment | Does the answer imply the idea? Does it contradict it? | nli-deberta-v3-xsmall |
A logistic regression combines them into one probability that the answer is missing an idea. We trained and tested it with folds grouped by question, so it never saw answers to the question it was scoring.
How well each signal detects a missing idea
The test set was 211 answers labeled correct or partial, 79 of them partial.
| Signals | AUC | Gaps caught at 10% false alarms |
|---|---|---|
| Lexical only | 0.850 | 51% |
| Syntax only | 0.890 | 71% |
| Embedding only | 0.838 | 58% |
| Entailment only | 0.838 | 57% |
| All four | 0.914 | 81% |
| All but syntax | 0.896 | 70% |
Syntax was the best single signal, ahead of the neural ones. It is the only signal that checks who does what to whom. "The moon orbits the Earth" and "the Earth orbits the moon" share every word and most of their meaning vector, but not their subject.
Using it as a veto
We don't let the detector grade. We let it overrule one specific claim. When Luna's feedback says an answer is missing something, and the detector's probability of a real gap is under 0.4, we drop that claim and keep the rest of the feedback.
On the same answers, invented problems on correct answers fell from 20 to 9 (15.2% to 6.8%). Real gaps kept: 69 of 76. Every signal runs offline, with no LLM call.
Caveats
- The judge is a model. Claude decided which feedback named a real gap and which invented one. Teachers have not checked those judgments yet.
- 211 answers is small, and the 0.4 threshold was chosen on these answers.
- spaCy needs a pipeline per language. spaCy ships pipelines for Japanese, Chinese, Spanish and many others, but we have only tested English.
The takeaway
LLM feedback is good at finding real gaps and bad at admitting there aren't any. Old-school NLP is the opposite kind of tool: dumb about meaning, but literal, cheap and hard to talk into anything. Used as a check on one specific failure, it pays for itself.
- nlp
- feedback
- ai-grading
- spacy