potentialpaper

CoTs as Probabilistic Programs: A Programmatic View of Thinking Step-by-Step in Language Models

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 20:48 UTC · 576260bb40c6 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,26 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "YEVrT8IA3J"
- }
- ],
- "title": "CoTs as Probabilistic Programs: A Programmatic View of Thinking Step-by-Step in Language Models",
- "authors": [
- "Kyle Richardson",
- "Yu Feng",
- "Poorva Garg",
- "Junyan Cheng",
- "Guy Van den Broeck",
- "Dan Roth"
- ],
- "abstract": "Chain-of-thought (CoT) prompting\n has fundamentally changed how language models are used, evaluated, and developed. CoT now touches many areas of contemporary research beyond prompting, from advanced test-time inference and model tuning to interpretability, yet much of this work treats CoT traces in task-specific ways, without a shared formal account of what they are or how they compose and support inference. We argue that probabilistic programs — ordinary programs extended with stochastic choices and probabilistic conditioning — provide a natural framework for modeling CoT reasoning. To demonstrate this, we derive \\lang{}, a small discrete probabilistic programming language for CoT in which reasoning steps are stochastic choices, branches encode dependencies, trace likelihoods score executions, and answers are return values. Even with a minimal reachability-based semantics, \\lang{} enables a first-principles analysis of trace likelihood, exposing why likelihood alone can be a misleading model of reasoning. Motivated by this limitation, we add differentiable operators for composing scores and feedback over CoT traces. The resulting framework links several uses of CoT — scoring, evidence aggregation, feedback propagation, model tuning, and step-level sensitivity analysis — within a single probabilistic program. Through case studies, we show how this approach yields novel test-time inference strategies and new analysis techniques, offering a promising direction for programming-language-based approaches to language-model reasoning.",
- "year": 2026,
- "venue": "NeurIPS 2026",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "c2ec5784-65d9-4ea3-81f1-bdd78e1e02f8"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,16 @@
+{
+ "title": "CoTs as Probabilistic Programs: A Programmatic View of Thinking Step-by-Step in Language Models",
+ "authors": [
+ "Kyle Richardson",
+ "Yu Feng",
+ "Poorva Garg",
+ "Junyan Cheng",
+ "Guy Van den Broeck",
+ "Dan Roth"
+ ],
+ "abstract": "Chain-of-thought (CoT) prompting\n has fundamentally changed how language models are used, evaluated, and developed. CoT now touches many areas of contemporary research beyond prompting, from advanced test-time inference and model tuning to interpretability, yet much of this work treats CoT traces in task-specific ways, without a shared formal account of what they are or how they compose and support inference. We argue that probabilistic programs — ordinary programs extended with stochastic choices and probabilistic conditioning — provide a natural framework for modeling CoT reasoning. To demonstrate this, we derive \\lang{}, a small discrete probabilistic programming language for CoT in which reasoning steps are stochastic choices, branches encode dependencies, trace likelihoods score executions, and answers are return values. Even with a minimal reachability-based semantics, \\lang{} enables a first-principles analysis of trace likelihood, exposing why likelihood alone can be a misleading model of reasoning. Motivated by this limitation, we add differentiable operators for composing scores and feedback over CoT traces. The resulting framework links several uses of CoT — scoring, evidence aggregation, feedback propagation, model tuning, and step-level sensitivity analysis — within a single probabilistic program. Through case studies, we show how this approach yields novel test-time inference strategies and new analysis techniques, offering a promising direction for programming-language-based approaches to language-model reasoning.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}