CTSketch: Compositional Tensor Sketching for Scalable Neurosymbolic Learning

Seewon Choi, Alaia Solko-Breslin, Rajeev Alur, Eric Wong
3/31/2025
cs.LG

No confident code implementation found for this paper.

Abstract

Many computational tasks benefit from being formulated as the composition of neural networks followed by a discrete symbolic program. The goal of neurosymbolic learning is to train the neural networks using end-to-end input-output labels of the composite. We introduce CTSketch, a novel, scalable neurosymbolic learning algorithm. CTSketch uses two techniques to improve the scalability of neurosymbolic inference: decompose the symbolic program into sub-programs and summarize each sub-program with a sketched tensor. This strategy allows us to approximate the output distribution of the program with simple tensor operations over the input distributions and the sketches. We provide theoretical insight into the maximum approximation error. Furthermore, we evaluate CTSketch on benchmarks from the neurosymbolic learning literature, including some designed for evaluating scalability. Our results show that CTSketch pushes neurosymbolic learning to new scales that were previously unattainable, with neural predictors obtaining high accuracy on tasks with one thousand inputs, despite supervision only on the final output.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{choi2025ctsketch,
  title  = {CTSketch: Compositional Tensor Sketching for Scalable Neurosymbolic Learning},
  author = {Seewon Choi and Alaia Solko-Breslin and Rajeev Alur and Eric Wong},
  year   = {2025},
  eprint = {2503.24123},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.24123v2}
}

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/2503.24123.svg)](https://codeofpaper.com/paper/2503.24123)

Discussion