TabularMark: Watermarking Tabular Datasets for Machine Learning
Yihao Zheng, Haocheng Xia, Junyuan Pang, Jinfei Liu, Kui Ren, Lingyang Chu, Yang Cao, Li Xiong
TL;DR
TabularMark introduces a hypothesis-testing–based watermarking scheme for tabular datasets that preserves ML utility while enabling reliable ownership verification. It embeds a watermark by partitioning a perturbation range into green and red domains and perturbing a small set of key cells, with detection via a one-proportion z-test that controls false positives. The approach is complemented by a matching mechanism using MSBs to counter primary-key replacement and a theoretical analysis showing robustness against common attacks. Empirical results across real and synthetic datasets demonstrate strong detectability, minimal impact on downstream ML tasks, and robust resistance to alteration, insertion, deletion, and other attacks, outperforming comparable schemes in non-intrusiveness and maintaining model performance. The work provides practical guidelines for parameter choices and introduces an optimization to further reduce data distortion while preserving watermark detectability.
Abstract
Watermarking is broadly utilized to protect ownership of shared data while preserving data utility. However, existing watermarking methods for tabular datasets fall short on the desired properties (detectability, non-intrusiveness, and robustness) and only preserve data utility from the perspective of data statistics, ignoring the performance of downstream ML models trained on the datasets. Can we watermark tabular datasets without significantly compromising their utility for training ML models while preventing attackers from training usable ML models on attacked datasets? In this paper, we propose a hypothesis testing-based watermarking scheme, TabularMark. Data noise partitioning is utilized for data perturbation during embedding, which is adaptable for numerical and categorical attributes while preserving the data utility. For detection, a custom-threshold one proportion z-test is employed, which can reliably determine the presence of the watermark. Experiments on real-world and synthetic datasets demonstrate the superiority of TabularMark in detectability, non-intrusiveness, and robustness.
