Beyond the Privacy-Utility Tradeoff: Differential Privacy in Tabular Data Synthesis
Summary
- High-Fidelity Synthetic Data with Privacy: Generate differentially private synthetic data that maintains high statistical fidelity to source data while guaranteeing mathematical privacy protection.
- Privacy-Utility Balance: Navigate the privacy-utility tradeoff by calibrating privacy parameters and quantifying how differential privacy impacts downstream analytical accuracy and model performance.
- Resilience to Attacks: Demonstrate resistance to membership inference and attribute inference attacks, proving that synthetic data protected by differential privacy resists common privacy breach attempts.
Beyond the Privacy-Utility Tradeoff: Differential Privacy in Tabular Data Synthesis

Talk by Lipika Ramaswamy, Research Scientist, NVIDIA
As organizations increasingly leverage sensitive data for AI applications, generating high-quality synthetic data with mathematical guarantees of privacy has become crucial. This talk explores the use of Gretel Safe Synthetics (now part of NVIDIA) to generate differentially private synthetic data that maintains high fidelity to the source data and high utility on downstream tasks across heterogeneous datasets. Our analysis presents a framework for privacy-preserving synthetic data generation with two use cases: e-commerce reviews and doctor’s notes. We reveal nuanced strategies for: Calibrating privacy parameters ε and δ for mixed text and tabular data Maintaining statistical properties and high utility on downstream classification tasks under stringent privacy constraints (e.g. less than 0.05 difference in AUC when using DP) Quantifying resilience to membership inference and attribute inference attacks
Databricks Named a Leader in the 2025 Gartner® Magic Quadrant™ for Data Science and Machine Learning Platforms: https://www.databricks.com/blog/databricks-named-leader-2025-gartner-magic-quadrant-data-science-and-machine-learning
Build and deploy quality AI agent systems: https://www.databricks.com/product/artificial-intelligence
See all the product announcements from Data + AI Summit: https://www.databricks.com/events/dataaisummit-2025-announcements
FAQs
What is differential privacy in the context of synthetic data?
Differential privacy is a mathematical framework that adds carefully calibrated noise to data, ensuring that individuals cannot be re-identified even if the synthetic data is released publicly. This video explores using differential privacy (DP) in synthetic data generation.
How do you balance privacy and utility in synthetic data?
Privacy and utility exist in tradeoff: stronger privacy guarantees require more noise, reducing data utility. This video reveals strategies for calibrating privacy parameters (ε and δ) to maintain high utility on downstream tasks while respecting privacy constraints.
What attacks does differentially private synthetic data resist?
Differentially private synthetic data resists membership inference attacks (determining if someone's data was used) and attribute inference attacks (reconstructing individual attributes). This video quantifies resilience through empirical evaluation.
What are the use cases for DP synthetic data?
This video covers two use cases: e-commerce reviews and doctor's notes. These demonstrate how organizations can safely share synthetic data for analytics and model training without exposing sensitive information about real individuals.
Full transcript
Hey everybody, welcome. Think you got to put the headphones on and hopefully you can hear me amid this noise uh and other people who join will catch on. But welcome uh to I suppose the first afternoon session in this very loud and noisy area. So hopefully uh yeah yeah yeah hopefully this is good and everyone's awake. Um all right so my talk is called beyond the privacy utility trade-off. I'm a u an applied scientist at NVIDIA and I work on synthetic data and the intersection of that with privacy preserving machine learning.
Um, and then just kind of like everything in between because now synthetic data is almost as common as LLMs are. Um, slash almost every foundation model has synthetic data in its training mix. So super common, but we're going to talk about differential privacy in data synthesis. And really what I mean by this is text and tabular data. I'm not going to cover images today, but a lot of what I'm saying is broadly applicable to image, video, audio data as well.
Um, so it's just roughly like the algorithms and the tooling that we use to generate differentially private synthetic data. All right. So this talk is collaborative work with my colleagues and. Um, there's we're going to cover several things. First of all, like basics of privacy and synthetic data, what it is, why privacy matters, what is differential privacy. Um, I don't know how many folks here are familiar with it.
Maybe like show of hands and then I'll know who's Okay, perfect. So folks kind of know what differential privacy is. We'll go into it in some detail but uh I will not be writing proofs here. No theorem proving uh just very simple easy to understand uh explanations. And then we'll cover some tooling uh via Gretle safe synthetics to generate DP synthetic data. The privacy utility trade-off which is the title of this session and then the beyond uh the first word of the presentation title what is beyond that?
Um and I argue that it's empirical privacy risk. Okay. So the foundations of synthetic data and privacy. So there are a couple of paradigms now to generate synthetic data. You could go and like prompt GPD4 or choose your favorite model and generate some synthetic data describing what you have or you have some data to start with, right? like something that is proprietary, something that like contains patient records or or something uh that is not widely available on the internet for foundation models to be trained on.
And you want to generate synthetic data from that. And so in all of these different settings, there's this like a spectrum. Um in all these different settings, privacy matters. And I'm going to argue that privacy matters for all the different settings um based on a lot of research. So there's work that has shown that um on the very left hand side if you prompt GPT3. 5 with uh you know repeat this uh word forever poem poem poem poem poem eventually it starts regurgitating like actual information about a real individual.
Now presumably this was part of the training data and if you actually like look up the person if you you can go to the research paper and like look it up but you can look up the person and they're a real person like they exist. They may have a slightly public persona, but they exist and this might contain information that was not supposed to be public. Okay, so that's one example in the tech space and I'm sure all of us at this point like use some form of LLMs even if you just Google like this can happen.
Um, and someone might be sitting there running an adversarial attack trying to get some private data out. Uh, this also happens with diffusion models. So a similar or a similar set of researchers did work with diffusion models and they saw that they could extract training data from here. Um and on the very right side is um where you have some data to begin with um and you're trying to train a model such as I don't know if anyone remembers GANs but like old school models um or uh even like Beijian nets and so on.
So kind of like very old old style models at this point. Nobody seems to use them but still uh this work on the very right hand side shows that members membership inference attacks can actually be really quite successful on tabular data and this is data that contains categoric numeric and um text messages in there as well. So uh there's there's a there are a lot of reasons why privacy is important. We can't just say okay generative models there's no like onetoone association between the training data and what comes out of them therefore blah blah blah we're done with privacy who cares.
No, because there are still clearly risks and there are risks that we have not identified as well. So really quickly, I argue here in this entire talk that differential privacy is is a really good option for us to use to control how much privacy we want in synthetic data. Uh and so natural question is what is differential privacy? Some of you know what it is. Um but I'll cover it really quickly. It is a mathematical guarantee that algorithms are designed to meet.
And so the guarantee is that if you change the inputs by just a little bit, how much do the outputs change by? And you we want to make sure that these outputs change by a really small amount. And we can quantify what that amount is. And that amount is it's epsilon and delta like these two Greek alphabets here, these parameterized differential privacy. And at some point you would maybe you've heard of Apple's deployment, they use an epsilon of eight.
Google's deployments use anywhere between one and eight or one and 10 actually now um and so that there's a wide spectrum but really academically speaking an epsilon of under one is the thing that differential privacy was developed with. So you can see we've already like extended it a little bit further and now getting to like double digits is considered fine but but what is it? It's a ceiling on how much the probability of an output changes when the inputs change or an example is added or removed to the data set.
So a simple example that's like forget about generative models. If I'm counting the number of people in this room um and I'm looking at a randomized algorithm so like a probabilistic algorithm. I would say okay I'm going to roughly count how many people are in this room or I get an exact count and then I add some like gausian noise or lelassian noise and then I get an like an approximate count and that tells me okay maybe there are 30 people here maybe there are 32 maybe 35 even 40 whatever that's fine uh or maybe it's actually 20 and that's okay too but that's the point that like there's some plausible deniability um and delta is the risk that exists no matter what you do with your data set if you were to publish there even a single thing about it.
Delta is sort of the risk that exists as a result of that. Super oversimplification, but why do I mention this? It's because we use differential privacy or we use differentially private algorithms. We design them to generate synthetic data and we provide this mathematical guarantee for generative models. I'm only describing a few things in this slide and I'm going to go over them very very quickly. But there are myriad of ways of designing differentially private algorithms.
Um some folks use like GBD4 also plus differential privacy to get outputs. Um but in this paradigm we're saying you have some private data right and private data means like lots of records. I'm thinking like thousands of records and you have a generative model and we're going to apply differential privacy during the training process of that generative model. One way is the simple okay we have an optimizer based sort of learning process again a transformer an LSTM something really basic that's going to generate data on the other side um and we use something called differentially private stoastic gradient descent or differentially private atoms you like add it to the optimizer so it's changing the training process uh another way of doing that and so so like that is applicable to image models it's applicable to text tabular just just kind of anything that you can use a transformer for that's how I like to think of it these days Um, another way of doing it is to say, okay, I only have categoric and numeric data, and I'm going to learn like a graphical model out of this.
So, kind of go a little bit old school, but I get a lot more out of my privacy budget there. So, that epsilon delta earlier, that's what I'm calling my privacy budget. And I can say maybe for an epsilon of one, I can like really stretch it because all I'm doing in this lower model is I'm computing marginalss and I'm adding noise to count. So think like huge contingency tables and then I just like like the count I did here of how many people are in the room.
I'm just doing that over and over again for like multiple contingency tables. Um and out comes a differentially private model. And now this thing on the right hand side that's like that is the thing that has the guarantee. It's got this epsilon delta guarantee. Everything works as expected. The risk is bounded. This is great. And then it has the property that post it has a property called post-processing which basically means that anything that you do with that model is also differentially private.
Okay, so there's a lot of stuff like okay great now everyone go home your homework is to go and implement this. Just kidding. It's not um you can sort of use differential privacy uh for generative models using Gretle safe synthetics and this is we're now part of Nvidia but you can access sort of everything through Gretle AI. um go there, get an API key, and it is really simple. So, you're writing like 10 lines of code um and basically saying, okay, for a data set where I have 20,000 input records, I'm going to use a batch size of 32.
Then, I'm just going to set these privacy parameters, right? Think like the YAML file, the dictionary, whatever. Just going to set uh DP is equal to true, epsilon of one. I'm going for like the academic thing of one. Um I'm going to set delta to auto, which is just one over the size of the data set. um or n login and I just want to make sure that risk is really small and I calibrated all of this and I say okay off off you go go and create this data set go run a model create an artifact cool all right uh so talk not over not over because we have a handful of use cases or case studies rather um where I'm really going to highlight like if you have a data set either a tabular data set or a textbased data set and you want to generate a differentially private version of that.
How how are you going to do that? And what does it mean to be on this privacy utility trade-off, right? Like like where do you lie on that? Is it a curve? Is it some sort of idea? Is it something that legalist told you? Is there a policy? Eh, um the answer is it really depends, but we'll go through a couple of examples. So, the first one I have is a uh I took this data set of um e-commerce reviews and it's I I don't know if it's Amazon reviews, it's some e-commerce website.
I got it off Kaggle. Um and I processed it a little bit. There were 23,486 records uh and 10 columns and then I did a little bit of curation on the data and I got the structure that looks like the top left. Um, so there's some reviews, there's the age of the person who wrote it, uh, there's the rating associated with it, the positive feedback count, um, and just a bunch of other things, right? You could imagine that the name of the person is in here, that there are more sensitive details in this data set as well.
Maybe they're text based, maybe it's like identifying in the way that somebody writes a review. Maybe I'm really verbose when I write reviews. Um, or or maybe I'm not, and that could be identifying of me. So I've I've got this type of data set and I go through and I like specify all the things with uh Gretle uh safe synthetics and I run a model. I created a model. I generated 20k records. Cool. Super simple. Uh this runs for a couple of hours and out comes a model and an associated data set.
I asked for 20,000 records. Cool. But now I set epsilon of one and a delta of one over n login. Cool. Maybe that works for me as just someone who's experimenting with this, but what does that mean for you or someone who's using their own data set? Well, you could run this with several different epsilons. And it really depends on like what the down uh the downstream use case is. In this case, it is to predict customer sentiment towards a product from all of these different attributes.
And what I did very simply was I ran a bunch of models. So from epsilon of 0. 1 0. 5 all the way to 10, right? Like the thing that Apple and Google use or like public deployments of differential privacy use and I I train models uh I generated several synthetic sets and then using those I trained classification models. These are just logistic regressions and I went through and ran a bunch of models. I got some confidence uh intervals on those results there.
And when I'm comparing to the baseline, so the baseline AU is 68. Comparing to the baseline, you can see if I use an academic epsilon of 0. 1. Yeah, it's kind of bad, right? Like I've lost about 0. 1 on that AU, but that's expected. So that is the trade-off. Like that's what I'm talking about when I say there's a trade-off between privacy and utility. You could do really really well on privacy, but maybe that data is practically useless, right?
Like maybe I could have just prompted GBD4 and it would have given me something and it's like kind of not even like my data but it does the job and you know it's over. 5 call it a day blah blah blah done but that model is not going to make it into production so then let's move to something else. Okay, maybe an epsilon of five seems okay because I'm still getting like reasonable utility like AU is roughly within like you know 01 02 depends on the synthetic sample that I choose and I can go from there.
So it's it's really a spectrum and that's great. That's great. Um so here's an example where I have a mix of text and categoric numeric data. Another example is where I have just text data and let's say these are patient notes. Okay, so I have an interaction with the doctor and the doctor says, "Hi, Leica. How are you doing?" "Oh, I'm fine doctor. I just like, you know, I bruised my knee and then I fell down and I feel like I have something in my IT band and I really don't want to keep running, but I have to.
I have a marathon la." Obviously, that's not the conversation. But then there's going to go and there's going to be some like transcription and typically actually like a medical assistant does this like they'll they'll write out what that note is or like what happened in the interaction as part of training. I think a lot of AI tools are now being used to do that summarization. But the value here is what we're trying to show is that each doctor has a unique way of writing a note.
So something that they can quickly scan, you know, like specific details that they're looking for in a specific order, in a specific format, specific like size, shape, whatnot. Maybe someone likes bullets, maybe someone doesn't. Um, and so the idea of this example is that we're can we generate synthetic patient notes um based on an interaction uh to summarize consultations in a style, structure, and language that is unique to a healthcare providers, to my doctor.
Um and so we we took this data set like um the private data set. We generated a differentially private version of it and then we fine-tuned clot 3 hypo something that might be used in production in a hospital system, right? Um to generate something that looks and feels like what the doctor is expecting. And so this is like personalized to a doctor. Um and what we found was that when comparing this fine-tuned model which used like differentially private training data to just what the base model produced, we're able to get like higher semantic similarity and higher structural similarity and also when evaluating with LLM as a judge, we're we're seeing that like the style and organization of what's contained in those notes uh that's summarized by um Cloud3 Haiko like that's that's all a lot more consistent with what a doctor is expecting and so that there could be possible utility here.
Obviously these are these are canned examples. Um but again you could do the similar exercise of okay I'm going to take an epsilon of you know 0. 1 to point. 1 to 10 and then I'm going to see like how this changes and whatnot and what kind of guarantee I can get from that. Cool. Um you could do that but let's get to the beyond part of this talk in the four minutes I have which is what happens after this like do you actually know do any of us actually know what epsilon is can we measure it mathematically precisely are we going to assign a probability risk definition uh to every single use case with every single set of neighboring data sets meaning this entire audience with me and without me no that changes depending on the scenario and it also requires probably someone like me and the to my team to figure out like this is the nuance, this is the probability risk definition.
So what's beyond this? I argue that what's beyond this is empirical privacy risk measurement. Um and so you would have heard a lot of like attacks on models, right? Membership inference attacks, attribute inference attacks, data extraction attacks. There's there's a lot that can be done in the model space. But what we do in the data space, so when you have a synthetic data set and you're trying to attack it, two different things.
Um, one is the membership inference attack, uh, where an adversary basically tries to determine whether a record that is known to them was used to train a model and we run a bunch of simulations to do this. Um, 316 to be precise. Uh, and we also do attribute inference attacks where we say, okay, an adversary knows like some fields in the data set. Can they guess the rest of the fields based on that? So, it's a lot of simulation and it's a lot of like nearest neighbor measurement or similarity measurement type of things that we do. um and we get some sort of estimate of what the risk is that's associated with a synthetic data set.
And so we're like, okay, great. I generated these data sets with DP these last two examples. What happens? Okay, so for the e-commerce reviews data set, when I use an epsilon of five, um I I get this like membership inference protection score of 9. 7 where the majority of records and I I can't read exactly what those percentages are um on the slide, but you know, let's say like 85% of the records fall in this excellent category where nothing was able like an adversary was not able to infer based on the synthetic data set that a real example was in there.
But but then 15% of the time they were able to do that. So that's for the e-commerce reviews data set. Um and then similarly for attribute inference protection for each attribute you can go through and see like how susceptible is this attribute uh this attribute to be to being info. So that's for the e-commerce reviews data set. For the doctor's notes data set for a slightly higher epsilon we get very similar membership inference protection and attribute inference protection.
So that's that's what I argue is beyond uh just this like privacy utility trade-off. Um and yeah that's that's the talk. Uh there are a lot of ways to measure privacy and utility and a lot of resources also on how to get started. We've written a lot about these topics. Um yeah open to any questions that folks have.
Learn more about the Databricks Data and AI platform.
The information provided herein is for general informational purposes only and may not reflect the most current product capabilities or configurations.