NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Large Margin Semi-supervised Structured Output Learning

P. Balamurugan, Shirish K. Shevade, Sundararajan SellamanickamarXiv 2013

Abstract

Structured output learning is often hindered by the high cost of labeling complex data. This work introduces a semi-supervised framework for Structured Support Vector Machines (SSVMs) that leverages unlabeled data alongside domain-specific constraints. By employing an alternating optimization strategy combined with deterministic annealing and a greedy label-switching heuristic, the method efficiently navigates the combinatorial output space. Experimental results on sequence labeling tasks demonstrate that this approach significantly improves performance when labeled data is scarce, outperforming purely supervised baselines and matching state-of-the-art semi-supervised methods.

Introduction

In many real-world machine learning tasks, the objective is to predict structured objects—such as sequences of tags in a sentence, nodes in a graph, or segments in an image—rather than simple categorical labels. While unlabeled data is often abundant, the manual labeling of these complex structures is prohibitively expensive and time-consuming. Semi-supervised learning aims to bridge this gap by utilizing the underlying distribution of unlabeled data to refine model parameters.

However, applying semi-supervised techniques to structured outputs presents a significant computational challenge. The output space is combinatorial; for instance, a 20-word sentence with 10 possible tags per word yields $10^{20}$ possible labelings. Standard methods that involve "switching" labels on unlabeled data to find an optimal fit become computationally intractable in such high-dimensional spaces.

Methodology

The proposed framework, Semi-supervised Structural SVMs with Domain Constraints (SSVM-SDM), addresses these challenges through three primary technical pillars:

  1. Alternating Optimization: The learning problem is decomposed into two iterative steps. First, labels for the unlabeled data are fixed, and a standard supervised learning problem is solved to update the model weights ($w$). Second, the weights are fixed, and the model searches for the optimal labels ($y^*$) for the unlabeled data that satisfy specific domain constraints.
  2. Hill-Climbing Label Switching: To navigate the combinatorial label space without exhaustive search, the authors employ an iterative hill-climbing heuristic. Starting from an initial label estimate, the algorithm greedily "switches" individual components of the structure. A switch is maintained only if it reduces the combined cost of the loss function and constraint violations.
  3. Deterministic Annealing: To avoid local minima in the non-convex optimization landscape, deterministic annealing is used. The process begins by prioritizing labeled data and gradually increases the influence of unlabeled data ($C_u$). This "warming up" phase allows the model to settle into a more robust global solution before the unlabeled data exerts full influence.

Experimental Evaluation

The researchers evaluated SSVM-SDM on two benchmark sequence labeling datasets:

  • Citations: 500 sequences of computer science paper citations, where segments are labeled as author, title, journal, year, etc.
  • Apartment Advertisements: 300 sequences from Craigslist, requiring the identification of features, rent, contact info, photos, and size.

In both scenarios, the model was tested using extremely small labeled sets (as few as 5 to 20 examples) supplemented by 1,000 unlabeled examples.

Results and Discussion

SSVM-SDM consistently outperformed purely supervised baselines and matched or exceeded existing state-of-the-art methods like DASO and CODL. On the Citations dataset, with only 20 labeled examples, the model improved accuracy from a 78% baseline to 86.2%. On the Apartments dataset with 100 labeled examples, it achieved 81.93% accuracy compared to the 76.4% baseline.

Optimization and the Annealing Effect

The optimization process is characterized by a decreasing primal objective value, punctuated by spikes that correspond to the adjustment of the annealing parameter or label-switching updates.

Figure 1: Primal objective value vs. iterations, showing the optimization progress and the impact of annealing steps.

A key insight from the study is that performance typically peaks at an intermediate stage of the annealing process. If the influence of unlabeled data is increased too far or too rapidly, the model may begin to overfit the unlabeled set, leading to a decline in generalization performance on the test set.

Figure 2: Test accuracy vs. iterations, illustrating the performance peak and subsequent decline due to overfitting on unlabeled data during annealing.

Conclusion

This research demonstrates that domain constraints act as vital "guide rails" when labeled data is scarce. By encoding prior knowledge (e.g., "a citation usually starts with an author"), the model can effectively learn from unlabeled distributions. While the greedy hill-climbing approach proves efficient, future work remains in developing automated stopping criteria for the annealing process to prevent overfitting and extending the framework to handle more complex, global constraints across entire datasets.

Summary updated

BibTeX
@misc{balamurugan2013large,
  author = {P. Balamurugan and Shirish K. Shevade and Sundararajan Sellamanickam},
  title = {{Large Margin Semi-supervised Structured Output Learning}},
  year = {2013},
  eprint = {1311.2139},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1311.2139},
}
Figure