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

Efficient Large-Scale Structured Learning

Steve Branson, Oscar Beijbom, Serge J. Belongie

Abstract

Structured learning models, such as those used for object detection and part localization, offer significant advantages over simple binary classifiers by capturing complex relationships within data. However, their adoption has been hindered by high computational costs during training. This paper introduces SVM-IS, an optimization algorithm that leverages online dual ascent and importance sampling to accelerate structured learning. Experimental results demonstrate speedups of up to 1,000x over traditional solvers like $SVM^{struct}$, enabling efficient training on large-scale datasets like ImageNet and CUB-200-2011 without compromising accuracy.

Introduction: The Speed-Accuracy Trade-off in Structured Learning

In modern computer vision, many tasks require predicting more than a single categorical label. Structured learning addresses these needs by modeling complex outputs, such as bounding boxes for object detection, hierarchies for cost-sensitive classification, or spatial configurations for part localization.

Figure 1: Overview of structured learning tasks including deformable part models, object detection, and cost-sensitive learning applied to large-scale datasets.

Despite their representational power, structured models are notoriously slow to train. Standard solvers often require extensive time to converge on large datasets, leading researchers to frequently resort to faster but less accurate binary classification approximations. The goal of this work is to bridge this gap, providing a solver that matches the speed of linear SVMs while maintaining the richness of structured frameworks.

Methodology: SVM-IS

The proposed SVM-IS (Support Vector Machine with Importance Sampling) algorithm introduces two primary innovations to the structured learning pipeline:

  1. Online Dual Ascent: Rather than employing batch processing, SVM-IS processes training examples individually or in small mini-batches. This approach adapts the efficiency of fast linear solvers (e.g., Liblinear) to the structured domain.
  2. Importance Sampling: Traditional structured SVMs typically search for the single "most violated constraint"—the label that maximizes the margin-scaled loss. SVM-IS instead samples a diverse set of $K$ high-error candidate labels. By updating the model against multiple informative mistakes simultaneously, the algorithm achieves significantly faster convergence.

This strategy addresses the inherent redundancy in structured output spaces. For instance, in object detection, many overlapping bounding boxes represent similar "mistakes." Sampling a diverse set of candidates ensures that each update step provides maximal new information to the model.

Experimental Evaluation

The authors evaluated SVM-IS on two challenging benchmarks:

  • ImageNet: A large-scale dataset used for cost-sensitive multiclass classification across 200 categories.
  • CUB-200-2011: A dataset focused on locating 15 distinct bird parts across 200 species using Deformable Part Models (DPMs).
Figure 2: Examples of part localization on the CUB-200-2011 dataset, illustrating cases with high numbers of incorrect part predictions during training.

Key Results

  • Training Speed: SVM-IS achieved speedups of 50 to 1,000 times compared to $SVM^{struct}$ for training DPMs. For multiclass tasks, it was 10 to 50 times faster than standard methods.
  • Convergence and Accuracy: The algorithm often reaches near-optimal performance within just one or two passes through the training data. Crucially, this speed does not come at the cost of accuracy; the structured approach frequently outperformed binary approximations by directly optimizing the target loss function.

Conclusion

SVM-IS demonstrates that the perceived slowness of structured learning is an artifact of optimization choices rather than the models themselves. By focusing computational effort on the most informative constraints through importance sampling, researchers can now train complex, high-accuracy models at scales previously reserved for simple binary classifiers. Future work will explore the application of these techniques to video tracking and image segmentation.

Summary updated

BibTeX
@inproceedings{branson2013efficient,
  author = {Steve Branson and Oscar Beijbom and Serge J. Belongie},
  title = {{Efficient Large-Scale Structured Learning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2013},
  doi = {10.1109/cvpr.2013.236},
}
Figure