Similarity-Based Approach for Positive and Unlabeled Learning

Yanshan Xiao, Bo Liu, Jie Yin, Longbing Cao, Chengqi Zhang, Zhifeng HaoIJCAI 2011

Introduction

In traditional machine learning, classifiers are typically trained on datasets containing clearly labeled positive and negative examples. However, many real-world scenarios provide only positive and unlabeled (PU) data. For instance, in web page bookmarking, a user identifies pages they like (positive), while the rest of the internet remains unlabeled—containing both uninteresting content and potentially relevant pages the user hasn't seen yet.

The primary challenge in PU learning is handling "ambiguous" data—examples that do not clearly align with known positives or identified negatives. Existing algorithms often discard these points or force them into binary categories, which can degrade model accuracy, especially since these points often reside near the critical decision boundary.

Methodology: The SPUL Framework

To address these challenges, researchers developed the Similarity-Based Positive and Unlabeled Learning (SPUL) framework. SPUL avoids "hard" labeling of uncertain data, instead utilizing "soft" similarity weights to guide the learning process.

1. Negative Extraction

The process begins by identifying "reliable" negative examples from the unlabeled pool using established techniques like "Spy" and "Rocchio." From these, mathematical "prototypes" ($p_i$ and $n_i$) are created to represent typical positive and negative instances.

2. Similarity Weighting

This core innovation assigns two weights to unlabeled examples: $m^+(x)$ (similarity to positives) and $m^-(x)$ (similarity to negatives). Two variants were proposed:

  • Local SPUL: Data is grouped into clusters, and weights are assigned based on the cluster's overall tendency.
  • Global SPUL: Weights are calculated for each individual example based on its distance to the prototypes.
Illustration of the SPUL framework showing positive/negative prototypes and micro-clusters used for similarity weighting.

3. Weighted SVM

The standard Support Vector Machine (SVM) is modified so that the penalty for misclassifying an example is scaled by its similarity weights. This ensures that ambiguous points do not disproportionately influence the decision boundary.

Experimental Evaluation

The SPUL framework was evaluated using three benchmark text-mining datasets: Reuters-21578, 20 Newsgroups, and WebKB. These datasets cover diverse topics ranging from financial news to academic web pages.

Key Results

Global SPUL consistently outperformed state-of-the-art baselines, including Spy-EM, Roc-SVM, and LELC. On the "Reuter-interest" dataset, Global SPUL achieved an F-measure of 0.597, nearly doubling the 0.335 achieved by Spy-EM.

F-measure performance of SPUL variants compared to baselines across varying percentages of positive examples.

As shown in the performance trends, SPUL maintains a significant lead over other methods as the percentage of known positive examples increases, demonstrating its robustness in various data environments.

Discussion and Insights

  • Ambiguity as Information: Rather than being noise, ambiguous examples near the decision boundary provide essential information for fine-tuning the model.
  • Soft Labels vs. Hard Guesses: By acknowledging uncertainty through similarity weights, SPUL avoids the noise introduced by forcing uncertain points into incorrect categories.
  • Global Superiority: The consistent success of Global SPUL suggests that in high-dimensional text data, individual example characteristics are more informative than cluster-based averages.

Conclusion and Future Work

SPUL offers a versatile and accurate approach to PU learning by effectively leveraging ambiguous data. While highly effective in batch learning scenarios, future research will focus on adapting the SPUL classifier for streaming data environments, where data arrives continuously. Additionally, improving the initial extraction of reliable negatives remains a key area for enhancing the framework's overall effectiveness.

Summary updated

BibTeX
@inproceedings{xiao2011similarity,
  author = {Yanshan Xiao and Bo Liu and Jie Yin and Longbing Cao and Chengqi Zhang and Zhifeng Hao},
  title = {{Similarity-Based Approach for Positive and Unlabeled Learning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2011},
  doi = {10.5591/978-1-57735-516-8/ijcai11-265},
}
Figure