- Rating
- 4
- Clarity
- 3
- Confidence
- 2
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This work addresses estimating Total Variation (TV) distance between probability distributions, particularly in the context of large language models (LLMs). The claims of the paper highlight contributions such as the introduction of a noisy prefix logit oracle, which unifies exact prefix logit and sampling queries into a single framework, and the application of multilevel Monte Carlo methods for variance reduction.
Strengths and weaknesses
I find this submission to be a rigorous contribution to distributional analysis in LLMs.
The work’s primary strength lies in its introduction of the noisy prefix logit oracle, which unifies exact prefix logit and sampling queries into a single framework, enabling robust estimation of TV distance under realistic noise conditions. The proposed logit-based algorithm achieves optimal query complexity, leveraging full distributional outputs for prefixes to outperform sampling-based methods. This approach is further validated through practical applications, such as auditing LLMs to detect distributional discrepancies in real-world scenarios. The paper also bridges theoretical guarantees (e.g., tight lower bounds for oracle complexity) with practical relevance, addressing challenges like sparsity in next-token distributions (captured by the K factor).
Questions
-Given that the theoretical analysis in the paper assumes a binary alphabet for lower-bound proofs, how does this framework extend to subword-based logits in modern large language models (LLMs), which operate over open, high-dimensional alphabets? Is this a valid concern, and how might the authors address the discrepancy between the binary-alphabet assumption and the practical subword setting, not by theory, but in real use-case?
-How should we apply the proposed noisy prefix logit oracle ensuring robustness to real-world LLM implementation artifacts (e.g., batching, precision errors, and non-deterministic logits)?
Limitations
The work acknowledges several limitations and potential weaknesses. First, it explicitly states that the theoretical bounds under sampler access are not tight, leaving this as an open question for future research. This suggests that while the proposed algorithm achieves optimal query complexity under prefix logit oracles, its performance guarantees may be weaker in practical settings where sampling is the primary access method.
Additionally, the analysis assumes a binary alphabet for the lower bound proof, which may not generalize to more complex or high-dimensional distributional scenarios. The paper also notes that the K factor (related to sparsity in the support) can be large for real-world models like Qwen, potentially limiting the method’s efficiency for models with extensive vocabularies.
Finally, while experiments validate the approach on autoregressive models, the authors do not address broader societal impacts, focusing instead on technical contributions.
Paper formatting concerns
None
Final justification
Give all the discussions, I will keep my score.
Thank you for your positive feedback and clarifying questions. We address your concerns here, and will incorporate this discussion into our revision.
Q1 & L2: The lower-bound proof only considers a binary alphabet and may not apply to general alphabets.
Our lower bound applies to arbitrary ∣Σ∣ via a small modification of the hard distribution in Appendix B.2. In particular, for ∣Σ∣>2, we can take two distinguished symbols in Σ and treat them as {0,1} in the construction, and place zero probability mass on any string containing any other symbol. Notably, our upper bound in Theorem 2 is independent of ∣Σ∣, so even our lower bound for ∣Σ∣=2 case shows the upper bound is unimprovable.
Q2: How should we apply the noisy oracle ensuring robustness to real-world LLM implementation artifacts?
From a theoretical perspective, our algorithm can handle any unbiased and independent noise satisfying the bounded relative-variance condition. In practice, one can first use a small number of pilot queries to estimate the noise level, and then run our algorithm with the corresponding schedule. Our method is designed precisely to be robust to nondeterministic logits, so this artifact is naturally covered by our model.
As you mentioned, real-world LLM implementation bring a lot of artifacts: precision errors introduced by quantization may systematically change the output distribution; different batching configurations may induce a systematic distribution shift. These are exactly the motivating use cases we listed in the paper! In these cases, given they are actually different output distributions, we shouldn't pursue robustness across different configurations; instead, the resulting distributional difference is exactly what our TV estimator aims to measure.
One caveat is that the unbiasedness and independence of the noise may be broken in real-world deployed LLM systems: for example, the softmax sampler could have an implicit bias, or the system may change based on load, which will vary over the course of the day. These aren't "supposed" to matter, but they can. Measuring whether they do seems to require more specialized cause-specific probing, which we leave to future work. Here we can give a generic measurement of variation over all causes that respect independence.
L3: The factor of K may limit the method’s efficiency for models with large vocabularies.
We want to clarify that K is the maximum support size of a prefix-conditional distribution, not the vocabulary size m. A larger m does not by itself imply a larger K. In practice, the support size of prefix-conditional distributions is typically controlled by a user-specified parameter k, e.g., the model cards for Qwen3.5, Phi-4-reasoning, Gemma 4, and Hugging Face Transformers all recommend k≈50 or less. While nondeterminism may make K>k, our experiments in Appendix D.5 show that it is well below 2k in practice. In all cases, K is substantially smaller than m, e.g., a factor of ≈104 for Qwen3. Notably, the Km factor savings that our Theorem 1 enjoys over the prior work [MKP25] appears inherent to their approach, see discussion in Footnote 1.