Abstract
We present an objective function for learning with unlabeled data that utilizes auxiliary expectation constraints. We optimize this objective function using a procedure that alternates between information and moment projections. Our method provides an alternate interpretation of the posterior regularization framework (Graca et al., 2008), maintains uncertainty during optimization unlike constraint-driven learning (Chang et al., 2007), and is more efficient than generalized expectation criteria (Mann & McCallum, 2008). Applications of this framework include minimally supervised learning, semisupervised learning, and learning with constraints that are more expressive than the underlying model. In experiments, we demonstrate comparable accuracy to generalized expectation criteria for minimally supervised learning, and use expressive structural constraints to guide semi-supervised learning, providing a 3%-6% improvement over state-of-the-art constraint-driven learning.
Introduction
Supervised learning is powerful but "label-hungry." While unlabeled data is abundant, traditional semi-supervised learning methods often struggle to incorporate specific domain knowledge. Researchers have previously used "expectation constraints"—for example, specifying that "95% of documents containing the word 'windows' should be classified as 'technology'."
However, existing frameworks for this have significant drawbacks. Generalized Expectation (GE) is effective but computationally expensive due to large covariance matrix calculations, making it impractical for complex sequence models. Constraint-Driven Learning (CODL) uses "hard" labels for unlabeled data, discarding model uncertainty and risking poor local optima. Posterior Regularization (EMPC) is a related framework that lacked rigorous comparison against GE or CODL in these contexts. This paper introduces Alternating Projections (AP) to provide an efficient, uncertainty-aware method capable of handling higher-order structural constraints.
Methodology
The proposed Alternating Projections (AP) framework treats learning as a series of geometric projections between two sets of probability distributions. The algorithm alternates between two primary steps:
- I-projection (Information Projection): Finds an auxiliary distribution ($q$) that satisfies human-provided constraints while remaining as close as possible to the current model’s predictions ($p$) in terms of KL divergence.
- M-projection (Moment Projection): Updates the model parameters so that the model’s expected feature values (moments) match those of the auxiliary distribution $q$.
AP can be implemented using Stochastic Gradient Descent (SGD), enabling online learning from individual instances. A key advantage is the decoupling of complexity: the auxiliary distribution $q$ can have a more complex structure to satisfy constraints during training, while the final deployed model $p$ remains simple and efficient. For sequence models like Conditional Random Fields (CRFs), AP reduces computational complexity from $O(|Y|^3)$ or $O(|Y|^4)$ to $O(|Y|^2)$, facilitating the use of previously prohibitive transition constraints.
Experimental Evaluation
The authors evaluated AP across text classification benchmarks (20 newsgroups, Movie reviews, Sector, SRAA, WebKB) and sequence labeling tasks (Apartments, Cora).
In text classification, AP achieved accuracy comparable to Generalized Expectation (GE) while supporting online settings.
On the Cora citation task, AP was tested against complex structural constraints. It outperformed the previous state-of-the-art (CODL/CRR07) by 3% to 6%. Notably, with only 5 labeled examples, AP reduced the error rate by 12% compared to a purely supervised baseline by leveraging unlabeled data and constraints.
Structural constraints proved highly effective; for instance, a "self-transition" constraint improved accuracy from 61.2% to 68.1%, surpassing GE's best results on the same task.
Discussion and Conclusion
While AP is efficient and effective, it has limitations. For extremely complex higher-order constraints, the I-projection step requires approximate inference via Gibbs sampling, introducing stochasticity. Additionally, unlike GE, AP does not explicitly use a covariance term to spread weights to non-overlapping features, though this can be mitigated with richer input features.
Future work includes applying AP to domain adaptation and exploring richer convex constraints for natural language processing tasks. Overall, Alternating Projections offers a flexible and efficient framework for incorporating domain knowledge into machine learning models via expectation constraints.
Summary updated