Reproduce “Variational Reasoning for Language Models” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Xiangxin Zhou, Zichen Liu, Haonan Wang, Chao Du, Min Lin, Chongxuan Li, Liang Wang, Tianyu Pang

A variational reasoning framework is introduced for large language models, treating thinking traces as latent variables within a probabilistic objective. This approach consistently improves accuracy over supervised finetuning and reinforcement learning methods across various reasoning benchmarks, while also demonstrating enhanced training stability and generalization.

Key insights

  • The variational framework unifies existing methods like Rejection Sampling Finetuning and binary-reward RL, showing they can be re-expressed as local forward KL optimizations implicitly weighted by model accuracy.
  • Common RL-style methods exhibit an unnoticed systematic bias towards easier questions, as their optimization inherently prioritizes problems where the model already performs well.
  • An accuracy-based estimator for the probability of a correct answer given a thought process is theoretically and empirically superior, offering lower variance and more robust training compared to likelihood-based methods.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.