Privacy-Enhanced Database Synthesis for Benchmark Publishing (Technical Report)
Yunqing Ge, Jianbin Qin, Shuyuan Zheng, Yongrui Zhong, Bo Tang, Yu-Xuan Qiu, Rui Mao, Ye Yuan, Makoto Onizuka, Chuan Xiao
TL;DR
PrivBench addresses the challenge of publishing privacy-preserving benchmarks by synthesizing high-fidelity multi-relational databases under database-level DP. It introduces a novel SPN-based framework that builds differentially private SPNs per table, augments them with private fanout information to model FK references, and samples from the modified SPNs to generate synthetic data. Theoretical analysis proves DP guarantees and polynomial-time complexity, while extensive experiments on multiple datasets show PrivBench achieves superior data-distribution fidelity (low KL divergence) and query-workload fidelity (low Q-error) with competitive synthesis times, especially under tight privacy budgets. This work lays a foundation for practical, privacy-protecting benchmark publishing and potential data-trading scenarios.
Abstract
Benchmarking is crucial for evaluating a DBMS, yet existing benchmarks often fail to reflect the varied nature of user workloads. As a result, there is increasing momentum toward creating databases that incorporate real-world user data to more accurately mirror business environments. However, privacy concerns deter users from directly sharing their data, underscoring the importance of creating synthesized databases for benchmarking that also prioritize privacy protection. Differential privacy (DP)-based data synthesis has become a key method for safeguarding privacy when sharing data, but the focus has largely been on minimizing errors in aggregate queries or downstream ML tasks, with less attention given to benchmarking factors like query runtime performance. This paper delves into differentially private database synthesis specifically for benchmark publishing scenarios, aiming to produce a synthetic database whose benchmarking factors closely resemble those of the original data. Introducing \textit{PrivBench}, an innovative synthesis framework based on sum-product networks (SPNs), we support the synthesis of high-quality benchmark databases that maintain fidelity in both data distribution and query runtime performance while preserving privacy. We validate that PrivBench can ensure database-level DP even when generating multi-relation databases with complex reference relationships. Our extensive experiments show that PrivBench efficiently synthesizes data that maintains privacy and excels in both data distribution similarity and query runtime similarity.
