 Research
 Open Access
 Published:
Efficient differentially private learning improves drug sensitivity prediction
Biology Direct volume 13, Article number: 1 (2018)
Abstract
Background
Users of a personalised recommendation system face a dilemma: recommendations can be improved by learning from data, but only if other users are willing to share their private information. Good personalised predictions are vitally important in precision medicine, but genomic information on which the predictions are based is also particularly sensitive, as it directly identifies the patients and hence cannot easily be anonymised. Differential privacy has emerged as a potentially promising solution: privacy is considered sufficient if presence of individual patients cannot be distinguished. However, differentially private learning with current methods does not improve predictions with feasible data sizes and dimensionalities.
Results
We show that useful predictors can be learned under powerful differential privacy guarantees, and even from moderatelysized data sets, by demonstrating significant improvements in the accuracy of private drug sensitivity prediction with a new robust private regression method. Our method matches the predictive accuracy of the stateoftheart nonprivate lasso regression using only 4x more samples under relatively strong differential privacy guarantees. Good performance with limited data is achieved by limiting the sharing of private information by decreasing the dimensionality and by projecting outliers to fit tighter bounds, therefore needing to add less noise for equal privacy.
Conclusions
The proposed differentially private regression method combines theoretical appeal and asymptotic efficiency with good prediction accuracy even with moderatesized data. As already the simpletoimplement method shows promise on the challenging genomic data, we anticipate rapid progress towards practical applications in many fields.
Reviewers
This article was reviewed by Zoltan Gaspari and David Kreil.
Background
The widespread collection of private data, in the health domain both by individuals and hospitals, creates a major opportunity to develop new services by learning predictive models from the data. Privacypreserving algorithms are required and have been proposed, but for instance anonymisation approaches [1–3] cannot guarantee privacy against adversaries with additional side information, and are poorly suited for genomic data where the entire data vector is identifying [4]. Guarantees of differential privacy [5, 6] remain valid even under these conditions [6], and differential privacy has arisen as the most popularly studied strong privacy mechanism for learning from data.
Genomics is an important domain for privacyaware modelling, in particular for precision medicine. Many people wish to keep their and also their relatives’ genomes private [7], and simple anonymisation is not sufficient to protect the privacy since a genome is inherently identifiable [4]. Furthermore, individual genomes can be recovered from summary statistics [8] as well as phenotype data such as gene expression data [9]. Hence, the hospital or clinic holding the genomic data will need to be very cautious about privacy risks when releasing any genomic data, even though the data would be needed and useful for future diagnoses and treatment decisions. These findings have motivated a number of privacypreserving methods for genomewide association studies, based on differential privacy [10–12] as well as relaxations that provide more accurate modelling results under weaker privacy guarantees [13]. Previous research in drug dosing for personalised medicine has shown that inefficient differentially private models may put the patients at severe risk [14].
Our work for this paper is motivated by modelling for personalised medicine. One possible learning scenario in this field is illustrated in Fig. 1 where the party developing the predictive model has unrestricted access to at most a very limited data set (bottom left), for example from local patients willing to share their data or from large public research projects with liberal data sharing practices. At the same time there are potentially a lot more data available from other sources (top), but access to those is constrained by privacy concerns. A similar setting was considered previously in [15], which presents a simple mechanism for combining public and private data for logistic regression, but the results they obtain are quite inaccurate. In contrast, our approach for linear regression is asymptotically efficient and yields significantly more accurate results for reasonablysized privacyprotected data sets than any previous method. This creates a promise for new type of data sharing that can find effective compromises between the utility of the data for learning new models and the privacy of the data subjects.
Approach
Efficient differentially private learning
Differential privacy [5, 6] is a formulation of reasonable privacy guarantees for privacypreserving computation. It gives guarantees about the output of a computation and can be combined with complementary cryptographic approaches such as homomorphic encryption [16] if the computation process needs protection too. An algorithm \(\mathcal {M}\) operating on a data set \(\mathcal {D}\) is said to be differentially private if for any two data sets \(\mathcal {D}\) and \(\mathcal {D}'\), differing only by one sample, the ratio of probabilities of obtaining any specific result c is bounded as
Because of similarity between \(\mathcal {D}\) and \(\mathcal {D}'\) the probabilities need to be similar to satisfy the condition. Differential privacy is preserved in postprocessing, which makes it flexible to use in complex algorithms. The ε is a privacy parameter interpretable as a privacy budget, with higher values corresponding to less privacy preservation. Differentially private learning algorithms are usually based on perturbing either the input [5, 17], output [5, 18] or the objective [19, 20].
Here we apply differential privacy to regression. The aim is to learn a model to predict the scalar target y_{ i } from ddimensional inputs x_{ i } (Fig. 1) as y_{ i }=f(x_{ i })+η_{ i }, where f is an unknown mapping and η_{ i } represents noise and modelling error. We wish to design a suitable structure for f and a differentially private mechanism for efficiently learning an accurate private f from a data set \(\mathcal {D} = \{(x_{i}, y_{i})\}_{i=1}^{n}\).
We argue that a practical differentially private algorithm needs to combine two things: (i) it needs to provide asymptotically efficiently private estimators so that the excess loss incurred from preserving privacy will diminish as the number of samples n in the data set increases; (ii) it needs to perform well on moderatelysized data.
It was recently shown that perturbation of sufficient statisics of an exponential family model leads to asymptotically efficient differentially private Bayesian inference [21, 22]; to cover the second equally important criterion the methods of this paper are additionally needed. Asymptotic efficiency is nevertheless important because such methods always allow reaching stronger privacy with more samples.
While asymptotic efficiency is a nice guarantee, alone it is of little help for a specific learning problem with a fixed finite data set with size far from the asymptotic regime. It is difficult to prove the optimality of a method on finite data so performance needs to be studied empirically. We argue that for a method to perform well it needs to be designed to control the amount of shared private information. This has two components: (a) the dimensionality needs to be reduced, to avoid the inherent incompatibility of privacy and high dimensionality which has been discussed previously [23], and (b) robustness needs to be introduced by bounding and transforming each variable (feature) to a tighter interval. Controlling the amount of shared information also introduces a tradeoff: compared to the nonprivate setting, decreasing the dimensionality may degrade the performance of the nonprivate approach (at least when reducing to a very low dimensionality), while a corresponding lowdimensional private algorithm may attain higher performance than a higherdimensional one. This behaviour can be seen in the results of Fig. 6a where higherdimensional differentially private algorithms perform worse than lowerdimensional ones, while for nonprivate algorithms a higher dimensionality would be better.
The essence of differential privacy is to inject a sufficient amount of noise to mask the differences between the computation results obtained from neighbouring data sets (differing by only one entry). The definition depends on the worstcase behaviour, which implies that suitably limiting the space of allowed results will reduce the amount of noise needed and potentially improve the results. In the output perturbation framework this can be achieved by bounding the possible outputs [18].
Here we propose a more powerful approach of bounding the data by projecting outliers to tighter bounds. The current standard practice in private learning is to linearly transform the data to desired bounds [20]. This is clearly suboptimal as a few outliers can force a very small scale for the other points. Significantly higher signaltoprivacynoise ratio can be achieved by setting the bounds to cover the essential variation in the data and projecting the outliers separately inside these bounds. This approach also robustifies the analysis against outliers as the projection can be made independent of the outlier scale. When applied to linear regression, we call the resulting model robust private linear regression. It is illustrated in Fig. 2.
Algorithm overview
We incorporate differentially private learning into Bayesian linear regression. The linear regression model for scalar target y_{ i }, with ddimensional input x_{ i } and fixed noise precision λ, is defined by
where β is the unknown parameter to be learnt. The λ and λ_{0} are the precision parameters of the corresponding Gaussian distributions, and act as regularisers. Assuming the precision parameters are known and fixed, then given an observed data set \(\mathcal {D} = \{(x_{i}, y_{i})\}_{i=1}^{n}\), all information about the data can be summarised by the sufficient statistics \(n\overline {xx} = \sum _{i=1}^{n} x_{i} x_{i}^{T}\) and \(n\overline {xy} = \sum _{i=1}^{n} x_{i} y_{i}\), which together with the prior completely determine the resulting posterior distribution. Instead of fixing the precision parameters, they can be assigned prior distributions. In that case, given an observed data set and sufficient statistics \(n\overline {xx}\), \(n\overline {xy}\) and \(n\overline {yy}=\sum _{i=1}^{n} y_{i}^{2}\), we can use automatic differentiation variational inference (ADVI) [24] to fit a variational distribution to the posterior and then draw samples from the fitted distribution. We use ADVI because it gives similar results as Hamiltonian Monte Carlo sampling but significantly faster.
The robust private linear regression is based on perturbing these sufficient statistics. We use independent ε_{ i }differentially private Laplace mechanisms [5] for perturbing each statistic with ε_{ i }=p_{ i }ε for each i=1,2,3 and p_{1}+p_{2}+p_{3}=1. By the differential privacy composition theorem they together provide an εdifferentially private mechanism.
To improve the robustness of the method, we project the outliers in the private data sets to fit the data in the intervals [−B_{ x },B_{ x }] and [−B_{ y },B_{ y }]. A more detailed description of the learning is in “Methods” section.
Results
Optimal privacy budget split on synthetic data
We find the optimal privacy budget split by generating an auxiliary data set of size n samples (here n=500) using the method described in “Methods” section. As illustrated in Fig. 3, the optimal split gives the largest proportion of the privacy budget to the term \(n\overline {xy}\) (60%), the second largest proportion to the term \(n\overline {xx}\) (35%), and the smallest possible proportion to the term \(n\overline {yy}\) (5%).
Effectiveness of data bounding on synthetic data
The importance of the projection is illustrated by the simulation results shown in Fig. 4. The simulation shows that aggressive projection can lead to clear improvement in the prediction accuracy. The figure shows the accuracy of simulated experiments as a function of the projection threshold represented as standard deviations away from the mean. As shown in the figure, the optimal threshold can be less than 0.5 sd away from the mean which implies that a significant majority of the data points get projected.
Drug sensitivity prediction
Methods We applied the robust private linear regression model to predict drug sensitivity given gene expression data, in a setup where a small internal data set can be complemented by a larger set only available under privacy protection (Fig. 1). We used an experimental setting similar as in the recent DREAMNCI drug sensitivity prediction challenge [25]; we also evaluate the results with the same measures, that is, Spearman’s rank correlation and weighted probabilistic concordance (wpc) index.
The data are from the Genomics of Drug Sensitivity in Cancer (GDSC) project [26, 27] (release 6.1, March 2017, http://www.cancerrxgene.org). Sensitivity measurements of 265 drugs for a panel of 985 human cancer cell lines are combined with gene expression data for the cell lines. The dimensionality of the RMAnormalised gene expression data was reduced from d=17,490 down to 64 based on prior knowledge about genes that are frequently mutated in cancer, provided by the GDSC project at http://www.cancerrxgene.org/translation/Feature. We further ordered the genes based on their mutation counts as reported at http://cancer.sanger.ac.uk/cosmic/curation. Drug responses were quantified by logtransformed IC50 values (the drug concentration yielding 50% response) from the dose response data measured at 9 different concentrations. The mean was first removed from each gene, x_{ ij }:=x_{ ij }−mean(x_{1:n,j}), and each data point was then normalised to have L2norm ∥x_{ i }∥_{2}=1, which focuses the analysis on relative expression of the selected genes, and equalises the contribution of each data point. The mean was removed from drug sensitivities, y_{ i }:=y_{ i }−mean(y_{1:n}).
The sensitivity to each drug was predicted with Bayesian linear regression. We compared the proposed robust private linear regression to stateoftheart differentially private linear regression approaches that are based on output perturbation [18] and the functional mechanism [20]. Outputperturbed LR learns parameters β using the same LR model in Eq. (2), but instead of statistics the parameters are perturbed, in a dataindependent manner. Our implementation of outputperturbed LR makes use of the minConf optimisation package [28]. For functional mechanism LR we used the code publicly available at https://sourceforge.net/projects/functionalmecha/.
We carried out a 50fold Monte Carlo crossvalidation process for different splits of the data set into train and test sets using different random seeds. For each repeat, we randomly split the 985 cell lines to two sets: 100 for testing and the rest for the training. We further randomly partitioned the training set to 30 nonprivate cell lines and used the rest as the private data set. In the experiments, we tested nonprivate data sizes from 0 to 30, and private data sizes from 100 to 800. After defining each split, the samples with missing drug responses were dropped, making the number of cell lines different across different drugs. The hyperparameters for the Gamma priors of precision parameters λ,λ_{0} in Eq. (9) were set to a=b=a_{0}=b_{0}=2. The Gamma(2,2) distribution has mean 1 and variance 1/2 and defines a realistic distribution over sensible values of precision parameters which should be larger than zero. We implemented the model and carried out the inference with the PyMC3 Python module [29]. Using ADVI, we fitted a normal distribution with uncorrelated variables to the posterior distribution. We computed the drug response predictions using m=5000 samples from the fitted variational distribution. The optimal privacy budget split was based on prediction performance averaged over five auxiliary data sets of 500 synthetic samples (approximately half of the GDSC data set size) and five generated noise samples, and for each split, the optimal projection thresholds were chosen similarly based on average performance over five auxiliary data sets and five noise samples. The prediction for each split was computed using m=5000 samples drawn from the variational distribution fitted with ADVI. The final optimal projection thresholds for each test case were chosen using the optimal budget split and based on average prediction performance over 20 auxiliary data sets and 20 noise samples. All auxiliary data sets were generated by fixing the precision parameter values to the prior means, λ=λ_{0}=1. The prediction for each pair of projection thresholds was also computed using fixed precision parameters as in Eqs. (6) and (7), as generating samples from the fitted variational distribution for all test cases would have been infeasible in practice.
Results The prediction accuracies of the compared methods are illustrated in Fig. 5. Unlike the earlier differentially private methods, the proposed robust private linear regression can improve the prediction accuracy (ranking of new cell lines [25] to sensitive vs insensitive as measured by Spearman’s rank correlation and the wpcindex) over the baseline of using only a small internal data set, when feasible amounts of privacy protected data are received. The outputperturbed linear regression is able to learn something from the private data too, but its performance is significantly worse than with the proposed approach. Results with more stringent privacy (ε=1 instead of ε=2) in Additional file 1: Figure S3 show overall lower accuracy for the private methods but are again qualitatively similar.
The comparison includes nonprivate lasso regression which was the bestperforming method in the DREAM drug sensitivity prediction challenge [25] using only expression data. Nonprivate lasso regression is clearly superior to the other methods for Spearman’s rank correlation. With the more relevant wpcindex, nonprivate linear regression is on par with nonprivate lasso regression and the proposed robust private linear regression is quite close behind. Overall, our differentially private method using 800 samples is on par with nonprivate lasso regression with 200 samples, suggesting we can match the accuracy of the stateoftheart nonprivate predictions under differential privacy with a reasonable increase in the number of samples needed. The good performance of the lasso regression which ultimately uses a linear model also suggests that with better feature selection, private linear regression could potentially do even better.
Among the stateoftheart differentially private algorithms, the output perturbation method [18] is the most accurate one, but it is still significantly less accurate than the proposed method. The relatively poor performance of the output perturbation method on our benchmark compared to their previously reported results is due to the difficulty and higher dimensionality of our prediction task.
To improve prediction performance in differentially private learning, tradeoffs need to be made between dimensionality and the amount of data (Fig. 6a), and between the strength of privacy guarantees and the amount of data (Fig. 6c). In our experiments the amount of optional nonprivate data matters significantly only when there is very little private data (Fig. 6b), which is probably due to the fact that every sample gets equal weight in the model regardless of its origin.
To understand the reason for the success of the robust private linear regression, we also tested it without the projection step. The proposed nonlinear projection of the data to tighter bounds is clearly the key to the success of the method, as without it the method performs very poorly (green line for Private LR in Fig. 5), and is not able to improve prediction performance using the available data. Because of the different formulations they are based on, the alternative differentially private algorithms considered here cannot directly benefit from the projection to decrease the amount of injected noise and hence would not experience a similar improvement in accuracy.
The effect of the projection is studied further in Additional file 1: Figure S4 which includes a nonprivate robust linear regression using the projection approach. The performance of this approach is slightly worse than that of the regular linear regression. This verifies our assumption that best private learning methods are not direct translations of best nonprivate methods but new methods that take into account the privacy constraints.
Discussion
A key question which needs to be answered before applying differentially private methods in practical personalised medicine, is whether they can compromise patient safety as previously warned [14]. If there are sufficient amounts of data available without restrictions on their use, the more accurate nonprivate methods are certainly preferable. However, we believe in more realistic scenarios the amount of nonrestricted data is limited, and larger sets are only available under privacy restrictions. As demonstrated by our results, the proposed differentially private methods can provide more accurate predictions in this case. Furthermore, because of the asymptotic efficiency of the method, the extra “price” for privacy diminishes as the size of the data set increases.
At the heart of any privacyaware data analysis is a tradeoff between privacy and utility of the data in the analysis. The only way to ensure perfect privacy is not to use the data at all, which corresponds to zero utility. The interesting question is how much utility can be obtained under reasonable privacy guarantees. Asymptotically efficient differentially private methods always allow reaching a utility arbitrarily close to that of the corresponding nonprivate model by adding more samples. In the context of the results reported here the asymptotic efficiency of the method means that larger data sets available in the future will allow higher prediction accuracy, stronger privacy guarantees or some combination of both.
The modelling setup of Fig. 1 and the ability of our method to effectively combine data sets under different privacy requirements creates a promise of new methods of sharing and utilising privacysensitive data. Because there have not been learning algorithms capable of leveraging on privacyprotected data sets, data owners have not had reasons to share data in a privacyprotected manner. Now we hope that new methods, including the ones presented in this paper, will help motivate more differentially private data sharing that can then in turn increase their utilisation, which will enable better predictions and further better healthcare and services even more generally.
In this paper we have focused on scalar targets in regression. There is a trivial extension of the same algorithm that yields a (q+1)ε/2differentially private algorithm for qdimensional targets, which is nonideal when q is large. A simple way around this is to increase the number of samples as doubling the number of samples allows halving ε with equivalent accuracy. Still, careful selection of which targets to model or some dimensionality reduction in the target space will likely be useful for large q.
Robust private linear regression treats nonprivate and scrambled private data similarly in the model learning. An interesting next step for further improving the accuracy on very small private data would be to give different weights to the clean and privacyscrambled data by incorporating knowledge of the injected noise in the Bayesian inference, as has been proposed for generative models [30], but which is nontrivial in regression.
Conclusions
We presented methodology that can make use of personal genomic data for precision medicine modelling under a strict differential privacy quarantee. Through improvements in the previously unappreciated data scaling and projection, the simpletoimplement method constitutes a foundation for designing practical differentially private learning methods. We were able to obtain dramatically more accurate predictions in the very challenging drug sensitivity prediction task, utilising moderatesized, privacyprotected data. Moreover, being asymptotically efficient, the loss in performance relative to nonprivate approach will diminish as the amount of data grows. The differentially private modelling will likely have a significant impact not only in precision medicine but also in machine learning more generally and change the way sensitive data are stored and utilised.
Methods
Robust private linear regression
We project the outliers in the private data sets to fit the data in the intervals [−B_{ x },B_{ x }] and [−B_{ y },B_{ y }] as
After the projection, ∥x_{ i }∥_{ ∞ }≤B_{ x } and y_{ i }≤B_{ y }, where ∥x_{ i }∥_{ ∞ }= maxjx_{ ij }. We add noise to the sufficient statistics as
This generalises earlier work on bounded variables [21] to the unbounded case by introducing the projection. It can be shown that this yields a valid differentially private mechanism (Additional file 1: Supplementary Information).
Posterior inference and prediction
If the precision parameters λ and λ_{0} are assumed to be known and fixed, then given an observed data set \(\mathcal {D} = \{(x_{i}, y_{i})\}_{i=1}^{n}\) with sufficient statistics \(n\overline {xx} = \sum _{i=1}^{n} x_{i} x_{i}^{T}\) and \(n\overline {xy} = \sum _{i=1}^{n} x_{i} y_{i}\), the posterior distribution of β is Gaussian, \(p(\beta  \mathcal {D}) = N(\beta ;\; \mu _{*}, \Lambda _{*})\), with precision
and mean
After learning with the training data set \(\mathcal {D}_{\text {train}}\), the prediction of y_{ i } given x_{ i } is computed as follows:
A more robust alternative is to define prior distributions for the precision parameters. In our case, a Gamma prior is assigned for both:
A variational normal distribution is fitted to the posterior with ADVI. The precision parameters and correlation coefficients β are then sampled from the fitted distribution. For this purpose, the data likelihood in Eq. (2) needs to be expressed in terms of the sufficient statistics \(n\overline {xx}\), \(n\overline {xy}\) and \(n\overline {yy}=\sum _{i=1}^{n} y_{i}^{2}\), which results in
The prediction of y_{ i } is computed using x_{ i } and averaging over a sufficiently large number m of sampled regression coefficients β^{(k)} as
For evaluation we keep a part of the data set \(\mathcal {D}\) aside as \(\mathcal {D}_{\text {test}}\) (not used for training), and after predicting \(\hat {y}_{i}\), we evaluate the error between the actual y_{test,i} and \(\hat {y}_{i}\). In this paper, we do this using Spearman’s rank correlation coefficient to evaluate how well the predictions separate sensitive and insensitive cell lines.
Determining the privacy budget split and projection thresholds
The privacy budget proportions p_{1}, p_{2}, p_{3} and the projection thresholds B_{ x } and B_{ y } are important parameters for good performance. We propose finding the optimal parameter values on an auxiliary synthetic data set of the same size, which was found to be effective in our case. We generate the auxiliary data set of n samples using a generative model similar to the one specified in Eq. (2):
where d is the dimension.
For all possible combinations of (p_{1},p_{2},p_{3})∈{0.05,0.1,…,0.90}^{3}, where p_{1}+p_{2}+p_{3}=1, we project the data using thresholds for the current split, and we perturb the sufficient statistics according to the current budget split. We compute the prediction as in Eq. (11) using samples drawn from the variational distribution fitted with ADVI and compute the error with respect to the original values. The error measure we use is Spearman’s rank correlation between the original and predicted values. The split which gives the minimum error is used in all test settings.
We parametrise the projection thresholds as a function of the data standard deviation as
where the σ_{ x } and σ_{ y } are the standard deviations of x (considering all dimensions) and y, respectively. With all 400 pairs of (B_{ x },B_{ y }) as specified above, we apply the outlier projection method of Eq. (4). We fit the model using the projected values and then compute the error with respect to the original values. The pair of (ω_{ x },ω_{ y }) which gives the minimum error is used to define the (B_{ x },B_{ y }) for the real data as in Eq. (13). As the error we used Spearman’s rank correlation between original y_{1:n} and predicted \(\hat {y}_{1:n}\) based on the model learnt with projected values.
Combining internal and external data sets
Our modelling setup (Fig. 1) allows combining nonprivate data (also called internal data) with data requiring privacy protection. Multiple data sets can be combined in the Bayesian modelling framework by adding the sufficient statistics \(n\overline {xx}\), \(n\overline {xy}\) and \(n\overline {yy}\) arising from various data sets together to produce aggregate sufficient statistics for the combined data. Data sets requiring privacy protection can be protected by adding noise to the corresponding sufficient statistics as described.
Algorithm details
We first determine the optimal budget split p_{1}, p_{2}, p_{3} and then choose the optimal parameters ω_{ x }, ω_{ y } using the synthetic auxiliary data method as described above. We test the algorithm using Monte Carlo crossvalidation. For each repeat, we normalise the data and compute the standard deviation σ_{ x } of the input data and σ_{ y } of the target data from the normalised private data set. The projection thresholds B_{ x }, B_{ y } are then computed as in Eq. (13) and both the private and nonprivate training data are projected using the same acquired thresholds as in Eq. (4). The prediction for the test data is computed from ADVI samples as in Eq. (11). The precision is computed between the predicted and actual y_{ i } for the test data.
Alternative interpretation: transformed linear regression
The outlier projection mechanism can also be interpreted to produce a transformed linear regression problem,
where the functions ϕ_{ y }() and ϕ_{ x }() implementing the outlier projection can be defined as
The normalisation of data can also be included as a transformation. This interpretation makes explicit the flexibility in designing the transformations: the differential privacy guarantees will remain valid as long as the transformations obey the bounds
Reviewers’ comments
Reviewer’s report 1: Zoltan Gaspari, Pazmany Peter Catholic University, Hungary
While the manuscript might be of interest to the statistics community, in its present form it seems to provide little biological significance. The paper describes how the sensitivity of different linear regression models changes as a function of the amount of anonymized data. The fact that drugsensitivity data are used is merely a technical choice, the manuscript provides no novel insights and the obtained rank correlations (on real data) seem to be irrelevant even in the best cases.
Authors’ response:We wish to thank the reviewer for expressing his opinion but respectfully disagree. Far from being merely a technical choice, solving the drug sensitivity prediction task was our primary motivation when developing the method, and we strongly believe the drug sensitivity modelling community would benefit significantly from the work as a proof of principle that this kind of privacypreserving modelling is possible. This finding could have farreaching implications to future data generation and sharing for similar tasks, given the privacy concerns with broad availablity of human genomic data. Given the risk of model inversion attacks, even highly refined published models carry a risk of leaking private data used in the training.
It is not clear how the method relates to previously published ones (http://www.nature.com/nbt/journal/v32/n12/fig_tab/nbt.2877_T1.html?foxtrotcallback=true) and whether it is comparable to those at all.
Authors’ response: The results are not directly comparable because we are using a different data set with more samples but fewer features. We have now added a new comparison to nonprivate lasso regression that was the best method using only expression data in the DREAM challenge (linked above). As shown in Fig. 5, nonprivate lasso regression performs really well on the Spearman’s rank correlation, but with the more relevant weighted probabilistic concordance index its results are quite similar to nonprivate linear regression and our private method is not too far behind. In summary, our differentially private method using 800 samples is on par with nonprivate lasso regression with 200 samples, suggesting we can match the accuracy of the stateoftheart nonprivate predictions under differential privacy with a reasonable increase in the number of samples needed.
The biological relevance of the bounding of the values and the omission of data in order to reduce the dimensions should also be justified. It is not at all trivial that these steps are allowed without losing relevant biological information and insights.
Authors’ response: All models are simplifications of the world and ours is no different. Interpretability and prediction accuracy of a model are often at odds. We believe our model attains a good compromise in this respect because ultimately we only combine nonlinear clipping transformations of scalar variables with easily interpretable linear regression. Finding new and even better compromises that yield accurate predictions while maintaining even higher biological interpretability is an interesting avenue for future research.
I recommend that the work should be presented in a way that allows the judgment of the biological relevance of the resulting analysis and the possible loss of information introduced by the transformations. It is highly desirable that the description of the approach includes a case with real data where both retaining the biological significance and the privacy issues can be clearly and effectively shown.
Authors’ response: As noted above, we have added a new comparison with the topperforming method from the DREAM challenge using only expression data. All experiments have been performed with the largest available collection of real data, so we believe we are addressing the question as well as possible without extensive and very expensive new data collection.
Reviewer’s report 2: David Kreil, University of Warwick, UK
Increasingly, there are not just academic analyses but also public concerns about the privacy of patient data. For instance, data sharing arrangements between a company developing modern algorithms for precision medicine (DeepMind) and a group of hospitals of the U.K. National Health Service were vocally objected, with the privacy of patient data questioned in the public press [*]. Especially in this context, the recent work of Honkela et al. reported in their manuscript on Efficient differentially private learning improves drug sensitivity prediction are of general interest and may have substantial impact beyond their immediate field of research.
Machine learning algorithms preserving differential privacy need to strike many tradeoffs, and the development of approaches that guarantee some degrees of privacy while inferring accurate models for prediction is a novel and highly active field of research [**]. Established approaches include randomly perturbing the input, the objective, or the output of a model in training. Besides questions of privacy guarantees and learning efficiency, there is a practical aim of effectively exploiting a combination of private and public data sets with the hope of deriving better models than can be learned from public data alone. The authors seek to address this challenge in the context of linear regression models.
It would be interesting if the authors could relate their analysis to prior work looking into combining public and private data, such as distributed differentially private regression [***].
Authors’ response: Thanks for pointing this out. Ji et al. [15] have combined public and private data in a different problem, using a naive algorithm. They have a clever idea of only using the public data to compute the Hessian matrix needed for Newton–Raphson optimisation of logistic regression as this can be more sensitive to the DP noise, but otherwise the algorithm is highly suboptimal and the classification accuracy is not high. We have now discussed this at the end ofBackground section.
The authors propose and assess a novel feature mapping that clips extreme data values to specified bounds. Together with adding noise to a set of sufficient statistics, this yields a differentially private mechanisms (as shown in a Supplement to an identically entitled arxiv deposition of the authors). The analysis then proceeds to characterize this approach, both in terms of the response to parameter choices for the method as well as its properties for different private and public data set sizes. Nicely, this clipping of unusual data points reduces the amount noise that the differentially private regression mechanism requires to meet its privacy guarantees. The authors emphasize that while the method performs better with more data as required, they already obtain good results for realistic, reasonably small data sizes. For sufficiently large private data sets, the relative penalty for differential privacy begins to vanish. The authors take great care in determining method parameters in a principled way, examining robustness, and crossvalidating their results. While the simulations to determine an optimal privacy budget splice between the different sufficient statistics may use data that look different to ‘real’ data, this will not affect the validity of the subsequent characterization of their method. If anything, conclusions will be conservative. The realworld data used for characterizing their approach make use of a recent release of the Genomics of Drug Sensitivity in Cancer (GDSC) project, and thus an uptodate and topical use case is employed.
It might in addition also be interesting to see how strongly performance varies for different kinds of data and regression problems to examine the effects of domain specific types of noise (more or less heavy tailed), biases and correlations in the data, as well as the effects of the dimensionality of the regressors.
Authors’ response: We have studied the performance of the proposed method using synthetic data, both higherdimensional data and also using a Student’s t distribution with 1 degree of freedom, which has much heavier tails than the normal distribution. We have included two figures in the Supplementary corresponding to these two experiments. The outcome of these experiments regarding the effect of bounding threshold on data samples is similar to results in the main text (Fig. 4), but with different curvatures.
The authors in conclusion raise the possibility of future followup work on further improving the algorithm’s promising performance on very small private data sets. The authors largely evaluate performance for a privacy parameter epsilon =2. Their Fig. 6c explores a range of epsilon =1..3. While other methods have already been failing for higher epsilon =5, Wu et al. [17] have shown promising regression results for epsilon as low as 0.1. What do the authors observe for their approach for such low privacy budgets and reasonable data set sizes (assuming patient numbers are fixed within a range as shown in Fig. 5)?
Authors’ response: We have compared with the method by [17] (now [18]) in our experiments: output perturbed LR (the blue curve in Fig. 5). Among the stateoftheart differentially private algorithms, the output perturbation technique by [18] is the most accurate one, but it is still clearly inferior compared to the proposed method. It is worth noting that [18] was able to achieve a very low mean squared error (MSE) over parameters on a very different dataset. Our dataset is quite different and more challenging, for example due to higher dimensionality. Our evaluation metric corresponds to the one used in the DREAM challenge and is more relevant to the task than MSE. We have included this discussion in the“Results” section.
Further to Fig. 5, I was struck by the relatively low correlation coefficients achieved (0.1..0.3) even without guarantees of differential privacy. This contrasts with the much higher values achieved in simulation (0.7, Fig. 3). If that is to be expected for these data, is Spearman rank correlation perhaps not an ideal measure for prediction performance?
Authors’ response: We have considered the evaluation policy by [25] to use wpcindex and Spearman’s rank correlation coefficient. We believe these metrics focus better on the task of distinguising between suitable and unsuitable drugs for a particular patient instead of wasting modelling effort on predicting specific effective concentrations. The updated manuscript uses both metrics more evenly.
Finally, what are the authors’ thoughts regarding the challenge of model inversion attacks with improved model quality, as also discussed by Wu et al. [17]? Do the robustification / bounding steps potentially contribute to alleviating this issue somewhat?
Authors’ response: From the study by Wu et al. [17] (now [18]), it is evident that vulnerability to inversion attacks is correlated with the privacy budget. That is, with lower value of the differential privacy parameter (ε) the model is more robust to attacks. This is a major motivation for our work; to find maximally accurate models that work with as small εas possible. Detailed study of model inversion attacks for drug sensitivity prediction is an important topic for future work.
References [*] https://www.cnbc.com/2017/07/03/googledeepmindnhsdealhealthdataillegalicosays.html [**] Aldeen et al. A comprehensive review on privacy preserving data mining. SpringerPlus. 2015, and Dwork & Roth. The Algorithmic Foundations of Differential Privacy. FnTTCS. 2014 [***] Ji Z, Jiang X, Wang S, Xiong L, and L OhnoMachado. (2014) Differentially private distributed logistic regression using private and public data. BMC Medical Genomics 7, S14. Numbered citations are to references cited in the original manuscripts itself.
Editorial and minor points: The manuscript should be selfsufficient, so instead of citing the Supplement of their identically titled arxiv deposition that provides further methodological, I think it would be better if the authors could please add this information to the Additional file 1 or appendix of this manuscript.
Authors’ response: We have included the information as Additional file 1to the current paper.
Page 2 “symmetry between D and” → “similarity”? Page 3 “we can automatic differentiation” → “we can use...”? Please introduce variables and symbols on first use; it may also be helpful for some readers to define the norm “ ∥x_{ i }∥_{ ∞ }= maxi(x_{ i })” on page 7 Figures should be shown and numbered in the order in which they are referenced in the text. Currently, the second figure referenced is Fig. 6.
Authors’ response: We have rectified all of the above issues.
Abbreviations
 ADVI:

Automatic differentiation variational inference
 DP:

Differential privacy
 GDSC:

Genomics of drug sensitivity in cancer
 LR:

Linear regression
References
 1
Bayardo RJ, Agrawal R. Data privacy through optimal kanonymization. In: Proc. 21st Int. Conf. Data Eng. (ICDE 2005): 2005. https://doi.org/10.1109/icde.2005.42.
 2
Machanavajjhala A, Kifer D, Gehrke J, Venkitasubramaniam M. Ldiversity: Privacy beyond kanonymity. TKDD. 2007; 1(1):3. https://doi.org/10.1145/1217299.1217302.
 3
Li N, Li T, Venkatasubramanian S. tcloseness: Privacy beyond kanonymity and ldiversity. In: Proc. ICDE 2007: 2007. https://doi.org/10.1109/icde.2007.367856.
 4
Gymrek M, McGuire AL, Golan D, Halperin E, Erlich Y. Identifying personal genomes by surname inference. Science. 2013; 339(6117):321–4. https://doi.org/10.1126/science.1229566.
 5
Dwork C, McSherry F, Nissim K, Smith A. Calibrating noise to sensitivity in private data analysis. In: Proc. TCC 2006: 2006. https://doi.org/10.1007/11681878_14.
 6
Dwork C, Roth A. The algorithmic foundations of differential privacy. Found Trends Theor Comput Sci. 2014; 9(3–4):211–407. https://doi.org/10.1561/0400000042.
 7
Naveed M, et al. Privacy in the genomic era. ACM Comput Surv. 2015; 48(1):1–44. https://doi.org/10.1145/2767007.
 8
Homer N, et al. Resolving individuals contributing trace amounts of DNA to highly complex mixtures using highdensity SNP genotyping microarrays. PLoS Genet. 2008; 4(8):1000167. https://doi.org/10.1371/journal.pgen.1000167.
 9
Harmanci A, Gerstein M. Quantification of private information leakage from phenotypegenotype data: linking attacks. Nat Methods. 2016; 13(3):251–6. https://doi.org/10.1038/nmeth.3746.
 10
Uhler C, Slavkovic AB, Fienberg SE. Privacypreserving data sharing for genomewide association studies. J Priv Confidentiality; 5(1):6.
 11
Yu F, Fienberg SE, Slavković AB, Uhler C. Scalable privacypreserving data sharing methodology for genomewide association studies. J Biomed Inform. 2014; 50:133–41. https://doi.org/10.1016/j.jbi.2014.01.008.
 12
Simmons S, Berger B. Realizing privacy preserving genomewide association studies. Bioinformatics. 2016; 32(9):1293–1300. https://doi.org/10.1093/bioinformatics/btw009.
 13
Tramèr F, Huang Z, Hubaux JP, Ayday E. Differential privacy with bounded priors. In: Proc. CCS 2015: 2015. https://doi.org/10.1145/2810103.2813610.
 14
Fredrikson M, Lantz E, Jha S, Lin S, Page D, Ristenpart T. Privacy in pharmacogenetics: An endtoend case study of personalized warfarin dosing. In: Proc. 23rd USENIX Security Symp. (USENIX Security 2014). Berkeley: USENIX Association. p. 17–32.
 15
Ji Z, Jiang X, Wang S, Xiong L, OhnoMachado L. Differentially private distributed logistic regression using private and public data. BMC Med Genomics. 2014; 7(Suppl 1):S14. https://doi.org/10.1186/175587947S1S14.
 16
Gentry C. A fully homomorphic encryption scheme. PhD thesis, Stanford University. 2009.
 17
Blum A, Dwork C, McSherry F, Nissim K. Practical privacy: the SuLQ framework. In: Proc. PODS 2005: 2005. https://doi.org/10.1145/1065167.1065184.
 18
Wu X, Fredrikson M, Wu W, Jha S, Naughton JF. Revisiting differentially private regression: Lessons from learning theory and their consequences. 2015. [cs.CR]. http://arxiv.org/abs/1512.06388.
 19
Chaudhuri K, Monteleoni C. Privacypreserving logistic regression. In: Adv. Neural Inf. Process. Syst. 21. Red Hook: Curran Associates;2008. p. 289–296.
 20
Zhang J, Zhang Z, Xiao X, Yang Y, Winslett M. Functional mechanism: Regression analysis under differential privacy. PVLDB. 2012; 5(11):1364–75.
 21
Foulds J, Geumlek J, Welling M, Chaudhuri K. On the theory and practice of privacypreserving Bayesian data analysis. In: Proc. UAI 2016. Corvallis: AUAI Press;2016. p. 192–201.
 22
Honkela A, Das M, Dikmen O, Kaski S. Efficient differentially private learning improves drug sensitivity prediction. arXiv:1606.02109. 2016. [stat.ML], http://arxiv.org/abs/1606.02109. (Revised version 2017.)
 23
Duchi JC, Jordan MI, Wainwright MJ. Privacy aware learning. J ACM. 2014; 61(6):1–57. https://doi.org/10.1145/2666468.
 24
Kucukelbir A, Tran D, Ranganath R, Gelman A, Blei DM. Automatic differentiation variational inference. J Mach Learn Res; 18(14):1–45.
 25
Costello JC, Heiser LM, Georgii E, Gönen M, Menden MP, Wang NJ, Bansal M, Ammaduddin M, Hintsanen P, Khan SA, Mpindi JP, Kallioniemi O, Honkela A, Aittokallio T, Wennerberg K, NCI DREAM Community, Collins JJ, Gallahan D, Singer D, SaezRodriguez J, Kaski S, Gray JW, Stolovitzky G. A community effort to assess and improve drug sensitivity prediction algorithms. Nat Biotechnol. 2014; 32(12):1202–12. https://doi.org/10.1038/nbt.2877.
 26
Yang W, et al. Genomics of drug sensitivity in cancer (GDSC): a resource for therapeutic biomarker discovery in cancer cells. Nucleic Acids Res. 2013; 41(Database issue):955–61. https://doi.org/10.1093/nar/gks1111.
 27
Garnett MJ, et al. Systematic identification of genomic markers of drug sensitivity in cancer cells. Nature. 2012; 483(7391):570–5. https://doi.org/10.1038/nature11005.
 28
Schmidt M, van den Berg E, Friedlander M, Murphy K. Optimizing costly functions with simple constraints: A limitedmemory projected quasinewton algorithm. In: Proc. AISTATS. 2009. PMLR 5:456463, 2009. http://proceedings.mlr.press/v5/schmidt09a/schmidt09a.pdf.
 29
Salvatier J, Wiecki TV, Fonnesbeck C. Probabilistic programming in Python using PyMC3. PeerJ Comput Sci. 2016; 2:55. https://doi.org/10.7717/peerjcs.55.
 30
Williams O, McSherry F. Probabilistic inference and differential privacy. In: Adv. Neural Inf. Process. Syst. 23. Red Hook: Curran Associates. p. 2451–2459.
Acknowledgements
We would like to thank Muhammad Ammaduddin for assistance in data processing. We acknowledge the computational resources provided by the Aalto ScienceIT project.
Funding
This work was funded by the Academy of Finland [Centre of Excellence COIN and grants 259440, 278300, 283107, 283193, 292334, 294238, 303815, 303816].
Availability of data and materials
Datasets used in these studies have been derived from public resources and have been referred to in the paper.
Author information
Affiliations
Contributions
AH and SK jointly conceived the setup and supervised the project. AH, MD, OD and SK designed the overall methodology and experiments. MD conceived the method of projecting outliers to tighter bounds. MD and AN implemented the method and performed the experiments with assistance from AH and OD All authors interpreted the results and contributed to writing and editing the manuscript. All authors read and approved the final manuscript.
Corresponding author
Correspondence to Samuel Kaski.
Ethics declarations
Ethics approval and consent to participate
Not applicable.
Consent for publication
Not applicable.
Competing interests
The authors declare that they have no competing interests.
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Additional file
Additional file 1
Supplementary Information for “Efficient differentially private learning improves drug sensitivity prediction”. (PDF 342 kb)
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License(http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The Creative Commons Public Domain Dedication waiver(http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated.
About this article
Cite this article
Honkela, A., Das, M., Nieminen, A. et al. Efficient differentially private learning improves drug sensitivity prediction. Biol Direct 13, 1 (2018). https://doi.org/10.1186/s1306201702034
Received:
Accepted:
Published:
Keywords
 Differential privacy
 Linear regression
 Drug sensitivity prediction
 Machine learning