Private Synthetic Data Generation for Continuous Data via Adaptive Binning and K-Means

Koki Kugimiya, Papangkorn Inkeaw, Vorapong SuppakitpaisarnarXiv 2026

TL;DR

Generating differentially private synthetic tabular data often relies on stable graphical models like PrivMRF—which have a major catch: they only accept categorical inputs. When you force continuous, skewed real-world numbers into equal-width bins to make them fit, privacy noise drowns out the sparse regions and ruins your data before synthesis even begins. This paper introduces a clever, privacy-accounted "domain interface" using adaptive binning and K-Means to smartly discretize continuous features beforehand and reconstruct them afterward, dramatically rescuing downstream machine learning utility under strict privacy budgets.

What Problem Does This Paper Address?

Suppose you have a sensitive tabular dataset and want to release a synthetic version that preserves statistical patterns without leaking anyone's identity. Enter Differential Privacy (DP), which bounds individual disclosure risk by injecting calibrated mathematical noise. Because DP has a neat "post-processing" property, once you spend your privacy budget ($\epsilon$) to generate a synthetic dataset, researchers can run endless analyses on it for free.

For tabular data, marginal-based graphical models like PrivMRF (Private Markov Random Fields) are gold standards. Instead of modeling an impossibly huge joint distribution, PrivMRF privately measures informative 1D or 2D column summaries and stitches them together. It is far more interpretable and stable than finicky neural generators like GANs.

The catch? PrivMRF strictly requires finite categorical inputs. To feed it continuous numbers, practitioners usually default to equal-width binning—chopping a feature’s range into identical intervals. If your data is skewed (say, income or astrophysical signals), most data crowds into one or two bins—losing fine detail—while the remaining bins sit nearly empty. When DP adds noise to those near-empty bins, the signal is obliterated.

Fig. 1. Our distribution-aware discretizations for applying PrivMRF to continuous data.

Methods

Instead of altering PrivMRF’s core engine, the authors build a private, univariate discretization and reconstruction wrapper around it. The total privacy budget $\epsilon$ is split between learning the bins ($\epsilon_{\text{bin}}$, divided equally across continuous features) and running PrivMRF ($\epsilon_{\text{mrf}}$, typically a 50:50 split).

While the underlying DP tools are standard, the novelty lies in orchestrating them into a stable, end-to-end pipeline using two alternative strategies:

  1. DP K-Means Binning: Runs 1D differentially private K-Means on each continuous column to find $B_j$ private cluster centers, encoding values by their nearest center. The clever twist: Repeated noisy updates make centroids wander wildly when privacy budgets are tight. If the per-feature budget is $\le 0.8$, the algorithm dynamically restricts K-Means to a single iteration ($T=1$), trading fine convergence for crucial stability. Synthetic bin IDs are later reconstructed back into numbers using those private centroids.
  2. Noisy-CDF Adaptive Binning: Divides a feature into 2,000 tiny micro-bins, adds Laplace noise to their counts, and accumulates them into a noisy Cumulative Distribution Function (CDF). Because noise creates weird bumps and impossible downward dips in a cumulative curve, the authors apply kernel smoothing and isotonic regression to force the curve to be monotonically increasing. From this repaired CDF, they slice equal-frequency quantiles—creating narrow bins in dense regions and wide bins in sparse ones. Synthetic codes are reconstructed using privately estimated bin means.

Datasets

No new benchmarks are introduced. The authors evaluate on three standard UCI classification datasets (capped at 16 features to manage DP computational costs), treating feature min/max bounds as public knowledge:

  • Dry Bean: 16 features, 7 classes (high-dimensional geometric morphology).
  • MAGIC Gamma Telescope: 10 features, 2 classes (smooth astrophysical signals).
  • Avila: 10 features, 12 classes (overlapping, imbalanced multiclass data).

Key Insights and Ideas

  • Discretization is part of the privacy mechanism, not a footnote: How you bin continuous data dictates both information preservation and how badly DP noise corrupts PrivMRF's marginals.
  • More bins aren't always better: Finer bins capture continuous nuance, but spread data thin across larger graphical-model tables, amplifying noise. Compact, distribution-aware bins win under strict privacy.
  • Why TVD lies here: Total Variation Distance (TVD) only compares real binned data to synthetic binned data—meaning terrible, ultra-coarse bins can score great on TVD while destroying continuous reality. Evaluating via TSTR (Train-Synthetic, Test-Real with an SVM) captures true end-to-end utility.
  • Complementary strengths: Single-step DP K-Means shines under extreme privacy starvation by anchoring a few reliable centers, whereas smoothed Noisy-CDF offers steadier boundary estimation at moderate budgets.

Key Results

Using 5-fold TSTR cross-validation with an SVM classifier, distribution-aware binning handily beats equal-width binning (Uniform-PrivMRF), particularly when privacy constraints are severe ($\epsilon < 1.0$):

  • Extreme low-budget rescue (Dry Bean at $\epsilon = 0.1$): Equal-width binning collapses to a 0.0651 macro-F1 score (and ~0.2806 accuracy). DP K-Means surges to 0.8718 macro-F1 (and 0.8848 accuracy), preserving minority class boundaries when noise is overwhelming.
  • Strict privacy accuracy boosts ($\epsilon = 0.2$): Noisy-CDF lifts accuracy from 0.6345 to 0.7158 on Avila, and from 0.9144 to 0.9594 on MAGIC. Meanwhile, DP K-Means pushes Avila's macro-F1 from 0.1709 to 0.5278.
  • Moderate budgets: At $\epsilon = 0.8$ on Avila, Noisy-CDF hits 0.6308 macro-F1 versus 0.4298 for equal-width binning.

Limitations and Future Work

  • Fixed grid allocations: Budget splits and bin counts are chosen from fixed grids, and every feature gets an identical slice of $\epsilon_{\text{bin}}$. Future work could adaptively allocate more budget and resolution to complex features.
  • Univariate blind spots: Features are binned independently, missing joint continuous interactions prior to MRF modeling; light multivariate boundary refinement could help.
  • Scope of baselines: The experiments isolate discretization inside PrivMRF and do not benchmark against native continuous DP generators like PATE-GAN, DP-CTGAN, or DP-MERF, leaving cross-family comparisons for future work.

Summary updated

BibTeX
@misc{kugimiya2026private,
  author = {Koki Kugimiya and Papangkorn Inkeaw and Vorapong Suppakitpaisarn},
  title = {{Private Synthetic Data Generation for Continuous Data via Adaptive Binning and K-Means}},
  year = {2026},
  eprint = {2611.38458},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.38458},
}
Figure