RoBERTa-base — AI-Generated Text Detector (HC3)
Fine-tuned roberta-base for binary classification of human-written vs AI-generated text.
Trained as part of an MSc AI dissertation at the University of the West of Scotland (UWS), 2025/26.
Supervisor: Dr Tahir Mahmood | Student: Abdul Hannaan Mohammed (B00409227)
Performance
| Condition | F1 | Accuracy | Recall |
|---|
| Clean HC3 (test) | 0.9913 | 0.9942 | 0.9995 |
| Pegasus paraphrase attack | — | — | ASR 1.2% |
| QuillBot-style attack | — | — | ASR 13.4% |
| ChatGPT rewrite attack | — | — | ASR 1.6% |
| M4 cross-dataset | 0.7389 | 0.7700 | — |
Training
- Base model: (Liu et al., 2019)
- Dataset: HC3 (Hello-SimpleAI/HC3) — 55,156 training samples, 70/15/15 split
- Epochs: 3 | LR: 2e-5 | Batch: 16 | Warmup: 500 steps
- Hardware: Local GPU (6 GB VRAM)
Usage
Citation