What is the Relationship between Tensor Factorizations and Circuits (and How Can We Exploit it)?

Lorenzo Loconte, Antonio Mari, Gennaro Gala, Robert Peharz, Cassio de Campos +3 more
9/12/2024
37 citations
cs.LG

Official code: april-tools/cirkit (146 stars, Python, GPL-3.0, last commit 2026-04-11). 1 more implementation below.

Abstract

This paper establishes a rigorous connection between circuit representations and tensor factorizations, two seemingly distinct yet fundamentally related areas. By connecting these fields, we highlight a series of opportunities that can benefit both communities.

Show full abstract

Our work generalizes popular tensor factorizations within the circuit language, and unifies various circuit learning algorithms under a single, generalized hierarchical factorization framework. Specifically, we introduce a modular "Lego block" approach to build tensorized circuit architectures. This, in turn, allows us to systematically construct and explore various circuit and tensor factorization models while maintaining tractability. This connection not only clarifies similarities and differences in existing models, but also enables the development of a comprehensive pipeline for building and optimizing new circuit/tensor factorization architectures. We show the effectiveness of our framework through extensive empirical evaluations, and highlight new research opportunities for tensor factorizations in probabilistic modeling.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
april-tools/cirkitOfficial146PythonGPL-3.02026-04-11
april-tools/uni-circ-leOfficial8Python–2025-02-03
april-tools/cirkitOfficial100%
GPL-3.0

a python framework to build, learn and reason about probabilistic circuits and tensor networks

14625Python, ShellApr 13, 20237 months agoGPL-3.0
probabilistic-circuitsprobabilistic-inferenceprobabilistic-machine-learningprobabilistic-modelingprobabilistic-reasoning+4 more
80Python, ShellAug 4, 20231 years ago

Similar Papers

Cite this paper

@article{loconte2024what,
  title  = {What is the Relationship between Tensor Factorizations and Circuits (and How Can We Exploit it)?},
  author = {Lorenzo Loconte and Antonio Mari and Gennaro Gala and Robert Peharz and Cassio de Campos and Erik Quaeghebeur and Gennaro Vessio and Antonio Vergari},
  year   = {2024},
  eprint = {2409.07953},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.07953v2}
}

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

Discussion