paper-with-me

Papers

Decoding-Free Sampling Strategies for LLM Marginalization

2025-10-23 · David Pohl, Marco Cognetta, Junyoung Lee, Naoaki Okazaki arxiv

Modern language models operate on subword-tokenized text in order to make a trade-off between model size, inference speed, and vocabulary coverage. A side effect of this is that, during inference, models are evaluated by measuring the probability of only the specific tokenization produced as the output, despite there being many possible ways to represent the same text with a subword vocabulary. Recent studies have argued instead for evaluating LLMs by marginalization - the probability mass of all tokenizations of a given text. Marginalization is difficult due to the number of possible tokenizations of a text, so often approximate marginalization is done via sampling. However, a downside of sampling is that an expensive generation step must be performed by the LLM for each sample, which limits the number of samples that can be acquired given a runtime budget, and therefore also the accuracy of the approximation. Since computing the probability of a sequence given the tokenization is relatively cheap compared to actually generating it, we investigate sampling strategies that are decoding-free - they require no generation from the LLM, instead relying entirely on extremely cheap sampling strategies that are model and tokenizer agnostic. We investigate the approximation quality and speed of decoding-free sampling strategies for a number of open models to find that they provide sufficiently accurate marginal estimates at a small fraction of the runtime cost and demonstrate its use on a set of downstream inference tasks.

📄 PDF Abstract BibTeX arXiv:2510.20208

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Automatically Marginalized MCMC in Probabilistic Programming

2023-02-01 · Jinlin Lai, Javier Burroni, Hui Guan, Daniel Sheldon

Hamiltonian Monte Carlo (HMC) is a powerful algorithm to sample latent variables from Bayesian models. The advent of probabilistic programming languages (PPLs) frees users from writing inference algorithms and lets users…

Probabilistic Programming

Decoding in Geometry: Alleviating Embedding-Space Crowding for Complex Reasoning

2026-01-30 · Yixin Yang, Qingxiu Dong, Zhifang Sui arxiv

Sampling-based decoding underlies complex reasoning in large language models (LLMs), where decoding strategies critically shape model behavior. Temperature- and truncation-based methods reshape the next-token distributio…

Correlated signal inference by free energy exploration

2016-12-26 · Torsten A. Enßlin, Jakob Knollmüller

The inference of correlated signal fields with unknown correlation structures is of high scientific and technological relevance, but poses significant conceptual and numerical challenges. To address these, we develop the…

Stop Jostling: Adaptive Negative Sampling Reduces the Marginalization of Low-Resource Language Tokens by Cross-Entropy Loss

2026-01-30 · Galim Turumtaev arxiv

Neural language models often struggle with low-resource languages due to the limited availability of training data, making tokens from these languages rare in the training set. This paper addresses a specific challenge d…

Sampling for Quality: Training-Free Reward-Guided LLM Decoding via Sequential Monte Carlo

2026-04-07 · Jelena Markovic-Voronov, Wenhui Zhu, Bo Long, Zhipeng Wang 외 arxiv

We introduce a principled probabilistic framework for reward-guided decoding in large language models, addressing the limitations of standard decoding methods that optimize token-level likelihood rather than sequence-lev…

Mathematical ReasoningReinforcement LearningCode Generation