All projects
Independent project
EssayLens — Interpretable AI-Writing Detection
Detects AI-written admissions essays with nine measurable features and a model a human can audit — no opaque 'AI score'.
- Period
- 2026
- Team
- Solo project
- Categories
- AI/ML · Research · Backend

Key results
- test accuracy (N=300)
- 84.0%test accuracy (N=300)
- leave-one-prompt-out accuracy
- 86.2%leave-one-prompt-out accuracy
- automated tests
- 357automated tests
My contribution
- Dataset construction, feature engineering, model training and evaluation, API and frontend.
Problem
Admissions teams want to know whether an essay was AI-assisted, but most detectors return a single opaque percentage. A false accusation harms a real student, so explanations matter as much as accuracy.
Approach
- Dataset: 2,000 essays — 1,000 human (PERSUADE 2.0) and 1,000 AI-generated (DAIGT V2, 13 model families) — balanced across 15 prompts.
- Frozen 70/15/15 splits with text de-duplication and disjoint IDs to prevent leakage.
- Nine interpretable features: GPT-2 perplexity, burstiness, vocabulary diversity, repetition and sentence statistics.
- StandardScaler + logistic regression, so every prediction can be explained by its feature contributions.
Results
- Test set: 84.0% accuracy, 83.97% macro F1, 11.3% human false-positive rate.
- Leave-one-prompt-out across 15 folds: 86.2% ± 3.5% accuracy — higher than in-distribution, which suggests the features capture style rather than topic.
Research extension
A paragraph-level AI-polishing pipeline builds a mixed-authorship dataset — student drafts lightly edited by an LLM — the realistic and hardest case for any detector.
Screens
Passage-level results on the built-in sample essay — every flag shows the signals behind it Analyzer input Methodology page — what each signal means and where it fails