NobleBlocks

Research indexThesis

Tensor factorizations as generative models

Loconte

ERA23 Sep 2026Open access

NobleIDark:/48914/w1/20261105/65FA3906DOI10.7488/era/7768

Free to read at the publisher

You can read the abstract here, or the full text at the publisher.

Read at the publisher

Abstract

Generative models are popular methods estimating the data distribution, which is then probed to solve a number of tasks. The performances in solving downstream tasks depend on the capability of the chosen model to be a good approximation of the unknown distribution that generated the data, i.e., its expressiveness. However, generative models that are highly expressive often come at the cost of probabilistic inference queries being intractable—i.e., they cannot be performed exactly and efficiently. These queries are instead crucial to solve important problems. For instance, making predictions in presence of unseen variables, simulating quantum states, and certifying that predictions comply with constraints or are robust to adversarial attacks, have the mathematical formulation of marginal probabilities or expectations. Computing these quantities tractably can be done with simple families of models, such as mixtures, but this comes with a sharp decline in expressiveness. The tension between enhancing expressiveness and performing tractable probabilistic inference is the central theme of this thesis. Our goal is understanding when and how we can design machine learning models that are expressive distribution estimators, yet retain the tractable inference desiderata fulfilled by simpler but less expressive methods. Our efforts are directed towards charting the expressiveness-tractability trade-offs of different generative models to understand what are the limitations that hinder their expressiveness. For this reason, we focus on methods that have a long history of applications in machine learning and computer science: tensor factorizations and computational graphs of sums and products called circuits. In particular, circuits provide a unifying view of many existing approaches for tractable inference, hence enlarging our scope to several methods, and come with the theory useful to formalize their relative expressiveness and to determine which probabilistic queries are tractable. By formally deriving the connections between tensor factorizations and circuits, we recover insights useful to explore the expressive-tractability trade-off, and introduce novel families of generative models that are provably more expressive. Our connections also complement a series of relationships that have been previously established independently with respect to graphical models instead. The core idea behind the families of models we introduce comes from the application of the Born rule from quantum physics, which recovers a probability distribution by squaring a function that is classically modeled using tensor factorizations. By translating this idea to circuits, we exploit negative parameters in order to provably enhance the expressiveness of hierarchical mixture models, while still preserving tractable marginalization. The resulting models—called squared probabilistic circuits—can represent decompositions of distributions that do not immediately map to known tensor factorizations, hence strictly enlarging the design space of such methods. We then develop an expressiveness hierarchy around the class of squared probabilistic circuits, allowing us to formally unify and separate many model families supporting tractable marginalization based on their expressiveness. Our expressiveness analysis based on circuit complexity theory motivates models encoding sum-of-squares functions, which we show to be provably more expressive than a single squared factorization and help us understand why complex parameters boost expressiveness. Moreover, the connection we draw with tensor factorizations allows us to extend the property-driven framework of circuits by introducing new structural properties that speed-up variable marginalization. Furthermore, we present two practical applications that directly stem from viewing tensor factorizations as circuits and from exploring the expressiveness-efficiency trade-off. First, we introduce a framework for multi-token prediction tailored for byte-level large language models (LLMs), allowing us to predict several bytes ahead and therefore improve generation throughput when compared to LLMs predicting one byte at a time. This framework generalizes existing methods based on shallow tensor factorizations to hierarchical ones when represented as deep circuits, which come with an increased expressiveness. Second, the expressiveness advantage of squared probabilistic circuits that we introduce is reflected in predicting missing links in incomplete knowledge graphs. For this task we reinterpret link prediction methods based on tensor factorizations as circuits, which in turn allows us to model a distribution over all possible links, unlock faster training, and ensure predictions comply with ontology logical constraints.

Discussion

More

Suggest a correction or report