Synthetic tabular data lets sensitive datasets be shared, but every synthesizer in wide use releases the same artifact: a table of rows, or a trained model that emits one. What the generator concluded about the sensitive data is either invisible, locked inside parameters, or fixed in advance as a workload of chosen marginals, and the data holder cannot read what was learned, edit it, or reuse it. We present a method that learns a \emph{specification} from a sensitive dataset: a context-free grammar paired with declarative constraints over value domains, fitted marginals, and cross-column rules mined from the leaves of a discriminator trained to separate real rows from synthetic ones. The specification is human-readable, allowing reviewers to inspect what information has been extracted and declare what is already public knowledge before using it for generation. Early auditing allows one to tune the specification to meet the desired privacy constraints. The resulting specification can be used to generate not only one synthetic dataset but an unbounded family of them, all satisfying the same stated properties. To our knowledge, this is the first approach to produce a synthetic dataset together with a specification that generates it. The data owner can then decide if they only want to share the synthetic data or both. On seven datasets, we measure statistical similarity, task utility, and empirical privacy. Models trained on our synthetic data and applied to real data match or exceed AIM, MST, and DP-CTGAN on all datasets, while empirical privacy risk remains low.
翻译:暂无翻译