Unsupervised Learning of Neurosymbolic Encoders

Eric Zhan, Jennifer J. Sun, Ann Kennedy, Yisong Yue, Swarat Chaudhuri
7/28/2021
cs.LGcs.AI

Official code: ezhan94/neurosymbolic-encoders (12 stars, Python, last commit 2023-06-05).

Abstract

We present a framework for the unsupervised learning of neurosymbolic encoders, which are encoders obtained by composing neural networks with symbolic programs from a domain-specific language. Our framework naturally incorporates symbolic expert knowledge into the learning process, which leads to more interpretable and factorized latent representations compared to fully neural encoders.

Show full abstract

We integrate modern program synthesis techniques with the variational autoencoding (VAE) framework, in order to learn a neurosymbolic encoder in conjunction with a standard decoder. The programmatic descriptions from our encoders can benefit many analysis workflows, such as in behavior modeling where interpreting agent actions and movements is important. We evaluate our method on learning latent representations for real-world trajectory data from animal biology and sports analytics. We show that our approach offers significantly better separation of meaningful categories than standard VAEs and leads to practical gains on downstream analysis tasks, such as for behavior classification.

View on arXivView PDF

Code Implementations(1)

124Python, ShellDec 15, 20223 years ago

Similar Papers

Cite this paper

@article{zhan2021unsupervised,
  title  = {Unsupervised Learning of Neurosymbolic Encoders},
  author = {Eric Zhan and Jennifer J. Sun and Ann Kennedy and Yisong Yue and Swarat Chaudhuri},
  year   = {2021},
  eprint = {2107.13132},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.13132}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2107.13132.svg)](https://codeofpaper.com/paper/2107.13132)

Discussion