A Probabilistic Generative Model of Free Categories
Published in arxiv, 2022
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 more
Recommended citation: @article{sennesh2022probabilistic, title={A Probabilistic Generative Model of Free Categories}, author={Sennesh, Eli and Xu, Tom and Maruyama, Yoshihiro}, journal={arXiv preprint arXiv:2205.04545}, year={2022} } http://esennesh.github.io/files/freecat_arxiv_2022.pdf