Saturday, June 28, 2025
News PouroverAI
Visit PourOver.AI
No Result
View All Result
  • Home
  • AI Tech
  • Business
  • Blockchain
  • Data Science & ML
  • Cloud & Programming
  • Automation
  • Front-Tech
  • Marketing
  • Home
  • AI Tech
  • Business
  • Blockchain
  • Data Science & ML
  • Cloud & Programming
  • Automation
  • Front-Tech
  • Marketing
News PouroverAI
No Result
View All Result

Sparsity-preserving differentially private training – Google Research Blog

December 8, 2023
in AI Technology
Reading Time: 3 mins read
0 0
A A
0
Share on FacebookShare on Twitter



Posted by Yangsibo Huang, Research Intern, Google Research; Chiyuan Zhang, Research Scientist, Google Research

Large embedding models have become a crucial tool in recommendation systems and natural language processing. These models allow non-numerical data to be integrated into deep learning models by mapping categorical or string-valued input attributes to fixed-length representation vectors using embedding layers. They are widely used in personalized recommendation systems and achieve state-of-the-art performance in language tasks.

Privacy is an important consideration when deploying these models, and various techniques have been proposed to enable private data analysis. One widely adopted method is differential privacy (DP), which limits the exposure of individual user information while still allowing for population-level analysis. DP-SGD is the most commonly used algorithm for training deep neural networks with DP guarantees. However, applying DP-SGD to large embedding models creates scalability challenges because it destroys gradient sparsity, which is essential for efficient training.

To address this issue, we propose a new algorithm called DP-AdaFEST in our paper “Sparsity-Preserving Differentially Private Training of Large Embedding Models” (to be presented at NeurIPS 2023). DP-AdaFEST maintains gradient sparsity by selectively adding noise to a subset of feature rows at each iteration. The key is to make these selections differentially private, achieving a balance between privacy cost, training efficiency, and model utility. Our empirical evaluation shows that DP-AdaFEST significantly reduces gradient size compared to standard DP-SGD while maintaining comparable levels of accuracy. This reduction in gradient size can lead to a 20X improvement in wall-clock time.

To explain the challenges of gradient sparsity and our solution, let’s start with an overview of how DP-SGD works. DP-SGD clips the gradient contribution from each example in a mini-batch and adds Gaussian noise to the average gradient during each iteration of stochastic gradient descent. However, applying DP-SGD to large embedding models is challenging due to non-numerical feature fields and the transformation of words and tokens into dense vectors through an embedding layer. The vocabulary sizes of these features require large embedding tables, but the gradient updates are usually extremely sparse. DP-SGD destroys gradient sparsity by adding noise to all coordinates, which hinders private training of large embedding models.

Our algorithm extends standard DP-SGD with a mechanism to privately select “hot features” that are activated by multiple training examples in the mini-batch. This mechanism computes the contribution count of each feature bucket, clips their counts, adds Gaussian noise, and selects only the features with counts above a given threshold for the gradient update. The mechanism is differentially private, and the privacy cost can be computed by combining it with the standard DP-SGD iterations.

The theoretical motivation behind DP-AdaFEST is that it reduces variance at the cost of slightly increasing bias compared to DP-SGD. DP-AdaFEST adds noise to a smaller set of coordinates, preserving gradient sparsity, while DP-SGD adds noise to all coordinates. We provide more details in Section 3.4 of our paper.

We evaluate the effectiveness of DP-AdaFEST on public datasets, including an ad prediction dataset (Criteo-Kaggle) and a language understanding dataset (SST-2). Our algorithm achieves significantly higher gradient size reduction while maintaining comparable utility compared to the baseline DP-SGD with exponential selection. On the Criteo-Kaggle dataset, DP-AdaFEST reduces gradient computation cost by over 5×105 times while maintaining a comparable AUC. In language tasks, where the vocabulary is smaller and already compact, DP-AdaFEST effectively eliminates dense gradient computation.

In conclusion, our proposed algorithm, DP-AdaFEST, addresses the gradient sparsity problem in private training of large embedding models. It achieves significantly sparser gradients while maintaining comparable levels of accuracy, leading to more efficient and cost-effective training.



Source link

Tags: BlogdifferentiallyGooglePrivateResearchSparsitypreservingtraining
Previous Post

Corporate insiders loaded up this week on these stocks

Next Post

Benefits of ECO4 Upgrades – At Home in the Future

Related Posts

How insurance companies can use synthetic data to fight bias
AI Technology

How insurance companies can use synthetic data to fight bias

June 10, 2024
From Low-Level to High-Level Tasks: Scaling Fine-Tuning with the ANDROIDCONTROL Dataset
AI Technology

From Low-Level to High-Level Tasks: Scaling Fine-Tuning with the ANDROIDCONTROL Dataset

June 10, 2024
Decoding Decoder-Only Transformers: Insights from Google DeepMind’s Paper
AI Technology

Decoding Decoder-Only Transformers: Insights from Google DeepMind’s Paper

June 9, 2024
How Game Theory Can Make AI More Reliable
AI Technology

How Game Theory Can Make AI More Reliable

June 9, 2024
Buffer of Thoughts (BoT): A Novel Thought-Augmented Reasoning AI Approach for Enhancing Accuracy, Efficiency, and Robustness of LLMs
AI Technology

Buffer of Thoughts (BoT): A Novel Thought-Augmented Reasoning AI Approach for Enhancing Accuracy, Efficiency, and Robustness of LLMs

June 9, 2024
Deciphering Doubt: Navigating Uncertainty in LLM Responses
AI Technology

Deciphering Doubt: Navigating Uncertainty in LLM Responses

June 9, 2024
Next Post
Benefits of ECO4 Upgrades – At Home in the Future

Benefits of ECO4 Upgrades - At Home in the Future

LiDAR: Sensing Linear Probing Performance in Joint Embedding SSL Architectures

LiDAR: Sensing Linear Probing Performance in Joint Embedding SSL Architectures

Mebisode: Combining the Best Characteristics of the Tortoise and the Hare – Meb Faber Research

Mebisode: Combining the Best Characteristics of the Tortoise and the Hare - Meb Faber Research

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • Trending
  • Comments
  • Latest
23 Plagiarism Facts and Statistics to Analyze Latest Trends

23 Plagiarism Facts and Statistics to Analyze Latest Trends

June 4, 2024
How ‘Chain of Thought’ Makes Transformers Smarter

How ‘Chain of Thought’ Makes Transformers Smarter

May 13, 2024
Amazon’s Bedrock and Titan Generative AI Services Enter General Availability

Amazon’s Bedrock and Titan Generative AI Services Enter General Availability

October 2, 2023
Is C.AI Down? Here Is What To Do Now

Is C.AI Down? Here Is What To Do Now

January 10, 2024
The Importance of Choosing a Reliable Affiliate Network and Why Olavivo is Your Ideal Partner

The Importance of Choosing a Reliable Affiliate Network and Why Olavivo is Your Ideal Partner

October 30, 2023
Managing PDFs in Node.js with pdf-lib

Managing PDFs in Node.js with pdf-lib

November 16, 2023
Can You Guess What Percentage Of Their Wealth The Rich Keep In Cash?

Can You Guess What Percentage Of Their Wealth The Rich Keep In Cash?

June 10, 2024
AI Compared: Which Assistant Is the Best?

AI Compared: Which Assistant Is the Best?

June 10, 2024
How insurance companies can use synthetic data to fight bias

How insurance companies can use synthetic data to fight bias

June 10, 2024
5 SLA metrics you should be monitoring

5 SLA metrics you should be monitoring

June 10, 2024
From Low-Level to High-Level Tasks: Scaling Fine-Tuning with the ANDROIDCONTROL Dataset

From Low-Level to High-Level Tasks: Scaling Fine-Tuning with the ANDROIDCONTROL Dataset

June 10, 2024
UGRO Capital: Targeting to hit milestone of Rs 20,000 cr loan book in 8-10 quarters: Shachindra Nath

UGRO Capital: Targeting to hit milestone of Rs 20,000 cr loan book in 8-10 quarters: Shachindra Nath

June 10, 2024
Facebook Twitter LinkedIn Pinterest RSS
News PouroverAI

The latest news and updates about the AI Technology and Latest Tech Updates around the world... PouroverAI keeps you in the loop.

CATEGORIES

  • AI Technology
  • Automation
  • Blockchain
  • Business
  • Cloud & Programming
  • Data Science & ML
  • Digital Marketing
  • Front-Tech
  • Uncategorized

SITEMAP

  • Disclaimer
  • Privacy Policy
  • DMCA
  • Cookie Privacy Policy
  • Terms and Conditions
  • Contact us

Copyright © 2023 PouroverAI News.
PouroverAI News

No Result
View All Result
  • Home
  • AI Tech
  • Business
  • Blockchain
  • Data Science & ML
  • Cloud & Programming
  • Automation
  • Front-Tech
  • Marketing

Copyright © 2023 PouroverAI News.
PouroverAI News

Welcome Back!

Login to your account below

Forgotten Password? Sign Up

Create New Account!

Fill the forms bellow to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In