基于泊松过程的可水印多草稿推测采样算法
Watermarkable Multi-Draft Speculative Sampling via Poisson Processes
这个论文提出的新算法,在提升采样效率的同时还能自然地嵌入水印,解决了之前难以同时兼顾这两个目标的难题。
本文提出了一种基于泊松过程的多草稿推测采样算法,该算法在提升采样效率的同时,能够自然地嵌入水印。实验表明,该算法在保持水印强度和采样效率方面表现优异。
Watermarkable Multi-Draft Speculative Sampling via Poisson Processes
Large language models (LLMs) have achieved state-of-the-art performance across a wide range of tasks, motivating two important aspects of deployment: inference efficiency and output provenance, which can be tackled by speculative sampling and watermarking, respectively. However, recent works have shown that combining these two goals is highly nontrivial and can be potentially impossible. In this work, we develop a novel multi-draft speculative sampling algorithm based on Poisson processes that improves the frontier of this fundamental trade-off. The proposed algorithm has strong sampling efficiency on its own and, more interestingly, is naturally watermarkable: we can embed an unbiased watermark without degrading speculative acceptance. Moreover, our algorithm is based on an exact list-coupling-without-communication scheme, which yields a drafter invariance property that benefits both sampling and watermarking. It is the first multi-draft, drafter-invariant speculative sampling scheme that maintains both watermark strength and sampling efficiency, and we experimentally verify its strong performance in both aspects.