[Paper Review] A Differentially Private Wilcoxon Signed-Rank Test
This paper presents a differentially private variant of the Wilcoxon signed-rank test using Pratt's modified test statistic and a simulation-based p-value calculation to improve statistical power. It achieves 40% of the data size required by the prior state-of-the-art (Task and Clifton, 2016), significantly closing the gap between private and non-private hypothesis testing for paired data.
Hypothesis tests are a crucial statistical tool for data mining and are the workhorse of scientific research in many fields. Here we present a differentially private analogue of the classic Wilcoxon signed-rank hypothesis test, which is used when comparing sets of paired (e.g., before-and-after) data values. We present not only a private estimate of the test statistic, but a method to accurately compute a p-value and assess statistical significance. We evaluate our test on both simulated and real data. Compared to the only existing private test for this situation, that of Task and Clifton, we find that our test requires less than half as much data to achieve the same statistical power.
Motivation & Objective
- To develop a differentially private hypothesis test for paired-sample data that maintains high statistical power under privacy constraints.
- To address the limitations of existing private Wilcoxon tests, which suffer from low statistical power due to excessive noise and suboptimal test statistic estimation.
- To provide a practical, accurate, and efficient method for computing p-values in the presence of differential privacy noise.
- To demonstrate the utility of the proposed test on both simulated and real-world datasets, including NYC taxi data.
- To correct a significant error in the prior work of Task and Clifton (2016) and validate improvements through rigorous comparison.
Proposed method
- The authors adopt Pratt’s variant of the Wilcoxon signed-rank test, which handles zero differences more effectively than the original, and prove its sensitivity is bounded for differential privacy.
- They design a private algorithm that adds Laplace noise to the Pratt statistic, ensuring (ε,0)-differential privacy with a tight sensitivity bound.
- A simulation-based approach is used to numerically approximate the reference distribution of the noisy test statistic, enabling accurate p-value computation.
- The method accounts for the noise distribution in p-value calculation, avoiding overestimation of significance that can occur with upper-bound approximations.
- The algorithm is implemented and evaluated across multiple sample sizes and privacy budgets (ε=1), with comparisons to the Task and Clifton (TC) method.
- The authors correct a critical flaw in the TC method’s critical value estimation, which previously led to inflated Type I error rates.
Experimental results
Research questions
- RQ1Can a differentially private version of the Wilcoxon signed-rank test be constructed with higher statistical power than existing methods?
- RQ2Does using Pratt’s modified test statistic improve privacy-utility trade-offs compared to the classical Wilcoxon statistic?
- RQ3Can accurate p-values be computed in the presence of differential privacy noise without relying on conservative upper bounds?
- RQ4How does the proposed test perform on real-world data, such as NYC taxi ride records, under meaningful privacy budgets?
- RQ5To what extent does the new method reduce the data size required to achieve the same statistical power compared to prior work?
Key findings
- The proposed test achieves statistical power comparable to the non-private Wilcoxon test, requiring only 40% of the data size needed by the Task and Clifton (2016) method to detect the same effect at ε=1.
- The simulation-based p-value computation method provides significantly more accurate significance assessment than the upper-bound approximations used in prior work.
- The correction of a critical error in the Task and Clifton method’s critical value calculation results in a more reliable test with properly controlled Type I error rates.
- On real-world NYC taxi data, the proposed test achieves power close to the public test even at a sample size of 400, demonstrating practical utility.
- The test outperforms both the original TC method and its high-utility variant, showing that both the choice of test statistic and p-value method are essential for improved power.
- The algorithm is efficient and practical, with publicly available source code enabling reproducibility and real-world deployment.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.