DPSQL+: A Differentially Private SQL Library with a Minimum Frequency Rule

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Matsumoto, Tomoya, Takakura, Shokichi, Takagi, Shun, Hasegawa, Satoshi
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866910132408942592
author Matsumoto, Tomoya
Takakura, Shokichi
Takagi, Shun
Hasegawa, Satoshi
author_facet Matsumoto, Tomoya
Takakura, Shokichi
Takagi, Shun
Hasegawa, Satoshi
contents SQL is the de facto interface for exploratory data analysis; however, releasing exact query results can expose sensitive information through membership or attribute inference attacks. Differential privacy (DP) provides rigorous privacy guarantees, but in practice, DP alone may not satisfy governance requirements such as the \emph{minimum frequency rule}, which requires each released group (cell) to include contributions from at least $k$ distinct individuals. In this paper, we present \textbf{DPSQL+}, a privacy-preserving SQL library that simultaneously enforces user-level $(\varepsilon,δ)$-DP and the minimum frequency rule. DPSQL+ adopts a modular architecture consisting of: (i) a \emph{Validator} that statically restricts queries to a DP-safe subset of SQL; (ii) an \emph{Accountant} that consistently tracks cumulative privacy loss across multiple queries; and (iii) a \emph{Backend} that interfaces with various database engines, ensuring portability and extensibility. Experiments on the TPC-H benchmark demonstrate that DPSQL+ achieves practical accuracy across a wide range of analytical workloads -- from basic aggregates to quadratic statistics and join operations -- and allows substantially more queries under a fixed global privacy budget than prior libraries in our evaluation.
format Preprint
id arxiv_https___arxiv_org_abs_2602_22699
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle DPSQL+: A Differentially Private SQL Library with a Minimum Frequency Rule
Matsumoto, Tomoya
Takakura, Shokichi
Takagi, Shun
Hasegawa, Satoshi
Cryptography and Security
Databases
Machine Learning
SQL is the de facto interface for exploratory data analysis; however, releasing exact query results can expose sensitive information through membership or attribute inference attacks. Differential privacy (DP) provides rigorous privacy guarantees, but in practice, DP alone may not satisfy governance requirements such as the \emph{minimum frequency rule}, which requires each released group (cell) to include contributions from at least $k$ distinct individuals. In this paper, we present \textbf{DPSQL+}, a privacy-preserving SQL library that simultaneously enforces user-level $(\varepsilon,δ)$-DP and the minimum frequency rule. DPSQL+ adopts a modular architecture consisting of: (i) a \emph{Validator} that statically restricts queries to a DP-safe subset of SQL; (ii) an \emph{Accountant} that consistently tracks cumulative privacy loss across multiple queries; and (iii) a \emph{Backend} that interfaces with various database engines, ensuring portability and extensibility. Experiments on the TPC-H benchmark demonstrate that DPSQL+ achieves practical accuracy across a wide range of analytical workloads -- from basic aggregates to quadratic statistics and join operations -- and allows substantially more queries under a fixed global privacy budget than prior libraries in our evaluation.
title DPSQL+: A Differentially Private SQL Library with a Minimum Frequency Rule
topic Cryptography and Security
Databases
Machine Learning
url https://arxiv.org/abs/2602.22699