Efficient Decomposed Learning for Structured Prediction

Rajhans Samdani, Dan Roth

TL;DR

Decomposed Learning (DecL) is a novel framework that drastically speeds up structured prediction by restricting exact inference to a small, localized neighborhood around the ground truth labels rather than searching the entire global output space. Under specific conditions, DecL is theoretically guaranteed to find the exact same optimal parameters as global learning while delivering massive speedups in practice.

What Problem Does This Paper Address?

Structured prediction is vital for tasks where output variables depend on one another, such as identifying entities in a sentence or labeling pixels in an image. Standard discriminative approaches, like Structural SVMs, rely on "Global Learning" (GL). During training, GL performs a global Maximum A Posteriori (MAP) inference step across the entire output space to find the highest-scoring incorrect assignment and update model weights.

However, when output variables have complex, high-order interactions, this global search becomes a massive computational bottleneck. Researchers often resort to "Local Learning" (LL)—ignoring interactions entirely during training—which is fast but severely hurts accuracy because it fails to learn the underlying structure. The authors bridge this gap by proposing a method that maintains structural awareness without the crippling computational cost.

Methods

The authors introduce Decomposed Learning (DecL). Instead of searching the entire output space $\mathcal{Y}$, DecL restricts the inference step to a manageable neighborhood $nbr(y^j)$ centered around the gold standard (ground truth) label $y^j$.

Comparison of Global Learning and Decomposed Learning pipelines.

To construct these neighborhoods systematically, DecL uses decompositions. A decomposition defines subsets of variables that are allowed to vary while all other variables are fixed to their ground truth values. The paper explores a few variants:

  • DecL-k: A configuration where all variable subsets of size $k$ are allowed to vary. For example, DecL-2 allows pairs of variables to change, mimicking the localized comparisons used in multi-class SVMs.
  • $S_{pair}$ Decomposition: Designed for Pairwise Markov Networks (PMNs), this method leverages structural traits like submodularity (where adjacent variables prefer to share the same label) to group variables into maximal connected components based on where the ground truth labels agree or disagree.

The model parameters are optimized using a standard subgradient descent scheme (or cutting-plane methods), but with the inference step safely bounded within the decomposed neighborhood.

Datasets

The framework was validated across both controlled and real-world datasets:

  1. Synthetic Data: 10 binary output variables governed by randomly generated linear constraints to test convergence behavior.
  2. Reuters Dataset: A multi-label document classification task reduced to the 30 most frequent labels to evaluate performance on Pairwise Markov Networks.
  3. Citations Dataset: An information extraction task (McCallum et al., 2000) focused on identifying fields like 'author' and 'title' in bibliographic references.
  4. Ads Dataset: A text segmentation dataset (Grenager et al., 2005) for classifying sections of classified advertisements.

Key Insights and Ideas

  • Exactness with Finite Data: Unlike approximations like Pseudolikelihood, which only guarantee correctness asymptotically (with infinite data), the authors prove exactness—meaning DecL can arrive at the identical weight vector as Global Learning using a finite dataset.
  • Smart Constraints Reduce Space: By leveraging domain knowledge, such as logical constraints (e.g., Horn clauses) or parameter traits (e.g., submodularity in image pixels or text blocks), you can construct tiny neighborhoods that still perfectly capture the global optimization boundary.
  • Exact Inference on Smaller Spaces: Instead of performing approximate inference over the entire space (which loses guarantees), DecL performs exact inference over a restricted space.

Key Results

  • Convergence: On synthetic data, Local Learning quickly hit an error plateau. In contrast, DecL variants steadily converged toward zero error, tracking the accuracy of Global Learning while running up to 25x faster (44 seconds for DecL-3 vs. 1181 seconds for GL).
Figure 2. Synthetic data: Avg. Hamming loss for different learning algorithms. LL: local learning; LL+C: local learn- ing with constraints during inference; GL: global learning; DecL-1,2,3: our approach. Note that LL and LL+C are really close. LL+C fails to obtain low error even with a large amount of training data, while Decomposed Learn- ing algorithms achieve a continuously diminishing error.
  • Multi-Label Classification: On the Reuters dataset, DecL-2 achieved an $F_1$ score statistically indistinguishable from Global Learning (81.46% vs 81.81%) but cut the training time down by a factor of 6.
  • Information Extraction: For the Citations and Ads datasets, DecL utilizing the $S_{pair}$ decomposition matched or slightly exceeded the accuracy of Global Learning while delivering a 2x to 8x speedup in training time.

Limitations and Future Work

The primary theoretical limitation is that the exactness proofs assume the training data is linearly separable under the target feature space. In highly noisy, non-separable real-world settings, these strict guarantees may weaken. Additionally, designing the optimal decomposition relies on some prior domain knowledge about variable coupling (e.g., knowing if potentials are submodular).

For future work, the authors suggest integrating DecL with other popular approximation frameworks, such as Linear Programming (LP) relaxations, to scale to even more complex, non-binary structured prediction problems.

Summary updated

BibTeX
@misc{samdani2012efficient,
  author = {Rajhans Samdani and Dan Roth},
  title = {{Efficient Decomposed Learning for Structured Prediction}},
  year = {2012},
  eprint = {1206.4630},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1206.4630},
}
Figure