Lune

CVPR2026Top-tier venue

Revisiting F-measure Optimization in Multi-Label Classification: A Sampling-based Approach

Zixun Wang

Abstract

The F-measure is a widely used metric in multi-label classification, where multiple labels are predicted simultaneously for a single instance. The optimal prediction rule for Fmeasure requires estimating q 2 + 1 probabilities, where q is the number of labels. Existing approaches train q multinomial estimators (multi-class classifiers) to directly estimate these probabilities, followed by a matrix multiplication for making predictions. However, this method has two major drawbacks. First, the matrix multiplication incurs a time complexity of O(q 3 ), which becomes computationally expensive for large q. Second, training multinomial estimators is challenging due to the sparsity of the underlying distributions, which results from the inherent imbalance in multi-label datasets and is further exacerbated by the label transformation required by the method itself. In this paper, we first demonstrate that matrix multiplication can be reformulated as a series of convolutions by exploiting a special structure in the matrix. These convolutions can then be efficiently computed using the Fast Fourier Transform (FFT), reducing the time complexity to O(q 2 log q). To avoid multinomial label transformation, we propose an indirect sampling-then-estimation approach to estimate the required probabilities. This method trains only q binary estimators instead of multinomial ones, thereby alleviating the sparsity issue, simplifying the training process, and improving performance. We provide theoretical guarantees for the consistency of the proposed sampling-based method and demonstrate its effectiveness through extensive experiments on diverse datasets. The code is available in: https: //github.com/ZixunWang/MLC-F1-Sampling.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on4

  1. Asymmetric Loss For Multi-Label ClassificationTal Ridnik, Emanuel Ben Baruch, Nadav Zamir, Asaf Noy et al.ICCV 2021 · 778 citations
  2. Convex Calibrated Surrogates for the Multi-Label F-MeasureMingyuan Zhang, Harish Guruprasad Ramaswamy, Shivani AgarwalICML 2020 · 23 citations
  3. General Multi-Label Image Classification With TransformersJack Lanchantin, Tianlu Wang, Vicente Ordonez, Yanjun QiCVPR 2021
  4. Long-Tailed Multi-Label Visual Recognition by Collaborative Training on Uniform and Re-Balanced SamplingsHao Guo, Song WangCVPR 2021

Related papers

  1. Taming the Sigmoid Bottleneck: Provably Argmaxable Sparse Multi-Label ClassificationAndreas Grivas, Antonio Vergari, Adam LopezAAAI 2024 · 11 citations
  2. A General Online Algorithm for Optimizing Complex Performance MetricsWojciech Kotlowski, Marek Wydmuch, Erik Schultheis, Rohit Babbar et al.ICML 2024 · 1 citation
  3. FasMe: Fast and Sample-efficient Meta Estimator for Precision Matrix Learning in Small Sample SettingsXiao Tan, Yiqin Wang, Yangyang Shen, Dian Shen et al.NeurIPS 2024
  4. FM2: Field-matrixed Factorization Machines for Recommender SystemsYang Sun, Junwei Pan, Alex Zhang, Aaron FloresWWW 2021 · 98 citations
  5. Random Fourier Features via Fast Surrogate Leverage Weighted SamplingFanghui Liu, Xiaolin Huang, Yudong Chen, Jie Yang et al.AAAI 2020 · 21 citations
Dusk over the sea between two cliffs drawn in fine vertical lines