Skip to content
Longterm Wiki
Back

Squiggle: Probabilistic Programming Language for Uncertainty Quantification

web
squiggle-language.com·squiggle-language.com/

Squiggle is developed by the Quantified Uncertainty Research Institute (QURI) and is commonly used in AI safety and EA communities for structured uncertainty reasoning, cost-effectiveness modeling, and probabilistic forecasting tasks.

Metadata

Importance: 42/100tool pagetool

Summary

Squiggle is a domain-specific probabilistic programming language designed for expressing and computing with probability distributions, making it easier to reason about uncertainty in estimates. It is particularly useful for Fermi estimation, cost-benefit analysis, and forecasting workflows common in AI safety and effective altruism communities. The language allows users to compose distributions, perform Monte Carlo sampling, and visualize uncertainty without heavy computational infrastructure.

Key Points

  • Provides intuitive syntax for defining probability distributions (e.g., normal, lognormal, uniform) and combining them mathematically.
  • Designed for lightweight uncertainty quantification and Fermi estimation, popular in EA and AI safety research contexts.
  • Runs in JavaScript/Rescript, enabling browser-based and embeddable probabilistic calculations with minimal overhead.
  • Supports operations like mixture distributions, conditional probabilities, and summary statistics on distributions.
  • Widely used in tools like Metaforecast and Quantified Uncertainty Research Institute (QURI) projects for risk and impact modeling.

Review

Squiggle represents an important tool in probabilistic programming, specifically designed to simplify working with probability distributions in a lightweight, portable environment. Its key innovation lies in its ability to perform probabilistic calculations efficiently, attempting analytical solutions before resorting to computationally intensive Monte Carlo simulations. The library's design emphasizes flexibility and ease of use, making complex probabilistic modeling more accessible to developers and researchers. By providing a streamlined approach to handling probability distributions in JavaScript, Squiggle could potentially lower the barrier to entry for probabilistic reasoning in various domains, including AI safety modeling, decision analysis, and quantitative risk assessment.

Cited by 2 pages

PageTypeQuality
QURI (Quantified Uncertainty Research Institute)Organization48.0
SquiggleProject41.0
Resource ID: d111937c0a18b7dc | Stable ID: MGJiODljNz