The authors built MELD, a detector for AI-generated text that goes beyond binary human-vs-AI classification by adding auxiliary tasks: predicting which model family generated the text, what kind of adversarial attack was applied, and what domain it came from. They train all four tasks together on a shared encoder, balancing the losses with learned uncertainty weights, and use teacher-student distillation (clean teacher, attack-augmented student) plus a hard-negative ranking loss to widen the score gap between AI text and confusable human text. At inference, the auxiliary heads are discarded, so MELD costs the same as a standard detector. On the public RAID leaderboard, MELD is the strongest open-source detector and competes with commercial models, especially under attack and at low false-positive rates.
Main takeaways:
- Most AI-text detectors optimize only binary human/AI classification, so the representation doesn't learn fine-grained structure (generator, attack type, domain) once the binary task saturates.
- MELD adds three auxiliary heads (generator family, attack type, source domain) to a shared encoder, forcing the representation to capture richer signal.
- Losses are balanced with learned homoscedastic uncertainty weights (i.e., the model learns how much to weight each task).
- Teacher-student distillation with attack augmentation on the student improves robustness; hard-negative ranking enlarges the margin between AI and hard-to-distinguish human text.
- MELD tops open-source detectors on the RAID leaderboard and matches or beats supervised baselines on held-out benchmarks, especially at low false-positive rates and under adversarial rewrites.