LGAIFeb 15, 2017

Linear Time Computation of Moments in Sum-Product Networks

arXiv:1702.04767v21 citations
AI Analysis

This incremental improvement addresses computational bottlenecks for researchers and practitioners using Bayesian online algorithms with SPNs, broadening applicability beyond small or tree-structured networks.

The paper tackles the problem of efficiently computing moments in Sum-Product Networks (SPNs) for Bayesian online algorithms, which previously scaled quadratically, by proposing an optimal linear-time algorithm that works for general directed acyclic graphs, enabling linear-time assume density filters.

Bayesian online algorithms for Sum-Product Networks (SPNs) need to update their posterior distribution after seeing one single additional instance. To do so, they must compute moments of the model parameters under this distribution. The best existing method for computing such moments scales quadratically in the size of the SPN, although it scales linearly for trees. This unfortunate scaling makes Bayesian online algorithms prohibitively expensive, except for small or tree-structured SPNs. We propose an optimal linear-time algorithm that works even when the SPN is a general directed acyclic graph (DAG), which significantly broadens the applicability of Bayesian online algorithms for SPNs. There are three key ingredients in the design and analysis of our algorithm: 1). For each edge in the graph, we construct a linear time reduction from the moment computation problem to a joint inference problem in SPNs. 2). Using the property that each SPN computes a multilinear polynomial, we give an efficient procedure for polynomial evaluation by differentiation without expanding the network that may contain exponentially many monomials. 3). We propose a dynamic programming method to further reduce the computation of the moments of all the edges in the graph from quadratic to linear. We demonstrate the usefulness of our linear time algorithm by applying it to develop a linear time assume density filter (ADF) for SPNs.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes