Robust LLM Text Watermarking With Perturbed Token Distributions

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing text watermarking methods for generative large language models (LLMs) face challenges in maintaining semantic coherence while ensuring robustness against attacks, with limited signature length and sensitivity to alterations, hindering effective ownership assertion and content tracing.

Innovation Solution

A learning-based watermarking framework that includes a message encoding module, reparameterization module, and decoding module, utilizing Gumbel-Softmax noise and optimized beam search to embed and extract signatures, ensuring semantic fidelity and resilience against malicious transformations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If existing text watermarking methods are used, then watermark embedding is achieved, but semantic coherence is compromised and robustness against attacks is insufficient

Engineering Contradiction:
Improvewatermark robustnessVSAvoidsemantic distortion
Core Design Contradiction:
ReliabilityVSObject-generated harmful factors

Solution Approach 1:

The patent applies parameter changes by transforming the watermarked text distribution through probability perturbation (adding noise) and temperature scaling. This allows the model to explore alternative token selections that maintain semantic coherence while embedding watermarks robustly. The parameter transformation enables the system to resolve the contradiction by finding optimal points in the probability space that satisfy both semantic fidelity and watermark robustness requirements.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent implements dynamics through iterative optimization processes where the watermarked distribution is dynamically adjusted through multiple steps of perturbation and selection. The beam search algorithm dynamically explores different token sequences, and the temperature parameter is dynamically adjusted during the optimization process. This dynamic approach allows the system to adaptively find watermarked texts that maintain semantic coherence while achieving robust watermark embedding.

Inventive Principle:
Principle #15Dynamics

2Loss of information

If watermark signature length is increased, then ownership assertion capability is improved, but sensitivity to alterations increases

Engineering Contradiction:
Improveownership verification capabilityVSAvoidsensitivity to alterations
Core Design Contradiction:
Loss of informationVSObject-affected harmful factors

Solution Approach 1:

The patent applies segmentation by dividing the watermark embedding process into discrete optimization steps, where the binary signature is processed through multiple transformation stages. Each step processes a portion of the signature through probability perturbation and token selection. This segmentation allows the system to maintain long signature lengths for robust ownership verification while reducing sensitivity to alterations through distributed processing across multiple optimization steps.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent uses an intermediary approach through the introduction of probability distributions as a mediator between the binary signature and the final text output. The probability perturbation step acts as an intermediary that transforms the rigid binary signature into a flexible probability space, allowing the system to maintain long signatures for ownership verification while the probabilistic transformation reduces sensitivity to alterations by providing multiple valid token selections.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Object-generated harmful factors

If neural-based watermarking is used, then semantic coherence is maintained, but signature length is limited

Engineering Contradiction:
Improvesemantic coherenceVSAvoidsignature length
Core Design Contradiction:
Object-generated harmful factorsVSLength of moving object

Solution Approach 1:

The patent applies dimensionality change by transitioning from direct binary signature embedding to embedding in the probability distribution space. The binary signature is first transformed into a watermarked text distribution, then further transformed through probability perturbation and temperature scaling into a sparse distribution. This dimensional transformation enables the system to maintain semantic coherence through probabilistic token selection while achieving extended signature lengths through the expanded probability space.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

Data Source

PatentUS20250298994A1Remark-LLM: a robust and efficient watermarking framework for generative large language models
Publication Date: 2025.09.25 RGT UNIV OF CALIFORNIA
  • US20250298994A1 patent drawing
  • US20250298994A1 patent drawing
  • US20250298994A1 patent drawing

AI summary

In some embodiments, there is provided a method that includes receiving an output text sequence from a trained large language model; converting the output text sequence into a token representation of the output text sequence; generating a dense watermarked text distribution over a token vocabulary of the output text sequence, the generating based on the token representation of the output text sequence and on a binary signature sequence; perturbing the dense watermarked text distribution to yield a perturbed distribution; and mapping the perturbed distribution to an encoded output text sequence. Related systems, methods, and articles of manufacture are also disclosed.