Large-Margin Structured Prediction via Linear Programming

Zhuoran Wang, John Shawe-TaylorAISTATS 2009

Abstract

This paper introduces LP-Struct, a novel framework that reformulates structured prediction as a Linear Programming (LP) problem. By combining $L_1$-regularization with an efficient "extragradient" solver and column generation, the authors achieve state-of-the-art accuracy with significantly faster training times on large-scale tasks such as Statistical Machine Translation (SMT).

Introduction

Structured prediction involves predicting complex, interdependent outputs like sequence labels or translated phrases. The traditional "large-margin" approach, popularized by Structured SVMs, typically relies on Quadratic Programming (QP). However, QP becomes computationally impractical for real-world tasks like SMT, where the number of possible incorrect outputs is exponential and features can number in the millions. LP-Struct addresses this by shifting to a more scalable Linear Programming optimization strategy without sacrificing generalization benefits.

The LP-Struct Framework

The authors propose three key innovations to enhance scalability:

  1. LP Formulation ($L_1$-Regularization): By using an $L_1$-norm on the weights ($w$) instead of the standard $L_2$-norm, the optimization is transformed into a Linear Program. Constraining weights to be non-negative ($w \ge 0$) further simplifies the solution.
  2. Column Generation (CG): To manage the exponential constraint space, CG iteratively adds only the "most violated" constraints. These violations are identified by "decoding" the model using efficient algorithms like Viterbi.
  3. Extragradient Method for LP: Solving an LP subproblem from scratch at every CG iteration is inefficient. The authors integrate an "extragradient" method that allows for warm starts, using the previous iteration's solution as a starting point to accelerate convergence.
Convergence behavior of the extragradient method, illustrating the characteristic spiral path toward the optimum in the primal-dual objective space.

Key Insights: Warm-Starting and Generalization

A critical finding is that traditional LP solvers, like the Simplex method, often fail to reuse information effectively between iterations. The extragradient method treats the LP as a saddle-point problem, allowing it to "spiral" toward the optimum. This makes integration with Column Generation highly efficient.

Furthermore, the authors provide theoretical proof that minimizing their $L_1$ objective directly minimizes a generalization error bound. Notably, this bound depends on the feature dimension rather than the number of labels—a significant advantage in NLP, where label spaces are often vast.

Experimental Results

The approach was evaluated on Part-of-Speech (POS) tagging using the MEDLINE corpus and French-to-English Statistical Machine Translation (SMT) using the Canada Hansards corpus.

  • Speed and Stability: On POS tagging, LP-Struct was approximately 10x faster than MIRA and 60x faster than CRFs. As shown in the performance analysis, the extragradient method's CPU time grows stably across iterations compared to standard methods.
  • Translation Quality: LP-Struct outperformed the standard MERT (Minimum Error Rate Training) baseline, achieving a BLEU score of 32.35 compared to 31.69.
Comparison of CPU time across iterations, demonstrating the superior stability and efficiency of the proposed extragradient solver compared to baseline methods.

Conclusion and Future Work

While LP-Struct offers significant speed and performance gains, it remains sensitive to the quality of "pseudo-references" in tasks like SMT. If the best available path in a search lattice is poor, the model may struggle to separate inseparable examples. Future work includes developing more robust pseudo-reference generation and applying the framework to more complex combinatorial models beyond machine translation.

Summary updated

BibTeX
@article{wang2009large,
  author = {Zhuoran Wang and John Shawe-Taylor},
  title = {{Large-Margin Structured Prediction via Linear Programming}},
  journal = {AISTATS},
  year = {2009},
}
Figure