Dev trains his own PII detector with decoy-entity training samples to beat existing tools

HankYeomans · x · 2026-10-16

Developer Hank Yeomans says he's training his own PII detector because he isn't satisfied with anything currently available.

The attached screenshots show two annotated training samples: a medical-records request and a community announcement, with entities labeled by type (PERSON, MRN, ORG·COMPANY, ORG·HEALTHCARE, etc.). Notably, the samples embed deliberate decoy entities — near-dates, internal location names, place eponyms — to teach the model to distinguish genuine PII from confusable distractors, a robustness technique worth noting.

Related event: Developer Trains Own PII Detector, Dissatisfied With Existing Tools(2 posts)→

Original post →

More from Safety

Safety channel →