Data Privacy Playbook: Differential Privacy, Federated Learning, PETs & Consent UX

Episode 2 63 min

Katharine Jarmul Privacy activist and machine learning engineer

Episode 2 · Data Privacy Playbook: Differential Privacy, Federated Learning, PETs & Consent UX

63 min

What we talked about

Katharine Jarmul is a privacy activist, machine learning engineer and principal data scientist at ThoughtWorks in Germany. Her path ran through data journalism and natural language processing, and she has worked on privacy for machine learning since 2017, including at a Berlin startup she co-founded and on encrypted ML platforms. Her book Practical Data Privacy is the basis for the conversation, in which Alexey asks what data privacy means in practice and why companies should care.

Katharine defines privacy in three ways: legal, social and technical. The technical view asks how to measure privacy and reason about it mathematically. Privacy risk depends on how unusual a person is in the data, so people at the tails of a distribution face more risk. Browsing histories and app usage can single out one person even without a name attached. Katharine argues that companies should ask what value knowing exactly who someone is actually adds. Session-based recommendations can personalize results without a long-term profile, and location can be shared for one search and then switched off.

Katharine explains differential privacy as a way to bound how much any one person's data can change what an analyst learns from a query. She calls dropping identifiers or k-anonymity old-school methods, and the Netflix prize re-identification shows why they fall short. She recommends the Tumult Analytics library and the notebooks from the book. Alexey describes a DataTalks.Club course dataset published with hashed emails, and Katharine suggests a privacy review rather than legal judgment. She also argues that writing privacy requirements into the normal data science process would solve most problems.

For companies, Katharine frames the choice as a trade-off between risk and reward, not zero risk for full reward. Lawsuits, insurer changes, regulators and customer backlash can cost far more than a small accuracy gain from extra data. Alexey notes that location data is legal with consent, and Katharine points out that opt-out options are required in Europe and Brazil. On generative AI, she discusses the ChatGPT chat history exposure that led Italy to ban the service for a time. Users should not carry the burden for what products make easy, she says, and Azure's localized deployments can help with data residency and fine-tuning.

The practical advice is to start with simple controls such as consent and data minimization, then move to privacy-enhancing technologies like federated learning and differential privacy as the organization matures. Katharine's newsletter, Probably Private, is her recommended follow-up resource.

Chapters

  1. 1:40 Guest Introduction: Katharine Jarmul — privacy activist, ML engineer, ThoughtWorks, book 1 min
  2. 2:32 Career Journey: data journalism, NLP, consulting, and machine learning 7 min
  3. 9:08 Startup Focus: KI Protect, pseudonymisation, encrypted & federated ML 2 min
  4. 11:33 Privacy Regulation Overview: GDPR, CCPA, CPRA and cookie consent defaults 3 min
  5. 14:35 Cookie Consent & Opt-Out UX: one-click rejects and user behavior 2 min
  6. 16:24 Defining Data Privacy: legal, social, and technical perspectives 5 min
  7. 21:35 Practical Data Privacy (book): availability, previews, and giveaways 1 min
  8. 22:38 Bridging Legal & Technical Views: privacy risk, translation, and collaboration 3 min
  9. 25:12 User Profiling & Fingerprinting: browser history, apps, and re-identification risks 5 min
  10. 30:15 Privacy-Friendly Personalization: session-based intent and ephemeral inference 3 min
  11. 33:08 Privacy Engineering & PETs: encrypted ML, federated learning, and architecture 2 min
  12. 35:09 Business Case for Privacy: risk management, regulation, and customer trust 6 min
  13. 40:50 Differential Privacy Explained: formal definition, use cases, and libraries (Tumult) 4 min
  14. 45:08 Anonymization Pitfalls: hashing, k-anonymity, Netflix de-anonymization lessons 2 min
  15. 47:00 Designing for Privacy: consent, data minimization, and workflow practices 6 min
  16. 52:35 Generative AI & Privacy: ChatGPT incidents, consent, retention, and enterprise options 7 min
  17. 59:29 Deploying Localized Models: Azure localization, fine-tuning, and ownership 2 min
  18. 1:01:15 Further Learning: Probably Private newsletter, notebooks, and differential privacy resources 1 min
  19. 1:02:44 Episode Close: final notes, social links, and next steps <1 min

Katharine Jarmul Privacy activist and machine learning engineer

Katharine Jarmul is a privacy activist and machine learning engineer who serves as Principal Data Scientist at Thoughtworks Germany. Her career spans data journalism, NLP, and startup and enterprise machine learning in the US and Germany, with a focus on reliable, testable, and privacy-preserving systems. She is a book author and a leading voice on differential privacy, federated learning, and privacy-enhancing technologies.

Topics in this episode

The wiki pages this conversation is filed under, the strongest first.

Data Governance

How data governance connects inventory, ownership, catalogs, access controls, quality signals, metrics, contracts, privacy, and policy automation.

Privacy Engineering for ML

Privacy engineering for ML across access governance, privacy-enhancing technologies, and production LLM privacy tradeoffs.

Machine Learning

Machine learning as applied modeling, evaluation, production design, monitoring, roles, and business tradeoffs.

Governance

Governance ties decision rights, risk review, compliance, release controls, and accountability across data, product, ML, and AI systems.

ML Personalization

How personalization uses ranking, user context, analytics, privacy, healthcare safeguards, evaluation, and monitoring in ML systems.

Security

Security in data and AI systems: LLM abuse, data exfiltration, access control, privacy, release approval, and secure ML artifacts.

Related books

Data Governance: The Definitive Guide

14 questions answered

As you move data to the cloud, you need to consider a comprehensive approach to data governance, along with well-defined and agreed-upon policies to ensure your organization meets compliance requirements. Data governance incorporates the ways people, processes, and technology work together to ensure data is trustworthy and can be used effectively. This practical guide shows you how to effectively implement and scale data governance throughout your organization.

Evren Eryurek Uri Gilad Valliappa Lakshmanan Anita Kibunguchy-Grant Jessi Ashdown

Driving Data Quality with Data Contracts

9 questions answered

Despite the passage of time and the evolution of technology and architecture, the challenges we face in building data platforms persist. Our data often remains unreliable, lacks trust, and fails to deliver the promised value. With Driving Data Quality with Data Contracts, you’ll discover the potential of data contracts to transform how you build your data platforms, finally overcoming these enduring problems. You’ll learn how establishing contracts as the interface allows you to explicitly assign responsibility and accountability of the data to those who know it best—the data generators—and give them the autonomy to generate and manage data as required. The book will show you how data contracts ensure that consumers get quality data with clearly defined expectations, enabling them to build on that data with confidence to deliver valuable analytics, performant ML models, and trusted data-driven products. By the end of this book, you’ll have gained a comprehensive understanding of how data contracts can revolutionize your organization’s data culture and provide a competitive advantage by unlocking the real value within your data.

Andrew Jones

Optional analytics

Optional analytics are off unless you allow them. Your choice does not affect access to DataTalks.Club, Slack, events, or courses.

Current choice: not chosen.

Privacy Policy

If you allow analytics, self-hosted Umami counts anonymous public pageviews without analytics cookies. Private account and learning pages are excluded. Read the Privacy Policy for the complete data boundary.

Want to learn more about our community?

How it started, who's here, and everything that goes on here: courses, events, Slack, and more.

About DataTalks.Club