Pith. sign in

REVIEW 1 cited by

Permute-and-Flip: An optimally stable and watermarkable decoder for LLMs

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2402.05864 v3 pith:2F5UYE2C submitted 2024-02-08 cs.CL cs.CRcs.LG

classification cs.CLcs.CRcs.LG
keywords decodersamplingcounterpartdecodinggumbelhighpermute-and-flipscheme
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

In this paper, we propose a new decoding method called Permute-and-Flip (PF) decoder. It enjoys stability properties similar to the standard sampling decoder, but is provably up to 2x better in its quality-stability tradeoff than sampling and never worse than any other decoder. We also design a cryptographic watermarking scheme analogous to Aaronson (2023)'s Gumbel watermark, but naturally tailored for PF decoder. The watermarking scheme does not change the distribution to sample, while allowing arbitrarily low false positive rate and high recall whenever the generated text has high entropy. Our experiments show that the PF decoder (and its watermarked counterpart) significantly outperform(s) naive sampling (and its Gumbel watermarked counterpart) in terms of perplexity, while retaining the same stability (and detectability), hence making it a promising new approach for LLM decoding. The code is available at https://github.com/XuandongZhao/pf-decoding

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Optimal Estimation of Watermark Proportions in Hybrid AI-Human Texts

    stat.ML 2025-06 conditional novelty 7.0 of 10

    For continuous-score text watermarks, the proportion of watermarked tokens in mixed AI-human text is identifiable and can be estimated at the minimax-optimal rate.

Pith tools