Computer Science

Guiyao Tie, D. Jha, M. Barika, Jun-Qiang Song

2026.5.1IEEE TRANSACTIONS ON COMPUTERS

DOI: 10.1109/tc.2026.3662446

Abstract

In recent years, the frequent leakage of sensitive information in natural language texts has presented significant challenges in text distribution, sharing, and migration. Existing methods for text protection and watermarking are limited, capable of either hide sensitive data or prevent unauthorized copying and tampering, but not both simultaneously. To address these limitations, this paper proposes a masking-watermarking cooperative framework designed to hide text-sensitive information, prevent unintentional data leakage, and ensure content ownership verification and tampering prevention. The framework introduces three novel techniques: a variable autoencoder to ensure diverse watermark generation, an improved transformer to enhance the adaptability of dynamic masks, and a dual discriminator for joint verification of text and watermarks. A comprehensive evaluation was conducted, covering text similarity, masking flexibility, and the imperceptibility of text masking, as well as watermark classification recognition and robustness against various attacks. The proposed framework achieved a score of 0.98 on the SBERT metric, demonstrating its effectiveness in achieving imperceptible text masking and robust watermark embedding.

Citation format

TIE, Guiyao, et al. Masking-watermarking cooperative: An end-to-end adversarial protection framework for secure text distribution and sharing. IEEE TRANSACTIONS ON COMPUTERS, 2026, 75(5): 1782–1795.