- Rating
- 5
- Clarity
- 4
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 2
Read review
Summary
Probabilistic neurosymbolic methods usually involve taking a marginal over a logical formula. As this marginal is #P-hard, several approximations have been studied. This paper investigates approximate knowledge compilation using tensor trains, and discuss the various points at which to approximate (approximating the factors or the factor multiplications). The evaluate on a sudoku classification and generation benchmark, demonstrating the speed vs accuracy Pareto front for inference, and find that during learning approximation quality is less crucial.
Strengths and weaknesses
Strengths. Tensor trains are a workhorse for computing marginals in fields such as quantum computing, but have seen limited adoption in neurosymbolic AI. So altough the use of tensor trains for probailstic inference is certainly not new, to the best of my knowledge, this is the first work giving comprehensive insight into their application with neurosymbolic methods.
Furthermore, In my opinion, the paper is well-written and easy to follow, and contains extensive extra material in appendix.
Weaknesses. The experimental evaluation is limited to a single setting (Sudoku). Moreover, this Sudoku setting is also quite simple: the authors themselves note that “all pipelines reach near-saturated concept accuracy”. The reason this is a weakeness for me is that it's not clear what the conclusions are to take away from this paper. (As is well-known in the solver and compilation literature, experimental results can vary greatly from benchmark to benchmark.) For example, it remains unclear if these approximations perform the same during learning because the benchmarking is too simple to differentiate them, or if it really doesn't matter much what approximation is used.
Questions
Questions
-
A wide array of tensor-train methods are surveyed in this paper. What are the conclusions, besides that these can be used (which is not particularly suprising)? Should practicioners simply tune over all of these when handling a new task? Or are there simple heuristics of which method should be used, depending on e.g. the approximation guarantees, scalbility requirements. etc.
-
Can you say more of the advantages & disadvantages compared to other approximate inference schemes? When should people use tensor trains versus sampling based methods or neural approximations?
-
How does your work connect to results that relate tensor trains to circuit classes (e.g. [1]).
Some Minor Comments & Nitpicks
Logical circuits are special PCs encoding a Boolean function, and have sum unit weights equal to 1
This is not really the standard definition for logic circuits, which usually is based on AND and OR gates. As you note later, these definitions coincide for deterministic circuits. But this does mean that some claims like “if the circuits are compatible we can compute the WMC” are somewhat deceptive, as this wouldn’t be sufficient under the standard definition.
Additionally, TTs inherently handle categorical variables and do not need Boolean encoding.
Circuits also do not need Boolean encodings per se. I understand there might not be an off-the-shelf MDD (or multi-valued SDD) library available, but this is more a software problem.
Related, the paper states that binarizing categoricals “can significantly increase the size of a formula”. While true (the straightforward encoding used in the paper is quadratic), this heavily depends on the encodings used. See for example [2].
d4 is an exact compiler for d-DNNF [...]. It scales to formulas no SDD compiler can handle (e.g., 6x6 Sudoku, though still not 9x9), but the resulting circuits can only be weighted by fully-factorized probabilities.
I'm not sure I agree with this characterization. Top-down compilers can perfectely handle arbitrarly weightings, see e.g. [3]. Of course, you should compile in combination with the logical formula, instead of only compiling the logical formula and conjoining after. But as the weights factorization basically never changes during the same in NeSy experiments, this is not really a downside.
[1]: Onaka, Ryoma, et al. "Tensor Decomposition Meets Knowledge Compilation: A Study Comparing Tensor Trains with OBDDs." AAAI, 2025.
[2]: Bierlee, Hendrik, et al. "Coupling different integer encodings for SAT." CPAIOR, 2022.
[3]: Dilkas, Paulius, and Vaishak Belle. "Weighted model counting with conditional weights for Bayesian networks." UAI, 2021.
Limitations
yes
Paper formatting concerns
- A first name is present in a folder name in the supplementary material.
- The paper checklist has broken references (e.g. line 980).
Final justification
The concern about the limited experimental evaluation remains for me. The new MNIST addition/multiplication results are commendable but even more toy than the sudoku task. However, in aggregate, I think the reasons to accept outweigh the reasons for rejection. This is a useful start to the more systematic study of bottom-up and approximate compliation methods in neurosymbolic AI. I hence increased my score.
We thank the reviewer for their feedback and appreciate that the reviewer praises the originality of adopting tensor trains in neurosymbolic AI! We also thank the reviewer for minor comments and added the relevant corrections to the manuscript.
As suggested by the reviewer, we have broadened our empirical evaluation and added two new experiments on MNISTMul (predict the multiplication of two N-digit MNIST numbers) and MNISTAdd (predict the sum of two N-digit MNIST numbers). For more details, please refer to our answer to reviewer C89B. This helps clarify when the choice of approximations matters in a benchmark or not. Interestingly, we find new conclusions.
In particular, in both MNISTMul and MNISTAdd, we find that the independence approximation leads to subpar learning performance compared to TT multiplications. This is because the programs use latent variables (the carries) which are meaningless when ignoring dependence. In contrast, despite being a harder compilation benchmark than MNISTAdd in general, the Sudoku programs do not involve such latents and can be used for NeSy learning with the independence approximation.
This not only (i) demonstrates that a good strategy does matter in NeSy learning too, it also (ii) gives an insight on when bottom-up compilation matters in NeSy: when factors are connected via symbolic latents. Below, we hope to address the remaining questions.
The results show that the SVD-based approaches (TT-round, HaTT) are currently the most promising methods for this problem. HaTT, which relies on left/right environment sketching, does not give solid improvements over TT-round with simple. We believe this might be because the Gaussian sketches of HaTT are not meaningful for sparse tensors (nor the Rademacher sketches we experimented with). One possible future direction is therefore to explore new forms of sketches for sparse tensors. As for interpolation-based approaches like TCI, we think the limitation is their search for pivots which could also struggle to find good representative subset of rows/columns representing the tensor. A sparse Boolean tensor is a bad case for pivot searches. This could be the bottleneck of this method, rather than the interpolation itself, as we discuss with reviewer TMn4. We will add both of these future work directions to the paper.
Sampling approaches require many diverse positive samples to get accurate estimates for the WMC and their gradients [29]. Finding such samples is also #P hard, and is even harder when treating the program as a black box, as is commonly done in the NeSy literature [48]. Therefore, this is a significant practical limitation. Instead, TACO directly acts on the program and can use its structure to overcome the common scenario where the total probability mass is extremely low.
Neural approaches like A-NeSI [54] have a similar limitation in that they need to ensure they learn the WMC approximations for all input weightings separately, unlike TACO where we separate the compilation from the weighting, and have no formal error guarantees.
We will expand our discussion on how TACO relates to existing scalable NeSy methods in Appendix A.
In the paper linked by the reviewer, the authors are showing that TTs can be more succinct (expressive efficient) than OBDDs (another class of structured-decomposable logical circuits), which is not surprising as the first are not deterministic while the second are. Differently from TACO, they are assuming an exact representation of a logical formula as a TT, but they do not provide any compiler either.
The reviewer is right. At the same time, in practice, all relevant compilers always output a deterministic circuit. We agree we can be more precise, and given the additional space of the camera-ready, we will introduce logical circuits and probabilistic circuits in an algebraic semi-ring. This will clarify the confusion.
We agree, and we will update the camera-ready to stress that this limitation comes with available knowledge compilation software.
In principle, we could compile a logical formula into a non-structured decomposable circuit (e.g., with D4), and parameterize its sum unit parameters and input distributions directly with a neural network, as done in SPL [1]. However, for a large circuit this would result in the neural network having to predict a large number of parameters. A more parsimonious alternative, as highlighted in [1], is to multiply a probabilistic circuit by the logical circuit, which implies both need to be compatible. We note that one could still multiply an omni-compatible circuit (e.g., a fully-factorized circuit) to a non-structured decomposable circuit, but this would limit the expressiveness of the weight distribution. We will add a paragraph to the camera-ready to clarify this.
NB: We use [1], [48] etc to refer to the references of our paper.