Abstract
Many classification problems with structured outputs can be regarded as a set of interrelated sub-problems where constraints dictate valid variable assignments. The standard approaches to these problems include either independent learning of individual classifiers for each of the sub-problems or joint learning of the entire set of classifiers with the constraints enforced during learning. We propose an intermediate approach where we learn these classifiers in a sequence using previously learned classifiers to guide learning of the next classifier by enforcing constraints between their outputs. We provide a theoretical motivation to explain why this learning protocol is expected to outperform both alternatives when individual problems have different ‘complexity’. This analysis motivates an algorithm for choosing a preferred order of classifier learning. We evaluate our technique on artificial experiments and on the entity and relation identification problem where the proposed method outperforms both joint and independent learning.
Introduction
In structured prediction tasks, such as semantic role labeling or relation extraction, models must produce multiple interrelated predictions that satisfy specific structural constraints. For instance, in relation extraction, identifying a "work_for" relation requires the participating entities to be a person and an organization.
Traditionally, these problems are solved using one of two extremes:
- Independent Learning (L+I): Classifiers for each sub-task are trained separately. While global inference can be applied at test time to enforce constraints, this approach assumes each sub-task is locally separable, which is often not the case.
- Joint Learning (Inference Based Training, IBT): All classifiers are trained simultaneously with constraints enforced during the learning process. While this captures dependencies, it applies a high-capacity global model to all sub-tasks. When training data is limited, this excess capacity often leads to overfitting on simpler sub-problems.
This paper introduces Sequential Learning (SL), an intermediate approach that balances model capacity and task complexity by discovering an optimal training order.
The Sequential Learning Approach
Sequential Learning functions as an integrated pipeline. The core idea is to use the outputs of "easier" classifiers to constrain and simplify the learning of "harder" ones. The process involves two main steps:
- Dynamic Ordering: The algorithm identifies the easiest sub-problems first. In a Perceptron-based framework, the number of weight updates serves as a proxy for difficulty; sub-problems requiring fewer updates are prioritized.
- Sequential Training with Constraints: Classifiers are trained one by one according to the discovered order. When training the $t$-th classifier, the parameters of the previous $t-1$ classifiers are fixed. The predictions of these earlier, reliable classifiers are used to prune the search space for the current task. If a local prediction for the current sub-problem violates a constraint when combined with previous outputs, it is penalized.
This strategy allows the model to reserve high-capacity learning for the most difficult tasks, which only become manageable once the search space is constrained by earlier, simpler predictions.
Experimental Evaluation
Artificial Data
The authors first tested SL on a synthetic sequence labeling task designed with varying sub-problem complexities. As shown in Figure 1, SL demonstrates superior generalization when training data is scarce (between 50 and 400 instances). As the dataset grows to 800+ instances, the joint learning approach (IBT) eventually catches up, confirming the theory that IBT requires more data to overcome its inherent complexity.
Entity and Relation Identification
The method was also evaluated on a real-world NLP dataset involving the identification of three entity types and five relation types. The results, summarized in the table below, show that SL achieves the highest overall performance.
In this task, entity recognition accuracy remained relatively stable across all methods (~89%). However, the harder task of relation extraction saw a significant boost with SL, achieving a 48.2% $F_1$ score compared to 44.8% for IBT. This supports the hypothesis that harder sub-problems benefit most from the sequential constraint-guided approach.
Discussion and Conclusion
The success of Sequential Learning hinges on complexity balancing. By matching the learner's capacity to the specific difficulty of a sub-task within a sequence, SL achieves tighter error bounds than joint learning. Furthermore, the automatic ordering is critical; the authors found that randomly shuffling the training order led to an 8% drop in relation $F_1$ scores.
While the current implementation assumes strict logical constraints and uses approximations for computational efficiency, it provides a mathematically sound foundation for pipeline-style architectures. Future work may extend this to "soft" constraints, potentially broadening its application to domains like computer vision where strict logical rules are harder to define.
Summary updated