- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This submission presents Qrita, an exact, deterministic Top-k/Top-p algorithm for LLM decoding. It replaces full-vocabulary sort with 1. Gaussian -truncation, which discards the noise region in one pass via a threshold ( from a quantile table). The thresholding is correctness-preserving, a bad threshold would fall back to the full vocab when the truncated set is . And 2. quaternary pivot search with explicit duplicate bookkeeping (termination , plus a first-occurrence keep rule) that resolves boundary ties deterministically. Evaluated on four models (vocab 128k–262k) across H100/RTX4090/MI355X vs. PyTorch/vLLM/FlashInfer/SGLang. It reports up to kernel throughput at lower memory, and up to end-to-end vLLM serving.
Strengths and weaknesses
Strengths
- Qrita returns the full, exact, deterministic candidate set that is useful for scenarios like speculative-decoding verification and RL, which is lacking from single-token rejection samplers like FlashInfer.
- Qrita presents solid overall performance gains across four models and three hardware platforms, outperforming the baselines in most configurations, with up to 2 times kernel throughput and 1.41 times end-to-end.
- Duplicate logits are handled carefully. The termination condition detects when the -th element falls inside a run of equal logits, a case where a naive would loop forever, and it resolves the boundary with a cumsum occurrence map and a fixed first-occurrence keep rule.
Weakness
Lack of comparisons with radix top-k/radix top-p based sampling algorithms.
- Radix Top-K https://github.com/flashinfer-ai/flashinfer/pull/2119
- Radix Top-P https://github.com/flashinfer-ai/flashinfer/pull/2752
and some recent data-dependent kernel optimizations on top-k: https://arxiv.org/abs/2604.22312 (in the domain of sparse attention, but might also be useful in sampling).
Questions
- Table 3 shows quaternary search is about 2% slower than binary in the truncation-hit case and is only faster on the fallback path. Since the reported Top-k hit-rate is 1.0 (Table 1), truncation almost always hits, so the evaluated regime is essentially the one where binary is faster. Given that the kernel already knows at runtime whether truncation hit or missed (the check in Algorithm 1), could it dispatch binary search on a hit and quaternary on a miss, for example via a templated/constexpr kernel? Would this give a speedup?
Limitations
yes
Paper formatting concerns
N/A
Meta-review
Qrita presents a practical Triton implementation of pivot-based Top-k/Top-p selection that avoids full-vocabulary sorting while aiming to preserve the exact, deterministic candidate set. The problem is relevant to LLM serving, and the method is simple, well motivated, and supported by broad multi-platform results showing substantial kernel speedups, end-to-end gains, and lower memory use.
The main concern is that the central exactness claim is asserted rather than directly measured against full sort. The paper should also reconcile reported paper/code inconsistencies concerning iteration limits, numerical tolerances, and Algorithm 2. Further clarification is needed on Gaussian truncation robustness under temperature and low precision, Top-p fallback and tail latency, large-batch scalability, and comparisons with radix-based approaches.
I lean accept because the contribution is practically useful and the evaluation is otherwise comprehensive. A rebuttal providing direct exactness verification and resolving the implementation discrepancies is important; failure to do so could lower my assessment.