Most privacy research in machine learning focuses on classification: determining if a data point belongs to a discrete category. However, many of the most sensitive real-world applications—predicting a patient's "brain age" from an MRI, estimating the binding affinity of a new drug molecule, or calculating the value of a financial transaction—are regression tasks.
Regression models present a unique privacy challenge because they deal with continuous, high-precision values. Unlike classification, where a label is one of a few choices, a regression label can be any number. This precision makes the data more "identifiable" and, paradoxically, harder to protect.
The Precision Vulnerability
In classification, the model's output is a probability distribution over a few classes. This provides a natural "buffer"; small changes in the input might not change the predicted class. In regression, however, the output is a direct numerical value.
As Haoze Qiu and colleagues point out in Defending Label Inference Attacks in Split Learning under Regression Setting, this precision makes regression models significantly more vulnerable to gradient inversion. When a model trains on a continuous label, the resulting gradient is a high-fidelity signal of the exact target value. An attacker eavesdropping on these gradients can reconstruct the original sensitive labels with much higher accuracy than they could in a classification setting.
This vulnerability extends to other types of attacks. Francesco Diana and Giovanni Neglia demonstrated in Attribute Inference Attacks for Federated Regression Tasks that regression models in federated learning leak sensitive user attributes more easily than classification models. Because the regression loss function is often more sensitive to individual data points, the model's updates carry a more distinct "fingerprint" of the training data.
The Gap in Membership Inference
Membership Inference Attacks (MIA)—which aim to determine if a specific individual's data was used in a training set—have been extensively studied for classifiers but remain an "open question" for regression.
Researchers like Umang Gupta have shown that neuroimaging models predicting biological age are highly susceptible to MIA, often reaching over 80% accuracy by exploiting model overfitting (Membership Inference Attacks on Deep Regression Models for Neuroimaging). Similarly, Fabian Krüger and Ola Engkvist warn in Publishing Neural Networks in Drug Discovery Might Compromise Training Data Privacy that sharing models for drug binding affinity can leak confidential chemical structures.
Despite these risks, standard defenses like MIST, developed by Bruno Ribeiro, are primarily optimized for classification. Adapting these "membership-invariant" frameworks to continuous output spaces is a critical frontier for privacy research (MIST: Defending Against Membership Inference Attacks Through Membership-Invariant Subspace Training).
Label Differential Privacy for Numbers
When features are public but labels are sensitive (e.g., an ad is public, but the purchase amount is private), we use Label Differential Privacy (LabelDP). In classification, LabelDP is simple: you occasionally "flip" a label to a different category. But how do you "flip" a continuous number like $70.5$?
If you simply add random noise (like Laplace noise) to the labels, the model's accuracy plummets. This is because standard noise can push values far outside the original distribution. To solve this, Badih Ghazi, Ravi Kumar, and their team at Google proposed Randomized Response on Bins (RR-on-Bins) in Regression with Label Differential Privacy. They discretize the continuous range into bins and apply a randomized response, effectively turning the regression problem into a temporary classification problem to provide privacy, then mapping it back to a numerical value.
Why Unbiasedness Matters
The breakthrough in making private regression practical came from shifting the focus from variance to bias.
In Optimal Unbiased Randomizers for Regression with Label Differential Privacy, Ashwinkumar Badanidiyuru and Pritish Kamath argue that for a neural network to learn, the privatized labels don't need to be close to the original labels on a point-by-point basis. Instead, the expected value of the noisy labels must equal the true label.
Intuition: If you add massive noise to every label, but that noise averages out to zero over the whole dataset, a deep learning model will eventually "see through" the noise and converge on the true underlying pattern. By using unbiased randomizers, researchers can provide strong privacy guarantees while allowing the model to achieve high accuracy, provided it has enough data to average out the privatization noise.