Soft-Supervised Learning for Text Classification

Amarnag Subramanya, Jeff A. BilmesEMNLP 2008

Abstract

We propose a new graph-based semi-supervised learning (SSL) algorithm and demonstrate its application to document categorization. Each document is represented by a vertex within a weighted undirected graph and our proposed framework minimizes the weighted Kullback-Leibler divergence between distributions that encode the class membership probabilities of each vertex. The proposed objective is convex with guaranteed convergence using an alternating minimization procedure. Further, it generalizes in a straightforward manner to multi-class problems. We present results on two standard tasks, namely Reuters-21578 and WebKB, showing that the proposed algorithm significantly outperforms the state-of-the-art.

Introduction

In text classification, acquiring labeled data is often expensive and time-consuming, while unlabeled data is abundant. Graph-based Semi-Supervised Learning (SSL) addresses this by embedding data in a graph where nodes represent documents and edges represent similarity, propagating labels from a few known nodes to the rest of the corpus.

However, many existing graph-based SSL algorithms are primarily designed for binary classification. To handle multi-class problems—standard in text categorization—they often rely on computationally expensive "one-vs-rest" workarounds. Furthermore, existing methods frequently struggle with degenerate solutions and lack a natural mechanism to incorporate label uncertainty, such as when a document belongs to multiple categories.

Methodology: Soft-Supervised Learning

We introduce a "soft-supervised" learning framework that assigns a probability distribution over all possible classes to each document, rather than a rigid integer label. The core of this method is a convex objective function composed of three key components:

  1. Fidelity to Labeled Data: This minimizes the Kullback-Leibler (KL) divergence between the predicted distribution and the known label distribution. This "soft" approach allows for the representation of multi-label documents.
  2. Graph Smoothness: This minimizes the KL divergence between neighboring nodes, weighted by edge similarity. If two documents are highly similar, the model ensures their class distributions remain similar.
  3. Entropy Maximization: By maximizing the Shannon entropy of predictions, the model is regularized against overconfidence. In low-density regions or for nodes disconnected from labeled data, the model outputs a uniform distribution, effectively expressing uncertainty.

Optimization via Alternating Minimization

To optimize this objective, we employ an auxiliary distribution to facilitate Alternating Minimization (AM). This relaxation allows for a closed-form, iterative update step that avoids complex matrix inversions. This approach is computationally efficient for large graphs and provides a mathematical guarantee of convergence to the global optimum without the oscillations sometimes seen in standard Label Propagation (LP).

Experimental Evaluation

We evaluated the proposed AM algorithm against several baselines, including supervised SVMs, Transductive SVMs (TSVM), Spectral Graph Transduction (SGT), and Label Propagation (LP), across two standard benchmarks.

Reuters-21578

Using the "ModApte" split and focusing on the top 10 most frequent categories, we tested the models with extremely sparse labeled data (20 labeled documents out of approximately 12,000). As shown in the results below, the AM approach significantly outperformed competitors across nearly every category.

Performance comparison on the Reuters-21578 dataset with 20 labeled documents.

WebKB

The WebKB dataset consists of academic web pages classified into four categories: course, department, faculty, and project. With 48 labeled documents, the AM algorithm achieved a macro-average PRBEP of 51.9%, substantially higher than the next best method.

Performance comparison on the WebKB dataset with 48 labeled documents.

Key Insights and Conclusion

The soft-supervised approach offers several advantages over traditional SSL. By framing the problem around probability distributions, it naturally extends to multi-class and multi-label scenarios. The inclusion of entropy maximization allows the model to honestly express uncertainty, a critical feature for real-world applications where data may be ambiguous or disconnected from the labeled set.

While the algorithm demonstrates state-of-the-art performance, its efficacy remains tied to the quality of the underlying graph construction. Future work will explore more sophisticated NLP features and advanced similarity measures to further enhance the graph representation and classification accuracy.

Summary updated

BibTeX
@inproceedings{subramanya2008soft,
  author = {Amarnag Subramanya and Jeff A. Bilmes},
  title = {{Soft-Supervised Learning for Text Classification}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2008},
  url = {https://openreview.net/forum?id=ByZ8vGzd-S},
}
Figure