An Agentic Workflow for Detecting Personally Identifiable Information in Crash Narratives
This paper presents a locally deployable, agentic workflow that combines rule-based extraction, fine-tuned large language models, and an evidence-based verification step to achieve robust and privacy-preserving detection of personally identifiable information in crash narratives, thereby enabling scalable traffic safety analysis while safeguarding individual privacy.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you have a giant library of police accident reports. These reports are like treasure troves for safety experts because they tell the story of what happened—why a crash occurred, who was involved, and what the weather was like. This "story" part is called the crash narrative.
However, there's a big problem: these stories often accidentally include private secrets, like a person's home address, phone number, or license plate. If you want to share these stories with researchers to make roads safer, you have to scrub out those secrets first. This is called PII (Personally Identifiable Information) removal.
Doing this by hand is impossible because there are too many reports. Doing it with old-school computer rules is like trying to find a needle in a haystack using a magnet that only picks up iron; it misses the needles that look like grass.
This paper introduces a new, smart system called an Agentic Workflow to solve this. Think of it not as a single robot, but as a specialized detective team working together in a local office (so no data leaves the building, keeping it safe).
Here is how the team works, broken down into simple steps:
1. The "Rule-Follower" (The Hybrid Extractor - Part A)
First, the team has a member who is great at spotting things that look exactly the same every time.
- The Job: Finding phone numbers and email addresses.
- The Analogy: Imagine a bouncer at a club who only lets in people wearing a specific red hat. If the text looks like a phone number (e.g.,
555-0199), this bouncer instantly tags it. It's fast, strict, and never gets confused because phone numbers always follow a pattern. - The Tool: They use a tool called Presidio for this.
2. The "Context Detective" (The Hybrid Extractor - Part B)
Next, the team has a smarter, more creative detective who can read between the lines.
- The Job: Finding names, home addresses, and ID numbers.
- The Analogy: This detective is like a seasoned librarian. They know that the phrase "140th Street" could be a person's home (PII) or just the name of the road where the crash happened (not PII). A simple rule can't tell the difference, but this detective reads the whole sentence to understand the story.
- The Tool: They use a Fine-Tuned AI (a brain trained specifically on crash reports) to do this.
3. The "Second Opinion" (The Verifier)
Sometimes, even the best detectives make mistakes, especially with tricky things like addresses. So, the team has a Verifier.
- The Job: Double-checking the tricky finds.
- The Analogy: Imagine the Context Detective says, "I think this is a home address!" The Verifier steps in and says, "Show me the proof." The Verifier looks at the text and asks, "Does the story say this is where the person lives, or just where the car crashed?" If the detective can't prove it's a home, the Verifier crosses it out.
- The Magic: This step stops the system from accidentally hiding normal road names just because they look like addresses.
4. The "Crowdsourcing" Trick (Ensemble Learning)
To make sure they don't miss anything, the Context Detective doesn't just look at the story once. They look at it five times, like asking five different people to spot a hidden object.
- The Analogy: If you ask one person to find a specific word in a book, they might miss it. If you ask five people, you are much more likely to catch it. The system combines all five lists to make a "master list" of potential secrets before sending it to the Verifier.
Why is this a big deal?
- Privacy First: The whole team works locally (on the organization's own computers). They don't send the sensitive accident stories to the cloud or a big tech company. It's like doing the work in a locked room rather than a public square.
- Better Accuracy: Old methods were either too strict (missing real secrets) or too loose (hiding things that weren't secrets). This team balances both. They found 94% of the real secrets (Recall) while keeping mistakes low (Precision).
- Scalable: It can process thousands of reports automatically, making it possible to use this valuable data for safety research without breaking privacy laws.
In a nutshell: The authors built a smart, local, multi-step detective squad. One part uses strict rules for obvious secrets, another uses a smart AI for tricky context, and a third part double-checks the work to ensure no private info slips through and no innocent words get deleted. This makes our roads safer by letting researchers study crash stories without exposing the people involved.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.