ArmSSL: Adversarial Robust Black-Box Watermarking for Self-Supervised Learning Pre-trained Encoders

arXiv cs.AI / 4/27/2026

💬 OpinionIdeas & Deep AnalysisModels & Research

Key Points

  • The paper proposes ArmSSL, a watermarking framework for self-supervised learning (SSL) pre-trained encoders that targets both black-box ownership verification and adversarial robustness.
  • For black-box verification, ArmSSL uses a paired discrepancy enlargement method to enforce orthogonality in feature space between clean and watermark counterparts, producing a reliable verification signal even when the stolen encoder is accessed as a suspect black box.
  • To resist adversarial watermark detection or removal, ArmSSL avoids watermark out-of-distribution (OOD) clustering by combining latent representation entanglement and distribution alignment so watermark features resemble natural in-distribution samples.
  • The approach includes a reference-guided watermark tuning strategy that learns the watermark as a small side task while preserving downstream utility by matching the watermarked encoder’s outputs to the clean encoder’s outputs on normal data.
  • Experiments across five SSL frameworks and nine benchmark datasets show ArmSSL provides better ownership verification with negligible utility loss and strong robustness versus state-of-the-art adversarial detection and removal methods.

Abstract

Self-supervised learning (SSL) encoders are invaluable intellectual property (IP). However, no existing SSL watermarking for IP protection can concurrently satisfy the following two practical requirements: (1) provide ownership verification capability under black-box suspect model access once the stolen encoders are used in downstream tasks; (2) be robust under adversarial watermark detection or removal, because the watermark samples form a distinguishable out-of-distribution (OOD) cluster. We propose ArmSSL, an SSL watermarking framework that assures black-box verifiability and adversarial robustness while preserving utility. For verification, we introduce paired discrepancy enlargement, enforcing feature-space orthogonality between the clean and its watermark counterpart to produce a reliable verification signal in black-box against the suspect model. For adversarial robustness, ArmSSL integrates latent representation entanglement and distribution alignment to suppress the OOD clustering. The former entangles watermark representations with clean representations (i.e., from non-source-class) to avoid forming a dense cluster of watermark samples, while the latter minimizes the distributional discrepancy between watermark and clean representations, thereby disguising watermark samples as natural in-distribution data. For utility, a reference-guided watermark tuning strategy is designed to allow the watermark to be learned as a small side task without affecting the main task by aligning the watermarked encoder's outputs with those of the original clean encoder on normal data. Extensive experiments across five mainstream SSL frameworks and nine benchmark datasets, along with end-to-end comparisons with SOTAs, demonstrate that ArmSSL achieves superior ownership verification, negligible utility degradation, and strong robustness against various adversarial detection and removal.