Skip to main content
QUICK REVIEW

[Paper Review] Towards Label Imbalance in Multi-label Classification with Many Labels

Li Li, Houfeng Wang|arXiv (Cornell University)|Apr 5, 2016
Text and Document Classification TechnologiesComputer Science15 references11 citations
TL;DR

This paper proposes RMLS, a novel representation-based multi-label learning approach with a sampling strategy to address label imbalance in multi-label classification with many labels. By strategically sampling relevant and irrelevant labels during training, RMLS reduces the dominance of frequent labels and improves performance on imbalanced datasets, outperforming existing methods in F1-score and Hamming loss on real-world benchmarks with up to 50,000 labels.

ABSTRACT

In multi-label classification, an instance may be associated with a set of labels simultaneously. Recently, the research on multi-label classification has largely shifted its focus to the other end of the spectrum where the number of labels is assumed to be extremely large. The existing works focus on how to design scalable algorithms that offer fast training procedures and have a small memory footprint. However they ignore and even compound another challenge - the label imbalance problem. To address this drawback, we propose a novel Representation-based Multi-label Learning with Sampling (RMLS) approach. To the best of our knowledge, we are the first to tackle the imbalance problem in multi-label classification with many labels. Our experimentations with real-world datasets demonstrate the effectiveness of the proposed approach.

Motivation & Objective

  • Address the overlooked label imbalance problem in multi-label classification with many labels, where rare labels are underrepresented.
  • Overcome the compounding effect of label imbalance in existing scalable methods like LSDR and RBL, which often discard or underrepresent infrequent labels.
  • Develop a scalable, effective method that maintains high performance even when the number of labels reaches tens of thousands.
  • Introduce a sampling strategy that balances the representation of relevant and irrelevant labels during model training.
  • Demonstrate the effectiveness of the proposed method on real-world datasets with extreme label cardinality and imbalance.

Proposed method

  • Propose a representation-based learning framework that jointly embeds instances and labels into a shared embedding space.
  • Introduce a sampling strategy that controls the ratio of positive (relevant) to negative (irrelevant) labels during training via a hyperparameter α.
  • Use a contrastive loss function to optimize the model, encouraging close proximity between positive instance-label pairs and separation between negative pairs.
  • Train the model using mini-batches where each batch contains a balanced mix of relevant and irrelevant labels based on the sampling coefficient α.
  • Apply the trained model to predict labels by computing similarity scores between instance embeddings and label embeddings.
  • Decode predictions by selecting top-k labels with highest similarity scores, ensuring scalability even with large label sets.

Experimental results

Research questions

  • RQ1How does label imbalance affect the performance of existing multi-label learning methods when the number of labels is very large?
  • RQ2Can a sampling strategy effectively mitigate the negative impact of label imbalance in multi-label classification with many labels?
  • RQ3Does the proposed RMLS method achieve better performance than state-of-the-art RBL and LSDR approaches on imbalanced, large-scale multi-label datasets?
  • RQ4What is the optimal sampling ratio α that balances the trade-off between underfitting rare labels and overfitting to dominant labels?
  • RQ5How does the proposed method scale in terms of training time and memory usage on datasets with up to 50,000 labels?

Key findings

  • RMLS achieves the highest F1-score on all four benchmark datasets, including $\text{Enron}$, $\text{Delicious}$, $\text{Eurlex}\_\text{desc}$, and $\text{Wiki}$, with improvements of up to 0.05 over the next best method.
  • On the $\text{Eurlex}\_\text{desc}$ dataset with 3,993 labels, RMLS achieves an F1-score of $0.338 \pm 0.008$ at $k=50$, significantly outperforming PLST ($0.321 \pm 0.007$) and ML_CSSP ($0.338 \pm 0.008$).
  • The Hamming loss of RMLS is consistently lower than other methods, reaching $0.096 \pm 0.007$ on $\text{Eurlex}\_\text{desc}}$ at $k=50$, indicating better prediction accuracy.
  • The training time of RMLS is significantly lower than LEML and WSABIE, especially on the $\text{Wiki}$ dataset with 50,000 labels, where RMLS takes $15,173.62 \pm 74.74$ seconds compared to LEML’s $57,849.32 \pm 523.17$ seconds.
  • The optimal sampling ratio α is found to be around 5–7, where F1-score and accuracy peak before declining due to over-sampling of irrelevant labels.
  • RMLS effectively mitigates the label imbalance problem, as evidenced by improved performance on rare labels, even when the average imbalance ratio reaches 1,378.58 on $\text{Eurlex}\_\text{desc}$.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.