WARDEN: Multi-Directional Backdoor Watermarks for Embedding-as-a-Service Copyright Protection
Anudeex Shetty, Yue Teng, Ke He, Qiongkai Xu
TL;DR
The paper investigates IP protection challenges in Embedding-as-a-Service by introducing a CSE attack that clusters, selects, and eliminates watermark directions to remove EmbMarker without harming embedding utility. To counter this vulnerability, it proposes WARDEN, a defense that uses multi-directional watermarks and a verification protocol to improve robustness against CSE and enable reliable copyright detection. The authors provide extensive experiments across SST2, MIND, AG News, and Enron to demonstrate that EmbMarker can be bypassed, while WARDEN significantly enhances watermark verification and resists elimination and reconstruction attacks. The findings have practical implications for copyright enforcement in EaaS and suggest future work on multi-owner ownership, theoretical guarantees, and more conservative watermarking strategies.
Abstract
Embedding as a Service (EaaS) has become a widely adopted solution, which offers feature extraction capabilities for addressing various downstream tasks in Natural Language Processing (NLP). Prior studies have shown that EaaS can be prone to model extraction attacks; nevertheless, this concern could be mitigated by adding backdoor watermarks to the text embeddings and subsequently verifying the attack models post-publication. Through the analysis of the recent watermarking strategy for EaaS, EmbMarker, we design a novel CSE (Clustering, Selection, Elimination) attack that removes the backdoor watermark while maintaining the high utility of embeddings, indicating that the previous watermarking approach can be breached. In response to this new threat, we propose a new protocol to make the removal of watermarks more challenging by incorporating multiple possible watermark directions. Our defense approach, WARDEN, notably increases the stealthiness of watermarks and has been empirically shown to be effective against CSE attack.
