~/talk

Tuning Random Generators: Property-Based Testing as Probabilistic Programming

Talkat OOPSLA 2025 · 2025-10-16..10-18· [testing]
name:Ryan Tjoa
links:none on file
links:none on file
links:none on file
slides:none on file

Generators become probabilistic programs with symbolic weights and are tuned by computing a symbolic distribution, compiling it into compressed BDD-based representations, and optimizing weights by gradient descent with differentiable inference and REINFORCE-style estimators. The implementation Loaded Dice supports learning and parameterized generators; the paper introduces specification entropy to balance validity and diversity and uses knowledge compilation to scale. Evaluation on Etna benchmarks shows tuned generators find bugs about 3–7× faster.

AI-written summary · about

  1. 0:00Property-based testing intro
  2. 1:03Fixed generator weights problem
  3. 2:51Generators as programs
  4. 4:59Loaded Dice system
  5. 6:25Scaling tuning challenges
  6. 8:11Conflicting tuning objectives
  7. 10:19Bug-finding speed evaluation
  8. 11:24Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.