- Rating
- 5
- Clarity
- 3
- Confidence
- 4
- Originality
- 4
- Quality
- 4
- Significance
- 3
Read review
Summary
This work investigates the gap in expressivity between probabilistic circuits (PCs) and transformers. Specifically, the authors conjecture that there are two main points which cause PCs reduced expressivity, (1) PCs work directly in the probability space by taking convex combinations of distributions, and (2) requiring structured decomposability in PCs prevents dynamic routing of data.
To prove (1), the authors first define PCs parameterization to mirror that of a transformer by constructing an emission matrix and a posterior vector which are composed of the probability conditioned on latent variable and the probability of the latent variable respectively. The authors then take this parameterization and provide experimental evidence for a PC (HMM) vs a transformer, using both with logits and direct probabilities respectively. In doing so the authors find that the PC defined with logit-parameters improved substantially over that defined on the probability space, as well as the transformer defined on the probability space performing worse.
To prove (2), the authors prove first that a structured decomposable PC can match transformers in max separation rank (the minimum number of rank 1 cross terms to express a function across a partition of input variables). They empirically show however that if the underlying v-tree doesn't align with the data's dependency topology, then the PC becomes substantially worse. To address this issue, the authors propose the use of decomposable PCs instead of structure decomposable PCs. They first prove that there exists a function which can be represented by a decomposable PC in poly-size that cannot be represented by a structure decomposable PC.
Strengths and weaknesses
Strengths This paper is high quality with many different experimental and theoretical results to back up the authors claims. The gap between PCs and language models has not been the subject of thorough investigation, even though PCs have a number of desirable inference properties. This work is unique in providing theoretical expressivity results with added experimental backing, as well as comparing PCs to other models not in the family of tractable models (Theoretical comparisons between probabilistic generating circuits/DPPs/PCs is the closest, however this is comparison between classes of tractable models). The results are well written with a clear direction at all times, an I believe that this work would be of significant interest to the community.
Weaknesses The only weaknesses I see is that while the proof of Theorem 2 is correct, the authors do not cite expressivity results from logical circuits (which are highly related to PCs) which have proven a similar result. It would also be interesting to explain if/why the results from logical circuits don't apply.
Questions
- Converting PCs to act on logits instead of probabilities directly improves the performance. Alongside the fact that the PC is no longer working directly in probability space, could part of this gain be due to the optimizers being better suited to work in the logit-space? Testing your results using different optimizers could perhaps determine if this is a contributing factor.
- Is there reason to believe logit parameterization be useful for PCs on tasks other than language modeling?
- Theorem 2 proves a gap between decomposable PCs and structure decomposable PCs, but why is this not immediately implied by the result in logical circuits that structure decomposable NNF $\not \leq $ decomposable NNF [1]?
[1] Pipatsrisawat, Knot, and Adnan Darwiche. "New Compilation Languages Based on Structured Decomposability." AAAI. Vol. 8. 2008.
Limitations
yes
Paper formatting concerns
N/A
We thank the reviewer for their very positive assessment and for recognizing the novelty of systematically studying the expressivity gap between PCs and Transformer-based language models, the combination of theoretical results with empirical validation, and the potential significance of this comparison to the broader community.
Thank you for pointing out this closely related line of work. The current proof of Theorem 2 does not rely on that circuits are logic. The results for logic circuits requires an additional argument to establish the separation within the probabilistic semantics of PCs. We agree that the separation between decomposable and structured-decomposable logical circuits provides an important Boolean analogue of Theorem 2, and we will add the corresponding citation and discussion.
Thanks for the thoughtful comment. We test this on a parameter-matched pair. At an equal latent size N, a Logit-HMM has ~2× the parameters of an HMM, so we halve the logit model's latent size to match parameters: HMM (N=64, prob-space, 3.2M) vs. Logit-HMM (N=32, logit-space, 3.3M), on WikiText-103 (L=64). We retrain each with four optimizers: Adam, RMSProp with and without momentum, and SGD, sweeping the learning rate and reporting the best valid avg-token NLL.
The logit-space model wins under every optimizer, by a comparable margin (0.63–1.01 nats). The advantage persists with non-adaptive SGD and with momentum-free RMSProp, showing that the logit-space gain is general across optimizers.
Yes. Our analysis is not specific to natural language: the distinction between probability-space convex mixtures and logit-space parameterization applies whenever a PC predicts high-dimensional categorical distributions from a low-dimensional latent representation. We therefore expect the same effect to be relevant beyond language modeling, although validating this empirically on other domains is future work.