Rafal Urbaniak

Causal modeling, probabilistic machine learning, and the occasional bit of formal philosophy

Rafal Urbaniak

I’m based in Cambridge, MA, and build causal Bayesian models with deep machine-learned components to explain why something happened. Lately that means treating a language model as a causal model and asking which heads in the network drive a behavior. It also means treating a fishery as a hybrid dynamical system and asking whether a given catch quota was necessary, sufficient, or both for keeping the fish population above a sustainable threshold. And it means modeling how a zoning change ripples through a city’s housing market. Transformer weights, fish populations, and city council votes don’t seem to have much in common, except that all three come from systems that are high-dimensional, dynamic, and only partly observed. I do this as a research scientist at the Basis Research Institute (New York/Cambridge, MA). I’m a core contributor to ChiRho, our open-source causal probabilistic programming language, and I’m responsible for its explainable reasoning module (with tutorials on actual causality, on categorical variables, and on continuous variables in an SIR model), and its spin-offs and applications.

I hold a PhD in Logic and Philosophy of Mathematics from the University of Calgary, and have held positions at Ghent University and the University of Gdańsk, with visiting fellowships at Northeastern University, the University of Edinburgh, Trinity College Dublin, and the University of Bristol.

Recent

Currently working on

Open source

Most of my engineering work happens in private repositories. The chart below summarizes my GitHub activity by year: pull requests authored and merged (top), reviews and issues (bottom), across public and private repositories.

Pull requests 0 50 100 150 PRs authored PRs merged Reviews & issues 0 70 140 210 2020 2021 2022 2023 2024 2025 2026 Reviews Issues

GitHub activity per year: pull requests authored and merged (top); reviews and issues (bottom). Public and private repositories combined; 2026 is year-to-date.

Elsewhere