A Probabilistic Generative Model of Free Categories

05/09/2022
by   Eli Sennesh, et al.
0

Applied category theory has recently developed libraries for computing with morphisms in interesting categories, while machine learning has developed ways of learning programs in interesting languages. Taking the analogy between categories and languages seriously, this paper defines a probabilistic generative model of morphisms in free monoidal categories over domain-specific generating objects and morphisms. The paper shows how acyclic directed wiring diagrams can model specifications for morphisms, which the model can use to generate morphisms. Amortized variational inference in the generative model then enables learning of parameters (by maximum likelihood) and inference of latent variables (by Bayesian inversion). A concrete experiment shows that the free category prior achieves competitive reconstruction performance on the Omniglot dataset.

READ FULL TEXT
research
07/24/2018

The Variational Homoencoder: Learning to learn high capacity generative models from few examples

Hierarchical Bayesian methods can unify many related tasks (e.g. k-shot ...
research
03/07/2023

Computing with Categories in Machine Learning

Category theory has been successfully applied in various domains of scie...
research
02/02/2015

Adaptive Scene Category Discovery with Generative Learning and Compositional Sampling

This paper investigates a general framework to discover categories of un...
research
04/11/2022

A graphical construction of free Markov categories

We describe how to perform surgeries on Joyal-Street style diagrams and ...
research
06/10/2022

PAVI: Plate-Amortized Variational Inference

Given some observed data and a probabilistic generative model, Bayesian ...
research
05/15/2020

C3VQG: Category Consistent Cyclic Visual Question Generation

Visual Question Generation (VQG) is the task of generating natural quest...
research
05/10/2020

Categorical Stochastic Processes and Likelihood

In this work we take a Category Theoretic perspective on the relationshi...

Please sign up or login with your details

Forgot password? Click here to reset