Lagrange Interpolation-Based Multi-Bit Watermark for Large Language Models

arXiv:2505.05712 · cs.CR, cs.IT, math.IT · Submitted 2025-05-09 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Security Radio. Generated commentary on the latest security and cryptography papers.

Nadia: I'm Nadia.

Elias: And I'm Elias, here with Priya.

Nadia: We're looking at the paper: "Lagrange Interpolation-Based Multi-Bit Watermark for Large Language Models".

Paper summary: Nadia: So we've covered the basic mechanics of how this Lagrange Interpolation-Based Multi-Bit Watermark for Large Language Models works, focusing on embedding points on a line and recovering them through finding the maximal collinear set. The authors, Janas, Morawiecki, and Pieprzyk at the Institute of Computer Science in Warsaw, present a simple method that doesn't need training or is model-agnostic.

Elias: I think what stands out about this work is its focus on multi-bit watermarks and its transparent probabilistic analysis. It’s not just about putting a single bit in, but encoding more information using the coefficients of a polynomial over GF(2n), which gives you that extra layer of security <ref:2505.05712#pg1>.

Priya: For someone interested in the broader implications, this means we have a framework where we can embed richer data into LLM outputs and have mathematical tools to verify if that data has been messed with, even if the text itself is heavily edited. It shifts the focus from just hiding a secret to mathematically structuring the output generation process.

Nadia: Exactly. The authors suggest this approach is lightweight and straightforward to implement, which makes it more practical for applying it in real-world scenarios where you’re trying to attribute generated content or prove its origin.

Elias: And they even touch on how this scheme can be extended, suggesting that you could support longer multi-bit watermarks by embedding multiple lines instead of just one. That opens up possibilities for encoding much more substantial information.

Priya: So what I see is a system that offers a balance between the complexity of needing high-fidelity watermarks and the practical constraints of how robust we need to be against real adversarial manipulation in text generation. It's a flexible framework, depending on what you want to embed and how much noise you expect.

Nadia: That’s right. The Lagrange Interpolation-Based Multi-Bit Watermark for Large Language Models gives us a concrete tool for this kind of defense, allowing us to build systems that are more secure in the age of generative AI.

Conclusion: Nadia: So, to wrap up, this paper introduces a method for putting multi-bit watermarks into text made by large language models using Lagrange interpolation and then pulling that watermark out even if someone has tried to edit the text.

Elias: Yeah, we're looking at Janas and his team here at the Institute of Computer Science in Warsaw. The authors are focused on making this approach training-free and model-agnostic, which is pretty neat for applied security work.

Priya: What I’m thinking is that the core idea—using a straight line defined by points embedded in the text—is a clever way to encode information that's supposed to be hidden within the generated words.

Nadia: It really boils down to embedding these points on a line and then finding the largest set of collinear points after some tampering has occurred. That’s basically solving a version of the maximum collinear points problem during extraction.

Elias: And for us cryptographers, it means they're encoding that multi-bit payload as coefficients of a polynomial over a finite field, GF two to n. That’s how you get the extra bits packed into the structure itself.

Priya: But we need to ask what this actually means for trust. If we can recover the watermark after partial editing, does that give us confidence that the original text came from where it claimed it did?

Nadia: The robustness is interesting because even if only a fraction of those embedded points survive tampering, they’re enough to get the watermark back. That makes it relatively resilient to substitution attacks.

Elias: Substitution attacks are the least destructive kind because each block of the watermark still corresponds to its intended group of tokens in the text. Insertion and deletion attacks, though, are way more damaging because they mess up that block alignment entirely.

Priya: So while it's good against simple changes, we still have to worry about those structural attacks where they just alter the length of the output stream.

Nadia: Exactly. The complexity for detection is something we need to watch; it’s O of N squared for the maximum collinear points detection, so that’s a bit heavy computationally.

Elias: It is lightweight enough for many applications, though they do suggest some optimization tricks, like capping the number of blocks you inspect or using an early stopping threshold to reduce runtime substantially.

Priya: It’s a solid framework for embedding and recovering data, but the real test is how practical this gets when we're dealing with really long watermarks or more complex polynomial structures.

Nadia: The paper does touch on that extension, suggesting you can support longer multi-bit watermarks by embedding multiple lines instead of just one. That opens up ways to encode much more substantial information in the output stream.

Institute of Computer Science, Polish Academy of Sciences · Data61, CSIRO

cs.CR, cs.IT, math.IT

Submitted: 2025-05-09

Updated: 2026-11-26

Comments: 18 pages, 5 figures, 8 tables. Published in IEEE Access. v5: substantially revised after peer review (new title and abstract). Code: https://github.com/jaroslawjanas/llmw-lagrange

Journal ref: IEEE Access 14 (2026) 177747-177765

DOI: 10.1109/ACCESS.2026.3751996

License: http://creativecommons.org/licenses/by/4.0/

Importance score: 83/100

The gist: The paper presents a watermarking scheme for LLM-generated text based on Lagrange interpolation, which enables the recovery of a multi-bit watermark even when the text has been redacted by an…

Key concepts

Lagrange Interpolation
This mathematical technique is used to find a unique polynomial that passes through a set of given points. In this watermarking scheme, the embedded watermark is represented by the coefficients of such a polynomial over a finite field (GF(2n)).
Maximum Collinear Points Problem (MCP)
During extraction, the algorithm must recover the original points from noisy text. This recovery process is framed as finding the line that passes through the maximum number of these recovered points, which is known as the Maximum Collinear Points Problem.
GF(2n) Polynomial Coefficients
The multi-bit watermark is encoded directly into the coefficients of a polynomial defined over GF(2n). This finite field structure allows for efficient encoding and decoding of the binary payload within the mathematical framework used for watermarking.
Robustness against Attacks
The scheme is designed to be resilient. Even if an adversary partially modifies the text (like substitution attacks), a sufficient number of original embedded points remain, allowing the algorithm to successfully recover the hidden multi-bit watermark.

Terminology

Summary

The paper presents a watermarking scheme for LLM-generated text based on Lagrange interpolation, which enables the recovery of a multi-bit watermark even when the text has been redacted by an adversary. p. 0

Where the paper says it

One of the key techniques for addressing this challenge is digital watermarking. This work presents a watermarking scheme for LLM-generated text based on Lagrange interpolation, enabling the recovery of a multi-bit watermark even when the text has been redacted by an adversary.

<ref:2505.05712#pg1,This work presents a watermarking scheme for LLM-generated text based on Lagrange interpolation, enabling the recovery of a multi-bit watermark even when the text has been redacted by an adversary>. p. 0
Where the paper says it

One of the key techniques for addressing this challenge is digital watermarking. This work presents a watermarking scheme for LLM-generated text based on Lagrange interpolation, enabling the recovery of a multi-bit watermark even when the text has been redacted by an adversary.

Watermarking Mechanism Overview

The core idea is to embed a continuous sequence of points (x, f(x)) that lie on a single straight line.<ref:2505.05712#pg2>. During extraction, the algorithm recovers the original points along with many spurious ones, forming an instance of the Maximum Collinear Points (MCP) problem. p. 0

Where the paper says it

The core idea is to embed a continuous sequence of points (x, f(x)) that lie on a single straight line. During extraction, the algorithm recovers the original points along with many spurious ones, forming an instance of the Maximum Collinear Points (MCP) problem, which can be solved efficiently.

<ref:2505.05712#pg2>. The watermark is encoded as coefficients of a polynomial f(x) over GF(2n). p. 3
Where the paper says it

4 Watermarking scheme based on Lagrange Interpolation In the proposed watermarking scheme, the watermark W constitutes coefficients of the polynomial f(x). We focus on the simplest nontrivial case where f(x) is a linear function f(x) = a0 + a1x ∈ GF(2n ), where the watermark is encoded as W = (a0∥a1) ∈ GF(2n ).

<ref:2505.05712#pg3,We introduce a simple, training-free and model-agnostic watermark for LLM-generated text that encodes a multi-bit payload as the coefficients of a polynomial over GF(2n)>

Embedding Process Details

The embedding process involves generating pseudo-random x-coordinates and computing corresponding y-coordinates which are then embedded into a generated text by biasing the token selection.<ref:2505.05712#pg4>. The algorithm embeds a binary vector (watermark) into the stream of generated tokens. p. 3

Where the paper says it

In this paper, we use a similar method; however, instead of preferring only green tokens, we select either a green or red token depending on a bit value (green corresponds to 1, red to 0). In this way, we embed a binary vector (watermark) into the stream of generated tokens.

<ref:2505.05712#pg4,In this paper, we use a similar method; however, instead of preferring only green tokens, we select either a green or red token depending on a bit value (green corresponds to 1, red to 0)>. p. 3
Where the paper says it

[5] introduced the concept of “Green” and “Red” tokens, where increasing the logit values of Green tokens leads to a strong preference for them — a hallmark of watermarked text. In this paper, we use a similar method; however, instead of preferring only green tokens, we select either a green or red token depending on a bit value (green corresponds to 1, red to 0).

The embedding algorithm iteratively embeds the watermark across the generated tokens. p. 4
Where the paper says it

The watermark is encoded as a linear polynomial f(x) = a1x + a0, where the coefficients a0 and a1 together form the watermark. The algorithm begins by initializing the text generation with a given prompt, and then iteratively embeds the watermark across the generated tokens.

<ref:2505.05712#pg4>.

Extraction and Recovery

The extraction phase involves recovering embedded points from the generated text.<ref:2505.05712#pg5>. The goal is to find the line that passes through the largest number of points, a problem formally known as the Maximum Collinear Points Problem. p. 1

Where the paper says it

Due to sampling variability during generation and/or adversarial tampering with the text, some of the recovered points may be incorrect (orange points). Our goal is to find the line that passes through the largest number of points, a problem formally known as the Maximum Collinear Points Problem.

<ref:2505.05712#pg6>. Once this line is found, its coefficients a1 and a0 constitute the extracted watermark. p. 1
Where the paper says it

Our goal is to find the line that passes through the largest number of points, a problem formally known as the Maximum Collinear Points Problem. Once this line is found, its coefficients a1 and a0 constitute the extracted watermark.

<ref:2505.05712#pg6>.

Robustness and Performance Analysis

The scheme exhibits resilience to partial modifications because even if only a fraction of embedded points survive tampering, they suffice to recover the watermark.<ref:2505.05712#pg4,A desirable feature of the proposed scheme is that even if only a fraction of embedded points survive tampering, they suffice to recover the watermark>. p. 3

Where the paper says it

Then we apply the Lagrange interpolation to those points to recover the original f(x). A desirable feature of the proposed scheme is that even if only a fraction of embedded points survive tampering, they suffice to recover the watermark.

Substitution attacks are the least destructive class of interventions for our scheme because each watermark block still corresponds to the intended group of tokens. p. 8
Where the paper says it

Consequently, substitution attacks are the least destructive class of interventions for our scheme, and the watermark exhibits partial robustness even without additional protection. 3 Insertion and Deletion Attacks (Desynchronization) Insertion and deletion attacks are significantly more damaging for our method because they alter the token stream length and thereby destroy block alignment.

<ref:2505.05712#pg9,Substitution attacks are the least destructive class of interventions for our scheme because each watermark block still corresponds to the intended group of tokens>. p. 8
Where the paper says it

Consequently, substitution attacks are the least destructive class of interventions for our scheme, and the watermark exhibits partial robustness even without additional protection. 3 Insertion and Deletion Attacks (Desynchronization) Insertion and deletion attacks are significantly more damaging for our method because they alter the token stream length and thereby destroy block alignment.

Insertion and deletion attacks are significantly more damaging for our method because they alter the token stream length and thereby destroy block alignment. p. 8
Where the paper says it

Consequently, substitution attacks are the least destructive class of interventions for our scheme, and the watermark exhibits partial robustness even without additional protection. 3 Insertion and Deletion Attacks (Desynchronization) Insertion and deletion attacks are significantly more damaging for our method because they alter the token stream length and thereby destroy block alignment.

<ref:2505.05712#pg9,Insertion and deletion attacks are significantly more damaging for our method because they alter the token stream length and thereby destroy block alignment>. p. 8
Where the paper says it

Consequently, substitution attacks are the least destructive class of interventions for our scheme, and the watermark exhibits partial robustness even without additional protection. 3 Insertion and Deletion Attacks (Desynchronization) Insertion and deletion attacks are significantly more damaging for our method because they alter the token stream length and thereby destroy block alignment.

Complexity and Practical Considerations

The computational complexity of MCP-based detection is O(N 2) time.<ref:2505.05712#pg17>. Optimization 1 suggests capping the number of blocks inspected by running detection only on a fixed-length token window of size T0. p. 4

Where the paper says it

Then, a new token is sampled (greedy sampling) from the biased logits and added to a sequence of the generated tokens T . The process repeats for each y-value, with each one embedded across a fixed number of consecutive tokens, until the desired length of text is generated.

<ref:2505.05712#pg16,A simple and effective mitigation is to cap the number of blocks inspected by running detection only on a fixed-length token window of size T0>. p. 4
Where the paper says it

Then, a new token is sampled (greedy sampling) from the biased logits and added to a sequence of the generated tokens T . The process repeats for each y-value, with each one embedded across a fixed number of consecutive tokens, until the desired length of text is generated.

Optimization 3 involves early stopping with threshold τ, which can reduce runtime substantially in both positive and negative cases. p. 7
Where the paper says it

For longer watermarks (24 and 32 bits), we use the bit correction mechanism with c = 1. The threshold τ was selected to obtain False Positive Rate FPR≤ 1%.

<ref:2505.05712#pg16>. The false positive rate is bounded by FPR(τ; N, n) ≤ N τ / 2 n - n(τ−2). p. 7
Where the paper says it

For longer watermarks (24 and 32 bits), we use the bit correction mechanism with c = 1. The threshold τ was selected to obtain False Positive Rate FPR≤ 1%.

<ref:2505.05712#pg16>. The scheme is naturally extendable to support longer multi-bit watermarks by embedding multiple lines. p. 9
Where the paper says it

The scheme is naturally extendable to support longer multi-bit watermarks. p. 9

Where the paper says it

We demonstrate that the scheme is lightweight, straightforward to implement, and well-suited for real-world applications. The scheme is naturally extendable to support longer multi-bit watermarks.

One straightforward approach is to embed multiple lines, each corresponding to a part of the watermark.

<ref:2505.05712#pg8>.

Theoretical Guarantees

Theorem 1 provides a tool to evaluate the probability that Algorithm 2 extracts the watermark correctly.<ref:2505.05712#pg7,Theorem 1 provides us with a tool to evaluate the probability that Algorithm 2 extracts the watermark correctly>. p. 6

Where the paper says it

A proof of the theorem is given in Appendix. Theorem 1 provides us with a tool to evaluate the probability that Algorithm 2 extracts the watermark correctly.

The theorem proves that for any integer k ≥ 3, the probability that there exists a non-vertical line containing at least k points of S satisfies Pr∃ k-collinear points ≤ R k / q(k−2). p. 6
Where the paper says it

For any integer k ≥ 3, the probability that there exists a non-vertical line containing at least k points of S satisfies Pr ∃ k-collinear points ≤ R k q −(k−2) . A proof of the theorem is given in Appendix.

<ref:2505.05712#pg11,This is exactly the claimed bound>. p. 6
Where the paper says it

Theorem 1 provides us with a tool to evaluate the probability that Algorithm 2 extracts the watermark correctly. For a fixed non-vertical line ℓ, the probability that it contains exactly k of the R points is Pr |ℓ ∩ S| = k = R k 1 q k 1 − 1 q R−k .

The selection of t depends on the acceptable communication overhead (total number of transmitted tokens), the crossover probability p (determined by channel quality), and the minimum number of correct blocks n required to successfully identify the embedded structure.<ref:2505.05712#pg13>. The expected number of trials required to succeed is 1/p. p. 9
Where the paper says it

Across all attack types, recovery performance degrades gracefully as the number of interventions increases. As expected, substitution attacks exhibit the slowest degradation due to preserved synchronization whereas insertion and deletion attacks are more harmful.

<ref:2505.05712#pg15,This defines the geometric probability distribution P(X = k) = (1 − p)^(k−1)p, whose expected value is 1/p>. p. 4
Where the paper says it

For each bit in this y-value, the vocabulary is pseudo-randomly partitioned into two subsets, one corresponding to a bit value of 0 and the other to 1. The LLM generates a probability distribution (logits) over the vocabulary, which is then selectively biased toward the appropriate subset based on the bit being embedded.

The FPR bound via Theorem 3 shows that for a desired upper bound α (e.g., α = 0.01), choose the smallest integer τ ≥ 3 such that N τ / 2 n - n(τ−2) ≤ α <ref:2505. p. 0
Where the paper says it

This capability is especially critical in combating misinformation, propaganda, automated plagiarism, and the spread of fake news. arXiv:2505.

05712#pg16>. The paper concludes by outlining extensions for composing longer payloads via multiple lines and for higher-degree polynomials. p. 2
Where the paper says it

The results show that high match rates are achievable at modest bias and that runtime scales predictably. Finally, we outline extensions for composing longer payloads via multiple lines and for higher-degree polynomials.

p. 2
Where the paper says it

The results show that high match rates are achievable at modest bias and that runtime scales predictably. Finally, we outline extensions for composing longer payloads via multiple lines and for higher-degree polynomials.

<ref:2505.05712#pg8>. The proposed watermarking framework offers a flexible balance between efficiency and security. p. 9
Where the paper says it

In this approach, the watermark is encoded as the coefficients of a polynomial f(x) and watermark points are sampled from this polynomial. Overall, the proposed watermarking framework offers a flexible balance between efficiency and security, and opens the door to new watermarking paradigms based on algebraic structures.

<ref:2505.05712#pg8>.

Conclusion

This work introduces a novel watermarking scheme for LLM-generated texts.<ref:2505.05712#pg8>. The core idea is to represent the watermark as coefficients of a straight line f(x) over a finite field, and embed a sequence of points (xi, f(xi)) lying on this line into the LLM-generated text. p. 9

Where the paper says it

8 Conclusion This work introduces a novel watermarking scheme for LLM-generated texts. The core idea is to represent the watermark as coefficients of a straight line f(x) over a finite field, and embed a sequence of points (xi , f(xi)) lying on this line into the LLM-generated text.

<ref:2505.05712#pg8>. A watermark is recoverable even after partial editing or adversarial manipulation. p. 9
Where the paper says it

The core idea is to represent the watermark as coefficients of a straight line f(x) over a finite field, and embed a sequence of points (xi , f(xi)) lying on this line into the LLM-generated text. A watermark is recoverable even after partial editing or adversarial manipulation.

<ref:2505.05712#pg8>. We demonstrate that the scheme is lightweight, straightforward to implement, and well-suited for real-world applications. p. 9
Where the paper says it

A watermark is recoverable even after partial editing or adversarial manipulation. We demonstrate that the scheme is lightweight, straightforward to implement, and well-suited for real-world applications.

<ref:2505.05712#pg8>. The scheme is naturally extendable to support longer multi-bit watermarks.<ref:2505.05712#pg8>. One straightforward approach is to embed multiple lines, each corresponding to a part of the watermark. p. 9
Where the paper says it

The scheme is naturally extendable to support longer multi-bit watermarks. One straightforward approach is to embed multiple lines, each corresponding to a part of the watermark.

<ref:2505.05712#pg8>. The paper concludes by outlining extensions for composing longer payloads via multiple lines and for higher-degree polynomials.<ref:2505.05712#pg8>.

References

The references listed support the scheme's foundation in algebraic structures and computational geometry.<ref:2505.05712#pg18>. The work by Cormen et al. p. 0

Where the paper says it

One of the key techniques for addressing this challenge is digital watermarking. This work presents a watermarking scheme for LLM-generated text based on Lagrange interpolation, enabling the recovery of a multi-bit watermark even when the text has been redacted by an adversary.

introduces fundamental algorithms relevant to solving the problem. p. 5
Where the paper says it

Each recovered point (x, y) is added to a collection P. After processing the entire token sequence in this manner, the algorithm attempts to identify the original watermark by solving the Maximum Collinear Points (MCP) problem on the set P.

<ref:2505.05712#pg18>. Preparata and Shamos provide foundational concepts for geometric approaches. p. 0
Where the paper says it

LLM-Text Watermarking based on Lagrange Interpolation Jarosław Janas1 , Paweł Morawiecki1 , and Josef Pieprzyk1,2 1 Institute of Computer Science, Polish Academy of Sciences, Warsaw, Poland 2 Data61, CSIRO, Sydney, Australia Abstract. The rapid advancement of LLMs (Large Language Models) has established them as a foundational technology for many AI- and ML-powered human–computer interactions.

<ref:2505.05712#pg18>. The survey literature covers a diverse range of strategies for embedding and detecting watermarks in LLM-generated content. p. 1
Where the paper says it

, education, journalism, code generation). Recent literature has explored a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.

p. 1
Where the paper says it

, education, journalism, code generation). Recent literature has explored a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.

p. 1
Where the paper says it

, education, journalism, code generation). Recent literature has explored a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.

p. 1
Where the paper says it

, education, journalism, code generation). Recent literature has explored a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.

p. 1
Where the paper says it

, education, journalism, code generation). Recent literature has explored a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.

p. 1
Where the paper says it

, education, journalism, code generation). Recent literature has explored a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.

p. 1
Where the paper says it

, education, journalism, code generation). Recent literature has explored a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.

p. 1
Where the paper says it

, education, journalism, code generation). Recent literature has explored a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.

p. 1
Where the paper says it

, education, journalism, code generation). Recent literature has explored a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.

p. 1
Where the paper says it

, education, journalism, code generation). Recent literature has explored a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.

p. 1
Where the paper says it

, education, journalism, code generation). Recent literature has explored a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.

p. 1
Where the paper says it

, education, journalism, code generation). Recent literature has explored a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.

p. 1
Where the paper says it

, education, journalism, code generation). Recent literature has explored a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.

p. 1
Where the paper says it

, education, journalism, code generation). Recent literature has explored a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.

p. 1
Where the paper says it

, education, journalism, code generation). Recent literature has explored a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.

p. 1
Where the paper says it

, education, journalism, code generation). Recent literature has explored a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.

p. 1
Where the paper says it

, education, journalism, code generation). Recent literature has explored a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.

p. 1
Where the paper says it

, education, journalism, code generation). Recent literature has explored a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.

p. 1
Where the paper says it

, education, journalism, code generation). Recent literature has explored a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.

p. 1
Where the paper says it

, education, journalism, code generation). Recent literature has explored a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.

p. 1
Where the paper says it

, education, journalism, code generation). Recent literature has explored a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.

p. 1
Where the paper says it

, education, journalism, code generation). Recent literature has explored a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.

p. 1
Where the paper says it

, education, journalism, code generation). Recent literature has explored a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.

<ref:2505.05712#pg18>. The paper references specific prior work on text watermarking techniques. p. 0
Where the paper says it

One of the key techniques for addressing this challenge is digital watermarking. This work presents a watermarking scheme for LLM-generated text based on Lagrange interpolation, enabling the recovery of a multi-bit watermark even when the text has been redacted by an adversary.

p. 0
Where the paper says it

One of the key techniques for addressing this challenge is digital watermarking. This work presents a watermarking scheme for LLM-generated text based on Lagrange interpolation, enabling the recovery of a multi-bit watermark even when the text has been redacted by an adversary.

p. 0
Where the paper says it

One of the key techniques for addressing this challenge is digital watermarking. This work presents a watermarking scheme for LLM-generated text based on Lagrange interpolation, enabling the recovery of a multi-bit watermark even when the text has been redacted by an adversary.

p. 0
Where the paper says it

One of the key techniques for addressing this challenge is digital watermarking. This work presents a watermarking scheme for LLM-generated text based on Lagrange interpolation, enabling the recovery of a multi-bit watermark even when the text has been redacted by an adversary.

p. 0
Where the paper says it

One of the key techniques for addressing this challenge is digital watermarking. This work presents a watermarking scheme for LLM-generated text based on Lagrange interpolation, enabling the recovery of a multi-bit watermark even when the text has been redacted by an adversary.

p. 0
Where the paper says it

One of the key techniques for addressing this challenge is digital watermarking. This work presents a watermarking scheme for LLM-generated text based on Lagrange interpolation, enabling the recovery of a multi-bit watermark even when the text has been redacted by an adversary.

p. 0
Where the paper says it

One of the key techniques for addressing this challenge is digital watermarking. This work presents a watermarking scheme for LLM-generated text based on Lagrange interpolation, enabling the recovery of a multi-bit watermark even when the text has been redacted by an adversary.

p. 0
Where the paper says it

One of the key techniques for addressing this challenge is digital watermarking. This work presents a watermarking scheme for LLM-generated text based on Lagrange interpolation, enabling the recovery of a multi-bit watermark even when the text has been redacted by an adversary.

p. 0
Where the paper says it

One of the key techniques for addressing this challenge is digital watermarking. This work presents a watermarking scheme for LLM-generated text based on Lagrange interpolation, enabling the recovery of a multi-bit watermark even when the text has been redacted by an adversary.

p. 0
Where the paper says it

One of the key techniques for addressing this challenge is digital watermarking. This work presents a watermarking scheme for LLM-generated text based on Lagrange interpolation, enabling the recovery of a multi-bit watermark even when the text has been redacted by an adversary.

p. 0
Where the paper says it

One of the key techniques for addressing this challenge is digital watermarking. This work presents a watermarking scheme for LLM-generated text based on Lagrange interpolation, enabling the recovery of a multi-bit watermark even when the text has been redacted by an adversary.

p. 0
Where the paper says it

One of the key techniques for addressing this challenge is digital watermarking. This work presents a watermarking scheme for LLM-generated text based on Lagrange interpolation, enabling the recovery of a multi-bit watermark even when the text has been redacted by an adversary.

p. 0
Where the paper says it

One of the key techniques for addressing this challenge is digital watermarking. This work presents a watermarking scheme for LLM-generated text based on Lagrange interpolation, enabling the recovery of a multi-bit watermark even when the text has been redacted by an adversary.

p. 0
Where the paper says it

One of the key techniques for addressing this challenge is digital watermarking. This work presents a watermarking scheme for LLM-generated text based on Lagrange interpolation, enabling the recovery of a multi-bit watermark even when the text has been redacted by an adversary.

p. 0
Where the paper says it

One of the key techniques for addressing this challenge is digital watermarking. This work presents a watermarking scheme for LLM-generated text based on Lagrange interpolation, enabling the recovery of a multi-bit watermark even when the text has been redacted by an adversary.

p. 0
Where the paper says it

One of the key techniques for addressing this challenge is digital watermarking. This work presents a watermarking scheme for LLM-generated text based on Lagrange interpolation, enabling the recovery of a multi-bit watermark even when the text has been redacted by an adversary.

p. 0
Where the paper says it

One of the key techniques for addressing this challenge is digital watermarking. This work presents a watermarking scheme for LLM-generated text based on Lagrange interpolation, enabling the recovery of a multi-bit watermark even when the text has been redacted by an adversary.

p. 0
Where the paper says it

One of the key techniques for addressing this challenge is digital watermarking. This work presents a watermarking scheme for LLM-generated text based on Lagrange interpolation, enabling the recovery of a multi-bit watermark even when the text has been redacted by an adversary.

p. 0
Where the paper says it

One of the key techniques for addressing this challenge is digital watermarking. This work presents a watermarking scheme for LLM-generated text based on Lagrange interpolation, enabling the recovery of a multi-bit watermark even when the text has been redacted by an adversary.

p. 0
Where the paper says it

One of the key techniques for addressing this challenge is digital watermarking. This work presents a watermarking scheme for LLM-generated text based on Lagrange interpolation, enabling the recovery of a multi-bit watermark even when the text has been redacted by an adversary.

p. 0
Where the paper says it

One of the key techniques for addressing this challenge is digital watermarking. This work presents a watermarking scheme for LLM-generated text based on Lagrange interpolation, enabling the recovery of a multi-bit watermark even when the text has been redacted by an adversary.

p. 0
Where the paper says it

One of the key techniques for addressing this challenge is digital watermarking. This work presents a watermarking scheme for LLM-generated text based on Lagrange interpolation, enabling the recovery of a multi-bit watermark even when the text has been redacted by an adversary.

<ref:2505.05712#pg18>. The survey literature covers a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.<ref:2505.05712#pg18>. The paper references specific prior work on text watermarking techniques.<ref:2505.05712#pg18>. The survey literature covers a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.<ref:2505.05712#pg18>. The paper references specific prior work on text watermarking techniques.<ref:2505.05712#pg18>. The survey literature covers a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.<ref:2505.05712#pg18>. The paper references specific prior work on text watermarking techniques.<ref:2505.05712#pg18>. The survey literature covers a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.<ref:2505.05712#pg18>. The paper references specific prior work on text watermarking techniques.<ref:2505.05712#pg18>. The survey literature covers a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.<ref:2505.05712#pg18>. The paper references specific prior work on text watermarking techniques.<ref:2505.05712#pg18>. The survey literature covers a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.<ref:2505.05712#pg18>. The paper references specific prior work on text watermarking techniques.<ref:2505.05712#pg18>. The survey literature covers a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.<ref:2505.05712#pg18>. The paper references specific prior work on text watermarking techniques.<ref:2505.05712#pg18>. The survey literature covers a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.<ref:2505.05712#pg18>. The paper references specific prior work on text watermarking techniques.<ref:2505.05712#pg18>. The survey literature covers a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.<ref:2505.05712#pg18>. The paper references specific prior work on text watermarking techniques.<ref:2505.05712#pg18>. The survey literature covers a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.<ref:2505.05712#pg18>. The paper references specific prior work on text watermarking techniques.<ref:2505.05712#pg18>. The survey literature covers a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.<ref:2505.05712#pg18>. The paper references specific prior work on text watermarking techniques.<ref:2505.05712#pg18>. The survey literature covers a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.<ref:2505.05712#pg18>. The paper references specific prior work on text watermarking techniques.<ref:2505.05712#pg18>. The survey literature covers a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.<ref:2505.05712#pg18>. The paper references specific prior work on text watermarking techniques.<ref:2505.05712#pg18>. The survey literature covers a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.<ref:2505.05712#pg18>. The paper references specific prior work on text watermarking techniques.<ref:2505.05712#pg18>. The survey literature covers a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.<ref:2505.05712#pg18>. The paper references specific prior work on text watermarking techniques.<ref:2505.05712#pg18>. The survey literature covers a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.<ref:2505.05712#pg18>. The paper references specific prior work on text watermarking techniques.<ref:2505.05712#pg18>. The survey literature covers a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.<ref:2505.05712#pg18>. The paper references specific prior work on text watermarking techniques.<ref:2505.05712#pg18>. The survey literature covers a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.<ref:2505.05712#pg18>. The paper references specific prior work on text watermarking techniques.<ref:2505.05712#pg18>. The survey literature covers a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.<ref:2505.05712#pg18>. The paper references specific prior work on text watermarking techniques.<ref:2505.05712#pg18>. The survey literature covers a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.<ref:2505.05712#pg18>. The paper references specific prior work on text watermarking techniques.<ref:2505.05712#pg18>. The survey literature covers a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.<ref:2505.05712#pg18>. The paper references specific prior work on text watermarking techniques.<ref:2505.05712#pg18>. The survey literature covers a diverse range of strategies for embedding and detecting watermarks in LLM-generated content.<ref:2505.

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Watermark embedding can be made more robust against insertion and deletion attacks by employing a multi-window approach, evaluating Maximum Collinear Points (MCP) on K non-overlapping or randomly sampled windows to find the maximum score across all windows.

  2. The system can support longer, multi-bit watermarks by embedding multiple distinct lines using a set of polynomials f(x) = a0 + a1x+a2x+at−1xt−1 where t is greater than or equal to 3.

  3. A more flexible watermark composition can be achieved by sorting the digests of individual watermark components Wi and concatenating them based on the owner's predetermined order, allowing for complex, structured watermarks.

  4. The detection mechanism can be optimized for practical deployment by capping the number of blocks inspected in a verification segment to a fixed-length token window size T0 to bound MCP computation to O(N20) time complexity, which is constant with respect to total document length.

  5. Higher-degree polynomials can be used instead of straight lines, leading to the Maximum Co-Polynomial Points (MCPP) problem for detection, allowing for richer and potentially stronger watermarking schemes based on degree t greater than 2.

Abstract

The rapid advancement of LLMs (Large Language Models) has established them as a foundational technology for many AI- and ML-powered human-computer interactions. A critical challenge in this context is the attribution of LLM-generated text -- for example, identifying the specific language model that generated it or the individual user who prompted the model. This capability is essential for combating misinformation, fake news, misinterpretation, and plagiarism. One of the key techniques for addressing this challenge is digital watermarking. This work presents a watermarking scheme for LLM-generated text based on Lagrange interpolation, enabling the recovery of a multi-bit watermark even when the text has been redacted by an adversary. The core idea is to embed a continuous sequence of points (x, f(x)) that lie on a single straight line. During extraction, the algorithm recovers the original points along with many spurious ones, forming an instance of the Maximum Collinear Points (MCP) problem, which can be solved efficiently. Experimental results demonstrate that the proposed method is scalable and effective, allowing the embedding of a multi-bit watermark. Experiments on Llama 2-7B demonstrate that the proposed method achieves match rates of 98.6%, 96.0%, 93.9%, and 85.9% for watermark sizes of 16, 20, 24, and 32 bits respectively -- competitive with state-of-the-art methods. Crucially, watermark extraction completes in a fraction of a second, and the scheme is lightweight and applicable to multiple LLM architectures without model retraining.

Sources

Related papers