HashMark: Watermarking Tabular/Synthetic Data For Machine Learning Via Cryptographic Hash Functions

Harish Karthikeyan, Leo de Castro, Antigoni Polychroniadou, Manuela Veloso, Tucker Balch

Abstract

Watermarking is a critical tool for protecting datasets against malicious or unauthorized use, yet existing methods often face limitations in data type support, fidelity preservation, and detection efficiency. In this work, we introduce $\mathsf{HashMark}$, a novel and versatile watermarking scheme for tabular datasets, including synthetic data, without imposing restrictions on data types. At its core, $\mathsf{HashMark}$ employs a cryptographic hash function to map \emph{any} data into binary values, enabling efficient and robust watermark embedding. Our design generalizes and simplifies some prior approaches, such as the recent works Ngo et al. (arXiv 2024) and TabularMark (ACM CCS 2024), while addressing their key shortcomings. Unlike Ngo et al., $\mathsf{HashMark}$ supports categorical and mixed-type data with a unified framework. Compared to TabularMark, it enables efficient watermark detection without requiring access to the original dataset. Further, unlike TabularMark, we present experiments for categorical data. Finally, we run experiments comparing the accuracy of synthetically generated data and watermarked, synthetic data on three classifiers over several datasets using three approaches for generating synthetic data. These experiments clearly demonstrate a negligible impact on utility for intended machine learning tasks when $\mathsf{HashMark}$ is used.
BibTeX
@inproceedings{karthikeyan2025hashmark,
  author = {Harish Karthikeyan and Leo de Castro and Antigoni Polychroniadou and Manuela Veloso and Tucker Balch},
  title = {{HashMark: Watermarking Tabular/Synthetic Data For Machine Learning Via Cryptographic Hash Functions}},
  booktitle = {GenAI in Finance @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=J2HYEQBB5J},
}

Loading related content...

Figure