Module 39 of 52 · Privacy and protection

Anonymisation and PETs

30 min 5 outcomes Identifiability spectrum + PET selection board 8 sources cited

By the end of this module you will be able to:

  • Explain identifiability as a spectrum and apply the motivated intruder test
  • State why pseudonymised data remains personal data
  • Explain k-anonymity and name its limits
  • Describe differential privacy through the 2020 US Census deployment
  • Place federated learning, secure computation and clean rooms at survey level

Identifiability is a spectrum with a legal gate near the end

Swapping the name for a key leaves the data personal because the key still exists, and dropping the direct fields leaves re-linking plausible, so only the last crossing, decided by the motivated intruder test, takes a dataset out of the regime.

Identified, pseudonymised, de-identified and anonymous sit on one line, and only the last crossing leaves the regime. Pseudonymised data is still personal data because the key exists, and the motivated intruder test is what decides where the legal line falls.

Identifiability is a spectrum with a legal gate near the end One horizontal spine with four stations, tinted from deep pink to white as the route back to a person gets harder: Identified, Pseudonymised, De-identified and Anonymous. Arrows between them read swap the name for a key and drop the direct fields. A dashed red gate stands between de-identified and anonymous, marked LEGAL GATE, and the arrow crossing it is labelled the motivated intruder test decides this line. A chip below pseudonymised reads still personal data: a key exists. The legend repeats the four tints as swatches and explains that a deeper tint means an easier route back. IDENTIFIABILITY SPECTRUM · ONE LINE, ONE LEGAL GATE IdentifiedName sits withthe recordPersonal data PseudonymisedKey held apartand still existsPersonal data De-identifiedDirect IDs goneRe-linking isstill plausible AnonymousNo route backthat the lawrecognises swap the name for a key drop the direct fields the motivated intruder test decides this line LEGAL GATE Still personal data: a key exists Tint shows the route back to a person A deeper tint means an easier route back; white means no route the law recognises. identifiedpseudonymisedde-identifiedanonymous

Privacy technologies plotted by guarantee strength against utility cost

The board plots the strength of the guarantee against what the analysis gives up, and each step up the ladder carries its reason, raw data that cannot be centralised or a linkage attack in scope, so a stronger technology earns its cost only against a threat you face.

A privacy-enhancing technology is chosen against a threat model, not against a league table. Plot the guarantee it gives against the utility it costs, then move up a ladder only when the threat you actually face demands it.

Privacy technologies plotted by guarantee strength against utility cost A quadrant board. The horizontal axis is the cost to utility, rising to the right; the vertical axis is the strength of the guarantee, rising upward. The top-left quadrant is tinted as the target corner. Five chips: multi-party computation and differential privacy sit high, federated learning and a trusted research environment sit lower on the left, k-anonymity sits lower right where the guarantee is weak and the analysis still pays. Three arrows show why a reader moves up: raw data cannot be centralised, model updates still leak, and linkage attack in scope. A footer states that PET choice follows the threat model. FIVE PRIVACY TECHNOLOGIES ON TWO AXES STRONG, LITTLE LOSTSTRONG, MUCH LOSTWEAKER, LITTLE LOSTWEAKER, MUCH LOSTLITTLE LOSTCOST TO UTILITY RISES TO THE RIGHTMUCH LOSTGUARANTEE STRENGTHENS UPWARD Multi-party computationJoint result, no shared rowsDifferential privacyPublished counts, noise addedFederated learningModel trained where data sitsk-anonymityEach row hides in a groupTrusted research environmentAnalysts work inside, no exportraw data cannot be centralisedmodel updates still leaklinkage attack in scope PET choice follows the threat model Tinted corner: a strong guarantee that costs the analysis little

Almost every organisation that holds records about people eventually wants to do something with those records that the original collection did not obviously cover: publish a statistic, share a file with a partner, hand a dataset to a research team, train a model. The instinct in that moment is to reach for the delete key, take out the names and the addresses, and declare the result safe. That instinct is the single most reliable source of privacy failures in data work, and it has been for three decades.

Removing identifiers is not the same as anonymisation, and the legal line falls somewhere most teams place it too early. The two best known technical approaches each promise something narrower than their reputation, and the wider family of privacy-enhancing technologies is a set of trade-offs rather than a league table.

Start with the failure, because the reasoning behind everything that follows only makes sense once you have seen why deletion of identifiers is not enough.

39.1 Removing names is not anonymisation

Consider a hospital releasing a dataset of admissions with names, addresses and record numbers stripped out, leaving date of birth, postcode district, sex and diagnosis. Nothing in that file identifies anyone on its face. But somebody holding a second dataset that carries date of birth, postcode district, sex and a name, of which there are many, can join the two and put a name against a diagnosis. The attack does not break anything. It just reads two files together.

The fields that make this work are the quasi-identifiers: values that identify nobody alone and identify almost everybody in combination. Date of birth, partial postcode and sex are the classic trio, but occupation, employer, household composition, first date of service and any rare category behave the same way. This is why the obvious direct identifiers gives so little protection: it addresses the fields that were never the route in.

So identifiability is not a property of a file. It is a property of a file and the world around it together, and it moves as the world changes. A dataset that nobody could re-identify in 2019 may be re-identifiable in 2026 because somebody else published the missing piece in the meantime. The law recognises this directly rather than treating anonymity as a technical state.

To determine whether a natural person is identifiable, account should be taken of all the means reasonably likely to be used, such as singling out, either by the controller or by another person to identify the natural person directly or indirectly.

Regulation (EU) 2016/679 (General Data Protection Regulation) - Recital 26, Not applicable to anonymous data

The test is reasonable likelihood, judged against available technology and against what identification would cost in money and time. Recital 26 goes on to say that the data protection principles do not apply to anonymous information, which is why the anonymisation threshold matters so much: crossing it takes the data outside the regime entirely. Note the phrase 'or by another person'. The question is not whether your own staff could re-identify someone, but whether anyone reasonably likely to try could. The recitals are not reproduced in the UK version of the Regulation on legislation.gov.uk, so the text quoted here is the EUR-Lex original.

The Information Commissioner's Office finalised its guidance on anonymisation and pseudonymisation on 28 March 2025, and it treats as a spectrum rather than a switch. Data sits somewhere between fully identified and genuinely anonymous, and where it sits depends on the controls around it as much as on the fields it contains.

The practical tool the ICO offers for locating a dataset on that spectrum is the . You imagine someone who wants to identify a person in the data, who is reasonably competent, who can use the internet, libraries and public documents, and who will take all reasonable steps, but who starts with no prior knowledge of the individuals, no privileged access and no specialist skills. Then you actually try it. Give a colleague the release and an afternoon, and see how far they get. The exercise is cheap and it is a great deal more pleasant to run yourself than to have a journalist run it for you after publication.

The conclusion that follows is uncomfortable but freeing. is a risk assessment, not an operation you perform on a file. Two organisations can apply exactly the same transformations to exactly the same data and reach different answers, because one is publishing to the open web and the other is releasing into a controlled environment under a contract. The transformation is only part of the argument.

Common misconception

We removed the names and the addresses, so the dataset is anonymous.

Direct identifiers are rarely the route back to a person. Quasi-identifiers such as date of birth, partial postcode, sex, occupation and rare categories are, because they are close to unique in combination and they appear in other datasets that can be joined to yours. Whether data is anonymous depends on what else is reasonably available and on the environment the data is released into, so it is a judgement made per release, not a state a file acquires once and keeps.

One point on the spectrum causes more confusion than the rest of it combined, because the technique genuinely helps and is routinely credited with more than it does.

39.2 Pseudonymisation, precisely

replaces identifying details with a key or a token, and keeps the mapping back to the original somewhere separate. Analysts see subject 4471 rather than a name, and only a small controlled process can turn 4471 back into a person. The law defines it exactly.

the processing of personal data in such a manner that the personal data can no longer be attributed to a specific data subject without the use of additional information, provided that such additional information is kept separately and is subject to technical and organisational measures to ensure that the personal data are not attributed to an identified or identifiable natural person

Regulation (EU) 2016/679 (United Kingdom General Data Protection Regulation) - Article 4(5), Definition of pseudonymisation

Read the definition closely and the answer to the usual question is contained in it. The additional information still exists; it is merely kept apart. Because attribution remains possible to whoever can bring the two halves together, pseudonymised data is still personal data and the whole of the regime still applies to it. Recital 26 says the same thing in the other direction: data that could be attributed to a person by the use of additional information is information on an identifiable person. The wording quoted here is the UK version held on legislation.gov.uk, and it is identical to Article 4(5) of the EU Regulation.

That is not an argument against doing it. Pseudonymisation is named in the law as an example of an appropriate technical measure for securing personal data, and it earns that place. It reduces the number of staff who ever see identities, it limits what a stolen extract discloses, and it makes separation of duties enforceable rather than aspirational. What it does not do is take the dataset out of scope. Subject access requests, retention limits, the lawful basis and the breach obligations all continue to apply.

is the same shape of control applied to a specific sensitive value, most familiarly a card number, with the mapping held in a separately protected vault. Its purpose is to reduce how many systems in an estate ever hold the real value, which shrinks the audit surface. It is a scoping control rather than a privacy guarantee.

One live policy point belongs here, flagged as a proposal rather than as law. The European Commission published its Digital Omnibus package on 19 November 2025, which among other changes would adjust how the personal data definition applies to pseudonymised data. A Commission proposal is not law until the Parliament and the Council have agreed a text, so check where this one has got to before relying on it. The position stated above is the one in force.

Common misconception

Once the data is pseudonymised we are outside data protection law, so we can process it freely.

Pseudonymised data is personal data. The additional information that reverses the pseudonym still exists somewhere in the organisation, and the definition in Article 4(5) turns on exactly that. The practical consequences are concrete: you still need a lawful basis, the retention schedule still applies, individuals retain their rights over the records, and a breach of the pseudonymised file is still a personal data breach. What pseudonymisation buys you is a genuine reduction in risk, not an exemption.

If judgement alone is uncomfortable, the obvious next move is to look for a number you can test a release against. There is one, and it is worth knowing what it does not cover.

39.3 k-anonymity and its limits

is a testable property of a released table. Group the records by their quasi-identifiers. Each group is an equivalence class: everyone in it looks identical on those fields. The table is k-anonymous if no class has fewer than k records, so that no individual can be singled out from the quasi-identifiers alone. NIST SP 800-188 sets this out as a framework for quantifying how hard singling out is.

Reaching a chosen k uses two operations. Generalisation makes values coarser: a date of birth becomes a year of birth, then a five-year band; a full postcode becomes a district, then a region. Suppression removes the records or the fields that cannot be made to fit, which is usually the rare and interesting ones. Both cost analytical value, and the cost is not evenly spread. The rows most likely to be generalised away are the outliers, which are frequently the rows a researcher most wanted.

Three limits matter more than the technique itself. The first is attribute disclosure. If an equivalence class of ten people all share the same diagnosis, nobody has been singled out and everybody in that class has still had their diagnosis revealed. Knowing that someone is in the group is enough. Refinements such as l-diversity exist to address this, and they add their own costs.

The second is composition. NIST records that k-anonymity and related techniques are not compositional: they do not quantify cumulative privacy loss across multiple releases. Two tables that are each perfectly k-anonymous can, read together, isolate individuals neither could isolate alone. That makes k a property of one release rather than of a publication programme, and most organisations publish repeatedly.

The third is time. k is measured against the auxiliary data available now. Auxiliary data only accumulates, so a release that satisfied a chosen k on the day it was published can quietly stop satisfying it, without anyone touching the file. Published tables age badly, and there is no alert for it.

Common misconception

Our release is 5-anonymous, so it is anonymous.

k-anonymity measures one specific difficulty: singling an individual out from the quasi-identifiers in a single table. It says nothing about attribute disclosure when a group shares a sensitive value, it does not compose across multiple releases, and it is measured against the auxiliary data that happens to exist today. A number from one release is evidence for an identifiability assessment, not a substitute for one, and NIST notes that some implementations have been shown to be reversible.

The limits above all come from the same root: the guarantee attaches to a table rather than to a person. One technique attacks that root directly.

39.4 Differential privacy

changes the question. Instead of asking whether a released table can be re-identified, it asks whether the output would look meaningfully different had any one person been absent from the input. Statistical noise is added to results, calibrated so that no single individual's presence can be detected from what is published. Because the guarantee attaches to a person rather than to a table, it holds whatever auxiliary data an attacker brings.

The cost is stated openly, which is unusual in this field. The strength of the guarantee is expressed through a parameter, epsilon, where a larger value affords less privacy. The total that an organisation is willing to spend across everything it releases about a dataset is its . Each query is calibrated to consume a share of it, and once it is exhausted no further results can be released without weakening the guarantee. Deciding where to set that budget is a policy question about how much accuracy the published statistics may lose, and it should not be settled quietly by whoever is writing the code.

The reference deployment is the 2020 United States Census. Having used data swapping for the 2010 count, the Census Bureau moved to a disclosure avoidance system built on differential privacy, implemented as the TopDown Algorithm, which takes noisy measurements of key queries and reconstructs a microdata file from them. The first product released under it was the redistricting data required by Public Law 94-171, published on 12 August 2021, and the same algorithm was carried into later products including the Demographic and Housing Characteristics file in 2023.

Two features of that deployment teach more than the mathematics. The first is invariants: certain statistics were excluded from the privacy-loss accounting as a matter of policy and published exactly rather than noisily, because the counting rules that govern how seats are apportioned leave no room for noise. Formal privacy in a real system is always framed by decisions of that kind. The second is that the trade was contested in public. Demographers and users of small-area statistics argued that the accuracy cost at low levels of geography was too high, the Bureau published its reasoning and its parameters, and the argument was had in the open. That is what a defensible privacy decision looks like, and it is the opposite of an unexamined promise that a file is anonymous.

Differential privacy has since moved well beyond census work. OpenDP and its collaborators announced a Differential Privacy Deployments Registry, a public repository of real deployments, at the Eyes-Off Data Summit and the 2025 OpenDP Community Meeting, and the US National Institute of Standards and Technology has proposed hosting it. A list of deployments that anyone can read is a useful corrective to the impression that the technique is confined to research papers.

Common misconception

If we apply differential privacy we can publish whatever we like, because the output is anonymous.

The guarantee is bounded by the privacy budget, and the budget is finite. Every additional result released about the same dataset consumes more of it, and a system that keeps answering queries after the budget is exhausted is no longer delivering the guarantee it claims. Differential privacy also costs accuracy, and that cost falls hardest on small subgroups and small geographies, which is precisely where many analyses want to look. It is the strongest tool in this module and it is still a trade, not an escape from one.

Noise is one answer to disclosure. The remaining techniques change what has to move or who has to be trusted, which suits a different set of problems.

39.5 The rest of the toolbox, honestly

A is any technique that lets useful analysis happen while limiting what anyone can learn about the individuals in the data. The family is broad, and the useful habit is to ask what each member actually changes.

changes what has to move. Several organisations train a shared model while each keeps its own records, exchanging model updates instead of raw data. NIST, writing with the UK government's Responsible Technology Adoption Unit, is careful about what that buys: the updates themselves can carry information about the training data, so a complete privacy-preserving system pairs the federated arrangement with an approach to output privacy limiting what can be learned about individuals after training. Federation is a data movement decision, not privacy on its own.

Secure multiparty computation changes who has to be trusted. Several parties jointly compute an agreed function over their combined inputs without any of them seeing the others' inputs. Homomorphic encryption goes further, allowing computation directly on encrypted values. Both are real and both are used in production for narrow, high-value problems. At survey level the thing to hold on to is the shape of their cost: they preserve accuracy well and they are expensive in engineering effort and in compute, which is the reverse of the trade differential privacy makes.

Trusted research environments change where the analysis happens. Rather than releasing data, the environment brings the analyst to the data under controls across five dimensions described by the framework: safe projects, safe people, safe data, safe settings and safe outputs. It explains why a secure environment can work with data far too disclosive to publish, and why relaxing one dimension has to be paid for in another.

are the commercial cousin of that idea, common in advertising and in transaction diligence. Two parties bring data together for an agreed analysis, and the environment enforces what may be joined, what may be queried and what may leave. The privacy claim rests entirely on the guardrails the operator enforces, so the questions worth asking are about output controls, minimum aggregation thresholds and audit logging rather than about the label. IAB Tech Lab records version 1.0 of its Data Clean Rooms Guidance and Recommended Practices as released in July 2024, and that document is a reasonable starting point for evaluating an offer.

Two closing cautions. is often described as privacy-safe by construction; it is not. Generated records can still leak facts about the individuals in the source set, so a synthetic release needs its own identifiability assessment rather than an assumption. And a trained model is not automatically safer than the data it was trained on: attacks can determine from a model's outputs alone whether a particular record was in its training set, so releasing a model requires an assessment of its own.

The selection board figure above makes the governing point. These techniques are not ranked. Each buys a different strength of guarantee at a different cost to the analysis, so the choice follows the threat model and the sharing scenario: who is the attacker, what would they have to bring, and what does the analysis need to survive.

39.6 Check your understanding

A local authority plans to publish a dataset of housing repair requests with names and full addresses removed, leaving date of request, postcode district, property type and household size. A colleague says it is now anonymous. What is the strongest objection?

An analytics team replaces customer names with random identifiers, storing the mapping table in a separate database that only two administrators can reach. Which statement is correct?

A statistics office wants to publish small-area counts and expects the release to be combined with other published datasets in ways it cannot predict. Which approach best fits that threat model?

Core distinctions

  • Identifiability is a spectrum, not a switch, and it is a property of the data together with its environment. Recital 26 sets the test as all the means reasonably likely to be used, by the controller or by another person.
  • The ICO's motivated intruder test gives that abstract standard a practical form: a reasonably competent person with public resources, no prior knowledge and no privileged access. Run it before publication rather than after.
  • Pseudonymised data is personal data. Article 4(5) turns on additional information that is kept separately, and because that information still exists, the lawful basis, retention rules, individual rights and breach duties all continue to apply.
  • k-anonymity measures how hard it is to single someone out from the quasi-identifiers in one table. It does not address attribute disclosure within an equivalence class, it does not compose across releases, and it degrades over time as auxiliary data accumulates.
  • Differential privacy attaches its guarantee to the individual rather than the table, priced through a privacy budget. The 2020 US Census used the TopDown Algorithm for the redistricting file published on 12 August 2021, with certain statistics held as policy invariants and the accuracy trade argued in public.
  • Federated learning changes what moves, secure computation changes who must be trusted, trusted research environments and clean rooms change where analysis happens. Choose against the threat model, not against a ranking.

Standards and sources cited in this module

  1. ICO guidance on anonymisation and pseudonymisation

    Identifiability, and how to ensure anonymisation is effective

    The UK regulator's finalised guidance, published 28 March 2025. Sets out identifiability as a spectrum, distinguishes pseudonymisation from anonymisation, and describes the motivated intruder test as part of the identifiability risk assessment.

  2. Regulation (EU) 2016/679 (United Kingdom General Data Protection Regulation), Article 4

    Article 4(5), definition of pseudonymisation

    The UK statute book text of the definitions. Article 4(5) is the provision that explains why pseudonymised data remains personal data: the additional information is kept separately, not destroyed.

  3. Regulation (EU) 2016/679 (General Data Protection Regulation), consolidated text

    Recital 26, anonymous information

    The EUR-Lex original, which carries the recitals that the UK version on legislation.gov.uk does not reproduce. Recital 26 sets the reasonable likelihood test for identifiability and takes anonymous information outside the regime.

  4. NIST SP 800-188, De-Identifying Government Datasets (2023)

    k-anonymity, quasi-identifiers and equivalence classes

    Authoritative treatment of de-identification techniques, including the statement that k-anonymity and related methods are not compositional and so do not quantify cumulative privacy loss across releases.

  5. Disclosure avoidance protections by data product, US Census Bureau

    2020 Census data products and algorithms

    Primary record of which 2020 Census products were protected by the TopDown Algorithm and when each was released, including the redistricting data of 12 August 2021.

  6. OpenDP, Differential Privacy Deployments Registry

    Announcement post, 25 November 2025

    A public repository of real differential privacy deployments, useful for seeing how organisations have actually set their parameters rather than how the technique is described in the abstract. The post also records the NIST proposal to host the registry.

  7. UK Data Service, the Five Safes framework

    Safe projects, people, data, settings and outputs

    The framing used by UK trusted research environments for deciding the terms on which confidential data may be accessed, and the reason control is spread across five dimensions rather than loaded onto altering the data.

  8. IAB Tech Lab, Data Clean Rooms Guidance and Recommended Practices

    Version 1.0, released July 2024

    The industry guidance behind most commercial clean room offers. Sets out the common principles, the functions a clean room performs and the guardrails and limitations worth asking a supplier about.

Module 39 of 52 · Privacy and protection