Skip to main content
Back

UT Dallas Gives Probabilistic Circuits Geometry-Aware Routing Without Breaking Inference

Researchers make probabilistic circuits geometry-aware by routing inputs through Voronoi cells, with two techniques to preserve tractable inference.

Pro

  • New ICML 2026 paper adds Voronoi-based input-dependent routing to probabilistic circuits for local geometry awareness.
  • Naive Voronoi gating breaks tractable inference because oblique cell boundaries couple variables across product nodes.
  • VT-PC keeps full geometry and provides certified lower/upper bounds via axis-aligned inner and outer boxes.
  • HFV-PC factorizes tessellations along the circuit's vtree, restoring exact inference at the cost of oblique boundaries.
  • Soft distance-weighted gates with temperature annealing enable gradient training, with proven exponential soft-to-hard convergence.
  • Full paper on arXiv, built on the open-source CirKit library.

Probabilistic circuits are one of the more elegant corners of generative modeling: they trade some of the raw expressivity of neural networks for exact and linear-time inference of likelihoods, marginals, and conditionals. But a new ICML 2026 paper from Sahil Sidheekh and Sriraam Natarajan at UT Dallas argues that these circuits have been leaving something important on the table: geometry.

The routing problem inside probabilistic circuits

A probabilistic circuit (PC) is a directed acyclic graph of leaves, product nodes, and sum nodes. Sum nodes act like mixture models, product nodes act like factorizations over disjoint variables, and structural rules called smoothness and decomposability keep integration tractable. The catch: the mixture weights associated with sum nodes are typically data-independent, meaning routing decisions within the circuit are fixed globally and do not adapt to individual inputs.

That is fine for preserving tractability, but it means a PC cannot say "in this region of input space, expert A matters, and in that region, expert B matters." Real distributions often have exactly that piecewise character, and as the number of mixture components grows, optimization becomes harder, parameter redundancy increases, and improvements in likelihood saturate.

Voronoi cells as a natural gating mechanism

The authors propose gating sum nodes with Voronoi tessellations: pick a set of learned centroids, and route each input to the expert whose centroid it is closest to. Every input lands in exactly one convex polyhedral cell, so routing is deterministic, interpretable, and behaves like a geometric mixture-of-experts.

The problem is that this breaks the machinery PCs are built on. Voronoi cells are defined by oblique half-space intersections that couple multiple input dimensions, and computing integrals over such convex polyhedra is #P-hard and does not decompose along the variable partitions encoded by the circuit's product nodes. Even with fully factorized experts, marginalization over a Voronoi-gated region cannot be done recursively.

A quick 2D example makes the issue concrete. With centroids at (0,1) and (1,0), the boundary between cells is the diagonal x1 = x2. Integrating a factorized density over the half-plane x2 > x1 forces the inner integral's limit to depend on the outer variable, which kills the clean product-of-1D-integrals trick that PCs rely on.

Two ways out

The paper offers two complementary fixes rather than picking one.

  • VT-PC with certified approximate inference. Keep the full Voronoi geometry, and sandwich each Voronoi cell between an axis-aligned inner box (guaranteed to sit inside the cell) and an outer box (guaranteed to contain it). Integrating over boxes is easy for a decomposable circuit, so this yields provable lower and upper bounds on partition functions, marginals, and conditionals. An anytime refinement algorithm bisects boundary boxes to tighten those bounds monotonically.
  • HFV-PC with exact tractable inference. Restrict the geometry so it factorizes the same way the circuit does. At each sum node with scope split into disjoint blocks, define a separate Voronoi tessellation per block; the joint cell becomes a Cartesian product of lower-dimensional cells. This "Hierarchical Factorized Voronoi" construction restores exact tractability, at the cost of not being able to represent oblique boundaries like x1 + x2 = c in a single step.

Both variants use hard routing at test time, but hard assignments are non-differentiable. So training uses a soft gate that looks like a distance-weighted softmax:

w_k(u; alpha) = exp(-alpha * ||u - c_k||^2)
              / sum_j exp(-alpha * ||u - c_j||^2)

The inverse temperature alpha is annealed upward during training, sharpening the gates toward the hard Voronoi partition. The authors prove this soft-to-hard transition converges exponentially fast, bounded by (K-1) * exp(-alpha * gamma(u)), where gamma(u) is how much closer a point is to its nearest centroid than to the runner-up.

What the experiments show

The team tested VT and HFV variants of two standard PC architectures, EinsumNet and HCLT, on synthetic 2D/3D distributions (pinwheel, spiral, trefoil knot, interlocked circles) and four UCI tabular benchmarks (power, gas, hepmass, miniboone).

Voronoi tessellation learned by VT-EinsumNet on the 2D pinwheel dataset

On the synthetic sets, VT models consistently achieve strong performance, with their certified lower bounds often exceeding baseline exact log-likelihoods, demonstrating that the increased expressivity from unconstrained geometry-aware routing captures structure missed by input-independent weights. HFV variants match baselines while retaining exact inference and an explicit geometric interpretation.

On the UCI benchmarks, VT lower bounds beat or match the exact likelihoods of the baseline PCs on the majority of datasets, with VT-HCLT going from a baseline of 7.22 to a certified lower bound of 10.57 nats on gas. The gap between lower and upper bounds widens in higher dimensions though, which is consistent with the theoretical O(2^(-t/d)) convergence rate of box refinement.

Where this is useful, and where it hurts

The honest tradeoff is spelled out in the paper: HFV-PC is preferable when exact inference is required and the relevant geometric structure factorizes along the circuit decomposition, while VT-PC is preferable when cross-variable boundaries are essential and one is willing to accept certified approximate inference for added expressivity.

Practically, this makes geometry-aware PCs a good fit for:

  • Density estimation on data with strong local structure or disconnected modes.
  • Safety-critical applications where certified bounds beat point estimates, such as medical diagnosis or scientific modeling.
  • Continual learning, where new regions of input space can be handled by adding centroids without retraining the whole model.
  • Interpretable anomaly detection, since each region of input space maps to an identifiable expert.

The weak spots are honest too. In high dimensions the conservative inner boxes cover only a small fraction of each Voronoi cell, so bounds start loose and refinement cost grows quickly with d and the number of cells. HFV avoids that curse but pays for it in expressivity, since it cannot realize oblique polytopes that mix variables across scope blocks.

The quieter breakthrough

The headline is "geometry-aware probabilistic circuits," but the deeper contribution is the formalization of a general principle: any new dependency added inside a probabilistic circuit, whether a neural gate, an invertible flow, or a geometric partition, will silently break tractability unless it is aligned with the circuit's variable factorization. The paper turns that observation into a concrete recipe (align the gating geometry with the vtree) and a fallback (certified bounds when you refuse to align). Code is not yet public, but the models are built on the open-source CirKit library, which makes reproduction reasonably approachable.