Launch · December 5, 2026
PII Redaction is rolling out. Here's how we built the model behind it.
Dialpad now removes card numbers, SSNs, and 23 other kinds of personal data from call transcripts in real time, and mutes them in recordings, using one small model we trained in-house. Here's what worked, what didn't, and what's still hard.
Brian Peterson, Co-founder and CTO
On December 3, 2026, PII Redaction started its general availability rollout. It removes personal data from call transcripts as the words are spoken, and it 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. No customer audio or transcript goes to a third party to make it work.
This post is the long version: what the feature does, why the obvious approaches failed, what we built instead, and how it measures up. We've included the numbers that don't flatter us, because a privacy feature you can't inspect isn't worth much.
The short version
It finds real PII, not just digits. On card numbers, CVVs, and SSN/SINs, about 9 in 10 redactions are now real PII. With the rules it replaced, it was 2 in 10.
It covers 25 categories. Card details, government IDs, bank details, names, dates of birth, addresses, email, phone, and more. You choose which ones to redact.
It runs in real time. PII is removed before the transcript reaches AI Recaps, AI Playbooks, logs, or integrations.
It costs about one twentieth of the Google pipeline it replaced for audio redaction, and found far more PII in every comparison we ran.
It isn't finished. It's English only, it isn't perfect, and it doesn't make you PCI compliant on its own.
What PII Redaction does
Transcript redaction works while the call is in progress. 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.
Audio redaction works after the call. The PII is muted in the recording, typically detected two to five seconds after the call ends. It doesn't need Dialpad AI switched on, so a team that keeps live transcription off can still protect its recordings.
You stay in control. Admins turn it on per office or group, pick transcripts, recordings, or both, and choose which of the 25 categories to redact. A high-sensitivity mode also redacts uncategorized number sequences, for businesses that would rather over-redact than miss something. Redaction is permanent: once it's gone, it can't be restored.
Why a call isn't a document
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 says "four one one one," pauses, says "uh," and carries on. The digits get split across turns and read back by the agent. Names are spelled out letter by letter. An email address arrives as "underscore" and "at gmail dot com." A card expiry sounds the same as a time or a price: "seven twenty six." A CVV is a three-digit number, like most other numbers in a call.
Speech adds its own noise. In our QA calls, "SSN" was transcribed as "SSM." 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.
What we tried first, and why it failed
Rules
Our first transcript redaction was rule-based. It 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 (0.92 recall), but only 2 in 10 of its redactions were actually PII (0.20 precision).
Customers told us so. One switched redaction off because it was hiding the order numbers their team searched during audits. Another wrote: "Our agents miss the part number data in the transcripts and have asked for this feature to be turned off." Between November 2023 and August 2025, 19 early access customers asked us to turn it off. Rules also couldn't describe a name at all: recall on first and last names was zero.
Not having this feature working properly cost us, too. The project approval we took to our engineering and product leadership in October 2024 cited about 50 customer votes and more than $800K in lost revenue.
A general-purpose API
Until January 2026, 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.
What we built instead
One contextual entity model. 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.
Trained on real speech. Starting in March 2024, our Data Annotation team labeled Dialpad calls in the same raw format the model sees in production: about 200,000 labeled entities for training and about 19,000 for evaluation. The model learns how PII sounds in a call, not how it looks on a form.
Small on purpose. 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.
Placed early. 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.
One model, two surfaces. The same model, categories, and settings drive transcript and audio redaction. That matters more than it sounds: a transcript that masks a number the recording still contains is a map to where that number is.
Context is the whole game
"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.
There was a second payoff. 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.
Making it fast enough
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.
Context made this harder. In load tests, fetching the prior turns added 245 ms per utterance and the extra inference added 65 ms. In July 2024 that was enough to block the whole approach. We got the budget back three ways:
We cut about 180 ms from the punctuation model elsewhere in the pipeline.
We capped context at 100 words: up to five prior utterances plus the current one.
We exported the model to ONNX, which made it about 30% faster than the date, time, and currency model it replaced, with identical accuracy.
In production, for calls with redaction enabled, the finalizer runs at about 640 ms at the 95th percentile. 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.
How audio redaction works
Voice activity detection finds the speech in the recording.
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 muted. The temporary transcript is deleted.
The median request is about 75 seconds of audio. A five-hour call takes about 114 seconds to process.
The results
Against the rules we replaced
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 |
The biggest gains came in categories with no fixed pattern, where rules had little or nothing to hold on to.
Category | Recall, rules | Recall, our model |
|---|---|---|
First name | 0.00 | 0.89 |
Last name | 0.00 | 0.80 |
Age | 0.04 | 0.81 |
Email address | 0.36 | 0.87 |
Date of birth | 0.50 | 0.94 |
Street address | 0.53 | 0.87 |
Against Google
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.
How to read these. The QA test is small and scripted. On the 125 calls, Google's output was counted by type rather than scored span by span. The 100 real calls have no hand-annotated labels, so the two systems are compared against the combined set of what either one found, and that run used an earlier version of our model. We think the direction is clear. We wouldn't quote any single figure as a benchmark.
Cost
Audio redaction costs us about $0.0009 per minute of audio, including GPU and telephony processing. The Google pipeline cost about $0.02 per minute. Transcript redaction runs inside a formatter we already operate, on CPU, so its only added cost is about $0.02 per 1,000 calls.
What customers did
The contextual model went live for early access customers on August 27, 2025. In the five months that followed, not one of them asked us to turn redaction off. In our most recent survey, 12 of 14 respondents were satisfied, up from 13 of 22, and reports of frequent over-redaction fell from 10 of 22 to 2 of 14.
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.
What's next
Because we own the model and its training data, every gap is a problem we can work on directly: targeted annotation, retraining on our own errors, and more languages. The rollout continues through the end of January 2027. You can follow it in our release notes, and the help center guide explains how to turn it on.
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.