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

Constraint-Driven Rank-Based Learning for Information Extraction

Sameer Singh, Limin Yao, Sebastian Riedel, Andrew McCallum

Abstract

Training complex probabilistic models for structured prediction often faces a significant "inference bottleneck," particularly in semi-supervised settings where large volumes of unlabeled data are available. This paper introduces an extension of the SampleRank framework to semi-supervised learning. By utilizing domain constraints as a "truth function" for unlabeled data, the proposed method allows for parameter updates during the MCMC sampling process, bypassing the need for full inference. Experimental results on the Cora citation dataset demonstrate that this approach achieves state-of-the-art accuracy while offering significant computational speedups compared to traditional methods like CODL.

Introduction

Supervised learning for undirected graphical models, such as Conditional Random Fields (CRFs), typically requires "complete inference"—calculating MAP assignments or marginal distributions—to update model parameters. In semi-supervised learning, where a small labeled dataset is augmented by a large unlabeled one, this requirement becomes a major computational bottleneck. Performing full inference on thousands of unlabeled instances before every update is often computationally intractable for complex tasks like joint information extraction.

Methodology

The authors address this bottleneck by extending SampleRank, a fast, rank-based learning algorithm. In standard SampleRank, parameters are updated during the inference process (specifically during MCMC sampling). For each transition in the sampling chain, the model's ranking of consecutive samples is compared to a "truth function." Discrepancies trigger immediate parameter adjustments.

To adapt this to semi-supervised learning, the authors propose several "truth functions" ($F_U$) for unlabeled data:

  • Self-Training ($F_s$): Uses the model’s current MAP prediction as the ground truth.
  • Encoding Constraints ($F_c$): Leverages human-provided domain knowledge (e.g., a constraint might state that "California" should likely be labeled as a "location") to rank samples based on constraint satisfaction.
  • Hybrid Objectives ($F_{sc}$ and $F_{mc}$): Combines self-training or raw model scores with constraints. The Model+Cons ($F_{mc}$) approach is notable for incorporating model confidence without requiring an expensive separate inference step.

Experimental Setup

The approach was evaluated on the Cora citation dataset, focusing on segmenting bibliographic citations into fields such as author, title, journal, and year. The experiments involved 300 training instances with varying ratios of labeled to unlabeled data, 100 development instances, and 100 test instances. The proposed methods were compared against CODL (Constraint-Driven Learning), a well-known semi-supervised baseline.

Results

The proposed semi-supervised SampleRank methods showed significant performance gains, particularly with limited labeled data.

Table 1: Performance comparison (accuracy) of various methods on the Cora dataset across different numbers of labeled instances.

As shown in Table 1, with only 5 labeled instances, the supervised baseline (Sup. CODL) achieved 55.1% accuracy, while the semi-supervised SampleRank methods (e.g., Self+Cons) reached 71.3%, matching or exceeding the performance of the computationally intensive CODL algorithm. Furthermore, the "Cons" method (using only constraints) proved to be approximately 3x faster than standard self-training by eliminating the inference step on unlabeled data, taking only 30 minutes compared to 90 minutes.

Discussion and Conclusion

The core innovation of this work lies in learning from MCMC transitions rather than waiting for chain convergence, and treating domain constraints as a direct signal for parameter updates. While the hybrid $F_{sc}$ (Self+Cons) method generally performed best, the authors noted "diminishing returns" when the full labeled dataset (300 instances) was used; in this scenario, noisy constraints or self-training occasionally introduced bias that slightly degraded performance compared to the purely supervised SampleRank baseline (90.7% vs 87.4%). Future work aims to scale these techniques to even more complex factor graphs where the inference bottleneck is most severe.

Summary updated

BibTeX
@inproceedings{singh2010constraint,
  author = {Sameer Singh and Limin Yao and Sebastian Riedel and Andrew McCallum},
  title = {{Constraint-Driven Rank-Based Learning for Information Extraction}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2010},
}
Figure