Probabilistic Programs of Thought

📰 ArXiv cs.AI

arXiv:2604.17290v1 Announce Type: cross Abstract: LLMs are widely used for code generation and mathematical reasoning tasks where they are required to generate structured output. They either need to reason about code, generate code for a given specification, or reason using programs of thought. The typical approach to code generation is to prompt the model and generate samples until an appropriate program is obtained. Within this process, sampling $n$ programs from the language model requires $n

Published 21 Apr 2026
Read full paper → ← Back to Reads