Variational Reasoning for Language Models
π€ Upvotes: 51 | cs.CL, cs.AI, cs.LG
Authors:
Xiangxin Zhou, Zichen Liu, Haonan Wang, Chao Du, Min Lin, Chongxuan Li, Liang Wang, Tianyu Pang
Title:
Variational Reasoning for Language Models
Arxiv:
http://arxiv.org/abs/2509.22637v1
Abstract:
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.
You May Also Like

Head Shepherd
Mark Ferguson

The Grave Talks | Haunted, Paranormal & Supernatural
Ghost Stores, Haunted, Paranormal & Supernatural Stories

ΠΠ»ΠΎΠ±Π°Π»ΡΠ½ΡΠΉ Π΄ΠΎΡΡΡΠΏ Π½Π° ΡΡΠ½ΠΎΠΊ ΠΌΠ΅Π΄ΠΈΡΠΈΠ½ΡΠΊΠΈΡ ΠΈΠ·Π΄Π΅Π»ΠΈΠΉ
Pure Global

Vida Eterna. Respuestas desde la Ciencia | Dr. Manuel Sans Segarra
Dr. Manuel Sans Segarra
The Climate Question
BBC World Service

Trent Loos Podcast
Trent Loos

The 365 Days of Astronomy
365DaysOfAstronomy.org

Real Ghost Stories Online
Real Ghost Stories Online | Paranormal, Supernatural & Horror Radio

Farm Small Farm Smart Daily
The Modern Grower Podcast Network

The Best of Coast to Coast AM
iHeartPodcasts and Coast to Coast AM
Community discussion