mlsanityData to 14 Oct 2026

RefineStat: Efficient Exploration for Probabilistic Program Synthesis

arXiv 2509.01082 ↗First posted 1 Sep 2025cs.LG cs.PLcited by 5

Not on the map. Why?

Abstract (arXiv)

Probabilistic programming offers a powerful framework for modeling uncertainty, yet statistical model discovery in this domain entails navigating an immense search space under strict domain-specific constraints. When small language models are tasked with generating probabilistic programs, they frequently produce outputs that suffer from both syntactic and semantic errors, such as flawed inference constructs. Motivated by probabilistic programmers' domain expertise and debugging strategies, we introduce RefineStat, a language model--driven framework that enforces semantic constraints ensuring synthesized programs contain valid distributions and well-formed parameters, and then applies diagnostic-aware refinement by resampling prior or likelihood components whenever reliability checks fail. We evaluate RefineStat on multiple probabilistic-programming code-generation tasks using smaller language models (SLMs) and find that it produces programs that are both syntactically sound and statistically reliable, often matching or surpassing those from closed-source large language models (e.g., OpenAI o3).

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 29 of its 65 references that are in the map. First posted on arXiv 1 Sep 2025.

Builds on

29 of 65 references.

References · 29

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2024Qwen2.5-Coder Technical Reportcited by 1,203
  4. 2018Pyro: Deep Universal Probabilistic Programmingcited by 380
  5. 2017A Conceptual Introduction to Hamiltonian Monte Carlocited by 209
  6. 2023Efficient Guided Generation for Large Language Modelscited by 200
  7. 2019Composable Effects for Flexible and Accelerated Probabilistic Programming in NumPyrocited by 191
  8. 2023Time Travel in LLMs: Tracing Data Contamination in Large Language Modelscited by 177
  9. 2022Synchromesh: Reliable code generation from pre-trained language modelscited by 156
  10. 2024CodeGemma: Open Code Models Based on Gemmacited by 150
  11. 2024Generalization or Memorization: Data Contamination and Trustworthy Evaluation for Large Language Modelscited by 122
  12. 2015Practical Bayesian model evaluation using leave-one-out cross-validation and WAICcited by 110
17 more
  1. 2019Rank-normalization, folding, and localization: An improved widehatR for assessing convergence of MCMCcited by 93
  2. 2013Structure Discovery in Nonparametric Regression through Compositional Kernel Searchcited by 88
  3. 2024XGrammar: Flexible and Efficient Structured Generation Engine for Large Language Modelscited by 75
  4. 2024SynCode: LLM Generation with Grammar Augmentationcited by 69
  5. 2018An Introduction to Probabilistic Programmingcited by 63
  6. 2024Automata-based constraints for language model decodingcited by 51
  7. 2020Bayesian Workflowcited by 49
  8. 2023Estimating Contamination via Perplexity: Quantifying Memorisation in Language Model Evaluationcited by 48
  9. 2023Data Contamination Quiz: A Tool to Detect and Estimate Contamination in Large Language Modelscited by 47
  10. 2025Syntactic and Semantic Control of Large Language Models via Sequential Monte Carlocited by 46
  11. 2024Automated Statistical Model Discovery with Language Modelscited by 41
  12. 2025CRANE: Reasoning with constrained LLM generationcited by 38
  13. 2025Type-Constrained Code Generation with Language Modelscited by 35
  14. 2022Validating Large Language Models with ReLMcited by 33
  15. 2019Bayesian Synthesis of Probabilistic Programs for Automatic Data Modelingcited by 19
  16. 2025Semantic Probabilistic Control of Language Modelscited by 4
  17. 2019Counterexample-Driven Synthesis for Probabilistic Program Sketchescited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 4.

5 papers.