---
title: 'SEEK: Sub-vocabulary Decomposed Texture Key'
url: https://www.emergentmind.com/topics/sub-vocabulary-decomposed-equivalent-texture-key-seek
type: topic
---

# SEEK: Sub-vocabulary Decomposed Texture Key

Sub-vocabulary Decomposed Equivalent tExture Key (SEEK) is an LLM watermarking scheme introduced to improve resilience against both scrubbing and spoofing attacks by exploiting redundancy from “equivalent texture keys” while preserving the spoofing resistance associated with larger watermark windows [2507.06274]. It operates within h-gram watermarking, where token generation is biased from a secret signal derived from the previous \(h\) tokens, but modifies the standard construction by decomposing the full vocabulary into disjoint sub-vocabularies and assigning each sub-vocabulary its own texture key. The resulting design is intended to break the usual trade-off in which small watermark windows are robust to scrubbing but easy to spoof, whereas large windows are difficult to spoof but fragile under localized edits.

## 1. Problem setting and motivation

In h-gram watermarking, each new token is biased according to a secret “texture key” derived from the previous \(h\) tokens. The cited formulation identifies a window-size trade-off: a larger window \(h\) increases sample sparsity \(\sim |\mathcal V|^h\), which makes statistical spoofing exponentially harder, but it also makes the watermark more fragile under localized edits because disturbing one token in each window can break the chain; conversely, a small window \(h \le 4\) is robust to paraphrasing and scrubbing, but easy to spoof via frequency-based attacks [2507.06274].

SEEK is proposed as a response to that trade-off. Its central observation is that collisions in the hash space can create redundancy: within a watermark window, multiple tokens may independently suffice to reconstruct the texture key. These tokens are termed “equivalent texture keys.” This redundancy increases scrubbing resilience because an attacker must disturb all texture-key tokens in the window to remove the watermark, while the use of a large \(h\) preserves spoofing resistance. The paper characterizes this as a Pareto improvement rather than a simple shift along the existing trade-off frontier [2507.06274].

A common misunderstanding is to treat SEEK as a small-window watermarking variant. The construction does not reduce \(h\) to gain robustness. Instead, it retains large-window behavior for spoofing resistance and introduces redundancy through collisions and sub-vocabulary decomposition. This suggests that the scheme’s novelty lies in decoupling two control axes that are often conflated in earlier h-gram designs: the watermark window \(h\) and the collision structure induced by the hash-space size \(d\).

## 2. Equivalent texture keys and the SEEK construction

The formulation begins from KGW-Min, where the texture key at generation step \(n\) is
\[
\zeta_n = \min_{1 \le k \le h} H(x_{n-k}), \qquad \theta_n = \zeta_n \,\xi,
\]
with \(H : \mathcal V \to \{1,\dots,d\}\) a hash and \(\xi\) a secret scalar [2507.06274]. If the hash-space size \(d\) is small, collisions become likely, and multiple tokens in the window may share the minimal hash value. SEEK formalizes the set of equivalent keys as
\[
E_n = \{\, k \in [1,h] : H(x_{n-k}) = \min_{1 \le j \le h} H(x_{n-j}) \,\},
\]
with expected size
\[
\mathbb E[|E_n|] = \sum_{m=1}^{d} \frac{h}{d}\Bigl(\frac{d-m+1}{d}\Bigr)^{h-1}.
\]

The collision mechanism improves scrubbing resilience, but naïvely reducing \(d\) would shrink the number of distinct green-red partitions to \(O(d)\), which degrades text quality. SEEK addresses this by splitting the full vocabulary \(\mathcal V\) into \(d\) disjoint sub-vocabularies \(v_1,\dots,v_d\). Each sub-vocabulary uses its own texture key \(\theta_n^i\) derived from the same hash signature, and each yields a sub-green list \(G^i\). The final green list is the union
\[
G = \bigcup_i G^i.
\]
Because the sub-vocabularies contribute independently, the partition diversity is restored to \(O(2^d)\) while frequent equivalent texture keys remain available within each sub-vocabulary [2507.06274].

For each sub-vocabulary \(v_i\), the paper defines
\[
\theta_n^i =
\begin{cases}
i\,\xi & i \in I,\; I=\{H(x_{n-k}) : 1 \le k \le h\},\\
-\xi & \text{otherwise.}
\end{cases}
\]
Each sub-green list \(G^i\) is then generated by seeding a pseudo-random partition function with \(\theta_n^i\) and biasing tokens in \(G^i\) by \(\delta\). The construction uses the same hash signature across sub-vocabularies but changes the keying logic so that membership in each hashed index contributes independently to the final watermark signal.

## 3. Embedding and detection procedures

During generation, SEEK takes as input a prompt \(x_{1:N}\), hash \(H\), key \(\xi\), window \(h\), sub-vocab count \(d\), bias \(\delta\), and LLM \(P_M\). For each step \(n=N+1,\dots\), it computes base logits \(\ell_n=P_M(x_{1:n-1})\), computes the hash signature \(I=\{H(x_{n-k}):1 \le k \le h\}\), partitions \(\mathcal V\) into uniform sub-vocabularies \(\{v_1,\dots,v_d\}\), derives \(\theta_n^i\) for each \(i=1,\dots,d\), forms the union green list \(G=\bigcup_i G^i\), and biases logits according to
\[
\hat \ell_n[t] = \ell_n[t] + \delta \cdot \mathbf 1_G(t),
\qquad
x_n \sim \mathrm{softmax}(\hat \ell_n).
\]
The watermark is therefore embedded directly in the token sampling distribution rather than by post hoc sequence modification [2507.06274].

Detection re-derives the same sub-green lists from the shared secret logic. For each token, membership in \(G\) is checked to build a hit vector \(s\), after which one computes a green-hit count \(|s|_G\) over a sequence of length \(T\). The basic statistic under \(H_0\) is
\[
z = \frac{|s|_G - \gamma T}{\sqrt{T\,\gamma(1-\gamma)}}.
\]
The paper also uses a sliding-window WinMax detector,
\[
z_{\mathrm{winmax}} = \max_{0 \le i < j \le T}
\frac{(p_j-p_i)-\gamma(j-i)}
{\sqrt{\gamma(1-\gamma)\,(j-i)}}.
\]
A sequence is declared watermarked if \(z\), or both \(z\) and \(z_{\mathrm{winmax}}\), exceed calibrated thresholds [2507.06274].

This embedding-detection pipeline preserves the operational structure of h-gram watermarking while changing the internal key schedule. A plausible implication is that SEEK can be understood as a structural modification of green-list generation rather than a replacement of the standard detector family.

## 4. Theoretical properties and parameterization

The paper gives a lower bound on the probability of at least one collision:
\[
p_{\mathrm{coll}(h,d)} \ge 1-\exp\Bigl(-\frac{h(h-1)}{2d}\Bigr),
\]
and uses this to motivate the dependence of redundancy on the hash-space size \(d\) [2507.06274]. In the reported interpretation, \(h\) governs spoofing resistance because sample complexity scales as \(\sim |\mathcal V|^h\), whereas \(d\) governs scrubbing redundancy because smaller \(d\) induces more hash collisions, more equivalent keys, and higher post-scrub \(z\)-scores.

The design therefore separates two parameter roles. Larger \(h\) lowers spoofing false-positive rate, while smaller \(d\) raises the number of equivalent keys. This decomposition is constrained by output quality, because partition diversity must remain large enough to avoid linguistic degradation. The practical recommendation reported in the paper is that \(d=6\)–16 balances these goals. Two default settings are highlighted: SEEK\(_6\) with \((h=6,d=6)\) and SEEK\(_L\) with \((h=16,d=16)\) [2507.06274].

Appendix E reportedly proves a Pareto improvement guarantee: for any \(\gamma \ge 1/(d+1)\) and sufficiently large \(d\), the expected number of tokens an attacker must corrupt to erase SEEK’s watermark is strictly larger than for KGW-Min, while statistical spoofing complexity remains governed by \(h\) alone. Within the paper’s framework, this formalizes the claim that SEEK improves scrub resistance without surrendering the large-window protection against spoofing.

## 5. Empirical evaluation

The scrubbing evaluation uses WikiText, C4-RealNewsLike, and LFQA, with attackers DIPPER-I, DIPPER-II, ChatGPT 3.5, and DeepSeek v3. Reported metrics are AUROC, TP@1%, and TP@5% at FPR \(=1\%, 5\%\). Relative to KGW-Min\(^4\) with \(h=4\), SEEK reports TP@1% gains of \(+10.2\%\) on WikiText \((67.4 \to 78.2)\), \(+6.4\%\) on C4 \((82.6 \to 88.2)\), and \(+24.6\%\) on LFQA \((90.8 \to 96.1)\). The paper further states that SEEK maintains higher residual \(z\) under paraphrase and scales gracefully with sequence length [2507.06274].

The spoofing evaluation uses Dolly-CW, MMW-BookReports, MMW-FakeNews, and C4-Eval, under statistics-based attacks such as Steal [38] and distillation-based attacks [26]. Reported metrics include FPR@\(10^{-3}\), FPR@\(10^{-2}\), and \(z\)-scores. For statistics-based spoofing, the reported gains over KGW-Min\(^4\) at FPR@\(10^{-3}\) are a reduction from \(0.85\) to \(0.10\) on Dolly-CW \((\downarrow 88.2\%)\), from \(0.91\) to \(0.07\) on BookReports \((\downarrow 92.3\%)\), and from \(0.95\) to \(0.18\) on FakeNews \((\downarrow 82.0\%)\). Under distillation-based attacks, SEEK yields the lowest \(z\)-scores and FPR@\(10^{-2}\) across all four benchmarks [2507.06274].

Generation quality is assessed with perplexity using an OPT-2.7B oracle, P-SP paraphrase similarity, and log-diversity. The reported result is that SEEK remains within \(<1\%\) of KGW baselines, indicating negligible linguistic degradation. Additional ablations in Appendix C vary \(d\) and \(h\), test cross-model generalization on LLaMA2-13B, Mistral-7B, and OPT-6.7B, and examine robustness under beam search, copy-paste attacks, and sliding-window detectors. Across these settings, the reported tendency is consistent with the theory: increasing \(h\) improves spoofing robustness, while decreasing \(d\) increases redundancy against scrubbing [2507.06274].

## 6. Interpretation, misconceptions, and terminological disambiguation

The most important conceptual clarification is that SEEK’s robustness does not derive from shrinking the watermark window. The paper explicitly frames small-window schemes as robust to scrubbing but susceptible to statistics-based spoofing. SEEK instead preserves the large-window regime and introduces intra-window redundancy through equivalent texture keys. This distinction is essential for interpreting the reported Pareto improvement: the scheme is not trading spoofing robustness for scrub robustness, but attempting to retain both within one parameterization [2507.06274].

A second clarification concerns the term “texture key.” In SEEK, the expression refers to a watermarking keying mechanism derived from hashed token histories. It is unrelated to the UV-domain texture vocabulary used in human-avatar modeling, such as TexVocab, which back-projects multi-view RGB videos to SMPL UV space, constructs pose-texture pairs, and synthesizes dynamic appearance through body-part-wise interpolation [2404.00524]. The lexical overlap can be misleading, but the underlying objects are different: SEEK’s “texture key” is a sequence-conditioned watermark signal, whereas TexVocab’s “texture vocabulary” is an image-aligned representation for animatable avatars.

Within the watermarking literature represented by the cited paper, SEEK occupies a specific position. It remains an h-gram watermarking method; it continues to use green-list biasing and standard \(z\)-score-style detection; and it modifies the scheme by decomposing the vocabulary into disjoint sub-vocabularies and exploiting collision-induced redundancy. This suggests that its main contribution is architectural rather than merely parametric: the watermark signal is factored across sub-vocabularies so that collision frequency and partition diversity can be tuned separately.

Source: https://www.emergentmind.com/topics/sub-vocabulary-decomposed-equivalent-texture-key-seek