paper-with-me

Papers

Quasi-random Multi-Sample Inference for Large Language Models

2024-11-09 · Aditya Parashar, Aditya Vikram Singh, Avinash Amballa, Jinlin Lai, Benjamin Rozonoyer

Large language models (LLMs) are often equipped with multi-sample decoding strategies. An LLM implicitly defines an arithmetic code book, facilitating efficient and embarrassingly parallelizable \textbf{arithmetic sampling} to produce multiple samples using quasi-random codes. Traditional text generation methods, such as beam search and sampling-based techniques, have notable limitations: they lack parallelizability or diversity of sampled sequences. This study explores the potential of arithmetic sampling, contrasting it with ancestral sampling across two decoding tasks that employ multi-sample inference: chain-of-thought reasoning with self-consistency and machine translation with minimum Bayes risk decoding. Our results demonstrate that arithmetic sampling produces more diverse samples, significantly improving reasoning and translation performance as the sample size increases. We observe a $\mathbf{3\text{-}5\%}$ point increase in accuracy on the GSM8K dataset and a $\mathbf{0.45\text{-}0.89\%}$ point increment in COMET score for WMT19 tasks using arithmetic sampling without any significant computational overhead.

📄 PDF Abstract BibTeX arXiv:2411.06251

Code (0)

등록된 구현이 없습니다.

Tasks

DiversityGSM8KMachine TranslationText GenerationTranslation

Similar Papers 제목 키워드 기반

Quasi-random sampling for multivariate distributions via generative neural networks

2018-11-01 · Marius Hofert, Avinash Prasad, Mu Zhu

Generative moment matching networks (GMMNs) are introduced for generating quasi-random samples from multivariate models with any underlying copula in order to compute estimates under variance reduction. So far, quasi-ran…

Management

An Efficient Quasi-Random Sampling for Copulas

2024-03-08 · Sumin Wang, Chenxian Huang, Yongdao Zhou, Min-Qian Liu

This paper examines an efficient method for quasi-random sampling of copulas in Monte Carlo computations. Traditional methods, like conditional distribution methods (CDM), have limitations when dealing with high-dimensio…

Management

Quasi-Monte Carlo Variational Inference

2018-07-04 · ICML 2018 7 · Alexander Buchholz, Florian Wenzel, Stephan Mandt

Many machine learning problems involve Monte Carlo gradient estimators. As a prominent example, we focus on Monte Carlo variational inference (MCVI) in this paper. The performance of MCVI crucially depends on the varianc…

Variational Inference

QuasiMoTTo: Quasi-Monte Carlo Test-Time Scaling

2026-07-01 · Michael Y. Li, Anthony Zhan, Kanishk Gandhi, Noah D. Goodman 외 arxiv

Scaling inference compute, by generating many parallel attempts per problem, is a costly but reliable lever for improving language model capabilities. By default these attempts are generated independently, wasting infere…

Reinforcement Learning

Quasi-Score Matching Estimation for Spatial Autoregressive Model with Random Weights Matrix and Regressors

2023-05-31 · Xuan Liang, Tao Zou

With the rapid advancements in technology for data collection, the application of the spatial autoregressive (SAR) model has become increasingly prevalent in real-world analysis, particularly when dealing with large data…

Econometrics