paper-with-me

Papers

Amortizing intractable inference in large language models

2023-10-06 · Edward J. Hu, Moksh Jain, Eric Elmoznino, Younesse Kaddar, Guillaume Lajoie, Yoshua Bengio, Nikolay Malkin

Autoregressive large language models (LLMs) compress knowledge from their training data through next-token conditional distributions. This limits tractable querying of this knowledge to start-to-end autoregressive sampling. However, many tasks of interest -- including sequence continuation, infilling, and other forms of constrained generation -- involve sampling from intractable posterior distributions. We address this limitation by using amortized Bayesian inference to sample from these intractable posteriors. Such amortization is algorithmically achieved by fine-tuning LLMs via diversity-seeking reinforcement learning algorithms: generative flow networks (GFlowNets). We empirically demonstrate that this distribution-matching paradigm of LLM fine-tuning can serve as an effective alternative to maximum-likelihood training and reward-maximizing policy optimization. As an important application, we interpret chain-of-thought reasoning as a latent variable modeling problem and demonstrate that our approach enables data-efficient adaptation of LLMs to tasks that require multi-step rationalization and tool use.

📄 PDF Abstract BibTeX arXiv:2310.04363

Code (1)

GFNOrg/gfn-lm-tuning 공식 구현 pytorch

Tasks

Bayesian InferenceDiversity

Similar Papers 제목 키워드 기반

Amortizing intractable inference in diffusion models for vision, language, and control

2024-05-31 · Siddarth Venkatraman, Moksh Jain, Luca Scimeca, Minsu Kim 외

Diffusion models have emerged as effective distribution estimators in vision, language, and reinforcement learning, but their use as priors in downstream tasks poses an intractable posterior inference problem. This paper…

continuous-controlContinuous ControlDeep Reinforcement LearningImage Generation+4

metabeta -- A fast neural model for Bayesian mixed-effects regression

2025-10-08 · Alex Kipnis, Marcel Binz, Eric Schulz arxiv

Hierarchical data with multiple observations per group is ubiquitous in empirical sciences and is often analyzed using mixed-effects regression. In such models, Bayesian inference gives an estimate of uncertainty but is …

Bayesian Inference

Variational Composite Autoencoders

2018-04-12 · Jiangchao Yao, Ivor Tsang, Ya zhang

Learning in the latent variable model is challenging in the presence of the complex data structure or the intractable latent variable. Previous variational autoencoders can be low effective due to the straightforward enc…

Decoder

On Amortizing Inference Cost for Structured Prediction

2012-07-01 · EMNLP 2012 7 · Vivek Srikumar, Gourab Kundu, Dan Roth
Combinatorial OptimizationDependency ParsingPredictionSemantic Role Labeling+1

Amortized Monte Carlo Integration

2019-07-18 · Adam Goliński, Frank Wood, Tom Rainforth

Current approaches to amortizing Bayesian inference focus solely on approximating the posterior distribution. Typically, this approximation is, in turn, used to calculate expectations for one or more target functions - a…

Bayesian Inference