Privacy Enhancing Technologies (PETs)
Key points
- Differential privacy provides provable privacy guarantees through calibrated noise; epsilon controls the privacy accuracy tradeoff
- Local differential privacy adds noise on device (server never sees real data); global adds noise at query output (better accuracy, trusted server)
- Homomorphic encryption enables computation on encrypted data but FHE is currently 10,000x to 1,000,000x slower than plaintext operations
- SMPC enables joint computation across organizations without revealing individual inputs; each party learns only the final output
- TEEs (Intel SGX, ARM TrustZone) provide hardware isolation protecting data in use from even the infrastructure operator
- Federated learning keeps raw data on local devices, sharing only model updates, but gradient inversion attacks are a known risk
- Synthetic data must be validated for memorization risk through membership inference, nearest neighbor analysis, and fidelity checks
- Zero knowledge proofs enable proving statements (age, credential validity) without revealing the underlying personal data
Privacy Enhancing Technologies (PETs)
PETs are technologies specifically designed to protect personal data while maintaining data utility. This is one of the most heavily tested technical areas on the CDPSE exam.
Differential Privacy
Differential privacy adds calibrated mathematical noise to data or query results, providing provable guarantees that individual records cannot be distinguished from the aggregate. The privacy budget (epsilon) controls the tradeoff: lower epsilon provides stronger privacy but reduces accuracy; higher epsilon provides better accuracy but weaker privacy. The composition theorem states that privacy loss accumulates across multiple queries, requiring careful budget management.
Local differential privacy adds noise on the user's device before transmission, so the server never sees actual values. Global differential privacy adds noise at the query output level, providing better accuracy but requiring a trusted aggregator. For the exam, understand both variants and their tradeoffs.
Homomorphic Encryption
Homomorphic encryption enables computation on encrypted data without decrypting it. The decrypted result matches what would have been obtained on plaintext. Fully homomorphic encryption (FHE) supports arbitrary operations but is currently 10,000 to 1,000,000 times slower than plaintext computation. Partially homomorphic encryption supports limited operations (addition OR multiplication) with better performance. Use cases include outsourced computation on sensitive data where the computing party should not see the plaintext.
Secure Multi-Party Computation (SMPC)
SMPC enables multiple parties to jointly compute a function over their combined private inputs without revealing any party's individual data. Each party learns only the final output. Applications include collaborative analytics across organizations, joint risk scoring, and privacy preserving benchmarking where competitors compare metrics without sharing raw data.
Trusted Execution Environments (TEEs)
TEEs are hardware isolated enclaves (Intel SGX, ARM TrustZone) that protect data during processing. Even the host operating system, hypervisor, and infrastructure operator cannot access plaintext data inside the enclave. TEEs enable confidential computing where the infrastructure provider is part of the threat model.
Federated Learning
Federated learning trains ML models across decentralized devices without centralizing data. Only model updates (gradients) are shared, keeping raw data on local devices. Secure aggregation ensures the central server cannot see individual gradient contributions. Privacy risks include gradient inversion attacks that attempt to reconstruct training data from shared updates.
Data Clean Rooms
Clean rooms are secure environments where multiple parties combine datasets for analysis without either party accessing the other's raw data. Predefined query restrictions, output thresholds, and differential privacy protect individual records. Clean rooms are increasingly used in advertising measurement and healthcare research.
Synthetic Data
Synthetic data is artificially generated to mimic the statistical properties of real datasets without containing actual personal records. Generation methods include GANs, VAEs, and statistical models. The primary privacy risk is model memorization, where the generator inadvertently reproduces real records. Privacy validation tests include: membership inference (can you detect if a real record was in the training set?), nearest neighbor analysis (is any synthetic record too similar to a real one?), and statistical fidelity checks (do distributions match?).
Zero-Knowledge Proofs
Zero knowledge proofs allow one party to prove knowledge of a value without revealing it. Privacy applications include: age verification without disclosing date of birth, credential validation without revealing the credential, and identity proofing without sharing personal data. Verifiable credentials using zero knowledge proofs enable selective disclosure of only the claims needed for each verification purpose.
Practical Example
Two competing pharmaceutical companies want to compare their clinical trial populations for overlap without revealing their actual patient lists. They use Secure Multi-Party Computation: each company encrypts their patient identifiers, the SMPC protocol computes the set intersection, and only the overlap count is revealed (not the identities). Neither company sees the other's patient list. This enables collaborative research while maintaining the confidentiality of each company's proprietary patient data.