Efficient Contraction of Large Tensor Networks for Weighted Model Counting through Graph Decompositions

08/12/2019
by   Jeffrey M. Dudek, et al.
3

Constrained counting is a fundamental problem in artificial intelligence. A promising new algebraic approach to constrained counting makes use of tensor networks, following a reduction from constrained counting to the problem of tensor-network contraction. Contracting a tensor network efficiently requires determining an efficient order to contract the tensors inside the network, which is itself a difficult problem. In this work, we apply graph decompositions to find contraction orders for tensor networks. We prove that finding an efficient contraction order for a tensor network is equivalent to the well-known problem of finding an optimal carving decomposition. Thus memory-optimal contraction orders for planar tensor networks can be found in cubic time. We show that tree decompositions can be used both to find carving decompositions and to factor tensor networks with high-rank, structured tensors. We implement these algorithms on top of state-of-the-art solvers for tree decompositions and show empirically that the resulting weighted model counter is quite effective and useful as part of a portfolio of counters.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/28/2020

Parallel Weighted Model Counting with Tensor Networks

A promising new algebraic approach to weighted model counting makes use ...
research
09/25/2022

On the Optimal Linear Contraction Order for Tree Tensor Networks

Tensor networks are nowadays the backbone of classical simulations of qu...
research
02/08/2023

Approximately Optimal Core Shapes for Tensor Decompositions

This work studies the combinatorial optimization problem of finding an o...
research
08/29/2019

Carving-width and contraction trees for tensor networks

We study the problem of finding contraction orderings on tensor networks...
research
05/01/2018

Fast counting with tensor networks

We introduce tensor network contraction algorithms for the counting of s...
research
11/06/2019

TensorTrace: an application to contract tensor networks

Tensor network methods are a conceptually elegant framework for encoding...
research
09/01/2021

Reducing Computational Complexity of Tensor Contractions via Tensor-Train Networks

There is a significant expansion in both volume and range of application...

Please sign up or login with your details

Forgot password? Click here to reset