Privacy and preparation
Role-preserving deidentification: when a job title names the person
By SourceX Editorial · Reviewed by Noah Loul ·
10 sections
Short answer
Role-preserving deidentification replaces each person with the business role they played in the record, then proves two things before delivery: every role label has enough holders in the release that colleagues cannot name the person, and the buyer's task questions still get the same answers. In the Text Anonymization Benchmark, annotators masked 45.9 percent of job mentions and split on 35.7 percent of shared ones, so roles need a written rule.
Redaction
Role preserving
Key takeaways
- A role label is safe only when several people in the release could hold it; a title with one holder is a name in disguise.
- In TAB, annotators marked 45.9 percent of 1,169 occupation mentions for masking against 82.3 percent of person names, and split on 35.7 percent of shared occupation spans against 26.4 percent for names.
- Lower-case occupation words were marked 59.0 percent of the time and capitalized titles 23.6 percent, and longer titles less often than single words, so a specific-sounding title was not what drove masking.
- Pick the most specific rung of the role ladder that clears a minimum holder count and still answers the buyer's task questions; if none does, change the task, narrow the audience or exclude.
- Names are one of six personal signatures; sign-offs, self-descriptions, unique duties, relational references and personal style each need their own check.
What does role-preserving deidentification keep, and what does it remove?
It keeps what each person did in the business process and removes who they are. A role-preserving pass replaces a named employee with a consistent label such as Dispatch supervisor 2, so a reader can still follow who escalated, who approved and who closed the case, while names, initials, handles, direct lines and personal descriptions leave the record.
Teams reach for it because generic placeholders like PERSON_1 erase exactly what many AI tasks are about: authority, handoffs, separation of duties and the difference between a peer and a manager. The trouble is that a role label carries information of its own. If a release holds one night-shift dispatch supervisor at one depot, that label identifies its holder as surely as the name it replaced, at least to anyone who works there.
So the decision rests on two tests, run on the same sample. An identifiability test asks how many people in the release could sit behind each label. A task-interpretability test asks whether the transformed records still answer the buyer's questions the way the originals do. A label ships only when it passes both, and the record of both results travels with the dataset.
This page covers roles inside narrative business text: tickets, emails, chat threads, notes and approvals written in sentences. Structured event logs, where the actor is a column, raise the same questions in a different shape and have their own field-by-field mapping guide.
When does a role label identify the person who holds it?
A role label identifies its holder when few people in the release could hold it and the likely reader knows who does. Holder count is the first measure: count the distinct people who held each label in the population and period the release covers, after the generalization you plan to apply, not across the whole company or its whole history.
Audience is the second measure. The UK Information Commissioner's Office treats identifiability as a spectrum whose status can change with the circumstances of processing, and its motivated intruder test pictures a reasonably competent person who starts without prior knowledge but can use public sources and ask people who know more. Its anonymisation glossary separately describes a background-knowledge attack, in which the adversary already holds information about the target. Role labels are most exposed to that second case, because colleagues, former staff, customers and competitors already know who runs the night desk.
In EU terms, swapping names for role labels is pseudonymisation, not anonymisation. The European Data Protection Board's Guidelines 01/2025 on pseudonymisation, published for consultation in January 2025, say that pseudonymised data which could be attributed to a person by using additional information stays information about an identifiable person, even when that additional information sits with a different party. A role key, an org chart or a staff directory is that additional information.
Whether a particular release counts as personal data under UK GDPR, the EU GDPR or a U.S. state privacy law depends on its facts, its recipients and its safeguards. This article is general information; privacy counsel makes that call for a specific dataset.
What 1,169 annotated job mentions show about masking roles
Trained annotators treated job mentions as a judgment call rather than a rule, and they disagreed about them more than about names. The Text Anonymization Benchmark (TAB), published by Norsk Regnesentral under the MIT license, holds 1,268 English-language European Court of Human Rights cases annotated for entity type and for whether each mention must be masked to protect one named person in the case. DIRECT and QUASI mean mask; NO_MASK means keep. Its annotation guidelines place job titles, ranks and education in the DEM category.
SourceX counted those annotations at the repository's commit of 19 January 2026. Of 1,169 annotator-mentions whose DEM span contained a listed occupation or rank word, annotators marked 537 for masking, 45.9 percent. Person-name mentions were marked 82.3 percent of the time, 20,021 of 24,322. Where two or more annotators marked the same occupation span, 46 of 129 spans drew a split decision, 35.7 percent, against 753 of 2,852 person-name spans, 26.4 percent.
The sharpest difference in the counts is between lower-case words and capitalized titles. Lower-case occupation words, most often lawyer, police officers, journalist, doctor and director, were marked for masking 59.0 percent of the time, 435 of 737. Capitalized forms, led by office titles such as Secretary of State, Commanding Officer and Minister of Agriculture, were marked 23.6 percent of the time, 102 of 432. A reading consistent with the guidelines is that annotators protecting one applicant left officials' titles in place and masked occupations that described the applicant. Specific-sounding titles were not masked more often: spans of two or more words were marked 40.3 percent of the time, single words 55.1 percent.
Two cautions limit how far this carries into business records. TAB protects one person per case, while a business release protects every employee and customer in it, so titles annotators left in place because they belonged to officials would often be singleton roles in a company dataset. And court judgments are not tickets or emails. The lesson that does carry is narrower and practical: trained annotators split more often on roles than on names, so a role policy has to be written down and tested rather than left to each reviewer's instinct. The counts behind the chart are in the table.
| Mention type in TAB | Marked for masking | Annotator-mentions | Share marked |
|---|---|---|---|
| Person names (PERSON) | 20,021 | 24,322 | 82.3% |
| Occupation or rank (DEM span with a listed word) | 537 | 1,169 | 45.9% |
| Occupation spans starting lower case | 435 | 737 | 59.0% |
| Occupation spans starting with a capital | 102 | 432 | 23.6% |
| Occupation spans of one word | 245 | 445 | 55.1% |
| Occupation spans of two or more words | 292 | 724 | 40.3% |
Six kinds of personal signature that outlive a name scrub
A name scrub removes one signature, and business text carries at least five more. Each needs its own detection step and its own treatment, because a role label left standing beside any of them can be linked back to the person. The list below gives the six and the usual fix for each.
At a glance
Six kinds of personal signature that outlive a name scrub
- Names and handles: full names, first names in greetings, initials, usernames and the local part of email addresses. Replace each with the person's consistent role label.
- Sign-offs and signature lines: a lone initial, a direct dial or extension, a pronoun line, a personal motto. Strip these structurally before running detection; the live guide to email signatures and quoted replies covers archive mechanics.
- Self-descriptions: as the only Spanish speaker on nights, since I came over from the Reno office. Keep any fact the task needs as a neutral attribute of the case, such as customer language: Spanish, and drop the first-person biography.
- Unique duties: whoever handles the Tokyo account, the person who signs refunds over the limit. A duty held by one person is a role with one holder; move it up to the function or turn it into a case attribute.
- Relational references: Maria's replacement, my manager's manager, the new hire. These point outside the record to an org chart; rewrite them as a role relation, such as reports to Dispatch supervisor 2, or remove them.
- Personal style: a recurring catchphrase, an unusual spelling, a habit of writing at the same odd hour. This matters most in long single-author threads; review the longest threads per author and paraphrase or drop distinctive lines where the task does not need the original wording.
The role ladder: pick the most specific rung with enough holders
Choose the most specific rung that passes both tests, and stop there. The ladder runs from the exact title with its unit, through the title alone and the role class, to the business function and finally a generic actor. Every step up adds holders and removes meaning, so the right rung is the lowest one that clears a minimum holder count and still answers the task questions.
Set the minimum holder count with the privacy reviewer before anyone counts, because it depends on who will see the data, and count holders in the release population and period. Then score each rung against the questions the buyer's use actually needs answered from the role. In the illustrative run below, for the approver in a dispatch thread, the minimum is 5 holders and the task needs 4 questions answered. Rungs 1 and 2 fail on holders, rungs 4 and 5 fail on task questions, and rung 3, Dispatch supervisor, is the only rung that passes both.
The four task questions in that run are: which function handled the escalation, whether the approver held supervisory authority for a second visit, whether the case moved up a level, and whether the same person approved both visits. The last one is answered by a consistent number on the label at every rung, which is why rungs 4 and 5 still answer it. Numbered labels raise their own linkability question, which belongs in the stable-pseudonym review rather than here.
If no rung passes both tests, the record has no safe role-preserving form for that task. The options are then a different task, a narrower release audience or exclusion, and the choice goes into the review log with its reason. All counts in the table are invented for illustration.
| Rung | Label (illustrative) | Holders in release | Task questions answered | Passes both tests |
|---|---|---|---|---|
| 1 | Night-shift dispatch supervisor, depot 3 | 1 | 4 of 4 | No: below 5 holders |
| 2 | Dispatch supervisor, depot 3 | 2 | 4 of 4 | No: below 5 holders |
| 3 | Dispatch supervisor | 9 | 4 of 4 | Yes: chosen |
| 4 | Dispatch staff | 41 | 2 of 4 | No: task questions lost |
| 5 | Staff member | 310 | 1 of 4 | No: task questions lost |
The privacy-utility review matrix and final-delivery checklist
Each identity-bearing detail gets an identifiability test, a task-utility test, a default treatment and a kept record. The matrix is the working sheet for reviewers; the checklist is what must be true before the last file leaves the company. Thresholds and sample sizes in both are illustrative and are set for each dataset by the privacy reviewer.
Below are the final-delivery checklist and then the review matrix.
Checklist · 8 items
- Holder counts are computed for every role label in the release population and period, after generalization, against a minimum agreed in writing before counting.
- Every label below the minimum has moved up the ladder, or its records are excluded, with the reason logged.
- A task question set was written from the buyer's use before any transformation, for example 20 to 40 questions per sample, and two reviewers answered it on the original and transformed copies.
- Answer agreement meets the threshold agreed in advance, and every disagreement is traced to a rung choice, a signature rule or a broken link between records.
- The signature scan covered signature blocks, greetings, self-descriptions, relational phrases and the longest single-author threads, not only the body text.
- The role key, org charts and staff lists are outside the delivery and held under separate access.
- The release audience is written down, because every holder minimum assumes who can see the data.
- Reviewer disagreements on role decisions are recorded with the rule that settled each one.
0 of 8 ticked. Tick each item as you go.
| Identity-bearing detail | Identifiability test | Task-utility test | Default treatment | Record kept |
|---|---|---|---|---|
| Personal name or handle | Detector recall on a labeled sample, by text zone | Who-did-what questions still answerable | Consistent role label | Detector version, sample results |
| Exact title with unit | Holder count in the release against the minimum | Rung scores on the task question set | Lowest rung passing both tests | Ladder table per label |
| Sign-off or signature line | Zone audit of signature blocks | None needed; carries no task signal | Remove structurally | Strip rule and audit count |
| Self-description | Reviewer flags first-person biography | Is any fact needed by the task? | Keep the fact as a case attribute, drop the biography | Flag list and rewrite log |
| Unique duty | Holder count for the duty, not the title | Does the task need the duty or the function? | Generalize to the function | Duty-to-function map |
| Relational reference | Points to someone outside the record? | Does a role relation answer the question? | Rewrite as a role relation or remove | Rewrite log |
| Distinctive personal style | Review of longest single-author threads | Is the original wording part of the task? | Paraphrase or drop distinctive lines | Threads reviewed, lines changed |
Illustrative: an escalation thread from a field-service desk
This invented thread shows both tests applied to one record. A night dispatcher escalates a no-heat call to a supervisor, who approves a second technician visit above the usual approval limit. The original identifies three people without using a surname for two of them.
After the pass, two reviewers answered the four task questions from the ladder section on the original and transformed copies and agreed on all four. The approver's label sits at rung 3, Dispatch supervisor, which has 9 holders in the illustrative release against a minimum of 5. The customer's language need survives as a case attribute, so a model can still learn that language-matched escalations exist without learning which supervisor speaks Spanish.
What the pass gave up is visible too: the thread no longer says the call came on the night shift at depot 3. If the buyer's task needs shift or site, those facts come back as coarse case fields checked against the same holder minimum, not as part of a person's label. The table walks through each change.
| Detail | Original (illustrative) | Role-preserved version | Why |
|---|---|---|---|
| Sender and sign-off | Dana Ruiz, signed D. with extension 4417 | Dispatcher 7, sign-off removed | Name, initial and direct line are signatures; the task needs only the role |
| Approver description | Luis, our only Spanish-speaking tech supervisor | Dispatch supervisor 2 | Rung 3 of the ladder; the language skill made the label a singleton |
| Customer language need | Caller asked for someone who speaks Spanish | Case attribute: customer language Spanish | Keeps the task fact without tying it to an employee |
| Relational reference | Covering Maria's shift tonight | Covering an open shift | Points to an org chart; no task question needs it |
| Approval | OK'd a second visit, over my usual limit | Approved a second visit above the standard approval limit | The authority question needs the limit, not the voice |
Is removing names and sealing the transfer enough?
No. Taking out direct identifiers and moving files securely deal with two risks; roles, timing, place and rare events can still point to one person when they appear together. Role labels are a treatment for one quasi-identifier, and the others stay in the record unless they get their own.
Standards bodies describe de-identification as a set of separate techniques rather than one step. NIST's SP 800-188, De-Identifying Government Datasets, published in final form on 14 September 2023 with authors from NIST and the U.S. Census Bureau, lists removing identifiers and transforming quasi-identifiers as distinct techniques. ISO/IEC 20889:2018, confirmed again in 2024, sets out terminology and a classification of de-identification techniques by their characteristics. Neither treats relabeling people as the whole job.
The release audience changes the answer as well. The ICO's guidance notes that releasing data to the world at large can require more robust techniques than sharing it with particular recipients, so a holder minimum that works for one licensed recipient under contract may fail for a public sample or a published case study.
One more alternative explanation deserves a check, because a clean result can come from a weak test. If the people who wrote the task questions also judge the identifiability of the labels, agreement can look high while the labels still identify. Give the identifiability test to someone who knows the organization well enough to try naming holders, and give the task questions to someone who did not write the transformation.
Role-preserved records in a SourceX licensing review
On SourceX deals, scope comes first and belongs to the supplier: its trust page says the supplier decides which systems, records and date ranges are in scope and that everything else stays out. The legal-framework page says that, as the signed agreement specifies, SourceX de-identifies the data through approved processing routes before it is used or shared, that personal details such as names, emails, phone numbers and account numbers are removed or replaced, and that the method used is recorded for each dataset.
The same page is direct about limits: no method is perfect, and the supplier agreement records that re-identification may still be possible using the de-identified data alone or combined with other sources. A role inventory with holder counts, and a task question set written before preparation, are evidence a supplier can bring into scoping, so that singleton roles and unique duties are settled before extraction rather than discovered in review.
Fit is checked first through a brief company assessment that needs no data upload. An assessment is not an offer and promises no payment; scope, terms and price come only with a signed agreement.
Methods note: the TAB corpus, the occupation rule and its limits
Corpus: TAB v1.0, cloned from github.com/NorskRegnesentral/text-anonymization-benchmark at commit 558e09e (19 January 2026), files echr_train.json, echr_dev.json and echr_test.json, read with a byte-order-mark-tolerant decoder: 1,268 documents and 2,208 annotator-document pairs, 274 documents with two or more annotators. The unit is one annotator-mention: each annotator's annotation of a span counts once. Marked for masking means identifier_type DIRECT or QUASI; NO_MASK counts as kept.
Occupation rule: a DEM mention counts when its span text contains, as a whole word and ignoring case, one of 65 stems or its plural, 130 forms in all, with a hyphen counting as a word boundary: officer, policeman, policewoman, gendarme, soldier, sergeant, lieutenant, captain, colonel, commander, constable, inspector, investigator, detective, prosecutor, judge, magistrate, lawyer, advocate, director, manager, chairman, chairwoman, chairperson, president, governor, mayor, minister, secretary, deputy, chief, administrator, employee, worker, clerk, accountant, engineer, teacher, professor, lecturer, doctor, physician, nurse, surgeon, psychiatrist, journalist, editor, reporter, driver, farmer, businessman, businesswoman, owner, trustee, servant, guard, warder, priest, imam, student, pupil, waiter, waitress, mechanic and technician. Plurals: stems ending in man take men, deputy and secretary take ies, waitress takes es, all others add s. Other DEM mentions, such as nationalities, ages and diagnoses, are excluded from the occupation rows.
Splits and agreement: one word versus two or more means whitespace-separated words in the span text; capitalized means the first character of the trimmed span is an upper-case letter. Agreement uses spans keyed by document, start offset and end offset that two or more distinct annotators marked; a span is split when those annotators did not all make the same mask decision. One PERSON span was marked twice by the same annotator, and the later mark in file order was kept. Spans that only one annotator marked are not in the agreement figures. Shares are rounded half up to one decimal from the exact counts. A companion SourceX analysis of indirect identifiers counts all eight TAB categories at the same commit and in the same unit; its person-name masking rate, 82.3 percent, is the figure used here, and its DEM total, 4,167 marked of 8,683, contains the 1,169 occupation mentions counted on this page.
Not measured: business records of any kind, whether each occupation belonged to the person being protected, per-annotator rates, and spans some annotators did not mark at all. No span or document text was saved or printed, apart from the generic office and occupation titles named above, and no re-identification of anyone was attempted. The ladder and escalation tables are invented illustrations, not measurements. Sources were checked on 2026-10-28.
Frequently asked questions
Is replacing names with job titles enough to anonymize business records?
No. A job title is safe only when several people in the release could hold it, and other details such as timing, site and rare events can still point to one person. In EU terms the result is usually pseudonymised data, which stays personal data while someone can attribute it with additional information.
What minimum number of holders should a role label have?
There is no universal number. The privacy reviewer sets it per dataset before counting, based on who will receive the data and what else the records reveal. This article uses 5 only as an illustrative value in its worked example.
Should role labels be numbered, like Dispatch supervisor 2?
Numbering keeps who-did-what readable across a thread and lets a model learn handoffs. It also makes records easier to link to one person across the dataset, so the choice belongs in a stable-pseudonym review together with the holder counts.
How many questions does a task-interpretability test need?
Enough to cover every decision the buyer's use depends on, written before any transformation. This article gives 20 to 40 questions per sample as an illustrative range; two reviewers answer them on the original and transformed copies and compare.
Did the TAB annotators agree on job titles?
Less than on names. Of 129 occupation spans marked by two or more annotators, 46 drew a split decision, 35.7 percent, compared with 26.4 percent of shared person-name spans in the same corpus.
Sources
- The UK ICO describes identifiability as a spectrum that can change with the circumstances of processing, uses a motivated intruder test that starts without prior knowledge, and says wide releases can need more robust techniques. Source
- The ICO's anonymisation glossary defines a background-knowledge attack, in which the adversary already holds information about the target. Source
- The EDPB's Guidelines 01/2025 on pseudonymisation say data attributable to a person through additional information remains information on an identifiable person, even when that information is held by another party. Source
- NIST SP 800-188, final on 14 September 2023, lists removing identifiers and transforming quasi-identifiers among de-identification techniques. Source
- ISO/IEC 20889:2018 sets out terminology and a classification of privacy-enhancing de-identification techniques and was last reviewed and confirmed in 2024. Source
- The Text Anonymization Benchmark holds 1,268 English-language ECHR cases annotated with entity categories, masking decisions and co-reference, under the MIT license; SourceX counted its annotations at commit 558e09e. Source
- TAB's annotation guidelines put job titles, ranks and education in the DEM category, define direct and quasi identifiers, and exempt legal professionals' titles. Source
- SourceX's trust page says the supplier decides which systems, records and date ranges are in scope and everything else stays out. Source
- SourceX's legal-framework page says it de-identifies data through approved processing routes as the signed agreement specifies, records the method per dataset, and that no method is perfect. Source
See if your company qualifies
A short company assessment. No data uploads are needed.