Papers › Generalized test utilities for long-tail performance in extreme multi-label classification

Generalized test utilities for long-tail performance in extreme multi-label classification

9 Nov 2023NeurIPS 2023 11arXiv:2311.05081archive 2025-07-28

Erik Schultheis, Marek Wydmuch, Wojciech Kotłowski, Rohit Babbar, Krzysztof Dembczyński

Extreme multi-label classification (XMLC) is the task of selecting a small subset of relevant labels from a very large set of possible labels. As such, it is characterized by long-tail labels, i.e., most labels have very few positive instances. With standard performance measures such as precision@k, a classifier can ignore tail labels and still report good performance. However, it is often argued that correct predictions in the tail are more "interesting" or "rewarding," but the community has not yet settled on a metric capturing this intuitive concept. The existing propensity-scored metrics fall short on this goal by confounding the problems of long-tail and missing labels. In this paper, we analyze generalized metrics budgeted "at k" as an alternative solution. To tackle the challenging problem of optimizing these metrics, we formulate it in the expected test utility (ETU) framework, which aims to optimize the expected performance on a fixed test set. We derive optimal prediction rules and construct computationally efficient approximations with provable regret guarantees and robustness against model misspecification. Our algorithm, based on block coordinate ascent, scales effortlessly to XMLC problems and obtains promising results in terms of long-tail performance.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2311.05081")

Code

Syntology Ran 17 of 40 code samples harvested from 1 repository linked to this paper; 23 have no recorded run. Of those that ran: 3 ran · honoured contract; 1 ran · violated contract; 7 ran · our draft was wrong; 5 ran · fixture could not drive it; 1 ran with no contract checked.

By repository: community (archive-listed): 40 samples from 1 repository, 17 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

mwydmuch/xcolumns officialmentioned in papermentioned on GitHubpytorch report
mwydmuch/macro-measures-in-xmlc mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

40 samples harvested; 17 ran; 3 honoured the contract we drafted; 23 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · honoured contract
1ran · violated contract
7ran · our draft was wrong
5ran · fixture could not drive it
1ran
23unverified

Licence: 0 of the 40 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from mwydmuch/macro-measures-in-xmlc. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

ConfusionMatrix mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) ran MIT (permissive) · f8dd1f41eb10e704 · report
_calculate_conf_mat_entry mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) ran · fixture could not drive it MIT (permissive) · aadf803574231500 · report
_calculate_fn_dense mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) ran · our draft was wrong MIT (permissive) · d3c5b814277a9e26 · report
_calculate_fp_dense mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · 980f7510a1e06c60 · report
_calculate_tp_dense mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · e0390de4ace2fe3b · report
_metric_func_with_gradient_autograd mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) ran · honoured contract MIT (permissive) · 4d3d74b62ac8f5e4 · report
_predict_using_randomized_weighted_classifier_np mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) ran · our draft was wrong MIT (permissive) · a3268e6e215d1c99 · report
_predict_weighted_per_instance_dense mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 35558fd29c65e169 · report
calculate_confusion_matrix mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) ran · fixture could not drive it MIT (permissive) · f77c581447ce8785 · report
calculate_fn mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) ran · fixture could not drive it MIT (permissive) · a771cf410b5301de · report
calculate_fp mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) ran · fixture could not drive it MIT (permissive) · 67c1a50ecde50f09 · report
calculate_tp mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) ran · fixture could not drive it MIT (permissive) · 967d26afea1749f4 · report
str_bool_true mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) ran · violated contract MIT (permissive) · 3c9f3cc506e4d8ed · report
ternary_search mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) ran · honoured contract MIT (permissive) · 045501f3a185770d · report
uniform_search mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) ran · honoured contract MIT (permissive) · ad4673e83380d7b5 · report
unpack_csr_matrix mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) ran · our draft was wrong MIT (permissive) · dec83cfff3139a49 · report
zeros_like mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · 8be2535e47e2319f · report
RandomizedWeightedClassifier mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) unverified MIT (permissive) · eae7134a9338e69c · report
_calculate_fn_csr mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) unverified MIT (permissive) · 6a437326b2853c18 · report
_calculate_fp_csr mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) unverified MIT (permissive) · 46d480d4afbb7486 · report
_calculate_tp_csr mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) unverified MIT (permissive) · 1886195b5bef94c2 · report
_find_best_alpha mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) unverified MIT (permissive) · be8bdd0c31d9f25e · report
_predict_using_randomized_weighted_classifier_csr mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) unverified MIT (permissive) · 7edcfacb7a6dd49b · report
_predict_weighted_per_instance_csr mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) unverified MIT (permissive) · e4f75aae98b15d2b · report
find_classifier_using_fw mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) unverified MIT (permissive) · a5c7600a012167a3 · report
log mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) unverified MIT (permissive) · 01febb6c4f142e9d · report
log_info mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) unverified MIT (permissive) · 504deb2e28f93cbc · report
numba_argtopk_csr mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) unverified MIT (permissive) · b8f054c37af5d33d · report
numba_calculate_sum_csr_mat_mul_mat mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) unverified MIT (permissive) · 4eb08eb9aeeb6206 · report
numba_calculate_sum_csr_mat_mul_ones_minus_mat mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) unverified MIT (permissive) · 82b05bba7f433cc3 · report
numba_csr_vec_mul_ones_minus_vec mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) unverified MIT (permissive) · 687f421957a9802f · report
numba_csr_vec_mul_vec mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) unverified MIT (permissive) · 5c74c11f6f018561 · report
numba_predict_weighted_per_instance_csr mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) unverified MIT (permissive) · a6ce3fbba16ea2fc · report
numba_predict_weighted_per_instance_csr_step mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) unverified MIT (permissive) · dd53a088e9b96bef · report
numba_resize mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) unverified MIT (permissive) · a80779c19991792d · report
numba_set_gains_csr mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) unverified MIT (permissive) · 6e08feeab5f41fbf · report
numba_topk_csr mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) unverified MIT (permissive) · 58c78794b61e760c · report
predict_using_randomized_weighted_classifier mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) unverified MIT (permissive) · d7fc8c0c37869d63 · report
predict_weighted_per_instance mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) unverified MIT (permissive) · b5a7308f9eca72df · report
unpack_csr_matrices mwydmuch/macro-measures-in-xmlc/xcolumns/frank_wolfe.py community (archive-listed) unverified MIT (permissive) · df2ecf91e2324681 · report

Tasks

Extreme Multi-Label ClassificationMUlTI-LABEL-ClASSIFICATIONMissing LabelsMulti-Label Classification

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

SET

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections