Stratified Sampling for Extreme Multi-Label Data

Maximillian Merrillees, Lan Du
3/5/2021
16 citations
cs.LG

Official code: maxitron93/stratified_sampling_for_XML (8 stars, Python, last commit 2023-01-24).

Abstract

Extreme multi-label classification (XML) is becoming increasingly relevant in the era of big data. Yet, there is no method for effectively generating stratified partitions of XML datasets.

Show full abstract

Instead, researchers typically rely on provided test-train splits that, 1) aren't always representative of the entire dataset, and 2) are missing many of the labels. This can lead to poor generalization ability and unreliable performance estimates, as has been established in the binary and multi-class settings. As such, this paper presents a new and simple algorithm that can efficiently generate stratified partitions of XML datasets with millions of unique labels. We also examine the label distributions of prevailing benchmark splits, and investigate the issues that arise from using unrepresentative subsets of data for model development. The results highlight the difficulty of stratifying XML data, and demonstrate the importance of using stratified partitions for training and evaluation.

View on arXivView PDF

Code Implementations(1)

Algorithm to generate stratified test-train splits for extreme multi-label datasets

81PythonFeb 15, 20213 years ago

Similar Papers

Cite this paper

@article{merrillees2021stratified,
  title  = {Stratified Sampling for Extreme Multi-Label Data},
  author = {Maximillian Merrillees and Lan Du},
  year   = {2021},
  eprint = {2103.03494},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.03494}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2103.03494.svg)](https://codeofpaper.com/paper/2103.03494)

Discussion