Where to Approximate in Neurosymbolic Inference?
Samy Badreddine, Emile van Krieken, Luciano Serafini, Antonio Vergari
NeurIPS page · OpenReview · Open on the map
Category: Interpretability & Model Adaptation › Universal Approximation Theory · Type: new method · Keywords: approximate compilation, tensor train decomposition, weighted model counting, neurosymbolic inference, Sudoku puzzles, approximation budget
Summary
The paper introduces a three-step bottom-up approximate compilation pipeline that uses tensor train decompositions to allocate approximation budget across inference stages, achieving orders-of-magnitude more accurate WMC estimates for Sudoku puzzles.
Explained to a 5-year-old
People try to solve puzzles that have many possible answers, like Sudoku. Doing it exactly is very hard and slow. This paper shows where to make shortcuts so the shortcuts still give good answers. It uses a special way to split the work and combine the pieces. This helps the puzzles be solved faster without losing accuracy.
Explained to a 5-year-old, longer
Imagine a big puzzle where you need to count how many ways you can fill the numbers correctly. Doing that counting exactly takes a super long time because there are many possibilities. So people try to guess part of the answer to make the counting faster. This paper looks at where those guesses should be made to keep the answer as accurate as possible. It breaks the counting into three steps and uses a special math trick to combine the pieces. The trick is like folding a big sheet of paper into thin strips and then putting them back together. By doing this, the guesses become much better than before. Even when the guesses are very rough, the final answer for learning tasks is still good. The study shows that getting the counting right matters more than getting the learning right. It opens many new ideas for making hard puzzles easier to solve. The approach can be used for many different kinds of tricky problems. It helps researchers design faster and more reliable ways to solve complex puzzles.
For a technical reader
The paper addresses the scalability issue of exact weighted model counting (WMC) in neurosymbolic inference by proposing a three-stage approximate compilation pipeline. It leverages tensor train decompositions to efficiently multiply approximated factors and compress results using SVD or interpolation. Experiments on Sudoku puzzles demonstrate that this allocation of approximation budget yields dramatically more accurate WMC estimates while maintaining competitive performance for downstream learning tasks.
Problem
Exact computation of weighted model counting (WMC) for probabilistic neurosymbolic inference is computationally intractable, requiring approximations. However, it is unclear where in the inference pipeline the approximation budget should be allocated to best balance accuracy and efficiency.
Method
The approach unifies existing approximations into a three-step bottom-up approximate compilation pipeline, using tensor train decompositions to multiply approximated factors and recompress their products via SVD or interpolation-based schemes.
Results
The pipelines achieve orders-of-magnitude higher accuracy on larger Sudoku puzzles compared to prior approximations, while even crude approximations remain competitive for neurosymbolic learning, indicating that inference fidelity is more sensitive to approximation quality than downstream task performance.
Contributions
It provides a unified three-step approximate compilation framework and demonstrates how tensor train decompositions can be used to allocate approximation budget effectively, revealing that inference accuracy is more critical than learning accuracy.
Practical relevance
The work enables more reliable and scalable neurosymbolic inference for complex reasoning tasks, facilitating broader adoption of probabilistic symbolic methods.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction