What is a data clean room?
By Plety. Updated
A data clean room is a secure environment in which two or more parties analyse their data together for agreed purposes without any of them seeing the others' raw records. Rules decide which queries may run and which results may leave. Clean rooms are increasingly used in advertising, and the same approach can let an AI buyer test a seller's records without receiving them.
What is a data clean room?
A data clean room is a controlled environment where several parties bring data, run agreed analyses on it and take away only the approved results. IAB Tech Lab's Data Clean Rooms: Guidance and Recommended Practices (version 1.0, 2023) defines it as a secure collaboration environment in which two or more participants use data for specific, mutually agreed uses while strict limits on data access are enforced, for example so that no party sees another's customers' personal data.
The guidance also says what a clean room is not: standard joins where either party can see individual records, queries that output individual-level data, queries whose output can identify individuals despite some safeguards, and plain text data exchanged between parties. It adds that applying only one privacy-enhancing technology is usually not enough.
How does a data clean room work?
A data clean room works by leaving each party's data where it is and letting only approved computations touch it. AWS's user guide for AWS Clean Rooms, read in November 2026, says partners analyse their collective datasets without revealing underlying data to one another, and that the service reads data from its original location and applies built-in analysis rules when queries run.
Each data owner sets an analysis rule on its own table, and where tables with different settings meet in one query, the stricter control applies. AWS's example: if one party requires at least 100 distinct identifiers in each output row and another requires 150, a query joining both needs 150, and the output does not say that rows were removed.
| Rule type | What queries may do | Common uses AWS lists |
|---|---|---|
| Aggregation | Return statistics using COUNT, SUM and AVG, subject to minimum aggregation thresholds | Segment analysis, measurement, attribution |
| List | Return row-level lists of the overlap between tables | Enrichment, segment building |
| Custom | Run any analysis whose template or author has been reviewed and allowed, with options such as differential privacy | First-touch attribution, incremental analyses, audience discovery |
Which privacy-enhancing technologies do clean rooms use?
Clean rooms combine several privacy-enhancing technologies (PETs), and the ICO's guidance on PETs describes most of them: differential privacy, synthetic data, homomorphic encryption, zero-knowledge proofs, trusted execution environments, secure multiparty computation, private set intersection and federated learning. The ICO describes differential privacy as a way to generate anonymous statistics.
Trusted execution environments are a common base. The ICO defines a trusted execution environment as a secure area inside a computer's central processing unit. It warns that such environments do not provide output privacy unless the code running inside includes computations for it, that they can be open to side-channel attacks, and that they must not be assumed to be a complete security solution. Output controls therefore matter as much as the environment.
How can a clean room let an AI buyer test records without receiving them?
A clean room lets a buyer bring its test to the data instead of taking the data to its test. The seller's de-identified records stay in the seller's account, the buyer contributes code such as a quality scorer, a duplicate check or a small evaluation model, and only agreed scores and statistics come out.
Cloud services support model work in this way. AWS's guide says AWS Clean Rooms ML lets two or more parties run machine learning models on their data without sharing it, including a custom model packaged as a container, and that only a member given the ability to receive model output gets the trained model artefacts. The model provider also sets a privacy policy covering logs, metrics and how much data can be exported from the container's results.
A trained model can carry what it learnt out of the room, so a seller that only wants its records tested should allow scores out, not model weights. Plety never holds, views or passes on records, so any such test runs in the company's own environment or one it controls. The earlier steps are set out at https://plety.net/about/for-buyers/assessing-records-before-seeing-them.
What is a trusted research environment?
A trusted research environment, also called a secure data environment, is a platform where approved users analyse sensitive data without the data leaving it. The UK government's policy guidelines for NHS health and social care data (updated 23 December 2022) describe secure data environments as data storage and access platforms that let approved users access and analyse data without the data leaving the environment, and say all information must be checked before it leaves.
The guidelines apply the Five Safes framework developed by the Office for National Statistics. A clean room used to test business records can borrow the same checklist, as the table shows.
| Safe | Meaning in the NHS guidelines | Applied to a buyer's test |
|---|---|---|
| Safe settings | The environment prevents inappropriate access or misuse | A clean room or the seller's own account, with downloads turned off |
| Safe data | Information is protected and treated to protect confidentiality | Records de-identified inside the company before the test |
| Safe people | People accessing the data are trained and authorised | Named reviewers at the buyer, under a non-disclosure agreement |
| Safe projects | Research projects are approved by data owners for the public good | A written test plan that the company approves |
| Safe outputs | Summarised data taken away is checked to protect privacy | Only agreed scores and statistics leave, after checking |
Questions
- Is data in a clean room still personal data?
- It can be. A clean room limits who sees what, but records inside it may still identify people, so data protection rules continue to apply to the processing. Take advice on your own company's records.
- Is a clean room the same as a non-disclosure agreement?
- No. A non-disclosure agreement is a promise, while a clean room is a technical control. The IAB Tech Lab guidance treats plain exchanges of data between parties as falling outside the meaning of a clean room.
- Who pays for a clean room?
- It depends on the service and the agreement. In AWS Clean Rooms, the member who creates a collaboration chooses which member pays for query or job compute costs.
- Can a buyer train a model inside a clean room?
- Some services allow it: AWS Clean Rooms ML supports custom models. Because a trained model keeps what it learnt, a seller can limit exports to scores and statistics if it only wants its records tested.
Looking for licensed records from UK companies?
Email Herman or book a 30-minute call with what you license: record types, languages, volume, date range and terms.
Sources
- ICO, What privacy enhancing technologies are there?
- ICO, Trusted execution environments (privacy enhancing technologies guidance)
- UK government, Secure data environment for NHS health and social care data: policy guidelines (updated 23 December 2022)
- IAB Tech Lab, Data Clean Rooms: Guidance and Recommended Practices, version 1.0 (2023)
- IAB Tech Lab, Data clean rooms standards page
- AWS, What is AWS Clean Rooms? (user guide)
- AWS, Analysis rules in AWS Clean Rooms (user guide)
- AWS, AWS Clean Rooms ML (user guide)
This page is general information, not legal advice. Take advice on your own company's records and contracts.