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

Resource Constrained Structured Prediction

Tolga Bolukbasi, Kai-Wei Chang, Joseph Wang, Venkatesh Saligrama

Introduction

Structured prediction—the task of predicting complex outputs like parse trees or image segmentations—is a cornerstone of modern artificial intelligence. However, these models are often computationally "heavy." While traditional research has focused on accelerating the underlying optimization and inference processes, Bolukbasi et al. (AAAI 2017) identify a different, often overlooked bottleneck: the high cost of feature extraction.

In many real-world applications, the computational cost stems from three primary stages:

  1. Acquiring features (e.g., computing complex descriptors like HOG for image patches).
  2. Evaluating part responses (scoring the likelihood of specific edges or labels).
  3. Inference (solving the combinatorial problem to find the optimal global structure).

For tasks like dependency parsing or high-resolution OCR, steps 1 and 2 are frequently the dominant costs. This paper proposes a framework for "selective feature acquisition," where a model learns a policy to use inexpensive features for "easy" parts of a structure and only utilizes expensive features when necessary to resolve ambiguity.

Methodology: Reduction to Structured Learning

The core innovation of this work is the mathematical reduction of the feature-acquisition policy learning problem to a standard weighted structured learning task. The authors consider two primary scenarios:

  • Expected Budget: A fixed average computational "allowance" per example.
  • Anytime Prediction: A system that must provide its best current estimate if interrupted at any moment.

To train the policy, the authors define a modified loss function that penalizes both prediction error and the computational cost of the features used. Since the optimal sequence of feature acquisitions is not known a priori, they employ search strategies (such as Trajectory and Parsimonious Search) to generate "pseudo-labels"—the ideal state of feature acquisition for training examples. This allows the use of highly optimized structured learning algorithms, such as weighted SVMs, to train the acquisition policy.

Selective feature acquisition in OCR: The model applies expensive HOG features only to ambiguous characters like 'u' and 'n' to reduce loss efficiently.

Experimental Evaluation

The framework was evaluated on two classic benchmarks:

  1. Optical Character Recognition (OCR): Using the Taskar et al. dataset, where raw pixels served as "cheap" features and Histogram of Oriented Gradients (HOG) served as "expensive" features.
  2. Dependency Parsing: Using the English Penn Treebank (PTB), where part-of-speech (POS) tags were cheap, and full lexicons/contextual word features were expensive.

The results demonstrated that not all parts of a structure require high-fidelity features. In dependency parsing, simple determiner-noun relationships are easily resolved with cheap features, whereas complex verb-object dependencies benefit from expensive contextual information.

Results and Discussion

The proposed method achieved a 2.9x total speedup on the PTB dependency parsing task with only a 1% decrease in Unlabeled Attachment Score (UAS). In the OCR task, the method significantly outperformed uniform feature acquisition, particularly in low-budget regimes where it strategically applied HOG features to noisy or ambiguous characters.

Accuracy vs. computation time for various acquisition policies. The one-shot (expected budget) policies generally outperform anytime and uniform baselines.

A key finding was the "One-Shot" advantage: policies optimized for an expected budget generally outperformed anytime policies because they could optimize feature spending holistically across the entire structure. Furthermore, the authors emphasized that policy overhead must be minimal; using simple features for the policy itself (like a weighted SVM) ensured that the time saved in feature acquisition wasn't lost to the decision-making process.

Conclusion

By treating feature acquisition as a learnable policy within a structured prediction framework, this research provides a principled way to balance accuracy and computational cost. The reduction to weighted structured learning allows for efficient training and deployment, making complex structured prediction tasks more viable for resource-constrained environments. Future work may explore extending this to deep learning architectures, where the policy could decide which layers or branches of a neural network to activate.

Summary updated

BibTeX
@inproceedings{bolukbasi2017resource,
  author = {Tolga Bolukbasi and Kai-Wei Chang and Joseph Wang and Venkatesh Saligrama},
  title = {{Resource Constrained Structured Prediction}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.1609/aaai.v31i1.10917},
}
Figure