Tabular: A Schema-Driven Probabilistic Programming Language

  • Andy Gordon ,
  • Thore Graepel ,
  • Nicolas Rolland ,
  • Claudio Russo ,
  • Johannes Borgström ,
  • John Guiver

POPL '14 Proceedings of the 41st ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages |

Published by ACM Press

Publication | Publication | Publication

We propose a new kind of probabilistic programming language for machine learning. We write programs simply by annotating existing relational schemas with probabilistic model expressions. We describe a detailed design of our language, Tabular, complete with formal semantics and type system. A rich series of examples illustrates the expressiveness of Tabular. We report an implementation, and show evidence of the succinctness of our notation relative to current best practice. Finally, we describe and verify a transformation of Tabular schemas so as to predict missing values in a concrete database. The ability to query for missing values provides a uniform interface to a wide variety of tasks, including classification, clustering, recommendation, and ranking.