Integrated Inference and Learning of Neural Factors in Structural Support Vector Machines

Rein Houthooft, Filip De TurckarXiv 2015 · DOI

TL;DR

Traditional Structural Support Vector Machines (SSVMs) are limited by linear feature combinations and a disjointed, two-phase training process. This paper introduces an end-to-end framework that integrates back-propagation with loss-augmented inference, allowing both unary and interaction factors to be modeled by deep neural networks. The resulting "neural factors" significantly improve accuracy on complex structured prediction tasks like image segmentation.

What Problem Does This Paper Address?

Structured prediction is essential when output variables have task-specific statistical relationships—such as predicting the semantic labels of neighboring regions in an image. SSVMs are popular non-probabilistic models for these tasks, but they suffer from two major limitations:

  1. Bifurcated Training: Unary factors (which map inputs to outputs) and interaction factors (which model dependencies between outputs) are typically trained sequentially. Because the unary classifier is trained upfront and independently, it cannot adapt to or correct the errors made later during interaction training.
  2. Linearity Constraints: SSVM factors are traditionally restricted to linear combinations of input features, severely limiting the model's capacity to generalize to highly complex, non-linear patterns.

Methods

The authors overcome these challenges by introducing two key innovations to the SSVM framework:

  • Integrated Inference and Learning: They modify the standard subgradient descent algorithm to allow end-to-end training. The algorithm alternates between a loss-augmented inference step (solved via $\alpha$-expansion graph cuts) and a gradient step that back-propagates the structured loss error directly into all model parameters simultaneously.
  • Neural Factors: They replace the traditional linear functions with multilayer neural networks for both unary and interaction factors. By removing the top softmax layer, these networks output raw factor values that feed directly into the SSVM objective.

Crucially, introducing neural networks makes the SSVM objective function non-convex, stripping away traditional convergence guarantees. However, the authors leverage optimization insights from deep learning literature to show that subgradient descent with momentum can still minimize these objectives highly effectively.

Datasets

The proposed model was evaluated on three distinct image segmentation benchmarks:

  • MSRC-21: A standard dataset featuring 21 object classes, widely used to evaluate object delineation and irregular background recognition.
  • KITTI: An autonomous driving dataset where the authors evaluated an 8-class road and object segmentation task.
  • SIFT Flow: A larger dataset consisting of 33 semantic classes across 2,688 images, used to demonstrate the scalability of the approach.

Key Insights and Ideas

  • Factor Synergy: In traditional bifurcated training, interaction factors often make unary factors redundant because they cannot mutually adapt. Integrated training forces a unique synergy where both factor types co-optimize, leading to much more coherent global predictions.
  • Embracing Non-Convexity: While non-convexity is historically avoided in structured learning, the high-dimensional parameter space of neural networks actually helps optimization by making true local minima rare compared to easily escapable saddle points.
  • Arbitrary Depth: Because the framework integrates standard back-propagation, these neural factors can be stacked to arbitrary depths (e.g., moving from 1-hidden-layer to 3-hidden-layer architectures), allowing structured models to directly ride the coattails of deep learning advancements.

Key Results

Across all datasets, the integrated training approach with neural factors (int+nrl) significantly outperformed conventional N-slack cutting plane (CP) and standard subgradient descent (SGD) methods:

  • MSRC-21: The 3-layer neural factor model achieved a 71.6% pixel-wise accuracy and 65.1% class-mean accuracy, compared to just 59.2% and 49.6% for standard SGD. When paired with advanced OverFeat features, the model achieved 88.9% pixel accuracy, performing on par with the state-of-the-art.
  • KITTI & SIFT Flow: The 3-layer model achieved top performance on KITTI (77.6% pixel accuracy) and SIFT Flow (71.5% pixel accuracy), validating the consistency of the architecture.

Qualitative results highlight how the integrated neural factors produce cleaner boundaries and fewer isolated misclassifications:

Figure 1: Illustrative examples of the performance of SGD and int+nrl on several MSRC-21 test images. Integrated training with neural factors improves classification accuracy over subgradient descent. The last column presents a case in which our model fails to outperform SGD.
Figure 2: Illustrative examples of the performance of SGD and int+nrl on several KITTI test images. Integrated training with neural factors improves classification accuracy over subgradient descent. The last column presents a case in which our model fails to outperform SGD.

Limitations and Future Work

  • Optimization Guarantees: Due to the non-convex nature of neural networks, the method lacks the theoretical convergence guarantees enjoyed by linear SSVMs.
  • Computational Overhead: The implementation is not yet fully optimized for speed. Training took approximately 12.62 seconds per epoch on the MSRC-21 dataset and nearly 200 seconds per epoch on SIFT Flow. The authors note that better exploitation of GPU/CPU parallelism is an immediate area for improvement.
  • Future Directions: The authors suggest extending this framework to incorporate latent variables, learning end-to-end feature representations directly from raw pixels, and exploring more complex graph connectivity structures.

Summary updated

BibTeX
@misc{houthooft2015integrated,
  author = {Rein Houthooft and Filip De Turck},
  title = {{Integrated Inference and Learning of Neural Factors in Structural Support Vector Machines}},
  year = {2015},
  eprint = {1508.00451},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1508.00451},
}
Figure