Quality-Based Learning for Web Data Classification

Ou Wu, Ruiguang Hu, Xue Mao, Weiming Hu

Abstract

Web data classification is challenged by significant variations in data quality and quantity across different samples. This paper proposes a Quality-Based Learning framework that clusters data based on quality-related factors (QRFs) and employs multi-task learning to train specialized classifiers. By explicitly accounting for the reliability of features, the method achieves superior performance in identifying illicit content compared to traditional global models.

Introduction

Web data is notoriously messy, with "quality" varying from high-resolution videos to text-sparse landing pages. In traditional machine learning for the web, we often treat every sample as if its features are equally "trustworthy." However, web data is heterogeneous. Consider two web pages: one is a long-form article with a single thumbnail, and the other is a photo gallery with almost no text. A standard classifier might try to weigh text and image features identically for both, even though the text features in the gallery are likely "low quality" (uninformative) due to their scarcity.

Examples of web content diversity: (a) image-centric, (b) mixed content, and (c) text-heavy pages.

The authors identify two main types of variation:

  1. Information Quantity: Differences in the volume of available data (e.g., text length, number of images).
  2. Information Quality: Differences in the fidelity of the data (e.g., image resolution, lighting conditions, or video compression artifacts).

Methodology

The authors propose a framework called Quality-Based Learning, which moves away from a "one-size-fits-all" classifier. Their approach follows three main steps:

  1. Extract Quality-Related Factors (QRFs): Instead of just looking at content (what the text says), they measure the context of the data (how much text there is, or how well-lit an image is).
  2. Clustering by Quality: They group training data into subsets based on these QRFs. They explore two strategies: LQHC (Hard Clustering) and LQSC (Soft Clustering using Gaussian Mixture Models). Soft clustering is generally preferred because web data quality exists on a spectrum rather than in discrete buckets.
  3. Multi-Task Learning (MTL): Rather than training independent classifiers for each cluster, they use an MTL strategy. This allows the model to share "knowledge" across different quality levels. For example, a classifier for high-resolution images can help inform the classifier for low-resolution ones. They incorporate $l_{2,1}$-norm regularization to perform joint feature selection across all tasks.

Experimental Results

The researchers evaluated their method on two challenging real-world tasks: Cannabis Web Page Recognition and Pornographic Image Recognition.

Different web page layouts illustrating the structural variety and ambiguity in web data.

The proposed LQSC method consistently outperformed standard baselines like SVMs and Random Forests:

  • Cannabis Recognition: LQSC achieved an F1-score of 0.9365, compared to 0.8926 for a standard SVM.
  • Pornography Recognition: LQSC reached an F1-score of 0.9430, outperforming the SVM baseline (0.9008).

Key Insights

  • Quality as a Meta-Feature: Quality isn't just another feature; it's a signal that tells the model which other features to trust.
  • The Ambiguity of Web Data: Web pages don't fall into neat categories of "text-only" or "image-only." Using soft clustering (LQSC) allows the model to handle this ambiguity by giving a sample a probabilistic membership in multiple quality clusters.
  • Implicit vs. Explicit Weighting: While an intuitive approach might be to simply multiply features by a quality score, this assumes a linear relationship. Clustering allows for more complex, non-linear adaptations to quality.

Conclusion

While effective, the paper notes that future work could expand the scope of QRFs to include factors like hyperlink density. Despite the computational overhead of training multiple classifiers via MTL, the framework provides a robust solution for the inherent messiness of web-scale data classification.

Summary updated

BibTeX
@inproceedings{wu2014quality,
  author = {Ou Wu and Ruiguang Hu and Xue Mao and Weiming Hu},
  title = {{Quality-Based Learning for Web Data Classification}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2014},
  doi = {10.1609/aaai.v28i1.8705},
}
Figure