atlas

Research map / Probabilistic and scientific modeling / Variational and generative sampling

A Fast Convoluted Story: Scaling Probabilistic Inference for Integer Arithmetics

NeurIPS 2024 · Probabilistic and scientific modeling › Variational and generative sampling · approach: Exact inference for probabilistic programs · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes PLIA_t, a tensorised differentiable framework for exact probabilistic linear integer arithmetic that uses FFT convolution in the log domain, yielding orders-of-magnitude faster inference and neurosymbolic learning.

Problem

Exact probabilistic inference over integer-valued random variables is #P-hard and existing methods (knowledge compilation, enumeration) scale poorly; discrete integers also make gradient-based learning difficult in neurosymbolic settings.

Approach

Represent bounded probabilistic integers as tensors of log-probabilities, compute the distribution of sums via FFT convolution (convolution theorem) with a log-conv-exp trick for numerical stability, and express linear operations (constant add/multiply, negation, division, modulo, branching) as tensor manipulations, making everything differentiable.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use tensorized probabilistic integer arithmetic with FFT-based inference instead of Dice's logical-circuit inferenceExact inference for sums of probabilistic integers · Expected value, negative-sum probability, and zero-sum probability benchmarksinference time: 10^5Helped
Use tensor representations instead of logical circuitsProbabilistic Luhn checksum inference · Luhn sequences of length 350inference time: 10^2Helped
Use PLIA_t instead of competing neurosymbolic methodsMNIST Addition · N=2, N=4, N=15, and N=50training timeHelped
Use PLIA_t instead of competing neurosymbolic methodsMNIST Addition · N=2accuracyMixed
Use PLIA_t instead of competing neurosymbolic methodsMNIST Addition · N=4accuracyHurt
Use PLIA_t instead of competing neurosymbolic methodsMNIST Addition · N=15accuracyHelped
Use PLIA_t instead of competing neurosymbolic methodsVisual Sudoku · G=4accuracyHurt
Use PLIA_t instead of competing neurosymbolic methodsVisual Sudoku · G=9accuracyHelped
Use PLIA_t instead of competing neurosymbolic methodsMNIST Addition and Visual Sudoku · Reported benchmark sizespredictive accuracyNo clear effect
Use a categorical encoding rather than the binary linear-arithmetic encoding (ablation)Scallop and A-NeSI · Visual SudokuruntimeHelped
Increase Scallop top-k from lower candidate settings to k=3 (ablation)Scallop · MNIST Addition, settings that did not time outruntimeHelped
Increase Scallop top-k to k=6 (ablation)Scallop · Visual SudokuruntimeHelped

Surprising findings

Limitations

Experimental setup

Datasets: MNIST visual sudoku

Benchmarks: MNIST addition visual sudoku probabilistic Luhn checksum Dice integer arithmetic benchmarks

Metrics: inference time training time (minutes) test accuracy memory usage

Baselines: Dice DeepProbLog Scallop A-NeSI

Builds on: Dice DeepProbLog log-sum-exp trick

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy