Membership Inference Attacks against Machine Learning Models
Paper · 2016 · Reza Shokri, Marco Stronati, Congzheng Song et al.
Summary
A service can keep its training records private and still reveal something about them through its predictions. The authors ask whether someone who already has a particular record can tell if a classifier was trained on it. They study the question in machine learning systems accessed as black boxes. A query returns the classifier’s scores for its possible answers, while its internal parameters and training records stay hidden. Knowing that a record contributed to training can itself be sensitive. If a dataset concerns a particular disease, confirming that a patient’s record belongs to it can disclose information about that patient.
The paper treats membership as a classification task in its own right. The authors fit substitute classifiers, which they call shadow models, on data whose membership they can track. Their predictions on records used for training and on held-out records provide examples of how membership can affect the scores. A separate classifier learns to distinguish those responses. The experiments cover shadows fitted on independent real data, deliberately altered data, synthetic records derived from population statistics, and synthetic records informed by the target’s predictions. The population-statistics and altered-data settings require a single target query per candidate record. The target-guided setting removes the need for prior knowledge of the population’s distribution and incurs a separate query cost during preparation.
For retail classifiers fitted on 10,000 records, the reported median membership precision across classes was 0.94 for Google Prediction API and 0.74 for Amazon ML in its default configuration. With target-guided synthetic retail data, overall precision was 0.896 in the figure caption, alongside recall of 0.526. The method could therefore make many correct membership calls with synthetic data, while identifying a smaller share of actual members than it did with real shadow data. In a Texas hospital-discharge experiment, precision exceeded 0.7 for half of the procedure classes. The image, shopping, location, and hospital experiments show how varied the leakage can be. On the Adult census task, overall precision was 0.503, near the experiment’s chance benchmark.
Larger gaps between a classifier’s training and test accuracy frequently accompanied stronger membership inference, especially in comparisons within the same kind of classifier. Across platforms, the gaps alone failed to explain the ranking. The authors also tested releasing fewer scores, reporting them at lower precision, making the score distribution flatter, and applying regularization during training. Even an interface that returned only the predicted label retained some membership signal in their tests. Regularization could reduce leakage and improve predictive performance in the same experiment, though stronger settings could hurt test accuracy. The findings make a case for evaluating what an interface reveals about the people who supplied its training data alongside how well it performs its intended task.
Deep dive: Membership Inference Attacks against Machine Learning Models
Membership inference tests whether a classifier’s predictions reveal which records it trained on and how overfitting affects that privacy risk. · about 76 minutes to read
The problem and its context
When a prediction reveals something about its training sample
Imagine that a developer has access to shopping histories and wants an application to suggest offers that suit each customer. The paper uses this kind of service to illustrate a common arrangement. The developer supplies examples and a prediction task to a cloud platform. The platform fits a classifier and supplies an interface the application can query. From an application user’s perspective, a prediction may arrive with no indication of which records contributed to it. The paper asks whether the prediction nevertheless contains evidence about that contribution.
A classifier learns a relationship between a record and a label. For a retail task, the input could encode products that a person has bought, and the label could indicate a category of shopping behavior. A record used during training influences the fitted classifier. At test time, the classifier is expected to handle records from people whose examples were held back. Both kinds of record can have the same format and belong to the same shopping category. Membership refers to the history of a particular example in the training process.
The two tasks ask different questions about the same record. The retailer’s task is to assign a shopping category. The privacy question is whether the retailer’s classifier has seen that example before. The privacy risk arises when the first answer changes in a recognizable way depending on the second. A classifier might choose the same shopping category for a member and a nonmember while reporting different degrees of confidence. It might also make different kinds of errors on the two groups. Both possibilities matter because each can be visible to someone using the prediction interface.
The authors focus on records already known to the person making the inference. That assumption changes what counts as a disclosure. Someone can know the contents of a record and still lack the fact that it was included in a particular collection. The authors give the example of clinical data used for a task associated with a disease. If the collection is tied closely enough to that disease, learning that a particular patient contributed a record can reveal a fact about the patient. The sensitivity depends on what the dataset represents and how someone can connect the candidate record to a person.
This distinction also matters when discussing the Texas experiment. Hospital discharge data give the authors a realistic prediction task and a plausible reason to care about inclusion. The experiment measures judgments about records with known training status. The authors report that they did not try to re-identify individuals. The result concerns what the fitted service revealed about participation in an experimental training sample, and its privacy implications follow from situations in which that participation carries meaning.
What generalization has to do with privacy
A useful classifier should handle cases beyond those it encountered while being fitted. The authors call this ability generalization. Consider a task in which a label is associated with certain combinations of features. When the relationship holds throughout the population, it can be useful for classifying newcomers as well as the people whose data helped reveal it. The paper distinguishes this ordinary use of a learned relationship from a disclosure attributable to inclusion in the training sample.
One earlier view of statistical privacy sought to prevent an analysis from giving an observer any additional knowledge about the input being analyzed. The authors discuss why useful prediction is incompatible with such a broad demand. If observable features are associated with a genetic predisposition, discovering that association changes what an observer can infer about someone who has those features. The relationship can apply to people outside the study. Keeping a given person’s record out of the study may do little to prevent the observer from drawing the inference about them.
The authors narrow the question to an effect of participation. What can be learned about records that contributed to training, compared with records from the same population that were held back? This makes the choice of comparison group central. A classifier might easily distinguish records collected in different circumstances because their features differ. Such a distinction would leave open whether the classifier had learned anything observable about which specific records were used. The paper therefore draws the target’s training and test records from the same underlying collection in its main comparisons.
Overfitting gives one reason to expect an observable difference. A training procedure tries to fit relationships in the data it sees. It can also fit details that help with those particular examples and transfer poorly to other records. A gap between accuracy on the fitted examples and accuracy on held-out examples signals that the distinction may matter. The privacy question adds another step. It asks whether the difference is visible in the score or label returned for a particular example, and whether that visible difference helps someone infer the example’s status.
The gap in accuracy and the effect on an individual query concern different things. An aggregate gap summarizes how often the classifier is right in each group. Membership inference concerns the outputs for particular records. Two classifiers can have similar training and test accuracies while allocating confidence differently. They can also distribute their mistakes differently across the possible wrong labels. Because a prediction interface can expose those details, accuracy gives a starting point for the privacy analysis rather than a complete measure of disclosure.
Why the cloud interface mattered
Cloud services made this question practical for data owners who could train and deploy a classifier without choosing its architecture. Google Prediction API accepted data and exposed the fitted classifier for querying, with its training choices hidden from the customer. Amazon ML likewise chose the classifier type, while exposing a limited range of training controls. The authors point out that customers could share access to a prediction interface even though they had little visibility into the causes or consequences of overfitting.
The interface they study returns a prediction vector. A vector is an ordered list, with a position for each possible class. The value at each position is the confidence that the input belongs to that class, and the largest value determines the predicted label. The vector reveals how the classifier distinguishes among the alternatives as well as which alternative it favors. For example, two outputs can agree on the favorite and differ in whether another class was close or whether the remaining confidence was spread widely. A client interested in the task may find this information useful. The paper examines whether it also exposes information about training.
Black-box access means that the observer interacts with the fitted system through its inputs and outputs. The experimental question assumes that the observer knows the required input format and the available class labels. In the membership decision studied in the paper, the observer also has the candidate’s correct task label. For constructing shadows, the authors assume either knowledge of the training approach or access to the service that produced the target. Those assumptions specify what obscuring internal parameters buys the data owner. They also explain why the authors could study cloud classifiers whose architectures they could not inspect.
The authors distinguish this direct-access setup from an application that queries a classifier internally. An application may convert a vector into an offer, display only a category, or otherwise change what an external user can observe. Membership leakage through such an application depends on those choices. The experiments use the direct interface so that the observed outputs can be attributed to the classifier and compared across systems. The discussion of restricted outputs returns to the practical question of how much the interface exposes.
This setup separates two responsibilities. A platform controls aspects of training that its customer may never see. The customer decides how to use or share the resulting predictions. Both decisions affect disclosure. A customer who receives an accurate classifier still needs information about its behavior on training records, while a platform that chooses a training procedure can consider privacy alongside predictive quality. This is the motivation for the authors’ proposal to measure leakage directly on a fitted classifier.
How earlier work framed related risks
The closest precedent discussed in the paper comes from work on published statistics for mixtures of genetic data. That work asked whether the statistics could reveal that a particular individual had contributed to the mixture. It compared quantities such as allele frequencies in the released mixture with their distribution in a broader population. The membership question carries over to the paper’s setting. What changes is the object available to inspect. Here, the observer can request predictions from a system whose fitted structure may be unknown, while the mixture studies started with explicit summaries of the collection.
Other prior work used the internal parameters of classifiers to infer broad properties of their training data, such as whether records from a racial group were represented. A property of the collection can matter even when the observer cannot identify the records that account for it. The present paper asks for a decision about a specified example and studies what the prediction interface reveals. It consequently treats a model’s parameters and the identity of the records as separate sources of information, with only the latter as the object of the membership judgment.
The related work on collaborative filtering considered changes in recommendation outputs over time. A change in a recommender could provide evidence about input that had arrived between observations. That setting depends on how the system updates and on the observer’s ability to compare results over time. In the classifier experiments, the target is already fitted when its outputs are assessed. The authors examine differences between responses to members and held-out examples within that fitted system.
Model inversion, as discussed in the paper, uses a prediction to infer features of an input or to characterize a class. The authors illustrate the distinction with pharmacogenetics. If a dosage prediction depends on a genetic attribute, it may give information about that attribute for a person whose other details are available. The inferred genetic information comes from a relationship that can hold across the patient population. A membership judgment addresses a different unknown. The candidate’s attributes are already available, and the unknown is whether the candidate appears in the training sample.
The difference also explains how the authors interpret artificial images produced by inversion. A face-recognition class can contain different photographs of the same person, so a picture that captures features common to that class can resemble the person. An object-recognition class contains instances of a kind of object. A representation assembled from shared features has a different interpretation there. In either example, the paper distinguishes resemblance to class characteristics from evidence about the presence of a specified record. Its CIFAR inversion illustration serves to make that distinction concrete.
Model extraction addressed another object of interest. The earlier work sought to recover a target’s parameters or reproduce its predictive behavior. In the example discussed by the authors, a kernel logistic regression classifier could incorporate selected training examples into its parameters. Recovering such parameters could disclose the examples they contained. The paper treats that case as tied to the structure of the classifier. Its own privacy test concerns prediction behavior and therefore applies even when a service conceals which type of classifier it fitted.
A final distinction concerns the stage at which privacy is protected. The related literature includes secure multiparty computation and training over encrypted data. Those methods can limit who sees the underlying records during computation. The authors point out that the fitted classifier can still behave like one trained conventionally. Protecting the computation and controlling what the released classifier reveals are separate tasks. Differential privacy is relevant to the second because it addresses the extent to which including a particular record can change the distribution of the result of training. The paper cites work applying that approach to neural networks among several other settings. Deep Learning with Differential Privacy
The method, step by step
From a known record to a question about membership
The method can be understood as a privacy evaluation with two distinct kinds of supervision. In the prediction task, the label tells the classifier what the input represents. In the privacy evaluation, membership tells the evaluator whether a particular fitted classifier learned from that example. For a shopping record, its shopping category remains the same when it is moved from a training split to a held-out split. Its membership status changes. Keeping these labels distinct is essential to understanding what the authors measure.
Suppose a classifier gives the right category for a record. That result can arise because the category is easy to recognize for records of this kind, because the classifier fitted this example especially closely, or through a combination of the two. The output for a single record gives no direct observation of which explanation applies. The authors’ insight is to study many outputs whose relationship to training is known and look for systematic differences between the groups.
The target’s own private training set cannot supply those labeled examples to an outside observer. Training a separate classifier creates a place where the same question can be observed directly. The experimenters choose the records used to fit it and keep track of the records reserved for comparison. This auxiliary classifier is the shadow. It serves as an empirical analogue of the target. Its value for the evaluation comes from reproducing relevant kinds of behavior, such as the way confidence changes between fitted and held-out examples.
The study then asks whether behavior learned from shadows transfers to the target. A difference measured only on a shadow describes that shadow. A difference that predicts membership on a separate target establishes that the target’s outputs exhibit related behavior. That transfer is the part that needs experimental evidence. Similar training conditions and similar inputs make it plausible, but the results show why it needs to be checked for each setting.
How the authors evaluated training-set privacy
The steps in order.
What the prediction vector represents
The authors write a labeled example as the pair (𝐱, y). Here 𝐱 is the input record in the format accepted by the classifier, while y is its correct task label. For the hospital task, 𝐱 represents the attributes that are available to the classifier and y identifies the main procedure. The target returns a set of scores over the possible procedures. The correct label is part of the experimental record, so the authors can distinguish how the system scored the right answer from which answer it chose.
𝐲 = fₜₐᵣ𝓰ₑₜ(𝐱)
Here fₜₐᵣ𝓰ₑₜ is the fitted target classifier as observed through its prediction interface. The argument 𝐱 is a candidate input. The bold 𝐲 denotes the vector returned for that input, and the equals sign identifies it as the result of applying the classifier to 𝐱. The unbolded y used for the correct task label is a separate quantity. The vector has one entry per class, each entry lies in [0,1], and the entries sum to 1.
The distinction between 𝐲 and y makes the class-specific analysis possible. A vector that strongly favors a particular procedure can look different depending on whether that procedure is the correct answer for the candidate. Even among correct predictions, classes differ in how readily their examples can be recognized and in which alternatives receive the rest of the confidence. The authors account for this by treating the true class as the context in which each output is interpreted.
The dataset against which membership is defined consists of labeled examples. The paper expresses the privacy question as a probability associated with inclusion in the specific target training set.
Pr{(𝐱, y) ∈ Dₜₐᵣ𝓰ₑₜᵗʳᵃⁱⁿ}
Here Pr denotes probability, the braces enclose the event under consideration, (𝐱, y) is the record and its correct label, and ∈ denotes set membership. Dₜₐᵣ𝓰ₑₜᵗʳᵃⁱⁿ is the private training set of the target classifier. For a fixed target and candidate, the record either was included or was held out. The quantity expresses uncertainty about that status from the observer’s perspective. Precision and recall on records of known status tell the authors how well decisions based on the score work in the experimental setting.
Why the shadows need representative data
Shadows create examples with membership labels the researchers can verify. Each has its own training set. It is fitted independently, then evaluated on both its fitted records and a separate set of the same size. The shadow’s idea of familiarity is local to its own training history. When different shadows use overlapping data, a record can have a different relationship to each classifier. What matters when interpreting any response is whether the particular classifier producing it was fitted on that record.
The paper’s formal setup keeps the shadow training sets separate from the target’s training set. Its basic evaluation also separates the target’s data from the data used for the shadows. This gives the transfer result a clear meaning. The target membership judgments must be explained by regularities in prediction behavior that carry across fitted classifiers using different records. They cannot be credited to having supplied the inference classifier with known membership labels for the target’s own records.
For cloud experiments, access to the same service makes it possible to fit shadows without knowing what the platform does internally. The authors assume that comparable training tasks and data will often lead to related output behavior. They do not need the shadow and target to agree on every prediction for that assumption to be useful. They need enough similarity in how training changes the predictions. The cross-platform comparisons give a reason to take that condition seriously. Different classifiers trained on the same purchase sample showed different amounts of observable leakage.
The pool of shadow responses is used to fit a binary classifier for membership. The authors use separate membership classifiers for the task classes, so that typical responses in one class are compared with other responses from that class. A distinction between easy and hard classes could otherwise look like a distinction between members and nonmembers. Classwise treatment also lets the paper show which parts of the task disclose more information. For example, a strong overall result can coexist with weak membership judgments for particular classes.
The paper trains membership classifiers both in a local neural-network framework and through a cloud platform. That choice illustrates the role of the final classifier. Its purpose is to recognize differences between labeled groups of outputs. The method’s distinguishing idea is the origin of those labeled groups and the test of whether their differences carry over to another classifier. For the authors’ argument, exact agreement with any specific inference architecture matters less than the persistence of the observed privacy signal across independently trained systems.
The comparison between sources of shadow data
Using independently sampled real records provides a reference setting. The shadow examples have recognizable features of the same population as the target examples and are kept separate from the target’s data. This gives the evaluator a way to distinguish the problem of finding comparable data from the problem of detecting membership differences in the outputs. If prediction behavior transfers with similar real records, the synthetic and noisy settings can then ask how much the inference depends on that favorable reference.
One alternative starts from marginal statistics. A marginal distribution describes how frequently possible values of a feature occur without specifying the values of the other features. For retail records, it could represent how common purchase of an individual product is. Combining features sampled independently can retain these individual frequencies while losing relationships between purchases. That is a meaningful change because the target’s shopping styles were formed from groups of observed records. The result tests how far aggregate population knowledge can stand in for joint observations of people’s shopping behavior.
Another alternative uses imperfect real data. In the location experiment, the authors simulate a mismatch by perturbing fields that indicate visits to regions or types of venue. The variants use 10% and 20% noise, as labeled in the figure. The untouched records are a comparison condition. Because the perturbations are applied to the shadow-side data, this experiment changes the evidence available for learning what typical responses look like. It measures how that change affects judgments about an independently fitted target.
The remaining alternative uses synthetic records informed by the target. The idea is that a classifier’s confident responses can indicate what it regards as representative of a class. This offers an empirical proxy for population information when independent records or statistics are unavailable. It also makes the quality of the proxy depend on the target. If the classifier seldom recognizes good representatives of a class with confidence, the synthetic examples can be a poor basis for studying membership in that class. The paper’s retail results make this dependence visible.
In that experiment, both the records fitted by the shadows and their held-out counterparts come from the synthetic pool. Thus high confidence from the target, a characteristic shared by the pool, does not by itself distinguish the two groups of shadow responses. The comparison concerns how independently fitted classifiers behave towards examples they have and have not used. The result can transfer to real target records even though the controlled examples used to observe the distinction are artificial.
These settings vary both the closeness of the proxy data and the information assumed available to the observer. Independent real records provide observed combinations of features. Marginal statistics provide a summary of the population. Noisy records preserve aspects of the underlying data while introducing a mismatch. Target-informed synthesis relies on the interface during preparation. The paper describes the last condition as having no prior distributional knowledge. The observer still knows the accepted record format and has access to task labels and scores. Those conditions explain both the significance and the scope of the result.
For the statistics-based and noisy-data variants, the membership assessment of a candidate uses one target query. Their preparation uses information gathered elsewhere. The synthetic variant derived from target responses has a different cost structure. It uses the target during preparation as well as when assessing candidates. Evaluating these conditions separately matters because two methods can expose the same kind of information while relying on very different amounts or kinds of prior access.
What accuracy and uncertainty reveal about outputs
A classifier’s task accuracy answers whether it selected the correct class. For an individual class, the authors measure how often an example with that label receives the right prediction. They compare that quantity between training and held-out records. A difference indicates that correctness itself contains some information about the groups, even before the rest of the output vector is considered. The meaning of a mistake can also depend on which wrong class was chosen.
The paper also examines prediction uncertainty. Entropy summarizes how widely a probability vector spreads its mass. A prediction that favors a single class strongly has lower entropy than a prediction spread relatively evenly over several classes. The authors normalize this measure using the number of classes. That adjustment matters when comparing tasks whose vectors have quite different lengths. The expression they use is the following.
H = (−1 / log(n)) Σᵢ pᵢ log(pᵢ)
Here H is normalized prediction entropy. The quantity n is the number of classes, i indexes those classes, and pᵢ is the probability assigned to class i. The symbol Σᵢ directs the reader to sum the terms over the classes. The function log is the logarithm, written consistently in the terms and in the normalizing denominator. The factor −1 supplies the sign, and division by log(n) gives the normalization.
Entropy is one diagnostic for comparing groups of outputs. Two predictions can have the same uncertainty while distributing confidence over different named classes. They can also have the same predicted class while differing in uncertainty. The authors examine correctness and uncertainty together because each can reveal a different aspect of the same behavior. Reliable separations between members and nonmembers in these diagnostics help explain where a membership classifier can learn a useful distinction. The diagnostics are aggregate descriptions of the outputs and need to be interpreted alongside measured membership performance.
The accuracy gap provides a related summary at the level of a dataset or class. It is the target classifier’s accuracy on training records minus its accuracy on held-out records. When the computation is classwise, both accuracies are taken over records whose true label belongs to the same class. This brings the comparison closer to the conditions under which the authors evaluate membership. A global gap can combine strong effects in one class with weak ones elsewhere. The analysis uses the gap as a measure of fit to the training sample and checks empirically how it relates to the membership results.
How the authors vary what can be observed
The defenses intervene at different places. Restricting the output to the top k classes limits what the interface publishes. Here k is the number of leading classes whose results the interface retains. The leading choices can still carry information that users need for the intended task. The restriction removes some detail about the alternatives. At the most restrictive end of the experiment, the interface returns the predicted label alone. The study distinguishes that case from returning the leading class with its confidence.
Coarsening the probabilities changes a different property of the interface. The authors round downward so that d digits of precision are exposed, where d describes the amount of reporting detail retained. Such an output can preserve a general distinction between high and low confidence while hiding finer variation. The privacy question is how much of the difference between fitted and held-out examples survives the change. The task’s predicted category and the privacy test’s precision are separate quantities here. Lower precision in a displayed probability means fewer reported digits. Lower membership precision means a smaller share of correct positive membership judgments.
The temperature experiment changes how a neural network converts its raw class scores into probabilities. Those scores are called logits. Softmax applies an exponential to the scaled score for each class and normalizes the results to form a probability vector. The paper uses the following temperature-adjusted expression, a technique it also discusses in connection with transferring information between classifiers. Distilling the Knowledge in a Neural Network
pᵢ(t) = e^(zᵢ/t) / Σⱼ e^(zⱼ/t)
Here pᵢ(t) is the probability assigned to class i at temperature t. The temperature t is positive. The values zᵢ and zⱼ are logits, with i identifying the output being calculated and j ranging across all classes. The symbol e is the base of the natural exponential. The caret denotes exponentiation, and Σⱼ indicates the sum of the corresponding exponentials for all classes. The denominator converts the relative values into probabilities whose sum is 1.
With larger temperatures, differences between scores count for less after scaling. The probability vector becomes flatter, although the scores preserve their order for positive temperatures. This explains how the output probabilities can change while the predicted class stays the same. In the limit of very large temperatures, the vectors approach a common, nearly uniform form. The practical comparison concerns settings that still publish information about how plausible the classes are. The privacy value of temperature must be assessed against the information retained in the actual interface.
Regularization changes the fitted classifier itself. The version implemented in the defense experiments adds a cost for large parameter values to the ordinary training loss. The loss measures how poorly the classifier fits its training task. Penalizing large parameters gives the training procedure a reason to prefer some fits over others even when they produce similar training predictions. The paper discusses dropout as another regularization technique from earlier work and uses a squared-parameter penalty for the reported comparison. Dropout
λ Σᵢ θᵢ²
Here λ is the regularization strength, θᵢ is the fitted parameter indexed by i, and the superscript ² squares its value. The expression Σᵢ sums the squares over the parameters. Multiplication by λ determines how much this term contributes to the loss minimized during training. A larger λ gives the penalty more influence over the resulting classifier.
The temperature and regularization formulas describe different changes. Temperature modifies the mapping from existing logits to released probabilities. The penalty influences the parameters that produce those logits in the first place. As a result, regularization can affect both what label the classifier predicts and what membership information accompanies the prediction. The authors assess both task performance and membership performance so that a defense can be judged in terms of the change on each axis.
The paper places these empirical defenses alongside differential privacy. With a differentially private training procedure, adding or removing the contribution of a particular record has a bounded effect on the distribution of possible training outputs. The authors connect this property to membership assessments made from the released classifier. They also note that demanding stronger protection can carry a predictive cost. The output restrictions and regularization they test are measured defenses. The differential privacy discussion supplies a distinct basis for reasoning about participation risk.
Experiments and results
How success was measured
The main membership test mixes records from the target’s training set with the same number of records from its held-out set and shuffles them. The reported baseline for overall membership accuracy is 0.5. The equal mixture gives the evaluation a neutral starting point for this decision. In deployment, a candidate pool could contain many more nonmembers than members, or be concentrated among likely members. The measured precision belongs to the evaluation conditions, including how the candidate set was assembled.
The authors emphasize precision and recall. Membership precision is the share of records predicted to be members that really were included in training. Membership recall is the share of actual training members that the method identifies. Overall membership accuracy counts both correctly recognized members and correctly recognized nonmembers among all candidates. Target accuracy addresses a separate task. It counts records on which the target predicted the correct shopping style, procedure, image class, or other assigned label.
These metrics answer complementary questions. High precision means that a positive membership judgment was usually right in the tested pool. High recall means that the method covered much of the set of actual members. A method can have high precision by making good calls on a narrower subset. Conversely, calling nearly everyone a member can cover nearly every actual member while making many incorrect claims about held-out records. The paired precision and recall values are particularly important in the comparison between real and synthetic shadow data.
Most results are broken down by the target’s true classes, with summaries such as the median across classes. An overall result pools the membership judgments and is affected by how the records and positive calls are distributed across classes. A median across classes describes a typical position in a ranking of class-level results. On uneven data, such as the retail task, looking at both can reveal whether a result comes from broadly transferable behavior or is more concentrated in particular classes.
The headline vocabulary in the introduction is broader than the metric labels in the results. For the default retail platforms it calls the medians 94% and 74% membership accuracy. The retail figure identifies the corresponding measurements as median precision with values of 0.94 and 0.74. The introduction likewise describes the target-guided synthetic retail result as 90% accuracy, while the detailed comparison reports overall precision and gives recall separately. The hospital headline of over 70% has a corresponding classwise precision description. The metric names below follow the detailed reports, with their denominators made explicit.
Natural images in locally trained classifiers
CIFAR-10 and CIFAR-100 let the authors assess neural classifiers locally, where they can vary the training set size. Both datasets use 32 × 32 color images. CIFAR-10 has 10 classes with 6,000 images per class and provides 50,000 training images and 10,000 test images in its benchmark split. CIFAR-100 has 100 classes with 600 images per class. Its benchmark allocation provides 500 training images and 100 test images per class. These counts describe the image collections and their published partitions. The paper separately specifies the sizes used in its membership experiments.
The evaluation lists CIFAR-10 target training sizes of 2,500, 5,000, 10,000, and 15,000. For CIFAR-100, the listed training sizes are 4,600, 10,520, 19,920, and 29,540. The authors used convolutional neural networks in which convolution and pooling stages led into a 128-unit fully connected layer and then a softmax output. They fitted the networks locally using Torch7, with a maximum of 100 training epochs. An epoch is a pass through the training data. The local implementation gave the authors control over the training configuration while keeping the membership evaluation based on outputs.
At the largest listed training size for each dataset, the target test accuracy was 0.6 on CIFAR-10 with 15,000 training records, and 0.2 on CIFAR-100 with 29,540. These are accuracies on the image-label task. The authors characterize the fitted networks as heavily overfitted. Their membership results show substantial separation between the training and held-out images, especially for CIFAR-100. For both datasets, the figure describes membership recall as almost 1.
On CIFAR-10, median membership precision from the smallest listed size to the largest was 0.78, 0.74, 0.72, and 0.71. On CIFAR-100, the corresponding sequence across its own training sizes was 1, 1, 0.98, and 0.97. These figures are medians over classes at each size. They therefore describe how a central class-level result changes with each training condition. In both sequences, the larger training sets accompany lower median precision. Even at the largest size, the CIFAR-100 classifier remains highly susceptible in this experiment.
The comparison combines a change in the number of classes with differences in the image tasks and how well the fitted classifiers generalize. The authors discuss both the larger prediction vector and the stronger overfitting of the CIFAR-100 classifier as explanations. Their fixed-data retail comparisons address class count from another angle. With CIFAR, the cleanest comparison in the reported series is within each dataset as the amount of training data changes.
Membership precision by target training set size on CIFAR-100
Median precision across image classes remains high as the target training set grows.
The numbers
| System or setting | Median membership precision |
|---|---|
| 4,600 training images (this paper) | 1 |
| 10,520 training images | 1 |
| 19,920 training images | 0.98 |
| 29,540 training images | 0.97 |
The chart treats higher precision as stronger performance for the membership inference procedure. The smallest and next-smallest training sets are tied on that measure. For a data owner, stronger performance on the same measure means more disclosure. The direction of improvement therefore depends on whose task is being evaluated. That is why the paper assesses defenses by whether membership performance declines while accuracy on held-out task examples stays useful.
Retail classifications across cloud platforms
The purchase data come from Kaggle’s Acquire Valued Shoppers challenge, a collection organized around coupon promotions. The original records describe transactions and include attributes such as the product, quantity, and date. The paper constructs a simplified dataset of 197,324 records with 600 binary indicators. Each indicator records whether the customer bought the corresponding product. The resulting vector describes which products appear in a history and leaves transaction-level detail outside the classifier’s input.
The authors form categories of shopping style by clustering the records. Clustering groups examples using patterns in the input data, and the resulting group assignments become labels for the prediction task. They study tasks with 2, 10, 20, 50, and 100 classes. Once the categories are defined, the target classifier is trained to predict the category from the purchase indicators. For the main target setting, the authors draw 10,000 records for training. Other records supply held-out comparisons and, when appropriate, independent shadow data.
The Amazon experiments compare the default setting of 10 maximum passes over the data and L2 regularization of 1e-6 with a configuration using 100 maximum passes and regularization of 1e-4. The changes are paired. The observed difference describes the behavior of the two configurations as wholes. The Google service did not expose a comparable choice of configuration to its user. The paper also fits a local neural classifier on the same purchase training data, enabling a comparison without changing which customers contributed records.
The default Amazon setting yields median membership precision of 0.74 across classes. The configuration with 100 passes and 1e-4 regularization yields 0.84. Google Prediction API yields 0.94. The authors also report the 75th and 90th percentiles across classes. These are 0.79 and 0.84 for default Amazon, 0.88 and 0.91 for the other Amazon configuration, and 0.97 and 1 for Google. The figure describes recall as close to 1. Across these settings, the differences in precision distinguish how many of the positive membership calls were correct when coverage of members was already high.
Median membership precision across cloud classifiers on 10,000 purchase training records
The Google-trained classifier shows the greatest leakage in this comparison.
The numbers
| System or setting | Median membership precision across classes |
|---|---|
| Amazon ML, 10 passes and 1e-6 L2 | 0.74 |
| Amazon ML, 100 passes and 1e-4 L2 | 0.84 |
| Google Prediction API (this paper) | 0.94 |
The same-data design makes this comparison informative about training and model choice. Google exhibits the strongest retail leakage of the platforms shown, and the paper also describes it as having better predictive power than the Amazon classifiers. One Amazon configuration has a larger training-to-test accuracy gap than Google yet leaks less. The fact that the outcomes do not line up in the same order is important. The paper’s within-type overfitting explanation remains plausible, while the comparison across platforms gives independent reason to inspect prediction behavior beyond the aggregate gap.
The retail class-count comparison uses Google Prediction API and varies how finely the same kind of purchase data are grouped. The boxplots show less membership leakage for tasks with fewer classes. The authors propose that distinguishing more shopping styles requires the classifier to represent more specific differences and produces a richer vector for the observer. The classification task changes along with the number of outputs, so the comparison describes the combined consequence of asking the classifier to make finer distinctions. It provides no separate estimate for the effect of adding score positions while holding the learned problem fixed.
Hospital discharges and location histories
The Texas experiment uses hospital discharge public-use files from 2006 to 2009. The underlying records describe inpatient stays and include diagnoses, external causes of injury, procedures, and general attributes such as age and length of stay. The authors define the task around predicting the main procedure, excluding secondary procedures from the supplied attributes. They keep the 100 main procedures that occur most often. The resulting dataset comprises 67,330 records and 6,170 binary features, and 10,000 of those records are used to fit the target.
The Google-trained hospital classifier has training accuracy of 0.66 and test accuracy of 0.51 on procedure prediction. Membership precision is mostly above 0.6. It exceeds 0.7 for half of the classes and 0.85 for more than 20 classes. These classwise results show that the membership signal reaches a substantial part of the prediction task. They also describe a range of risks across procedures. A single performance figure for the procedure classifier cannot capture which groups of records are particularly distinguishable.
The privacy significance comes from what an inpatient record can represent. In an application built around a sensitive collection, confirming membership can have consequences even if the prediction only names a procedure and the observer already knows the candidate’s attributes. The authors frame the experiment as evidence of risk when classifiers fitted on health data are available for public querying. Their measurements were made on experimental splits of the discharge records. A claim about the identity or condition of a particular person would require additional evidence linking the candidate record and the training collection to that person.
The location dataset starts with check-ins in Bangkok. The underlying record of activity contains 11,592 users, 119,744 locations, and 1,136,481 check-ins. After filtering less active users and less visited venues, the authors have 5,010 user profiles. They represent each user through visits to geographic regions and categories of venue. The final representation uses 446 binary features. Clustering gives the users 30 geosocial categories, and the prediction task is to assign a user to one of those categories from the profile.
The paper gives two values for the size of the location training set. Its dataset description reports 1,600 randomly chosen training records, while the experimental setup gives 1,200. Both refer to a target training set, and the account does not resolve which value applies to each location result. The Google classifier’s reported task accuracy is 1 on the training records and 0.66 on the test records. The membership results are described as having precision between 0.6 and 0.8 and recall close to 1. These measurements document a target whose handling of fitted examples was measurably different from its handling of unseen profiles.
The comparison of real and perturbed shadow data provides a separate set of overall location figures. With unaltered shadow records, overall membership precision is 0.678 and recall is 0.98. At 10% shadow-data noise, precision is 0.666 and recall is 0.99. At 20% noise, precision is 0.613 and recall is 1.00. Increasing the noise reduces the reliability of positive judgments while coverage stays high. The authors interpret the smaller perturbation as giving a result close to the reference. Because they control the way the mismatch is introduced, the experiment measures robustness to that specific kind of altered data.
Retail results with synthetic shadow data
The synthetic-data experiments use the Google retail classifier to evaluate what happens when real shadow records are unavailable. The authors compare synthetic records made from aggregate feature frequencies with records derived from the target’s class responses. Both compare against shadows fitted on real data. The alternatives represent different information conditions. The first relies on population statistics and loses dependencies between features. The second learns about the classes indirectly from the behavior of the target.
The figure gives overall membership precision of 0.935 and recall of 0.994 for shadows based on real data. For synthetic shadows based on marginals, precision is 0.795 and recall is 0.991. In this setting, positive judgments become less reliable while coverage of the target’s training members stays close to the real-data reference. The experiment demonstrates that feature frequencies alone can support substantial transfer in this particular retail setting, even without preserving the joint structure of the original purchases.
For records synthesized with the help of the target, the figure reports overall precision of 0.896 and recall of 0.526. The surrounding prose gives 0.895 for precision. The difference in the reported decimals is left unresolved, and the chart uses the figure’s value alongside the other figures from that comparison. Precision is higher than for the marginal-statistics condition. Recall changes substantially in the other direction. Reading the precision result alone would miss a central difference between the two synthetic approaches.
Overall membership precision by shadow data source on the Google-trained purchase classifier
Real shadow data give the highest precision, followed by synthetic data informed by the target.
The numbers
| System or setting | Overall membership precision |
|---|---|
| Independent real purchase records (this paper) | 0.935 |
| Synthetic records from marginal statistics | 0.795 |
| Synthetic records informed by the target | 0.896 |
The target-informed result also varies sharply among classes. The paper reports precision below 0.1 for a few classes, while many of the others approach the real-data results. Each of the classes below 0.1 accounts for under 0.6% of the target’s training set. Some have fewer than 30 examples out of 10,000 training records. The authors explain the weak results by pointing to how hard it is for the target to represent these classes with enough confidence to yield good synthetic examples. That interpretation is specific to this preparation method and helps explain why the performance varies even within one fitted classifier.
The rare-class finding is worth reading alongside the overall results. A membership signal can be present in the target’s responses while the available proxy data are inadequate to characterize it. For the target-informed method, poor performance in a rare class can reflect a shortage of good examples with which to study the distinction. The study does not directly measure how much membership information would be available for those same classes under every possible preparation method. It shows where this particular source of shadow data succeeds and where it struggles.
The query burden also differs from the other conditions. The target-informed experiment generated 30,000 synthetic retail records, and the authors report an average of 156 target queries per generated record during preparation. They used 8 shadows for that condition. The marginal-statistics experiment generated 187,300 synthetic records and used 20 shadows. The comparison therefore includes differences in the amount of data and in how many independently fitted shadows represent each source. Its significance comes from demonstrating transfer under different information constraints. The figures do not isolate a pure effect of data source with all other preparation resources held equal.
Where the membership signal was weak
The paper includes results close to the study’s chance benchmark. For MNIST, the classification task concerns handwritten digits. The dataset contains 70,000 images according to the paper, and the target is fitted on 10,000 selected examples. Its training accuracy is 0.984 and its test accuracy is 0.928. The reported overall membership precision is 0.517. The authors associate the weak result with the limited variation among images of the same digit and with the small number of task classes. The measured gap in task accuracy coexists with little useful membership discrimination by their method.
The Adult dataset contains 48,842 census records with 14 attributes. The binary prediction task concerns whether a person’s annual income exceeds the threshold used in the dataset. The target uses 10,000 training records. On the task, training accuracy is 0.848 and test accuracy is 0.842. The authors report overall membership precision of 0.503. The close task accuracies suggest little overfitting by their accuracy-gap measure. The authors also point out that the two class probabilities are complements, so one determines the other. That leaves fewer distinct output behaviors for the membership classifier to observe.
These outcomes help put the cloud retail and hospital results in context. The use of the same service does not give every target the same privacy profile. With high task accuracy on both fitted and held-out data, there may be little difference for the membership method to detect. The structure of the data and the task label can also limit what the scores reveal. Conversely, good generalization compared with another platform did not prevent the Google retail classifier from leaking more in that particular comparison. Taken together, the findings support measuring the relevant output behavior on the task under study.
Results when the released information changes
The defense experiments use locally fitted neural classifiers for the purchase and Texas tasks, each with 100 classes. The reference classifiers have a hidden layer of 256 units for purchases and 1,000 units for hospital stays. In each case the reference is the version without the privacy intervention being tested. The membership assessment still observes the target through its predictions. This lets the authors control how probabilities are released and how the classifier is trained while evaluating privacy at the interface where the distinction matters.
The paper reports that showing results only for the top 1 or 3 classes leaves enough information for membership inference in these settings. Even returning just the top label leaves some predictive signal. The authors explain this through differences in mislabeling. Fitted and held-out examples can be assigned to different wrong categories, so the label alone retains information about the shape of the classifier’s errors. Where the observer knows the correct task class, the reported choice can convey both whether an error occurred and which error occurred.
Reducing numerical precision and increasing temperature likewise target visible score differences. Both change what a recipient can learn from a vector, but in distinct ways. Coarsening removes detail about the numerical values. Increasing temperature spreads the reported confidence more evenly. The authors judge the membership method to be robust to the defenses overall. The results support a distinction between reducing some of the available evidence and eliminating the observable differences between groups.
Regularization offers a way to change those differences during fitting. The paper reports cases in which it reduces membership leakage while improving the target’s predictive accuracy. It also identifies strong settings that impair test performance, reporting λ = 1e-2 for purchases and λ = 5e-3 for hospital stays as examples on the respective datasets. These values describe settings in the local experiments. The authors’ interpretation is that a training choice can improve generalization and reduce leakage together, while excessive pressure on the parameters can undermine utility.
The experiments ultimately measure privacy at the level of a fitted classifier, a task, and an interface. The common access mechanism allows comparisons that a data owner can interpret even when the fitted parameters are unknown. The range of outcomes matters as much as the strongest result. Retail classifiers fitted on the same records vary by platform, synthetic evidence can preserve precision while sacrificing recall, and classifiers accessed through the same service can range from strongly distinguishable to close to chance. The paper’s contribution is to make those differences observable in terms of specific records and measured membership judgments.
What the ablations show
Which comparisons answer which questions
The paper offers controlled comparisons and analyses of prediction behavior. Some change the interface while keeping the underlying classifier fixed. Others change how the classifier is trained, how the task is defined, or what data are available for evaluating membership. These comparisons have different implications. Changing what a fitted classifier publishes can show whether the omitted information contributed to the observed leakage. Changing the task can reveal a pattern across settings, though several properties of prediction may change together.
The most direct question is whether a particular part of the output carries membership information that is useful to the evaluator. The experiments on score precision and the number of classes shown address that question. A second question is whether training produces a classifier whose responses distinguish fitted from held-out examples more strongly. The training-size and regularization comparisons address aspects of that question. A third question is whether the evaluation can detect a distinction with imperfect examples of the behavior it seeks to recognize. The noisy and synthetic shadow-data comparisons address that part of the study.
This last distinction affects how the paper’s measurements should be read. When the target stays fixed and a different source of shadow data yields lower precision, the target still gives the same responses. What changes is the ability of the tested procedure to interpret those responses. When the target’s interface changes, the information available to any recipient changes. When the target is fitted again under different conditions, the predictions themselves can change. The paper observes all of these effects, and a decline in measured membership performance can mean something different in each case.
The authors also compare classwise accuracy and uncertainty on members and nonmembers. Those analyses relate the measured leakage to properties of the outputs. They help explain what a membership evaluation can detect without isolating the contribution of each score or error. This matters for the interpretation of the defenses. Removing much of the vector and still observing leakage establishes that the remaining response carries a usable signal under the test conditions. It leaves open how much the original evaluation relied on each of the details that were removed.
What survives when the interface gives less away
The output-restriction experiments ask whether the risk comes mainly from reporting an entire distribution over classes. In a task such as predicting the main procedure in a hospital record, the highest-scoring procedure may be the only value an application needs for its immediate decision. The other probabilities can be informative about ambiguity, but they also describe how the classifier weighs alternatives for a particular record. Hiding those probabilities removes detail that the recipient would otherwise have.
The authors observe that membership inference still works when only a few class results are exposed. They also test a more restrictive interface that publishes the winning label alone. The important comparison is between a winning label accompanied by a score and the same label without that score. A score can vary among records whose winning label is identical. After it is removed, any remaining evidence has to come from which label won, interpreted in the context of the candidate’s known task label.
A label-only interface can therefore expose differences in both correctness and misclassification. Suppose the same procedure is the true answer for all the records under consideration. If the classifier recognizes it more often in training than on held-out records, correctness carries some evidence about membership. There is another possibility. Among records for which the classifier gives a wrong answer, certain other procedures may be selected more often for fitted records, while different procedures may be selected more often for held-out ones. Membership can affect the pattern of answers even when the interface gives every answer in the same categorical form.
This distinction explains why aggregate accuracy is an incomplete description of a label-only interface. Accuracy collects all the incorrect choices into a common category. The interface still identifies each choice separately. Two groups can show similar rates of correct prediction and differ in the labels assigned when the predictions are wrong. That possibility follows from the information the label retains. The paper’s defense experiments establish that the tested label-only interfaces retain a useful signal, and the authors point to different mislabeling behavior as an explanation.
Restricting the output is particularly informative when read alongside the analysis of class count. More possible labels give the full prediction vector more positions, and even the winning label can take more values. The restriction tests what happens when many of the vector’s positions are hidden after training. The class-count comparison changes the task that the classifier learned in the first place. A classifier trained to distinguish many procedures has learned a different task from one trained to distinguish broader groups of procedures. Publishing less of its output does not erase differences formed during learning.
The prediction-precision comparison removes numerical detail while retaining the structure of a scored response. If two probabilities differ only in digits that the interface discards, the recipient can no longer distinguish them on that basis. Coarser reporting can still preserve large differences in confidence. It can also leave the identity of the leading alternatives visible. The comparison therefore tests the practical importance of fine numerical variation at the reporting precisions considered. Its interpretation is narrower than a general claim that rounded probabilities are safe or unsafe.
Another way to change the appearance of the distribution is to increase its entropy. A higher temperature can make two leading choices appear closer in probability while preserving their order. This matters because the authors observe differences in uncertainty between member and nonmember predictions on some tasks. Flattening the vector addresses that diagnostic directly. It leaves distinctions based on rank available and may leave differences in the shape of the distribution that still matter to a membership classifier. A reduction in visible confidence is therefore only part of the evidence needed to judge the defense.
The continued success of membership inference after output restriction gives the paper a stronger result than a finding about overconfident probabilities alone. The form of the response matters, but the risk can also be carried by the classifier’s choices. For a service that uses the predicted class as its useful output, the choice it needs to communicate is precisely the information that remains in the most restrictive experiment. The observed leakage under that condition directs attention back to how the classifier behaves on the two groups of records.
What changes when the classifier is fitted again
Regularization is the intervention that most directly addresses the authors’ explanation based on overfitting. It changes how fitting balances performance on the training examples against a preference for smaller parameter values. A regularized classifier can give different answers to the same records even when the interface publishes its results in the same format. The leakage comparison therefore concerns a change in learned behavior.
The defense experiments report settings in which a membership assessment becomes less successful while the target becomes more accurate on its own prediction task. This combination matters because privacy and task accuracy are frequently discussed as competing goals. In this setting, both can benefit if the original fit depends too heavily on details particular to its training sample. The held-out task examples then benefit from a classifier that better captures relationships that carry across records, and the membership evaluator has less contrast to detect between fitted and held-out examples.
The regularization experiments also show where that reasoning has limits. If the penalty changes the fit too strongly, test prediction can deteriorate. The paper identifies settings on both purchases and hospital stays where stronger regularization can impair the classifier’s usefulness. In that case, a decline in membership performance would give an incomplete account of what the intervention accomplished. A classifier can disclose less because its answers have become less informative about the task as a whole. The useful comparison considers the quality of predictions and the membership measurements on the same fitted version.
The two Amazon configurations offer a related comparison with less control over the mechanism. The configuration that permits more training passes also applies a different amount of regularization. It produces a larger train–test gap, according to the authors, and higher median membership precision. This agrees with the connection between overfitting and leakage within the Amazon results. The paired change leaves the contribution of each configuration setting unresolved. The comparison cannot tell which change dominated or how the effects would have looked had the service varied either choice on its own.
The local defense experiments make it possible to identify regularization as the intervention. The Amazon comparison illustrates what can be learned when the service exposes only a few controls and conceals details of training. The observable facts are the resulting prediction behavior, generalization, and membership performance. Those facts are enough to compare the privacy profiles of the tested configurations. They support a more limited account of why an individual cloud training run produced its particular pattern of leakage.
The paper’s discussion of useful regularization is consequently about the fit obtained in a particular task. A change that improves prediction and reduces leakage demonstrates that those objectives can align. A change that weakens prediction demonstrates why the amount of regularization matters. Neither comparison supplies a universal relationship between the numerical strength of a penalty and the privacy of the resulting classifier.
How training size, class size, and task detail interact
The CIFAR experiments vary the total number of training examples within each of the image benchmarks. This comparison keeps the set of labels for the corresponding benchmark fixed. Within each series, larger training sets accompany lower median membership precision. Given the high recall in those experiments, the precision trend indicates that the reliability of positive membership judgments declines as the fitted sample grows. The pattern is consistent with a classifier depending less on the particular examples it saw when it has more observations of each kind.
The result is easier to interpret within a benchmark than across benchmarks. The CIFAR-100 classifiers disclose more membership information than the CIFAR-10 classifiers in the reported series. The paper points out that the CIFAR-100 task asks the classifier to distinguish many more categories and that the fitted networks generalize less well. Each change gives a reason why outputs could differ more between members and nonmembers. A classifier asked to make finer distinctions has more alternatives among which to distribute confidence. If it also handles held-out images much less accurately, the group differences can be visible even in the winning labels.
The authors discuss examples with comparable average training data per class. That comparison is aimed at a narrower explanation. If the average class size alone determined the effect, roughly matching that quantity would leave little room for a large difference in membership performance. The paper still finds stronger membership inference for CIFAR-100. This comparison makes class count and generalization plausible contributors alongside the amount of data. Matching the average does leave differences among individual classes, the images they contain, and the strength of the resulting fit.
The retail analysis checks the class-count pattern within a common source of records and a common training platform. The features continue to describe purchases, but changing the clustering changes what the category labels mean. A broader shopping category may cover a range of records that would be divided among finer categories in a different run. The classifier trained on finer categories has to draw distinctions that the broader task never asks it to make. The privacy differences therefore reflect the combination of a more detailed task, a different allocation of training records across classes, and an output with more possible answers.
One interpretation, offered by the authors, is that finer tasks encourage a classifier to retain more details about the training sample. The paper supports that interpretation through differences in membership inference and generalization. It does not inspect the learned internal representations of the cloud classifier. The distinction matters because an output can expose more observable information about membership for several reasons, even if the internal changes remain unobserved.
The paper also considers how common each class is within the training data. Its classwise analysis generally associates a higher training share with lower membership precision. Training share refers to how much of the target’s fitted sample consists of records bearing a given task label. A larger share gives the classifier more examples from that class in the given experiment. It can then learn a pattern that works on held-out cases as well as fitted ones. The association is described as complex because classes differ in composition and difficulty along with their size.
A class that spans highly varied records can remain difficult even when it has more examples. Conversely, a class whose records share a conspicuous pattern may be easy to recognize with less data. The paper’s uncertainty and accuracy plots are useful here because they compare the resulting responses directly. The number of available examples is a possible cause of the difference. The distribution of scores or errors is the evidence visible to the membership evaluator.
Rarity can have a different consequence for the target-informed retail condition. The same shortage of data that might make a fitted classifier rely heavily on its examples can make the class hard to represent with shadows. The paper attributes some very weak results to underrepresented classes for which the target did not consistently recognize representative synthetic inputs with high confidence. A rare class can therefore pose a challenge on the evaluation side even in a study that typically associates smaller classes with greater leakage. The two observations concern separate dependencies. One concerns what the target reveals. The other concerns whether the available shadow data support a reliable interpretation of what it reveals.
How close the shadow data need to be
The location comparison varies the quality of the data used to study membership while leaving the target’s task unchanged. Deliberately perturbing binary attributes changes the shadow-side records, which can weaken the similarity between the shadow predictions and the target’s predictions. The results show that the procedure retains useful precision under the smaller disturbance and loses more under the larger disturbance. Recall remains high in all of the reported location conditions.
This pattern is informative about transfer. If the evaluator required exact knowledge of the joint distribution of location profiles, an artificial change to individual indicators could make the evaluation ineffective. The observed persistence shows that this kind of mismatch leaves enough common prediction behavior for the tested procedure to remain useful. The worsening precision also shows that the mismatch matters. The result falls between complete dependence on clean data and insensitivity to their quality.
Since recall remains high even when precision declines, the effect concerns which positive judgments can be trusted. The method still identifies many of the actual members in the pool. More of its positive judgments also fall on held-out records. An assessment that looked only at recall could miss that deterioration. Reading both measures shows how the same amount of data mismatch can have substantially different consequences depending on the evaluator’s objective.
The marginal-statistics retail condition addresses a different kind of mismatch. Individual feature frequencies can still resemble the purchase population even when relationships among purchases are lost. Real shopping styles are formed from combinations of product indicators, so those relationships may matter to the original prediction task. The persistence of strong membership recall and meaningful precision shows that the shadow evaluation can pick up behavior that transfers in spite of some missing structure. The loss in precision demonstrates that the simplification is consequential.
The retail condition informed by target output has a different profile. Many classwise judgments remain precise, while overall recall is much lower than with the other sources of shadow data. An aggregate precision ranking alone could make that condition look closer to real-data shadows than the complete result warrants. Once recall is included, the tradeoff becomes clear. The useful positive judgments come with substantially narrower coverage of actual members in the experimental pool.
The authors’ explanation of the rare classes gives a reason why the tradeoff can be uneven. The target’s response is the source of information used to characterize the task’s classes in this condition. When the classifier has had little opportunity to learn a class, its outputs may provide too weak a representation of what examples from that class are like. The resulting shadow predictions can then describe a different kind of behavior from the target’s responses on real members and nonmembers. The reported weak classes give evidence of a dependency on representation quality, even though the comparison does not identify every cause of a bad judgment.
These comparisons also clarify how to interpret a successful result with synthetic data. It shows that real training examples were unnecessary for obtaining a membership signal under the tested assumptions. It does not show that the synthetic records reproduce real shopping histories. The ability to recognize a difference in how fitted and held-out examples are scored is a weaker correspondence than being able to reproduce the distribution of people’s purchases. The paper’s real-data reference measures one kind of transfer, and the synthetic conditions show that transfer can persist when the original observations are absent.
A fully controlled comparison of data sources would keep the amount of proxy data and number of fitted shadows the same. The retail conditions use different amounts of generated data and different numbers of shadows. The observed membership results characterize each preparation as a whole. Their main value is in showing what can happen under different kinds of available information. They give no separate estimate of how much of the difference comes from record quality, how much comes from data volume, and how much comes from the number of independent fits.
Why overfitting is an explanation with a scope
The overfitting analysis connects differences in task performance to differences in the privacy assessment. Within a class, a greater gap between training and held-out accuracy means that the correct task answer is observed at different rates in the two groups. That gives a concrete reason why classifier outputs can reveal something about membership. The authors find that classes with larger gaps tend to support more precise membership judgments.
The classwise view avoids losing important structure in the overall average. A broad task can contain classes for which most fitted and held-out examples are handled well, as well as classes for which the fitted examples receive much better predictions. Combined task accuracy blends those groups according to their representation in the sample. The classwise privacy test instead asks whether outcomes are distinguishable for records with the same true label. A difference visible at that level may matter even when the overall gap understates it.
The uncertainty plots extend that argument to successful predictions as well as mistakes. A correct decision tells the reader which score is largest. It leaves open whether the winner dominates the distribution or only narrowly leads. If fitted examples tend to get more decisive correct predictions and held-out examples tend to get less decisive ones, an accuracy calculation records both as successes. The output comparison can still reveal that the classifier behaves differently. The authors use normalized entropy to make that kind of difference visible.
Entropy also discards information. It summarizes how concentrated the scores are, regardless of which labels receive them. If two records get similarly concentrated predictions for different classes, the entropy comparison can miss differences visible to an evaluator who knows their true labels. The plots show that uncertainty sometimes tracks membership. They do not imply that each successful judgment can be attributed to entropy or reproduced using uncertainty alone. Correctness and entropy are useful diagnostics because they make some of the group differences understandable.
The comparison across cloud services gives the strongest qualification to a simple overfitting account. The Google retail classifier leaks more than either Amazon configuration even though one Amazon configuration shows a greater train–test accuracy gap. The training records are matched for the platform comparison, so the result concerns fitted behavior instead of a difference in who contributed data. A whole-task gap fails to rank these versions in order of membership leakage. The services’ undisclosed choices could contribute to the difference, but the test cannot isolate which choices matter.
The results on digits and census income provide another qualification. In the digit experiment, a visible difference between training and held-out task accuracy coexists with membership precision near the paper’s chance reference. On census income, the closely matched task accuracies accompany an even weaker membership result. The authors discuss the diversity of examples and the number of outputs as possible explanations. The comparison illustrates why a gap is a diagnostic of potential leakage and why the tested decision procedure still has to demonstrate that it can use the available information.
Taken together, the analyses support a limited but useful conclusion. Overfitting can create observable differences between fitted and held-out predictions. The magnitude and form of those differences depend on the data, the task, the classifier, and the interface. The success of a particular membership assessment also depends on whether it has adequate evidence for learning how to interpret those differences. Treating these as separate stages accounts for the strong results, the failures, and the partial improvements seen under the defenses.
Limitations
Limits the authors identify
The authors’ threat setting assumes that the candidate record is already available to the observer. In the main method, its true task label is also available. The question is whether that known example contributed to a particular training run. The privacy importance of an answer depends on what inclusion signifies. It can be highly significant for a collection associated with a disease. It can have a different meaning for a sample drawn for a general shopping or image-classification task.
The paper’s hospital example illustrates the conditions required for disclosure about a person. An observer would need a record that can be associated with that person, and the use of the record in training would have to convey a sensitive fact. The Texas experiment studies the first-order question of whether inclusion in the training split can be inferred. The authors say their experiments involved no attempt to re-identify individuals and complied with the public-use agreement. Their privacy argument concerns an exposure that could arise when a record and a person are linked in an application setting.
The authors also distinguish direct black-box access from access mediated by an application. The experiments generally assume that the recipient can submit an input in the expected format and see the prediction returned for it. A deployed application may transform user activity into inputs differently, combine predictions with other information, or expose only a downstream decision. The paper leaves such arrangements to their particular circumstances. Its label-only experiment helps establish that even a narrow prediction interface can carry some evidence, while the application’s actual observable behavior still determines whether that evidence is accessible.
Knowledge of the target’s training setup is another condition. The observer may know enough about the training procedure to construct a comparable classifier, or be able to train through the same platform. On the cloud services studied, access to the same service substitutes for knowledge of its internal choices. The experiment establishes that this substitute can suffice. The same result is not established for a situation in which the service no longer offers comparable training or the observer has access to an unrelated training procedure.
Comparable data are a separate requirement. The paper demonstrates alternatives to independent real records, but each relies on some way of representing the target’s task. The statistical condition needs information about feature distributions. The noisy-data condition needs observations close enough to the population of interest. The target-informed condition substitutes prediction access for prior population knowledge. This substitution leaves in place knowledge of what a valid input looks like and how to interpret the classifier’s classes and responses.
The authors explicitly limit target-informed synthesis to settings in which plausible examples can be found through the classifier’s responses. They mention complex tasks on high-resolution images as a setting where the approach may fail. A validly formatted input can be far from anything meaningful in the target’s domain. A useful proxy sample also needs examples across the relevant classes, which can be difficult when the target handles some of them poorly. The weak results for underrepresented retail classes provide a concrete instance of the second problem.
The preparation cost puts a practical boundary on the same result. The per-record membership decision and the preparation of the evaluator involve different resources. A decision may require only the response for the candidate, while preparation with target-informed data can involve repeated access to the target. The other data variants shift much of that preparation to population information available elsewhere. The reported results establish what was possible with the access and preparation used in the experiments. The authors’ comparison leaves the practicality of obtaining that access in another service to the conditions of that service.
The discussion of defenses also states a utility limit. Stronger regularization can make membership harder to infer while damaging prediction on held-out records. Increasing temperature far enough can make returned scores approach a common distribution and thereby remove their value as statements of relative confidence. The strength of a restriction matters because the system exists to answer a prediction question. A privacy result measured on an output that has lost much of its intended information has a different practical interpretation from a result achieved while retaining predictive usefulness.
For differential privacy, the authors distinguish the guarantee from the empirical defenses and emphasize the possible cost of stronger settings. Their claim concerns membership evidence obtained through the released classifier. It follows from limiting the effect of a record’s inclusion on the distribution of possible training outcomes. Other information about participation can be available from outside the classifier, and the argument is scoped to what its release contributes. The paper discusses that protection alongside its experiments with regularization and reporting choices. It does not report a comparison of differentially private training runs on the same defense tasks.
Limits apparent in the evaluation design
The main target evaluation deliberately uses equal-sized member and nonmember groups. This makes the overall accuracy reference easy to interpret and prevents the test from being dominated by the more common membership status. It also makes the observed positive predictive value specific to that mixture. If a deployed candidate pool contains many held-out or otherwise unrelated records for every actual member, positive calls on nonmembers can account for a larger share of all positive calls even when the procedure’s behavior within each group is similar.
The converse matters too. An observer may already have a reason to think a candidate belongs to a small set of likely members. In that setting, some positive judgments would have been plausible in advance. The experimental precision describes how often positive calls are correct in the study’s mixture. Estimating what the classifier adds in a deployment requires knowing something about the candidates before the response is observed. The balanced design makes an experimental comparison possible while leaving that prior information outside the measure.
Classwise results need a similar qualification. The authors randomly select records and report many measurements by true class. The overall pool is balanced by membership status, but each class can have its own composition and amount of evidence. A median across classes does not give every person’s record the same weight, and a pooled precision figure gives more influence to classes that account for more positive calls. Those are useful summaries for different questions. Neither can resolve uncertainty about every class, particularly when some groups account for a small share of the data.
The headline use of “accuracy” has to be interpreted through the reported denominators. The main retail figure summarizes precision across classes. Other comparisons pool calls across the dataset, and some report recall alongside precision. A result about the fraction of positive calls that are correct cannot be directly read as the fraction of all correct membership decisions. This is especially important when the fraction of actual members identified changes sharply between conditions. In that case, the stronger positive-call precision can accompany coverage of a much narrower subset.
The data used for the comparison also define what counts as a nonmember for the measured task. The paper generally compares examples from the target’s training population with examples held out from fitting. That choice is useful because it makes a distribution difference between populations a less plausible explanation. In a deployment, candidates can come from another time, place, or collection process. Differences attributable to those circumstances can alter the outputs whether or not any candidate contributed to training. The paper’s location perturbation varies the shadow data, so it studies a mismatch on the preparation side. It leaves open how a different population on the target’s candidate side would affect the privacy judgments.
A related issue is the unit of membership. The paper’s formal question concerns a data record with a task label. Some of its datasets represent an individual by a profile or shopping history, while the hospital example concerns a stay. Membership of a record can correspond to membership of a person when the representation and collection support that inference. If a person contributes several related records, deciding that a particular record was included is a more specific statement than deciding that any of the person’s records were included. The findings apply directly to the record-level question posed in the experiments.
Test-set disjointness also has a specific meaning. It ensures that records designated as held out were outside the corresponding training set. It does not imply that every held-out example is unlike every training example. The paper’s discussion of handwriting emphasizes how similar examples in a class can be. This difference between identity and resemblance helps explain why a classifier can respond similarly to distinct records, and why evaluating a decision about membership requires verified inclusion labels. A visually recognizable image or a confidently predicted category alone gives no such verification.
The study reports what its chosen procedure can infer. High performance on verified inputs is positive evidence of disclosure through the tested access. Weak performance supplies weaker evidence about privacy. A procedure can fail because the target responds similarly to members and nonmembers, because the shadow outputs fail to reproduce the relevant distinctions, or because the classifier used to interpret those outputs fails to recognize them. The experiment does not place a general bound on all information that could be extracted from the target’s behavior.
This asymmetry matters when the paper describes the Adult result as close to random guessing. The result gives a clear empirical weak case for the reported evaluation. The small measured train–test gap and the limited variation available in a binary probability vector give plausible explanations. Those observations do not establish that every binary task behaves the same way. Degrees of confidence and rates of misclassification can still differ between fitted and held-out examples in another binary setting. The paper demonstrates the narrower conclusion with the data and classifier it tested.
The digit result similarly draws attention to diversity without varying it independently. The authors suggest that the relative similarity of examples within a digit class contributes to the poor membership result. That is consistent with a classifier responding similarly to new and familiar examples of the same digit. The experiment also differs from the stronger image settings in other respects. It therefore gives evidence of a case in which the overall method finds little membership signal, while the separate contributions of class count, variation, and training behavior remain unmeasured.
Limits on the explanations of leakage
Several of the paper’s explanations are supported by associations. Under the study’s accuracy-gap measure, classes that generalize worse tend to support stronger membership inference. That finding makes overfitting a credible contributor. A class’s amount of training data, variation, and difficulty can also affect both quantities. The classwise plots do not independently vary each of those characteristics. They show where the relationships are visible in the fitted classifiers.
Training size is varied more directly in the CIFAR series. Even there, adding records changes the fitted examples and can change how accurately the classifier understands particular categories. The experiment answers what happened as the sampled training set grew under the chosen procedure. It cannot establish a training-set size at which disclosure disappears. The CIFAR-100 results demonstrate why such a threshold would be especially inappropriate to infer. High median membership precision persists across the tested sizes for that task.
Changing the number of purchase classes alters both the vector and the prediction problem. A finer partition can demand different distinctions, change the difficulty of generalization, and allocate fewer examples to some labels. The study observes the effect of making those changes together. It neither holds the learned decision problem fixed while adding output coordinates nor holds class composition fixed while changing the number of labels. The result links finer tasks with more observed leakage in the comparison, with several plausible pathways still present.
The finding about rare classes has a related ambiguity. If the target treats a rare class inconsistently, that behavior can make target-informed proxies less representative. A class with very few examples can also yield an unstable precision estimate because relatively few positive calls determine it. The authors attribute their weakest synthetic results to the difficulty of representing underpopulated classes. The reported pattern supports that interpretation, while the data available for those classes necessarily limit the granularity of the diagnosis.
The platform comparison avoids one important confound by fitting retail classifiers on the same training records. This makes the different privacy results especially informative for a customer choosing among the tested fitted systems. The platforms’ undisclosed algorithms, architectures, and training choices keep the causal explanation broad. Even if different classifier structures are responsible for part of the observed difference, the evidence cannot identify a particular structural feature. Nor do the comparisons establish that either platform would rank the same way on a different collection, task, or training sample.
Within Amazon ML, the altered configuration changes both the number of permitted passes and the regularization setting. The condition that leaks more also shows a larger accuracy gap. This supports the within-platform relationship between overfitting and leakage. The paired change provides no isolated estimate for either control. A reader therefore has a basis for comparing the studied configurations and a more limited basis for predicting the result of changing one setting in a different experiment.
The uncertainty analysis also has a methodological boundary. Entropy and accuracy make the output differences intelligible, and the plots show that those differences are visible in several successful settings. The membership classifiers use prediction information that can distinguish class identities and score distributions in more detail than either diagnostic. The analysis does not measure how much of the complete result would survive under a detector restricted to entropy or correctness. The evidence supports their role as observable symptoms of a difference between groups.
The paper’s internal reporting leaves a few settings uncertain at the stated level of precision. The location training-set size has different values in the data description and the setup. The target-informed retail precision differs between the prose and the figure caption. The example used to discuss average CIFAR class size also gives training sizes that do not match the corresponding listed evaluation series. These differences have distinct consequences. They leave some conditions ambiguous for reproducing a run, while the direction of the main comparisons is visible in the reported measurements. Precise claims about which split produced a given outcome need to respect that boundary.
Limits on the defense claims
The tested defenses are assessed through observed membership performance on locally fitted purchase and hospital classifiers. Their results concern those tasks, network settings, and ways of exposing predictions. A reporting change that preserves the winning class can leave classification accuracy unchanged while removing information that another application uses, such as how closely competing classes were scored. The paper measures utility primarily by task accuracy. That measure captures the intended classification decision and leaves other uses of the distribution outside the comparison.
The label-only result is strong evidence that discontinuing score publication can leave membership information in the response. Its scope still matters. The evaluator knows the underlying task labels and works with candidates like those from which the training and comparison samples were drawn. An application that reports a different kind of decision or applies rules beyond the classifier would require its own measurement. The paper provides a reason to examine such outputs instead of assuming that the absence of scores settles the question.
The temperature intervention likewise changes some aspects of a vector while leaving others available. The transformation preserves rank at positive temperatures. A flatter appearance is evidence of higher reported uncertainty, and the membership question concerns whether systematic differences remain observable. The study tests the resulting behavior in particular settings. It gives no universal temperature at which the relevant distinctions vanish while the output retains all of its previous uses.
Regularization should be interpreted as an empirical change to fitting, and its privacy effect is measured through the reported assessment. Smaller train–test differences can remove an important source of membership information, and the paper shows that better generalization and weaker inference can occur together. An improvement in the studied metrics establishes that the tested evaluator has less success against the intervention. It supplies no formal upper bound on disclosure from every possible query or decision rule.
Differential privacy answers a different question by controlling the influence of an individual record on training outcomes. Its relevance is strongest when the possible evidence about inclusion comes through the released result. The paper acknowledges that stronger settings can entail a cost to predictive accuracy and discusses earlier applications to a range of learning tasks. Its own results do not establish a particular privacy setting or accuracy cost for the purchase and hospital classifiers. The empirical comparisons and the formal protection therefore support different kinds of conclusions.
Finally, the paper’s policy argument concerns the services as observed in the experiments. Customers could obtain useful prediction interfaces without being able to inspect the training procedure or fully control regularization. That combination gives a platform reason to consider leakage as an outcome of training. The study does not evaluate every way of deploying a classifier or every form of participation risk. It establishes that black-box prediction can disclose training membership, that the disclosure varies substantially across the tested conditions, and that predictive accuracy alone gives an incomplete account of the exposure.
What came after
Membership inference as a question in its own right
Later work takes up both the specific privacy question and the broader issue of what a trained system retains about individual examples. The distinction is useful when following the citation trail. Some papers ask directly whether a candidate was used in training. Others ask what can be recovered, how particular examples affect learning, or whether the effect of training on particular data can be removed. Those questions all concern the relation between a fitted system and its data. They require different observations to answer.
Privacy Risk in Machine Learning takes up the connection between privacy and overfitting directly. The earlier paper had shown that a train–test accuracy gap can accompany leakage and that the size of the gap does not fully account for differences across classifiers. The later paper makes that connection the object of analysis. The shared question is how closely a system’s privacy risk follows from its fit to the training sample. This line of inquiry carries forward the distinction between an accuracy measurement and a judgment about participation. Privacy Risk in Machine Learning
Membership Inference Attacks From First Principles returns to the basic inference problem itself. The original work had framed membership as a decision about an example whose status is unknown, with known-status outputs from other classifiers supplying the evidence used to interpret the target. By making membership inference its central subject, the later work continues the question of what qualifies as evidence for that decision. The common problem can be stated independently of an application. Given an observation about a known record, how much does it distinguish a record used in training from one that was left out? Membership Inference Attacks From First Principles
Other papers carry the question from conventional classifiers to text. A purchase or hospital classifier exposes scores over pre-defined categories, and the candidate has a correct category available for comparison. A language model deals with the likelihood of text or its components in context. The overarching privacy question can persist when the structure of the output changes. The evidence still needs to distinguish the influence of training from the fact that a plausible input can receive a strong prediction because of regularities shared across many examples.
Membership Inference Attacks against Language Models via Neighbourhood Comparison identifies neighborhood comparison as its approach to that problem. The theme connects with a difficulty already visible in the earlier classwise analysis. Confidence has meaning relative to the kinds of records being compared. If an input is ordinary or easily predicted, a strong response may reflect its general familiarity as a kind of example. A comparison among neighboring examples gives a different way of framing what counts as a relevant reference when the input is text. The title establishes the comparison used to study membership, while the analogy concerns the role of an appropriate comparison group. Membership Inference via Neighbourhood Comparison
Quantifying Privacy Risks of Masked Language Models Using Membership Inference Attacks uses membership inference to characterize privacy risk in the masked-language setting. This is a direct extension of the earlier paper’s use of the inference task as a measurement. The form of prediction differs from a single choice among shopping styles or hospital procedures. The continuity is the aim of asking what predictions disclose about inclusion. A result in that setting needs to be interpreted against its own candidates, outputs, and standard for a correct membership decision. Quantifying Privacy Risks of Masked Language Models
Do Membership Inference Attacks Work on Large Language Models? places the effectiveness question at the center of the investigation. It is a natural question in light of the range of outcomes in the earlier paper. The privacy method worked strongly on several tasks, had uneven coverage in one preparation condition, and scarcely separated the groups in others. The later title asks whether the approach works in a setting with different data and predictions. It keeps the empirical question open, as the earlier comparisons suggest it should be. Do Membership Inference Attacks Work on Large Language Models?
Proving Test Set Contamination in Black Box Language Models applies a related concern to evaluation data. If benchmark material has appeared in training, a strong test result can be harder to interpret as success on unfamiliar material. The privacy paper’s experimental split made known inclusion and exclusion the basis for evaluating its membership judgments. The contamination question reverses the practical perspective. The benchmark’s status is itself what an observer wants evidence about, and the system is accessible as a black box. A claim about the participation of a test set concerns a collection of examples, giving it a different unit of inference from the original record-level decision. Proving Test Set Contamination in Black Box Language Models
What a system retains and what it can reveal
Another line of work examines memorization and extraction. In the membership paper, the candidate is in hand before the query, and the answer being sought is whether that candidate contributed to training. Extraction is concerned with obtaining content from the fitted system. Memorization concerns the retention of details from the training material, which can matter for either question. An observer can have credible evidence of inclusion without recovering any of the candidate’s content, and an output that resembles known material still needs evidence connecting it to a particular training source.
The Secret Sharer examines and tests unintended memorization in neural networks. Its subject relates to the earlier paper’s explanation that fitted systems can retain information about their training examples in ways that affect observable behavior. The earlier experiments measured that effect through discrimination between groups of known status. A study of unintended memorization addresses the retention itself as an object of evaluation. The distinction matters because the presence of retained information, its visibility in a prediction, and the ability to interpret that prediction are separate stages in a privacy claim. The Secret Sharer
Extracting Training Data from Large Language Models poses the content-recovery question for text-generating systems. Its relationship to membership inference is especially clear if one asks what the observer begins with. In the original study, the record supplies the input to a privacy decision. The goal of a study on extracting training data is to recover material. These goals can overlap when recovered text is linked to training, but they support different kinds of claims. Correctly classifying the membership of known records gives no direct measure of how much previously unknown material can be recovered. Extracting Training Data from Large Language Models
Scalable Extraction of Training Data from (Production) Language Models carries that extraction topic into the setting named in its title, with scale and production systems as the focus. The link to the membership paper is the concern that access to a working service can expose information about the data behind it. The observable outcome differs. The earlier paper measured decisions for candidates of verified status. A study of scalable extraction concerns recovering content in a setting where the system is already in production. The distinction between what a service exposes and how its training is hidden remains relevant in both. Scalable Extraction of Training Data
Analyzing Leakage of Personally Identifiable Information in Language Models focuses on a particular kind of sensitive content. The original paper’s motivating hospital example shows how sensitivity may attach to the fact of participation even if the observer has the candidate’s attributes. Work on personally identifiable information addresses the privacy implications of the content itself appearing through a fitted system. Both topics require care about the link to a person. They differ in whether the disclosure being assessed is a fact about inclusion or the identifying material. Analyzing Leakage of Personally Identifiable Information
How Much Do Language Models Copy From Their Training Data? examines linguistic novelty in generated text. Copying gives a visible relationship between a generated response and prior material. Judging novelty therefore raises a comparison question of its own. The original paper’s inversion discussion already showed why resemblance to a class can be insufficient evidence for the participation of an example. A study of copying asks about the relationship between generated text and training material, while a membership study asks for an inclusion decision about a known candidate. The wording of the claims matters because common patterns can account for similarities even where record identity is the fact of interest. Evaluating Linguistic Novelty in Text Generation Using RAVEN
Speak, Memory focuses on books known to ChatGPT and GPT-4. It puts the relation between a system and recognizable source material at the center of the question. The earlier paper treats membership at the granularity of a prepared record. A book is a larger unit than a single response or an individual textual example. Evidence of familiarity with material from a book, provenance of a particular passage, and inclusion of a complete work are different claims. The book-centered subject makes the unit of interest an important part of the connection to training membership. Speak, Memory
Data composition and the influence of examples
The original results raise questions about how the composition of the training set changes what can be learned and what can later be observed. Common classes often showed less leakage by the authors’ classwise measure, while underrepresented classes could also be difficult to evaluate with target-informed synthetic data. Those patterns concern how many examples represent aspects of a task and how representative those examples are. Later work on the influence and repetition of examples examines other ways in which the composition of a training collection can matter.
What Neural Networks Memorize and Why investigates memorization in relation to the long tail through influence estimation. The long tail in its title draws attention to examples or patterns with relatively little representation. That question is related to the earlier observations about class size, though the object of analysis changes from classwise membership precision to what a fitting process retains and why. An example can matter to a learned prediction because few other examples support the same distinction. How much that influence helps identify the example’s membership is a further question about what the fitted system exposes. What Neural Networks Memorize and Why
Deduplicating Training Data Mitigates Privacy Risks studies a change to the training data themselves. Deduplication concerns repeated material. It makes the preparation of the collection part of the privacy analysis, alongside training and the form of the released output. The earlier paper varied training sizes and class composition and examined what could be learned from independently fitted classifiers. The later work’s stated focus is repetition, a separate attribute of how observations appear in a sample. That focus gives a reason to distinguish a collection’s total size from the recurrence of a particular piece of content. Deduplicating Training Data Mitigates Privacy Risks
Deduplicating Training Data Makes Language Models Better takes up performance under the same broad kind of data intervention. The connection to the membership paper comes through the possibility that an intervention can improve prediction and affect what becomes visible about the training material. In the earlier defense experiments, the intervention that could align those outcomes was regularization during training. In the later title, the change concerns the preparation of the dataset. The two deduplication papers identify privacy and language performance as reasons to study repeated content, with the particular claims of each tied to its own investigation. Deduplicating Training Data Makes Language Models Better
Removing information and surveying broader risks
Work on unlearning asks what happens after the system has already been trained. The original paper gives a way to ask whether prior participation remains detectable in what a classifier releases. Unlearning addresses the related problem of changing the fitted system’s relation to some of the material it learned from. Evaluating removal can involve several questions. An output may stop revealing a particular piece of content, behavior toward that content may resemble behavior towards held-out material, or performance on other content may be preserved. These are different forms of evidence about what has changed.
Knowledge Unlearning for Mitigating Privacy Risks in Language Models brings the privacy objective into the subject of unlearning. The link to the membership study lies in the distinction between prediction utility and exposure from training. In the original defense comparisons, interventions were judged partly by whether the classifier kept doing its intended task. The unlearning topic poses an analogous evaluation question for the removal of particular information. The title identifies privacy risk as the reason for studying removal in this setting. Knowledge Unlearning for Mitigating Privacy Risks
TOFU presents a task of fictitious unlearning for large language models. A task built around fictitious material provides a different setting for asking about the treatment of designated information. The original paper’s use of controlled membership labels made the status of examples verifiable in its experiments. The connection is through the need for an evaluation in which the records of interest can be specified and questions about them checked. The task named by TOFU concerns unlearning, so the outcome to be assessed is a change in the system’s relation to that material after training. TOFU
The later reviews place privacy of training data within larger subjects. Advances and Open Problems in Federated Learning cites the membership study in the context of a field concerned with federated training. The original paper gives that broader subject a concrete distinction. A training arrangement can limit who has direct access to examples, while predictions remain a separate source of information about participation. This is the same conceptual distinction the paper drew when it discussed computation over protected data and the behavior of the resulting classifier. Advances and Open Problems in Federated Learning
Privacy Preservation in Federated Learning surveys the subject from the GDPR perspective named in its title. The relation to membership inference is the status of training participation as a potential disclosure. The classifier’s outputs matter because keeping records out of direct view addresses only one part of the privacy question. A person’s participation can remain consequential when it links them to a sensitive collection. A survey with a data-protection perspective gives that consequence a broader context than the original paper’s experimental comparison of prediction interfaces. Privacy Preservation in Federated Learning
On the Opportunities and Risks of Foundation Models places risks from training in the context of much broader system use. The earlier cloud study already considered a separation between the data owner, the service doing the training, and the people who could access predictions. The foundation-model setting gives the question a different application context and keeps the connection between useful behavior and possible disclosure relevant. The scope indicated by the later title includes many opportunities and risks, with membership inference contributing a specific question about the records behind a fitted system. On the Opportunities and Risks of Foundation Models
A Survey on Large Language Model Security and Privacy and Security and Privacy Challenges of Large Language Models situate the citation within surveys of systems that generate or score text. The earlier paper supplies a precise privacy question in that wider subject. A participant can face a disclosure about inclusion even when an observer begins with the record and never obtains access to internal parameters. Studies of memorization, extraction, and leakage of identifying content address related consequences. Keeping the intended disclosure explicit gives each result a clear interpretation within the broader security and privacy literature. A Survey on Large Language Model Security and Privacy and Security and Privacy Challenges of Large Language Models
Across these later directions, the original paper provides a narrowly defined empirical test. It specifies the candidate, establishes what it means for that candidate to have participated, and compares observable behavior against records whose status is known. Later work changes the system, the unit of evidence, or the outcome of interest. A document may replace a structured record, recovered content may replace a membership judgment, or removal may replace initial exposure as the object of study. The common question is what the behavior of a trained system can establish about the data that shaped it.
Institutions
Fields, topics and concepts
Shelves 2The field of science this work belongs to (OpenAlex fields).Computer Science · 19,503 worksArtificial Intelligence · 18,805 works
Cite
Cite as Reza Shokri, Marco Stronati, Congzheng Song and Vitaly Shmatikov. 2016. Membership Inference Attacks against Machine Learning Models. arXiv:1610.05820.
@misc{shokri2016membership,
title = {{Membership Inference Attacks against Machine Learning Models}},
author = {Reza Shokri, Marco Stronati, Congzheng Song and Vitaly Shmatikov},
year = {2016},
doi = {10.48550/arxiv.1610.05820},
eprint = {1610.05820},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.1610.05820}
}References
- M. Abadi, A. Chu, I. Goodfellow, H. B. McMahan, I. Mironov, K. Talwar, and L. Zhang, “Deep learning with differential privacy,” in CCS, 2016. our card
- G. Ateniese, L. V. Mancini, A. Spognardi, A. Villani, D. Vitali, and G. Felici, “Hacking smart machines with smarter ones: How to extract meaningful data from machine learning classifiers,” International Journal of Security and Networks, vol. 10, no. 3, pp. 137–150, 2015. OpenAlex ↗ · Scholar ↗
- M. Backes, P. Berrang, M. Humbert, and P. Manoharan, “Membership privacy in MicroRNA-based studies,” in CCS, 2016. OpenAlex ↗ · Scholar ↗
- M. Barni, P. Failla, R. Lazzeretti, A. Sadeghi, and T. Schneider, “Privacy-preserving ECG classification with branching programs and neural networks,” Trans. Info. Forensics and Security, vol. 6, no. 2, pp. 452–468, 2011. OpenAlex ↗ · Scholar ↗
- R. Bassily, A. Smith, and A. Thakurta, “Private empirical risk minimization: Efficient algorithms and tight error bounds,” in FOCS, 2014. OpenAlex ↗ · Scholar ↗
- J. Bos, K. Lauter, and M. Naehrig, “Private predictive analysis on encrypted medical data,” J. Biomed. Informatics, vol. 50, pp. 234–243, 2014. OpenAlex ↗ · Scholar ↗
- J. Calandrino, A. Kilzer, A. Narayanan, E. Felten, and V. Shmatikov, ““You might also like:” Privacy risks of collaborative filtering,” in S&P, 2011. OpenAlex ↗ · Scholar ↗
- K. Chaudhuri and C. Monteleoni, “Privacy-preserving logistic regression,” in NIPS, 2009. OpenAlex ↗ · Scholar ↗
- K. Chaudhuri, C. Monteleoni, and A. Sarwate, “Differentially private empirical risk minimization,” JMLR, vol. 12, pp. 1069–1109, 2011. OpenAlex ↗ · Scholar ↗
- I. Diakonikolas, M. Hardt, and L. Schmidt, “Differentially private learning of structured discrete distributions,” in NIPS, 2015. OpenAlex ↗ · Scholar ↗
- W. Du, Y. Han, and S. Chen, “Privacy-preserving multivariate statistical analysis: Linear regression and classification.” in SDM, 2004. OpenAlex ↗ · Scholar ↗
- C. Dwork, “Differential privacy,” in Encyclopedia of Cryptography and Security. 1em plus 0.5em minus 0.4em Springer, 2011, pp. 338–340. OpenAlex ↗ · Scholar ↗
- C. Dwork, F. McSherry, K. Nissim, and A. Smith, “Calibrating noise to sensitivity in private data analysis,” in TCC, 2006. OpenAlex ↗ · Scholar ↗
- C. Dwork and M. Naor, “On the difficulties of disclosure prevention in statistical databases or the case for differential privacy,” J. Privacy and Confidentiality, vol. 2, no. 1, pp. 93–107, 2010. OpenAlex ↗ · Scholar ↗
- C. Dwork, A. Smith, T. Steinke, J. Ullman, and S. Vadhan, “Robust traceability from trace amounts,” in FOCS, 2015. OpenAlex ↗ · Scholar ↗
- M. Fredrikson, S. Jha, and T. Ristenpart, “Model inversion attacks that exploit confidence information and basic countermeasures,” in CCS, 2015. OpenAlex ↗ · Scholar ↗
- M. Fredrikson, E. Lantz, S. Jha, S. Lin, D. Page, and T. Ristenpart, “Privacy in pharmacogenetics: An end-to-end case study of personalized Warfarin dosing,” in USENIX Security, 2014. OpenAlex ↗ · Scholar ↗
- M. Hardt, B. Recht, and Y. Singer, “Train faster, generalize better: Stability of stochastic gradient descent,” in ICML, 2016. OpenAlex ↗ · Scholar ↗
- T. Hastie, R. Tibshirani, J. Friedman, and J. Franklin, “The elements of statistical learning: Data mining, inference and prediction,” The Mathematical Intelligencer, vol. 27, no. 2, pp. 83–85, 2005. OpenAlex ↗ · Scholar ↗
- G. Hinton, O. Vinyals, and J. Dean, “Distilling the knowledge in a neural network,” arXiv:1503.02531, 2015. our card
- N. Homer, S. Szelinger, M. Redman, D. Duggan, W. Tembe, J. Muehling, J. V. Pearson, D. A. Stephan, S. F. Nelson, and D. W. Craig, “Resolving individuals contributing trace amounts of DNA to highly complex mixtures using high-density SNP genotyping microarrays,” PLoS Genetics, vol. 4, no. 8, 2008. OpenAlex ↗ · Scholar ↗
- G. Jagannathan and R. Wright, “Privacy-preserving distributed k-means clustering over arbitrarily partitioned data,” in KDD, 2005. OpenAlex ↗ · Scholar ↗
- P. Jain, V. Kulkarni, A. Thakurta, and O. Williams, “To drop or not to drop: Robustness, consistency and differential privacy properties of dropout,” arXiv:1503.02031, 2015. OpenAlex ↗ · Scholar ↗
- A. Krizhevsky, “Learning multiple layers of features from tiny images,” Master's thesis, University of Toronto, 2009. OpenAlex ↗ · Scholar ↗
- M. J. Kusner, J. R. Gardner, R. Garnett, and K. Q. Weinberger, “Differentially private Bayesian optimization,” in ICML, 2015. OpenAlex ↗ · Scholar ↗
- Y. Lindell and B. Pinkas, “Privacy preserving data mining,” in CRYPTO, 2000. OpenAlex ↗ · Scholar ↗
- F. McSherry, “Statistical inference considered harmful,” https://github.com/frankmcsherry/blog/blob/master/posts/2016-06-14.md, 2016. OpenAlex ↗ · Scholar ↗
- B. Rubinstein, P. Bartlett, L. Huang, and N. Taft, “Learning in a large function space: Privacy-preserving mechanisms for SVM learning,” J. Privacy and Confidentiality, vol. 4, no. 1, p. 4, 2012. OpenAlex ↗ · Scholar ↗
- S. Sankararaman, G. Obozinski, M. I. Jordan, and E. Halperin, “Genomic privacy and limits of individual detection in a pool,” Nature Genetics, vol. 41, no. 9, pp. 965–967, 2009. OpenAlex ↗ · Scholar ↗
- R. Shokri and V. Shmatikov, “Privacy-preserving deep learning,” in CCS, 2015. OpenAlex ↗ · Scholar ↗
- N. Srivastava, G. Hinton, A. Krizhevsky, I. Sutskever, and R. Salakhutdinov, “Dropout: A simple way to prevent neural networks from overfitting,” JMLR, vol. 15, no. 1, pp. 1929–1958, 2014. our card
- F. Tramèr, F. Zhang, A. Juels, M. K. Reiter, and T. Ristenpart, “Stealing machine learning models via prediction APIs,” in USENIX Security, 2016. OpenAlex ↗ · Scholar ↗
- J. Vaidya, M. Kantarcıoğlu, and C. Clifton, “Privacy-preserving Naive Bayes classification,” VLDB, vol. 17, no. 4, pp. 879–898, 2008. OpenAlex ↗ · Scholar ↗
- M. Wainwright, M. Jordan, and J. Duchi, “Privacy aware learning,” in NIPS, 2012. OpenAlex ↗ · Scholar ↗
- P. Xie, M. Bilenko, T. Finley, R. Gilad-Bachrach, K. Lauter, and M. Naehrig, “Crypto-nets: Neural networks over encrypted data,” arXiv:1412.6181, 2014. OpenAlex ↗ · Scholar ↗
- D. Yang, D. Zhang, and B. Qu, “Participatory cultural mapping based on collective behavior data in location-based social networks,” ACM TIST, vol. 7, no. 3, p. 30, 2016. OpenAlex ↗ · Scholar ↗
- J. Zhang, Z. Zhang, X. Xiao, Y. Yang, and M. Winslett, “Functional mechanism: Regression analysis under differential privacy,” VLDB, vol. 5, no. 11, pp. 1364–1375, 2012. OpenAlex ↗ · Scholar ↗
- J. Zhu and T. Hastie, “Kernel logistic regression and the import vector machine,” in NIPS, 2001. OpenAlex ↗ · Scholar ↗
This page in Markdown https://md.research.elamur.ai/free/en/papers/shokri-2016-membership-inference-attacks-against-machine/