Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Privacy-Preserving Machine Learning
Privacy-Preserving Machine Learning

Privacy-Preserving Machine Learning: A use-case-driven approach to building and protecting ML pipelines from privacy and security threats

Arrow left icon
Profile Icon Srinivasa Rao Aravilli
Arrow right icon
$24.99 $35.99
Full star icon Full star icon Full star icon Full star icon Full star icon 5 (8 Ratings)
eBook May 2024 402 pages 1st Edition
eBook
$24.99 $35.99
Paperback
$44.99
Subscription
Free Trial
Renews at $19.99p/m
Arrow left icon
Profile Icon Srinivasa Rao Aravilli
Arrow right icon
$24.99 $35.99
Full star icon Full star icon Full star icon Full star icon Full star icon 5 (8 Ratings)
eBook May 2024 402 pages 1st Edition
eBook
$24.99 $35.99
Paperback
$44.99
Subscription
Free Trial
Renews at $19.99p/m
eBook
$24.99 $35.99
Paperback
$44.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Privacy-Preserving Machine Learning

Part 1: Introduction to Data Privacy and Machine Learning

This part provides an introduction to the fundamental concepts of data privacy and the distinction between sensitive data and personal sensitive data, along with the importance of data privacy regulations. The concept of privacy by design is discussed, emphasizing the proactive integration of privacy measures into systems and processes. Additionally, notable privacy breaches in major enterprise companies are examined, highlighting the potential consequences and risks associated with such incidents. This introduction sets the foundation for understanding the significance of data privacy and the need for robust privacy measures. This part also covers privacy threat modeling using the LINDDUN framework in detail.

The second chapter in this part focuses on the different phases of the machine learning pipeline and the privacy threats and attacks that can occur at each stage. We will explore the phases of data collection, data preprocessing, model training, and inference. Within each phase, specific privacy threats and attacks, such as model inversion attacks and training data extraction attacks, are discussed in detail, providing illustrative examples. The importance of protecting training data privacy, input data privacy, model privacy, and inference/output data privacy is emphasized. This part highlights the potential risks and challenges associated with privacy in machine learning, underlining the need for robust privacy preservation techniques throughout the entire process. Exploration of privacy threats and attacks in each phase of the machine learning pipeline sheds light on the challenges of preserving privacy in machine learning systems.

This part has the following chapters:

  • Chapter 1, Introduction to Data Privacy, Privacy Breaches, and Threat Modeling
  • Chapter 2, Machine Learning Phases and Privacy Threats/Attacks in Each Phase
Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Understand machine learning privacy risks and employ machine learning algorithms to safeguard data against breaches
  • Develop and deploy privacy-preserving ML pipelines using open-source frameworks
  • Gain insights into confidential computing and its role in countering memory-based data attacks
  • Purchase of the print or Kindle book includes a free PDF eBook

Description

– In an era of evolving privacy regulations, compliance is mandatory for every enterprise – Machine learning engineers face the dual challenge of analyzing vast amounts of data for insights while protecting sensitive information – This book addresses the complexities arising from large data volumes and the scarcity of in-depth privacy-preserving machine learning expertise, and covers a comprehensive range of topics from data privacy and machine learning privacy threats to real-world privacy-preserving cases – As you progress, you’ll be guided through developing anti-money laundering solutions using federated learning and differential privacy – Dedicated sections will explore data in-memory attacks and strategies for safeguarding data and ML models – You’ll also explore the imperative nature of confidential computation and privacy-preserving machine learning benchmarks, as well as frontier research in the field – Upon completion, you’ll possess a thorough understanding of privacy-preserving machine learning, equipping them to effectively shield data from real-world threats and attacks

Who is this book for?

– This comprehensive guide is for data scientists, machine learning engineers, and privacy engineers – Prerequisites include a working knowledge of mathematics and basic familiarity with at least one ML framework (TensorFlow, PyTorch, or scikit-learn) – Practical examples will help you elevate your expertise in privacy-preserving machine learning techniques

What you will learn

  • Study data privacy, threats, and attacks across different machine learning phases
  • Explore Uber and Apple cases for applying differential privacy and enhancing data security
  • Discover IID and non-IID data sets as well as data categories
  • Use open-source tools for federated learning (FL) and explore FL algorithms and benchmarks
  • Understand secure multiparty computation with PSI for large data
  • Get up to speed with confidential computation and find out how it helps data in memory attacks

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : May 24, 2024
Length: 402 pages
Edition : 1st
Language : English
ISBN-13 : 9781800564220
Category :
Languages :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : May 24, 2024
Length: 402 pages
Edition : 1st
Language : English
ISBN-13 : 9781800564220
Category :
Languages :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 152.97
Privacy-Preserving Machine Learning
$44.99
Mastering NLP from Foundations to LLMs
$52.99
Transformers for Natural Language Processing and Computer Vision
$54.99
Total $ 152.97 Stars icon

Table of Contents

16 Chapters
Part 1: Introduction to Data Privacy and Machine Learning Chevron down icon Chevron up icon
Chapter 1: Introduction to Data Privacy, Privacy Breaches, and Threat Modeling Chevron down icon Chevron up icon
Chapter 2: Machine Learning Phases and Privacy Threats/Attacks in Each Phase Chevron down icon Chevron up icon
Part 2: Use Cases of Privacy-Preserving Machine Learning and a Deep Dive into Differential Privacy Chevron down icon Chevron up icon
Chapter 3: Overview of Privacy-Preserving Data Analysis and an Introduction to Differential Privacy Chevron down icon Chevron up icon
Chapter 4: Overview of Differential Privacy Algorithms and Applications of Differential Privacy Chevron down icon Chevron up icon
Chapter 5: Developing Applications with Differential Privacy Using Open Source Frameworks Chevron down icon Chevron up icon
Part 3: Hands-On Federated Learning Chevron down icon Chevron up icon
Chapter 6: Federated Learning and Implementing FL Using Open Source Frameworks Chevron down icon Chevron up icon
Chapter 7: Federated Learning Benchmarks, Start-Ups, and the Next Opportunity Chevron down icon Chevron up icon
Part 4: Homomorphic Encryption, SMC, Confidential Computing, and LLMs Chevron down icon Chevron up icon
Chapter 8: Homomorphic Encryption and Secure Multiparty Computation Chevron down icon Chevron up icon
Chapter 9: Confidential Computing – What, Why, and the Current State Chevron down icon Chevron up icon
Chapter 10: Preserving Privacy in Large Language Models Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Full star icon 5
(8 Ratings)
5 star 100%
4 star 0%
3 star 0%
2 star 0%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




Chandra Jun 09, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
The book on "Privacy-Preserving Machine Learning" progresses from basic principles to advanced techniques, ensuring a solid foundation for readers at all levels. It includes practical applications through case studies and examples, illustrating real-world challenges and solutions. This comprehensive approach provides both theoretical knowledge and practical insights, making it a valuable resource for understanding and implementing privacy-preserving techniques in machine learning.The book begins by exploring the fundamentals of Data Privacy, differentiating between sensitive and personal sensitive data, and underscoring the importance of data privacy regulations, laws and its data subject rights. Very details on the "Privacy by design”(PbD) framework and its foundation principles as a critical approach for ensuring privacy throughout the data life cycle with detailed example of application/platform on how each PbD principle can implemented. Discusses the repercussions of Privacy Breaches through notable cases with different types of application includes web application, AI/ML applications, etc. The introduction of the frameworks (LINDDUN, STRIDE, PLOT4AI) aids in understanding privacy threat modeling.The subsequent section delves into Machine Learning, covering ML types like Supervised, Unsupervised, and Reinforcement learning with detailed examples. And preparing the ML models includes model persistence with different formats and using the model for inference. Next goes into ML Phases and sub-phases. After detailed explanation of Machine learning concepts, it discusses the challenges in persisting ML models and the Privacy threats/attacks includes Black-box and White-box type attack with each ML phase in details with examples, including model inversion and training data extraction attacks. By providing a detailed examination of privacy needs and threats in machine learning, complemented with examples of attacks using open-source frameworks, the book equips readers with a comprehensive understanding and significance of privacy-preserving techniques in safeguarding data in machine learning applications.The book introduces Privacy Preserving Data analysis, focusing on Privacy Enhanced Technologies and Differential Privacy, offering a solid foundation for implementing privacy measures in data analysis and machine learning. Detailed coverage on the different Privacy Preserving techniques includes Data anonymization i.e. K-anonymity and Data aggregation with examples and code. It discusses the prevention of reconstruction attacks on SQL through the Open Diffix framework and delves into the nuances of differential privacy, including privacy loss, budgets, and mechanisms. Further exploration into differential privacy covers algorithms like Laplace, Gaussian, and others, addressing the limitations of differential privacy. A practical section on developing applications with differential privacy showcases the implementation in fraud detection using open-source ML and DL frameworks (PyDP, PipelineDP, tmlt-analytics, PySpark,diffprivlib, PyTorch, and Opacus), alongside real-world applications. This comprehensive coverage ensures a deep understanding of differential privacy’s principles, applications, and challenges.The section Hands-on Federated Learning (FL) underscores its significance in addressing privacy concerns by allowing model training without centralizing data, exploring the differences between IID and non-IID datasets crucial for FL implementation. It introduces FL techniques such as FedAvg, FedYogi, FedSGD, and showcases the use of the Flower framework for a financial domain use case. Further, it reviews FL benchmarks and datasets, guiding the selection process for FL projects based on data characteristics and evaluation criteria. It also highlights the latest FL research, methodologies, challenges, and the role of startups in advancing FL technology, providing a comprehensive view of the current and future opportunities in federated learning.The book delves into privacy-enhancing techniques like homomorphic encryption (HE) and secure multiparty computation (SMC), detailing their principles, mathematical foundations, and application in machine learning to enable computations on encrypted data. It also introduces zero-knowledge proofs (ZKP) for verifying knowledge without revealing the information itself. The concept of confidential computing is explored, emphasizing the importance of protecting data in memory using trusted execution environments (TEEs) and source code attestation to mitigate insider threats. It discusses the privacy vulnerabilities of large language models (LLMs) and strategies for preserving privacy when utilizing these models, including defenses against various privacy attacks. Lastly, it evaluates the support for secure enclaves across major cloud service providers, aiding in the decision-making process for deploying secure enclave-reliant applications. This comprehensive overview highlights the importance of privacy-preserving techniques in safeguarding sensitive data across different stages and platforms, ensuring data utility while maintaining privacy.
Amazon Verified review Amazon
bharat Jun 09, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
It is must read for engineers, architects and enthusiasts in Data Privacy and Machine Learning space .Initial chapters in the book set the context on why Privacy By design is an important aspect of software development, different techniques/frameworks to achieve it. Deep dive on LINDDUN framework for privacy threat modeling with samples and hands on labs is very engaging.Author explores the need for privacy preserving machine learning with case studies on important scenarios encountered in technology development and hosting lifecycle. Chapters on different ML types with examples and models on Supervised/Unsupervised and Reinforced Learning are comprehensively articulated .Author also explores Privacy threats in different phases of ML, privacy threat/attack classifications and different Techniques to mitigate each kind off attack.The author holistically covers Privacy in data analysis ,tradeoff between Data utility and Data Privacy. Privacy preserving techniques Data Anonymization Algorithms and effectiveness vs ease comparison with pros and consLater chapters cover Privacy Enhancing Technologies and Privacy Preserving Machine Learning techniques and a deep dive into each of the technique Differential Privacy, Federated Learning,Homomorphic Encryption,SMC ,Confidential Computing, Preserving Privacy in LLMs with algorithms and discuss open source frameworks availability with bench marks and next opportunitiesElaborate samples, case studies, hands on labs make this book interactive.
Amazon Verified review Amazon
satya pallapothu Jul 10, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
A well written book, this is a must read if you need comprehensive understanding of Privacy-Preserving machine learning. Provides real-world use cases to develop and deploy privacy-preserving ML pipelines using open-source frameworks. A great resource for all personnel involved in ML projects.
Amazon Verified review Amazon
Steven Fernandes Jun 25, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
A comprehensive guide that explores data privacy threats and attacks across different ML phases. It delves into real-world cases from Uber and Apple to illustrate differential privacy and data security enhancements. The book covers IID and non-IID data sets, data categories, and the use of open-source tools for federated learning. It also provides insights into FL algorithms, benchmarks, secure multiparty computation with PSI for large data, and confidential computation to protect against data-in-memory attacks. A must-read for anyone looking to secure their ML projects.
Amazon Verified review Amazon
P N V S Murthy Jun 09, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
The book on "Privacy-Preserving Machine Learning" offers an in-depth journey from foundational principles to sophisticated techniques, enriched with real-world case studies. It equips readers with both theoretical understanding and practical skills in implementing privacy-preserving methods in machine learning, making it an essential guide for navigating the complexities of data privacy today.The first section equip readers with a foundational understanding of data privacy and machine learning from a privacy-centric viewpoint, catering to a wide audience from enthusiasts to professionals.The second section of the book receives acclaim for its comprehensive guidance on privacy-preserving data analysis and differential privacy, merging theoretical concepts with practical applications. this section explores differential privacy algorithms and their associated challenges, delivering in-depth knowledge crucial for professionals. this section is dedicated to the practical application of differential privacy in real-world scenarios, providing valuable insights and examples for developers and data scientists.The third section delve deeply into federated learning (FL), underscoring its significance in improving privacy within machine learning. This section covers FL's foundational concepts, techniques, and practical use cases, acting as a valuable resource for professionals looking to incorporate FL into their projects. The following section broadens this exploration, examining FL through benchmarks, recent research, and its application in the start-up environment, shedding light on the potential and hurdles associated with FL.The fourth section of the book delve into sophisticated subjects within data privacy and security, with each part focusing on a distinct facet of the domain. This section demystifies cryptographic methods for data privacy, rendering intricate techniques understandable for a broad readership. This section is dedicated to confidential computing, elaborating on the deployment of Trusted Execution Environments (TEEs) and methods for safeguarding data in memory. This section contemplates the privacy issues associated with developing and utilizing large language models (LLMs), offering a mix of basic and in-depth insights. Collectively, these parts provide a thorough examination of cutting-edge topics in data privacy and security.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.