Amortizing intractable inference in large language models
Analyze & explore related research in Conceptio
Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.
[2310.04363] Amortizing intractable inference in large language models Skip to main content Search Submit Donate Log in Computer Science > Machine Learning arXiv:2310.04363 (cs) [Submitted on 6 Oct 2023 ( v1 ), last revised 31 Aug 2026 (this version, v3)] Title: Amortizing intractable inference in large language models Authors: Edward J. Hu , Moksh Jain , Eric Elmoznino , Younesse Kaddar , Guillaume Lajoie , Yoshua Bengio , Esmeralda S. Whitammer View PDF HTML (experimental) Abstract: 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. Comments: ICLR 2024; 23 pages; code: this https URL Subjects: Machine Learning (cs.LG) ; Computation and Language (cs.CL) Cite as: arXiv:2310.04363 [cs.LG] (or arXiv:2310.04363v3 [cs.LG] for this version) https://doi.org/10.48550/arXiv.2310.04363 Focus to learn more arXiv-issued DOI via DataCite Submission history From: Esmeralda Whitammer [ view email ] [v1] Fri, 6 Oct 2023 16:36:08 UTC (7,996 KB) [v2] Wed, 13 Mar 2024 22:48:14 UTC (8,003 KB) [v3] Mon, 31 Aug 2026 10:54:48 UTC (7,993 KB) Full-text links: Access Paper: View PDF HTML (experimental) TeX Source view license Additional Features Audio Summary Current browse context: cs.LG < prev | next > new | recent | 2023-10 Change to browse by: cs cs.CL References & Citations SciX Google Scholar Semantic Scholar export BibTeX citation Bookmark Bibliographic Tools Bibliographic and Citation Tools Bibliographic Explorer Toggle Bibliographic Explorer ( What is the Explorer? ) Connected Papers Toggle Connected Papers ( What is Connected Papers? ) Litmaps Toggle Litmaps ( What is Litmaps? ) scite.ai Toggle scite Smart Citations ( What are Smart Citations? ) Code, Data, Media Code, Data and Media Associated with this Article alphaXiv Toggle alphaXiv ( What is alphaXiv? ) Links to Code Toggle CatalyzeX Code Finder for Papers ( What is CatalyzeX? ) DagsHub Toggle DagsHub ( What is DagsHub? ) GotitPub Toggle Gotit.pub ( What is GotitPub? ) Huggingface Toggle Hugging Face ( What is Huggingface? ) ScienceCast Toggle ScienceCast ( What is ScienceCast? ) Demos Demos Replicate Toggle Replicate ( What is Replicate? ) Spaces Toggle Hugging Face Spaces ( What is Spaces? ) Spaces Toggle TXYZ.AI ( What is TXYZ.AI? ) Related Papers Recommenders and Search Tools Link to Influence Flower Influence Flower ( What are Influence Flowers? ) Core recommender toggle CORE Recommender ( What is CORE? ) IArxiv recommender toggle IArxiv Recommender ( What is IArxiv? ) Author Venue Institution Topic About arXivLabs arXivLabs: experimental projects with community collaborators arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website. Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them. Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs . Which authors of this paper are endorsers? | Disable MathJax ( What is MathJax? ) We gratefully acknowledge support from our major funders , member institutions , and all contributors. About · Help · Contact · Subscribe · Copyright · Privacy · Accessibility · Operational Status (opens in new tab)
Related documents
- Amortizing intractable inference in large language models#797127
- Training-Free Inference-Time Self-Reflection and Cost-Bounded Early Stopping for Large Language Models#467181
- EDGC: Entropy-driven Dynamic Gradient Compression for Efficient LLM Training#1143639
- Mitigating Representation Gaps in Amortized Bayesian Inference with Auxiliary Supervision#1144492
- ClinicRealm: Re-evaluating large language models with conventional machine learning for non-generative clinical prediction tasks.#14927
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive