Variational Reasoning for Language Models
Summary
We introduce a variational reasoning framework for language models that treats thinking traces as latent variables and optimizes them through variational inference. Starting from the evidence lower bound (ELBO), we extend it to a multi-trace objective for tighter bounds and propose a forward-KL formulation that stabili…
- Venue
- arXiv 2509.22637
- Publisher
- arXiv 2509.22637
- Source
- arxiv
- Access
- open arXiv PDF/abs
- Purpose
- Variational Reasoning for Language Models
- Domain
- reasoning / RL; code / SQL
- Used for
- LLM research reference
- Time period
- arXiv 2025/09/26; Discord LinkedIn mid harvested 2026-09-15
- Author type
- academic/industry (see abs)
- Added
- Sep 15, 2026
- Verified
- Sep 15, 2026
- Research status
- done
- Found via
- #random-papers
From the source
- Published
- Sep 26, 2025
- Last revised
- Oct 15, 2025
- arXiv categories
- cs.CL, cs.AI, cs.LG
- Citations
- 6
- References
- 76
Abstract (from arXiv)
We introduce a variational reasoning framework for language models that treats thinking traces as latent variables and optimizes them through variational inference. Starting from the evidence lower bound (ELBO), we extend it to a multi-trace objective for tighter bounds and propose a forward-KL formulation that stabilizes the training of the variational posterior. We further show that rejection sampling finetuning and binary-reward RL, including GRPO, can be interpreted as local forward-KL objectives, where an implicit weighting by model accuracy naturally arises from the derivation and reveals a previously unnoticed bias toward easier questions. We empirically validate our method on the Qwen 2.5 and Qwen 3 model families across a wide range of reasoning tasks. Overall, our work provides a principled probabilistic perspective that unifies variational inference with RL-style methods and yields stable objectives for improving the reasoning ability of language models. Our code is available at https://github.com/sail-sg/variational-reasoning.
Tags
Topics
reasoning / RL; code / SQL
Research notes
- From LinkedIn thread (Discord mid 1321330812041564162). Primary: https://www.linkedin.com/posts/philipp-schmid-a6a2bb196_interesting-new-research-from-meta-on-exploring-activity-7276883157268721664-FZ0S?utm_source=share&utm_medium=member_desktop.
Cites, within this collection
Similar entries
- Paper Graph-Reward-SQL: Execution-Free Reinforcement Learning for Text-to-SQL via Graph Matching and Stepwise Reward
- Paper Are Large Reasoning Models Interruptible?
- Paper TROLL: Trust Regions improve Reinforcement Learning for Large Language Models
- Paper DAG-Math: Graph-of-Thought Guided Mathematical Reasoning in LLMs
- Paper Budget-aware Test-time Scaling via Discriminative Verification
- Paper Amortized Latent Steering: Low-Cost Alternative to Test-Time Optimization