cs.ITAug 31, 2026

Minimax bounds for watermarked and masked recursive discrete distribution estimation

Authors: Millen KanabarMichael Gastpar

Organizations: School of Computer and Communication Sciences, EPFL, Switzerland

Abstract

Watermarking has been proposed as a way to identify synthetic samples in estimation settings where no metadata is available to distinguish them from real samples, but its precise effects remain unexplored. In the absence of a distinguishing mechanism, it has been shown that adding synthetic samples significantly reduces the marginal efficacy of new real samples. In this work, we study the minimax loss of such recursive discrete distribution estimation in the presence of watermarks in contrast to the unassisted and oracle-assisted losses. When the fraction of real samples vanishes asymptotically, we provide a lower bound that shows that it is impossible to improve performance by adding watermarks unless the false negative rate of detection also vanishes. Additionally, we show that in most regimes, the worst-case losses of a sequence of simple deterministic estimators match the corresponding lower bounds up to constants. Finally, we propose masking, a randomization procedure that narrows the gap in the remaining regimes to a Jensen gap. We conjecture that a tighter lower bound argument can close this gap.

Explore similar work

Jun 30, 2026math.ST

Sample Complexities of Estimating Gumbel--Max Watermark Proportions with and without Reduction to Pivotal Statistics

Watermarking promises statistical traceability of large language model (LLM) uses, but real documents rarely arrive as purely human-written or purely LLM-generated. This motivates a quantitative question beyond detection: what proportion of a document is generated from a pre-specified watermarked LLM? We study this watermark proportion estimation problem under the Gumbel--max watermarking mechanism, treating the next-token prediction distributions as unknown and arbitrary nuisance parameters subject to a non-degeneracy condition. We compare two observation regimes: in the full observation regime, the estimator observes the pseudorandom vector and the selected token at each position; in the more prevalent setting of pivotal reduction, it observes only a scalar pivot, which follows a one-dimensional Uniform--Beta mixture distribution. Under pivotal reduction, we develop a Laguerre-polynomial estimator and establish a matching information-theoretic lower bound for the sample complexity. For full observation, we introduce an event-counting estimator and show a matching lower bound, yielding a substantially smaller sample complexity. As our results imply, although reducing to pivotal statistics is an elegant and prevalent choice, it is not always sample-efficient for estimating the proportion of watermarks.
Shuwen Chai, Qiaosen Wang
Jun 27, 2025stat.ML

Optimal Estimation of Watermark Proportions in Hybrid AI-Human Texts

Text watermarks in large language models (LLMs) are an increasingly important tool for detecting synthetic text and distinguishing human-written content from LLM-generated text. While most existing studies focus on determining whether entire texts are watermarked, many real-world scenarios involve mixed-source texts, which blend human-written and watermarked content. In this paper, we address the problem of optimally estimating the watermark proportion in mixed-source texts. We cast this problem as estimating the proportion parameter in a mixture model based on \emph{pivotal statistics}. First, we show that this parameter is not even identifiable in certain watermarking schemes, let alone consistently estimable. In stark contrast, for watermarking methods that employ continuous pivotal statistics for detection, we demonstrate that the proportion parameter is identifiable under mild conditions. We propose efficient estimators for this class of methods, which include several popular unbiased watermarks as examples, and derive minimax lower bounds for any measurable estimator based on pivotal statistics, showing that our estimators achieve these lower bounds. Through evaluations on both synthetic data and mixed-source text generated by open-source models, we demonstrate that our proposed estimators consistently achieve high estimation accuracy.
Xiang Li, Garrett Wen, Weiqing He +3
Jul 18, 2026cs.IT

Tight Sample Bounds for Renyi and Min-Entropy Estimation

Estimating entropy from samples is fundamental in information theory and property testing. Shannon entropy measures average uncertainty and can be estimated to constant additive accuracy over a kk-symbol alphabet using Θ(k/logk)Θ(k/\log k) samples. Min-entropy depends only on the most likely symbol. Both are special cases of order-αα R'{e}nyi entropy, HαH_α. We characterize the sample complexity of estimating min-entropy and R'{e}nyi entropy for kk and integer α>1α>1; our lower bounds also hold for noninteger α1.001α\ge1.001. We prove that min-entropy estimation to constant additive accuracy has sample complexity Θ(klogk)Θ(k\log k). The upper bound uses the largest empirical frequency and concentration via dyadic grouping. The matching lower bound hides a slightly heavier symbol at a uniformly random location. Thus, min-entropy requires Θ(log2k)Θ(\log^2 k) more samples than Shannon entropy and corrects a previously stated Θ(k/logk)Θ(k/\log k) characterization. For every integer 2αc0logk2\leα\le c_0\log k, we prove the matching fixed-accuracy bound Θc0(αk11/α)Θ_{c_0}(αk^{1-1/α}). Previous results gave Ωα(k11/α)Ω_α(k^{1-1/α}) for fixed integer α>1α>1 and Oc0(α2k11/α)O_{c_0}(α^2k^{1-1/α}) for all integer α>1α>1. Our upper bound analyzes an unbiased falling-factorial estimator based on αα-way collisions, while a hidden-heavy-coordinate construction gives the matching lower bound and shows that the factor αα is unavoidable. For every real 1.001αc0logk1.001\leα\le c_0\log k, we prove the uniform lower bound Ωc0(αk11/α)Ω_{c_0}(αk^{1-1/α}). Finally, since 0Hα(p)H(p)logk/(α1)0\le H_α(p)-H_\infty(p)\le\log k/(α-1), min-entropy uniformly approximates HαH_α when αα is a sufficiently large multiple of logk\log k. Combining this reduction with our min-entropy bounds gives Θε(klogk)Θ_\varepsilon(k\log k) sample complexity in the high-order regime.
Arman Adibi, Piotr Krysta