Skip to main content
QUICK REVIEW

[Paper Review] Discriminative Embeddings of Latent Variable Models for Structured Data

Hanjun Dai, Bo Dai|arXiv (Cornell University)|Mar 17, 2016
Machine Learning and Data ClassificationComputer Science53 references373 citations
TL;DR

This paper introduces structure2vec, a scalable discriminative embedding of latent variable graphical models for structured data, using mean-field and loopy belief propagation inspired updates to learn representations end-to-end for classification and regression on sequences, trees, and graphs.

ABSTRACT

Kernel classifiers and regressors designed for structured data, such as sequences, trees and graphs, have significantly advanced a number of interdisciplinary areas such as computational biology and drug design. Typically, kernels are designed beforehand for a data type which either exploit statistics of the structures or make use of probabilistic generative models, and then a discriminative classifier is learned based on the kernels via convex optimization. However, such an elegant two-stage approach also limited kernel methods from scaling up to millions of data points, and exploiting discriminative information to learn feature representations. We propose, structure2vec, an effective and scalable approach for structured data representation based on the idea of embedding latent variable models into feature spaces, and learning such feature spaces using discriminative information. Interestingly, structure2vec extracts features by performing a sequence of function mappings in a way similar to graphical model inference procedures, such as mean field and belief propagation. In applications involving millions of data points, we showed that structure2vec runs 2 times faster, produces models which are $10,000$ times smaller, while at the same time achieving the state-of-the-art predictive performance.

Motivation & Objective

  • Motivate scalable learning on structured data where traditional BOS kernels scale poorly to millions of points.
  • Propose a discriminative embedding framework (structure2vec) that embeds latent-variable posteriors into a finite-dimensional feature space.
  • Develop mean-field and loopy belief propagation inspired embedding updates that are learnable end-to-end with supervision.
  • Show that the approach yields compact models and competitive state-of-the-art accuracy on medium-scale and very large-scale structured datasets.

Proposed method

  • Model each structured data point as a latent variable graphical model with observed node attributes and hidden variables.
  • Embed the posterior marginals p(H_i | data) into a finite-dimensional feature space via a feature map phi, producing embeddings mu_i.
  • Represent the embedding updates as neural network style nonlinear mappings inspired by mean-field or loopy BP updates (e.g., mu_i = sigma(W1 x_i + W2 sum_{j in N(i)} mu_j)).
  • Learn the embedding transformations T and the final predictor end-to-end by minimizing discriminative loss (square loss for regression, cross-entropy with softmax for classification).
  • Use stochastic gradient descent for scalability and a small explicit feature map to avoid large kernel matrices.

Experimental results

Research questions

  • RQ1Can latent-variable graphical models for structured data be embedded into a discriminative, trainable feature space that scales to millions of instances?
  • RQ2Do mean-field and loopy BP-inspired embeddings provide competitive predictive performance on structured data tasks compared to fixed BOS and GM kernels?
  • RQ3Can end-to-end training of embeddings and a final predictor yield smaller models with comparable or superior accuracy on medium and large-scale datasets?

Key findings

  • Structure2vec variants (DE-MF and DE-LBP) outperform prefix kernel baselines on string benchmarks in AUC.
  • On string datasets, DE-MF achieves 0.7713 AUC (FC_RES) and 0.9068 AUC (SCOP) with DE-LBP at 0.9167 AUC on SCOP.
  • On graph benchmarks, structure2vec variants show competitive accuracy against several graph kernels (e.g., subtree, random walk, WL kernels).
  • The method handles very large datasets efficiently, e.g., demonstrated on the Harvard Clean Energy Project dataset with millions of samples, achieving faster training and much smaller models while maintaining competitive accuracy.
  • Embedded mean-field and loopy BP updates are implemented as neural-network-like modules, enabling end-to-end discriminative training.

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.