Neural Dehydration: Effective Erasure of Black-box Watermarks from DNNs with Limited Data
Yifan Lu, Wenxuan Li, Mi Zhang, Xudong Pan, Min Yang
TL;DR
This work tackles the practical threat of protecting deep neural networks with black-box watermarks by introducing Dehydra, a watermark-agnostic removal framework that operates with limited data. It recovers watermark data from the protected model’s internals via aggressive model inversion and then unlearns them during finetuning, augmented by target-class detection and recovered-sample splitting to preserve model utility. The approach demonstrates strong removal performance across ten mainstream black-box watermark schemes on multiple datasets and architectures, often maintaining at least 90% of the original utility and even achieving data-free removal for fixed-class watermarks. The findings highlight the need for robust watermark defenses and suggest that data-efficient, model-centric attacks can effectively neutralize current watermark designs, underscoring practical implications for watermark security and defense strategies.
Abstract
To protect the intellectual property of well-trained deep neural networks (DNNs), black-box watermarks, which are embedded into the prediction behavior of DNN models on a set of specially-crafted samples and extracted from suspect models using only API access, have gained increasing popularity in both academy and industry. Watermark robustness is usually implemented against attackers who steal the protected model and obfuscate its parameters for watermark removal. However, current robustness evaluations are primarily performed under moderate attacks or unrealistic settings. Existing removal attacks could only crack a small subset of the mainstream black-box watermarks, and fall short in four key aspects: incomplete removal, reliance on prior knowledge of the watermark, performance degradation, and high dependency on data. In this paper, we propose a watermark-agnostic removal attack called \textsc{Neural Dehydration} (\textit{abbrev.} \textsc{Dehydra}), which effectively erases all ten mainstream black-box watermarks from DNNs, with only limited or even no data dependence. In general, our attack pipeline exploits the internals of the protected model to recover and unlearn the watermark message. We further design target class detection and recovered sample splitting algorithms to reduce the utility loss and achieve data-free watermark removal on five of the watermarking schemes. We conduct comprehensive evaluation of \textsc{Dehydra} against ten mainstream black-box watermarks on three benchmark datasets and DNN architectures. Compared with existing removal attacks, \textsc{Dehydra} achieves strong removal effectiveness across all the covered watermarks, preserving at least $90\%$ of the stolen model utility, under the data-limited settings, i.e., less than $2\%$ of the training data or even data-free.
