{"ID":2825747,"CreatedAt":"2026-06-01T04:54:23.091178241Z","UpdatedAt":"2026-06-01T04:54:23.091178241Z","DeletedAt":null,"paper_url":"https://arxiv.org/abs/2512.20169","arxiv_id":"2512.20169","title":"Learning to Reason in LLMs by Expectation Maximization","abstract":"Large language models (LLMs) solve reasoning problems by first generating a rationale and then answering. We formalize reasoning as a latent variable model and derive a reward-based filtered expectation-maximization (FEM) objective for learning to reason. This view connects EM and modern reward-based optimization, and shows that the main challenge lies in designing a sampling distribution of rationales that justify correct answers. We instantiate and compare three sampling schemes: rejection sampling with a budget, self-taught reasoner (STaR), and prompt posterior sampling (PPS), which only keeps the rationalization stage of STaR that conditions on the correct answer in the prompt. We experiment with LLM-as-a-judge calibration and summarization from feedback tasks, where conditioning on the correct answer provides a strong guidance for generating rationales. Our experiments show the efficacy of PPS over other sampling schemes, and that the sampling scheme can have a significant impact on performance.","short_abstract":"Large language models (LLMs) solve reasoning problems by first generating a rationale and then answering. We formalize reasoning as a latent variable model and derive a reward-based filtered expectation-maximization (FEM) objective for learning to reason. This view connects EM and modern reward-based optimization, and...","url_abs":"https://arxiv.org/abs/2512.20169","url_pdf":"https://arxiv.org/pdf/2512.20169v2","authors":"[\"Junghyun Lee\",\"Branislav Kveton\",\"Anup Rao\",\"Subhojyoti Mukherjee\",\"Ryan A. Rossi\",\"Sunav Choudhary\",\"Alexa Siu\"]","published":"2025-12-23T08:56:49Z","proceeding":"cs.LG","tasks":"[\"cs.LG\",\"cs.CL\",\"stat.ML\"]","methods":"[\"Large Language Model\",\"Language Model\"]","has_code":false}
