Turing.jl: A General-Purpose Probabilistic Programming Language
Probabilistic programming languages (PPLs) are becoming increasingly important in many scientific disciplines, such as economics, epidemiology, and biology, to extract meaning from sources of data while accounting for one's uncertainty. The key idea of probabilistic programming is to decouple inference and model specification, thus allowing the practitioner to approach their task at hand using Bayesian inference, without requiring extensive knowledge in programming or computational statistics. At the same time, the complexity of problem settings in which PPLs are employed is steadily increasing, both in terms of project size and model complexity, calling for more flexible and efficient systems. In this work, we describe Turing.jl , a general-purpose PPL, which is designed to be flexible, efficient, and easy to use. Turing.jl is built on top of the Julia programming language, which is known for its high performance and ease-of-use. We describe the design of Turing.jl , contextualizing it within different types of users and use-cases, its key features, and how it can be used to solve a wide range of problems. We also provide a brief overview of the ecosystem around Turing.jl , including the different libraries and tools that can be used in conjunction with it. Finally, we provide a few examples of how Turing.jl can be used in practice.
Authors
- Zoubin Ghahramani (ORCID: https://orcid.org/0000-0002-7464-6475)
- Mohamed Tarek (ORCID: https://orcid.org/0000-0003-3074-0678)
- Will Tebbutt (ORCID: https://orcid.org/0000-0002-5144-589X)
- Seth D. Axen (ORCID: https://orcid.org/0000-0003-3933-8247)
- Tor Erlend Fjelde
- Martin Trapp (ORCID: https://orcid.org/0000-0003-1725-3381)
- David Widmann (ORCID: https://orcid.org/0000-0001-9282-053X)
- Markus Hauru (ORCID: https://orcid.org/0000-0002-8295-6705)
- Kai Xu (ORCID: https://orcid.org/0000-0003-3617-569X)
- Hong Ge (ORCID: https://orcid.org/0000-0001-9421-2677)
- X. Sun (ORCID: https://orcid.org/0009-0004-7774-3491)
- Penelope Yong
- Cameron Pfiffer (ORCID: https://orcid.org/0000-0003-1757-0002)
Institutions
- The University of Sydney (AU)
- Red Hat (United States) (US)
- IBM (United States) (US)
- University of Cambridge (GB)
- Baltimore Museum of Art (US)
- Google DeepMind (United Kingdom) (GB)
- Google (United Kingdom) (GB)
- The Alan Turing Institute (GB)
- Puma Biotechnology (United States) (US)
- University of Tübingen (DE)
- Stanford University (US)
- Aalto University (FI)
Publication Details
- Journal
- ACM transactions on probabilistic machine learning.
- Published
- 2025-02-15
- DOI
- https://doi.org/10.1145/3711897
- Citations
- 13
- Primary Topic
- Bayesian Modeling and Causal Inference
- Type
- article
- Field-Weighted Citation Impact
- 32.25