Skip to main content
QUICK REVIEW

[Paper Review] Sum-Product Networks for Sequence Labeling

Martin Ratajczak, Sebastian Tschiatschek|arXiv (Cornell University)|Jul 6, 2018
Biomedical Text Mining and OntologiesBiochemistry, Genetics and Molecular Biology20 references6 citations
TL;DR

This paper proposes Sum-Product Networks (SPNs) as deep, differentiable, and efficient higher-order factors within Linear-Chain Conditional Random Fields (LC-CRFs) for sequence labeling. By replacing traditional first-order or linear higher-order factors with SPNs, the model captures complex, non-linear dependencies between multiple input segments and output labels while enabling exact and efficient inference. The method achieves state-of-the-art performance, with a 18.2% phone error rate on the TIMIT dataset, outperforming prior models including NHO-LC-CRFs.

ABSTRACT

We consider higher-order linear-chain conditional random fields (HO-LC-CRFs) for sequence modelling, and use sum-product networks (SPNs) for representing higher-order input- and output-dependent factors. SPNs are a recently introduced class of deep models for which exact and efficient inference can be performed. By combining HO-LC-CRFs with SPNs, expressive models over both the output labels and the hidden variables are instantiated while still enabling efficient exact inference. Furthermore, the use of higher-order factors allows us to capture relations of multiple input segments and multiple output labels as often present in real-world data. These relations can not be modelled by the commonly used first-order models and higher-order models with local factors including only a single output label. We demonstrate the effectiveness of our proposed models for sequence labeling. In extensive experiments, we outperform other state-of-the-art methods in optical character recognition and achieve competitive results in phone classification.

Motivation & Objective

  • To address the limitation of first-order and linear higher-order models in capturing complex, non-linear dependencies between input segments and output labels in sequence labeling.
  • To enable efficient, exact inference in structured prediction models by integrating Sum-Product Networks (SPNs) as higher-order input- and output-dependent factors.
  • To explore the effectiveness of SPNs in modeling rich, deep dependencies in sequence modeling tasks such as optical character recognition and phone classification.
  • To compare SPN-based models with existing state-of-the-art approaches, including NHO-LC-CRFs and HO-HU-CRFs, in terms of performance and generalization.

Proposed method

  • The model extends higher-order linear-chain CRFs (HO-LC-CRFs) by replacing standard local and higher-order factors with SPNs, which are deep, structured probabilistic models capable of exact and efficient inference.
  • SPNs are used to represent input-dependent higher-order factors that map m input segments to n output labels, enabling modeling of complex, non-linear relationships.
  • The SPN architecture consists of deep layers of sum and product nodes, with the sum nodes performing weighted mixtures and product nodes factorizing joint distributions over variables.
  • The model uses message passing for efficient marginal inference over hidden and output variables, preserving exactness despite deep structure.
  • Sparse bigram and trigram factors are used for input-independent components to reduce overfitting, and the model is trained end-to-end using gradient-based optimization.
  • For comparison, the method also evaluates discriminative Restricted Boltzmann Machines (RBMs) as an alternative to SPNs in the same framework (HO-HU-CRFs).

Experimental results

Research questions

  • RQ1Can SPNs effectively model non-linear, higher-order dependencies between input segments and output labels in sequence labeling?
  • RQ2Does integrating SPNs into HO-LC-CRFs enable exact and efficient inference while maintaining high model expressiveness?
  • RQ3How does the performance of SPN-based HO-LC-CRFs compare to state-of-the-art models like NHO-LC-CRFs and HO-HU-CRFs on sequence labeling benchmarks?
  • RQ4To what extent do SPNs reduce overfitting compared to standard MLP-based higher-order factors in sequence models?

Key findings

  • The SPN-HO-LC-CRF model achieved a 18.2% phone error rate (PER) on the TIMIT dataset, outperforming all first-order models and matching or surpassing state-of-the-art methods.
  • The best-performing SPN-HO-LC-CRF configuration used three hidden layers, two products per sum node, and three hidden states, achieving 18.2% PER.
  • The HO-HU-CRF model achieved slightly better performance at 17.8% PER, but SPN-HO-LC-CRFs remain competitive and offer the advantage of exact inference.
  • SPN-HO-LC-CRFs with m=n=1 and m=n=2 input-dependent factors outperformed first-order SPN-LC-CRFs and other baselines, including GMM-LC-CRFs and CNFs.
  • The use of sparse input-independent bigram and trigram factors helped reduce overfitting, especially when using higher-order input-dependent factors.
  • Experiments showed that using summation in SPN layers slightly outperformed replacing summations with max operators, with 19.6% and 19.7% test error vs. 19.9% for max.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.