---
title: "Privacy Preserving Machine Learning 🔐"
description: "Part 1 of a technical series examining membership, property, and model-inversion attacks alongside modern privacy-preserving ML defenses."
canonical: "https://jigyasa-grover.github.io/PrivacyPreservingML1/"
last-updated: "2022-07-10"
---

# Privacy Preserving Machine Learning 🔐

- **Author:** Jigyasa Grover (https://jigyasa-grover.github.io/#person)
- **Published:** 2022-07-10
- **Category:** Responsible AI & Privacy
- **Tags:** Privacy-Preserving ML, Federated Learning, Inference Attacks
- **Canonical HTML Article:** https://jigyasa-grover.github.io/PrivacyPreservingML1/

## Executive Summary

Part 1 of a technical series examining membership, property, and model-inversion attacks alongside modern privacy-preserving ML defenses.

## Full Technical Article


Lately, I’ve been working on [#PrivacyPreservingML](https://twitter.com/hashtag/PrivacyPreservingML) 🔐 I got looped in some projects after Apple launched [AppTrackingTransparency (ATT)](https://developer.apple.com/documentation/apptrackingtransparency) framework, requiring iOS apps to ask permission to share users’ data w/ 3rd parties. This has triggered an industry-wide discussion on best practices to respect user privacy.

>
> Lately, I’ve been working on [#PrivacyPreservingML](https://twitter.com/hashtag/PrivacyPreservingML?src=hash&ref_src=twsrc%5Etfw) 🔐

I got looped in some projects after Apple launched ATT, requiring iOS apps to ask permission to share users’ data w/ 3rd parties.

This has triggered an industry-wide discussion on best practices to respect user privacy. [pic.twitter.com/Ne1aF3p9F9](https://t.co/Ne1aF3p9F9)— Jigyasa Grover  (@jigyasa_grover) [July 11, 2022](https://twitter.com/jigyasa_grover/status/1546358981660069888?ref_src=twsrc%5Etfw)

ML models are as good as the data we feed them 🍣 In the online world, it's tempting to use data from a user's each & every move by sharing info across companies to make the models smarter -- in the guise of *‘serving the users better’*. [#DataCentricAI](https://twitter.com/hashtag/DataCentricAI)

But the use of every data point w/o protecting it has led to cyber attacks, reverse engineering, and violations of sensitive data like personal conversations, financial transactions, medical history, etc. This is where [#PrivacyPreservingML](https://twitter.com/hashtag/PrivacyPreservingML) comes into play!

---

To put it simply:

**Privacy-Preserving ML = Data Privacy + Model Privacy**

---

**Data Privacy** = Using authorized data + not exposing training data & its source + protecting input & output data. Check out this [“secret sharer”](https://dl.acm.org/doi/10.5555/3361338.3361358) paper -- certain sequences (for eg. credit card numbers, SSN) can be unintentionally memorized!

**Model Privacy** = Protect the model and its nuances (aka parameters) from the public eye. Apart from Intellectual Property loss, using it to reverse engineer inputs from the outputs can prove to be a dangerous problem in many sensitive situations.

There are many methods to ensure that the data cannot be stolen by a third party or how to ensure model privacy. Might come back to these [#PrivacyPreservingML](https://twitter.com/hashtag/PrivacyPreservingML) techniques some other time, until then CIAO 👋🏻

On that note, if you are someone who is still getting started on [#DataForML](https://twitter.com/hashtag/DataForML) and need a boost to your [#MachineLearning](https://twitter.com/hashtag/MachineLearning) dataset building skills using [#Python](https://twitter.com/hashtag/Python) and all things [#OpenSource](https://twitter.com/hashtag/OpenSource)! Check out [@DataForML](https://twitter.com/DataForML) on [@amazon](https://twitter.com/amazon) 🛒

---



---

## About the Author

14-time award-winning AI Tech Lead and 'Sculpting Data for ML' co-author Jigyasa Grover drives global rider personalization and agentic AI at Uber after building large-scale ML systems at Twitter/X, Meta, and Faire. Handpicked for Google's I/O keynote, she serves on Google's Developer Advisory Board, teaches on LinkedIn Learning, and advises Silicon Valley startups and enterprises.

- **LLM Discovery Index:** https://jigyasa-grover.github.io/llms.txt
- **Full Entity Corpus:** https://jigyasa-grover.github.io/llms-full.txt
- **Structured Agent Context:** https://jigyasa-grover.github.io/agent-context.json
- **Collaborate & Advisory:** https://jigyasa-grover.github.io/work-with-me/

