TLDRocket
Sign in

Model-agnostic PII detection with LLMs

Amazon Web Services Christophe Dupuy

Model-agnostic PII detection was built as a configurable, instruction-driven LLM detector that can run on any LLM served through Amazon Bedrock or a self-hosted backend. It was benchmarked on five Hugging Face PII corpora containing 49,365 records and 222,114 ground-truth spans. The approach changes from fixed, retrainable token-labeling schemas to prompt-based configuration where adding or removing PII entity categories requires no retraining or redeployment.

Why it matters

A configurable, model-agnostic detector that turns any large language model on Amazon Bedrock into a PII detector. Because the entities to detect live in a prompt rather than in code, one detector adapts to new entity types without retraining, and it outperforms an off-the-shelf tool across five public corpora and nine LLM-based detectors.

Related stories

The daily briefing

Every AI story that matters, in your inbox by 8am.

TLDRocket reads all relevant sources, removes duplicate coverage, and summarises the day in two minutes. Follow companies and topics for alerts, or get the briefing in Slack. Free, no spam, unsubscribe anytime.