EngineeringDecember 2026PII Redaction
How we built PII Redaction: one small model that finds personal data in calls by following the conversation, not by hunting for digits.
Brian Peterson, Co-founder and CTO
AgentWhat’s the order number, and the card you paid with?
CustomerMy order is 48213. The card is 4111 1111 1111 1111.
In short
Dialpad PII Redaction uses one small in-house model that reads each utterance with the conversation before it, so it can tell a card number from an order number. It redacts 25 categories of personal data from live transcripts and mutes them in recordings, with about 9 in 10 redactions being real PII versus 2 in 10 for the rules it replaced.
On December 3, 2026, PII Redaction began its general availability rollout. It removes personal data from call transcripts as the words are spoken, and mutes the same data in the recording once the call ends.
Both jobs run on one small model that we trained ourselves, on our own infrastructure. It covers 25 categories of personal data, from card numbers and government IDs to names, addresses and dates of birth, and admins choose which ones to redact. No customer audio or transcript goes to a third party to make it work.
It replaced two earlier approaches: a set of rules that redacted digits, and a general-purpose pipeline from Google that we used for recordings. Both were built for written text. A call is not written text.
Capturing a number isn’t understanding it. Redact without context, and you just hide the wrong thing faster.
This post covers what happens to personal data on a call, what we tried first, what we built, why it works, how it measures up, and the road ahead. We’ve included the numbers that don’t flatter us, because a privacy feature you can’t inspect isn’t worth much.
By the numbers
01What happens on a call
In written text, a card number is a 16-digit string that passes a checksum. Pattern detectors are built to find exactly that. In a call, that string never appears.
A caller reads four digits, pauses, says “uh,” and carries on. The agent reads them back. Names are spelled out letter by letter. A card expiry sounds the same as a time or a price. Speech recognition adds its own noise on top.
A spoken card number can be indistinguishable from a phone number. None of this is a bug to be fixed. It’s what spoken language is, and a redaction model for calls has to work anyway.
four one one one … uh …The start of a card number, split by a pause and carried across turns
seven twenty sixA card expiry, a time, or a price, depending on what came before
underscore … at gmail dot comAn email address
SSM“SSN,” misheard by speech recognition
three-digit numberA CVV, or one of the many other three-digit numbers in a call
As each utterance is finalized, the model tags the PII in it and the transcript shows asterisks in its place. Live transcripts, post-call transcripts, and every Dialpad AI feature and integration built on them receive the redacted text.
The PII is muted, typically detected two to five seconds after the call ends. Audio redaction doesn’t need Dialpad AI switched on, so a team that keeps live transcription off can still protect its recordings.
Turn it on per office or group, pick transcripts, recordings or both, and choose the categories. A high-sensitivity mode also redacts uncategorized number sequences. Redaction is permanent: once it’s gone, it can’t be restored.
02Timeline
ProblemBuildShipped
19 early access customers ask us to turn rule-based transcript redaction off.
Our Data Annotation team starts labeling Dialpad calls in the raw format the model will see in production.
Load tests show that reading earlier turns adds 245 ms per utterance, plus 65 ms of inference. The contextual approach is blocked until we can win the time back.
The project goes to engineering and product leadership for approval, citing about 50 customer votes and more than $800K in lost revenue.
The contextual model goes live for early access customers. The rules are retired.
Audio redaction moves onto our model.
A contact center customer that moved to our audio redaction in January renews for two years.
437 companies have transcript redaction on, and 220 have audio redaction on.
Follow it in our release notes.
03What we tried first
Our first transcript redaction redacted any run of three or more digits that the formatter hadn’t already labeled as something else. It caught most card numbers, CVVs and SSN/SINs, but only 2 in 10 of its redactions were actually PII. It couldn’t describe a name at all: recall on first and last names was zero.
Audio redaction ran on Google: Speech-to-Text to transcribe the call, then Google’s DLP service to check the transcript for seven payment and ID types at its lowest confidence threshold. Recall was still too low to ship, so we added a temporary catch-all that muted any run of three or more digits.
That catch-all tells the story. The pipeline was detecting digits, not PII. These services are built for written text, and we were handing them speech.
“Our agents miss the part number data in the transcripts and have asked for this feature to be turned off.”
04What we built
It reads each utterance together with what every participant said before it, and tags 25 PII categories plus dates, times and currency in a single pass.
Our annotators labeled about 200,000 entities for training and about 19,000 for evaluation, all in the raw format the model sees in production. It learns how PII sounds in a call, not how it looks on a form.
It’s an ALBERT-base model that runs on CPU inside our real-time formatter. No external LLM sees customer audio or transcripts at any step.
It runs once, on raw speech recognition output, before number and punctuation formatting. Live transcripts feed more than 20 downstream models, so removing PII at the source means none of them ever receive it.
The same model, categories and settings drive transcript and audio redaction. A transcript that masks a number the recording still contains is a map to where that number is.
Audio redaction, in four steps
Voice activity detection marks where people are talking.
Offline speech recognition on GPU produces a temporary transcript with word-level timestamps.
The same entity model runs over the whole call in overlapping windows, so every utterance is tagged with its context.
The PII is mapped back to timestamps and silenced. The temporary transcript is deleted.
~75 s median request, in audio~114 s to process a five-hour call
05Why it works
“One two three four” is a card number after “what’s the card number?” and an order number after “what’s your order number?” The digits are identical. The only difference is the question, and the question usually comes from the other person on the call.
So the model reads the preceding turns from everyone. When we limited it to the speaker’s own turns, recall on card numbers, CVVs and SSN/SINs dropped from 0.92 to 0.80. Context also covers for transcription slips: in QA’s tests the model still redacted an SSN whose acronym was misheard, because “social security number” had come up earlier in the call.
AgentWhat’s the card number?
CustomerSure, it’s *** *** ***** ****
Detection and formatting used to depend on each other in a circle. Rules needed formatted text to spot a card number, but formatting needed to know what “seven twenty six” was before it could write 7:26, $7.26, or nothing at all. Tagging PII, dates, times and currency together, before formatting, broke the circle. As a side effect, accuracy on times (F1) went from 0.63 to 0.90.
seven twenty six
Times, F10.63→0.90
Transcript redaction sits on the critical path. Every finalized utterance waits for it, and so does every feature that reads the formatted transcript. AI Playbooks runs during the call and must only ever see redacted text, so there’s no shortcut.
Customers who don’t enable redaction don’t pay any of that latency, and the first live transcription you see on screen isn’t affected either way.
06How it measures up
| Card number, CVV, SSN/SIN | Precision | Recall | F1 |
|---|---|---|---|
| Rules (retired August 27, 2025) | 0.20 | 0.92 | 0.32 |
| Transcript redaction | 0.88 | 0.92 | 0.90 |
| Audio redaction (125 hand-annotated calls) | 0.92 | 0.95 | 0.93 |
RulesOur model
We ran three comparisons before switching audio redaction to our own model. Each has limits, and we’ve listed them.
| Test | Our model | |
|---|---|---|
| QA test: 33 PII items placed across 12 scripted calls | 33 of 33 correctly tagged | 6 of 33 correctly tagged |
| 125 hand-annotated calls, 42 containing a card number, CVV, or SSN | Caught every sensitive item in 38 of the 42 | Labeled no card number or CVV; labeled an SSN in 13 of the 42 |
| 100 real customer calls, all PII categories | Missed 276 of 2,176 items (12.7%) | Missed 794 of 2,176 items (36.5%) |
| Payment card items found in those 100 calls | 262 | 28 |
On the 125 annotated calls, the three-digit catch-all fired in 68 of the 83 calls that had no card number, CVV, or SSN at all. Our model produced false positives in 5 of those 83.
One contact center customer had made audio redaction one of its top two priorities and was frustrated with how long we were taking. It moved to our model in January 2026. In November 2026, after looking at other vendors, it renewed with us for two years.
As of December 3, 437 companies have transcript redaction turned on and 220 have audio redaction turned on. In October, about 395,000 calls and 190,000 recordings went through redaction every weekday.
07The road ahead
It’s English only, it isn’t perfect, and it doesn’t make you PCI compliant on its own. Because we own the model and its training data, every gap is a problem we can work on directly.
Labeling more of the calls and categories where the model needs it most.
Feeding what the model misses back into the next version.
Each one needs its own annotated data, and that work is ahead of us.
The rollout continues through the end of January 2027.
The people who built it
This took years, and it took a lot of teams. Elham Mohammadi led the work in NLP, Jonas Robertson in speech recognition, and Casey Howard in AI Engineering. They worked alongside Data Annotation, QA, Telephony, Product Engineering, Product and Legal. The annotators who labeled about 200,000 entities by hand are the reason the model knows what a card number sounds like.
Thank you, all of you.
© 2026 DIALPAD, INC.
The AI platform for customer experience