Lune

ICML2025Top-tier venue

Principled Algorithms for Optimizing Generalized Metrics in Binary Classification

Anqi Mao, Mehryar Mohri, Yutao Zhong

Abstract

In applications with significant class imbalance or asymmetric costs, metrics such as the F βmeasure, AM measure, Jaccard similarity coefficient, and weighted accuracy offer more suitable evaluation criteria than standard binary classification loss. However, optimizing these metrics present significant computational and statistical challenges. Existing approaches often rely on the characterization of the Bayes-optimal classifier, and use threshold-based methods that first estimate class probabilities and then seek an optimal threshold. This leads to algorithms that are not tailored to restricted hypothesis sets and lack finite-sample performance guarantees. In this work, we introduce principled algorithms for optimizing generalized metrics, supported by H-consistency and finite-sample generalization bounds. Our approach reformulates metric optimization as a generalized cost-sensitive learning problem, enabling the design of novel surrogate loss functions with provable H-consistency guarantees. Leveraging this framework, we develop new algorithms, METRO (Metric Optimization), with strong theoretical performance guarantees. We report the results of experiments demonstrating the effectiveness of our methods compared to prior baselines.

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.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Why Ask One When You Can Ask k? Learning-to-Defer to the Top-k Experts cites Multi-Class H-Consistency Bounds
  • Why Ask One When You Can Ask k? Learning-to-Defer to the Top-k Experts cites Cross-Entropy Loss Functions: Theoretical Analysis and Applications
  • Why Ask One When You Can Ask k? Learning-to-Defer to the Top-k Experts cites Linear-Core Surrogates: Smooth Loss Functions with Linear Rates for Classification and Structured Prediction
  • Linear-Core Surrogates: Smooth Loss Functions with Linear Rates for Classification and Structured Prediction cites Why Ask One When You Can Ask k? Learning-to-Defer to the Top-k Experts
  • Why Ask One When You Can Ask k? Learning-to-Defer to the Top-k Experts cites Calibration and Consistency of Adversarial Surrogate Losses
  • Why Ask One When You Can Ask k? Learning-to-Defer to the Top-k Experts cites A Theoretical Framework for Modular Learning of Robust Generative Models
  • Why Ask One When You Can Ask k? Learning-to-Defer to the Top-k Experts cites Optimized Deferral for Imbalanced Settings
  • Optimized Deferral for Imbalanced Settings cites Why Ask One When You Can Ask k? Learning-to-Defer to the Top-k Experts
  • Why Ask One When You Can Ask k? Learning-to-Defer to the Top-k Experts cites Improved Balanced Classification with Theoretically Grounded Loss Functions
  • Why Ask One When You Can Ask k? Learning-to-Defer to the Top-k Experts cites Two-Stage Learning to Defer with Multiple Experts
  • Multi-Class H-Consistency Bounds cites H-Consistency Bounds for Surrogate Loss Minimizers
  • Multi-Class H-Consistency Bounds cites Calibration and Consistency of Adversarial Surrogate Losses
  • H-Consistency Bounds for Surrogate Loss Minimizers cites Calibration and Consistency of Adversarial Surrogate Losses
  • Cross-Entropy Loss Functions: Theoretical Analysis and Applications cites Multi-Class H-Consistency Bounds
  • Cross-Entropy Loss Functions: Theoretical Analysis and Applications cites H-Consistency Bounds for Surrogate Loss Minimizers
  • Cross-Entropy Loss Functions: Theoretical Analysis and Applications cites Calibration and Consistency of Adversarial Surrogate Losses
  • Linear-Core Surrogates: Smooth Loss Functions with Linear Rates for Classification and Structured Prediction cites Multi-Class H-Consistency Bounds
  • Linear-Core Surrogates: Smooth Loss Functions with Linear Rates for Classification and Structured Prediction cites H-Consistency Bounds for Surrogate Loss Minimizers
  • Linear-Core Surrogates: Smooth Loss Functions with Linear Rates for Classification and Structured Prediction cites Cross-Entropy Loss Functions: Theoretical Analysis and Applications
  • Linear-Core Surrogates: Smooth Loss Functions with Linear Rates for Classification and Structured Prediction cites A Theoretical Framework for Modular Learning of Robust Generative Models
  • A Theoretical Framework for Modular Learning of Robust Generative Models cites Linear-Core Surrogates: Smooth Loss Functions with Linear Rates for Classification and Structured Prediction
  • Linear-Core Surrogates: Smooth Loss Functions with Linear Rates for Classification and Structured Prediction cites Optimized Deferral for Imbalanced Settings
  • Optimized Deferral for Imbalanced Settings cites Linear-Core Surrogates: Smooth Loss Functions with Linear Rates for Classification and Structured Prediction
  • Linear-Core Surrogates: Smooth Loss Functions with Linear Rates for Classification and Structured Prediction cites Improved Balanced Classification with Theoretically Grounded Loss Functions
  • Linear-Core Surrogates: Smooth Loss Functions with Linear Rates for Classification and Structured Prediction cites Two-Stage Learning to Defer with Multiple Experts
  • A Theoretical Framework for Modular Learning of Robust Generative Models cites Multi-Class H-Consistency Bounds
  • A Theoretical Framework for Modular Learning of Robust Generative Models cites H-Consistency Bounds for Surrogate Loss Minimizers
  • A Theoretical Framework for Modular Learning of Robust Generative Models cites Two-Stage Learning to Defer with Multiple Experts
  • Optimized Deferral for Imbalanced Settings cites Multi-Class H-Consistency Bounds
  • Optimized Deferral for Imbalanced Settings cites H-Consistency Bounds for Surrogate Loss Minimizers
  • Optimized Deferral for Imbalanced Settings cites Cross-Entropy Loss Functions: Theoretical Analysis and Applications
  • Optimized Deferral for Imbalanced Settings cites A Theoretical Framework for Modular Learning of Robust Generative Models
  • Optimized Deferral for Imbalanced Settings cites Improved Balanced Classification with Theoretically Grounded Loss Functions
  • Optimized Deferral for Imbalanced Settings cites Two-Stage Learning to Defer with Multiple Experts
  • Improved Balanced Classification with Theoretically Grounded Loss Functions cites Multi-Class H-Consistency Bounds
  • Improved Balanced Classification with Theoretically Grounded Loss Functions cites H-Consistency Bounds for Surrogate Loss Minimizers
  • Improved Balanced Classification with Theoretically Grounded Loss Functions cites Cross-Entropy Loss Functions: Theoretical Analysis and Applications
  • Improved Balanced Classification with Theoretically Grounded Loss Functions cites Calibration and Consistency of Adversarial Surrogate Losses
  • Improved Balanced Classification with Theoretically Grounded Loss Functions cites Two-Stage Learning to Defer with Multiple Experts
  • Two-Stage Learning to Defer with Multiple Experts cites Multi-Class H-Consistency Bounds
  • Two-Stage Learning to Defer with Multiple Experts cites H-Consistency Bounds for Surrogate Loss Minimizers
  • Two-Stage Learning to Defer with Multiple Experts cites Cross-Entropy Loss Functions: Theoretical Analysis and Applications
  • Two-Stage Learning to Defer with Multiple Experts cites Calibration and Consistency of Adversarial Surrogate Losses
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. Improved Balanced Classification with Theoretically Grounded Loss FunctionsCorinna Cortes, Mehryar Mohri, Yutao ZhongNeurIPS 2025 · 19 citations
  2. Why Ask One When You Can Ask k? Learning-to-Defer to the Top-k ExpertsYannis Montreuil, Axel Carlier, Lai Xing Ng, Wei Tsang OoiICLR 2026 · 7 citations
  3. Linear-Core Surrogates: Smooth Loss Functions with Linear Rates for Classification and Structured PredictionMehryar Mohri, Yutao ZhongICML 2026 · 7 citations
  4. A Theoretical Framework for Modular Learning of Robust Generative ModelsCorinna Cortes, Mehryar Mohri, Yutao ZhongICML 2026 · 7 citations
  5. Optimized Deferral for Imbalanced SettingsCorinna Cortes, Anqi Mao, Mehryar Mohri, Yutao ZhongICML 2026 · 7 citations

Builds on29

  1. Cross-Entropy Loss Functions: Theoretical Analysis and ApplicationsAnqi Mao, Mehryar Mohri, Yutao ZhongICML 2023 · 790 citations
  2. Two-Stage Learning to Defer with Multiple ExpertsAnqi Mao, Christopher Mohri, Mehryar Mohri, Yutao ZhongNeurIPS 2023 · 98 citations
  3. Calibration and Consistency of Adversarial Surrogate LossesPranjal Awasthi, Natalie Frank, Anqi Mao, Mehryar Mohri et al.NeurIPS 2021 · 59 citations
  4. H-Consistency Bounds for Surrogate Loss MinimizersPranjal Awasthi, Anqi Mao, Mehryar Mohri, Yutao ZhongICML 2022 · 50 citations
  5. Multi-Class HH-Consistency BoundsPranjal Awasthi, Anqi Mao, Mehryar Mohri, Yutao ZhongNeurIPS 2022 · 48 citations

Related papers

  1. Balancing the Scales: A Theoretical and Algorithmic Framework for Learning from Imbalanced DataCorinna Cortes, Anqi Mao, Mehryar Mohri, Yutao ZhongICML 2025
  2. Towards Decision-Friendly AUC: Learning Multi-Classifier with AUCµPeifeng Gao, Qianqian Xu, Peisong Wen, Huiyang Shao et al.AAAI 2023 · 1 citation
  3. Convex Calibrated Surrogates for the Multi-Label F-MeasureMingyuan Zhang, Harish Guruprasad Ramaswamy, Shivani AgarwalICML 2020 · 23 citations
  4. Aligning Evaluation with Clinical Priorities: Calibration, Label Shift, and Error CostsGerardo Flores, Alyssa H. Smith, Julia Fukuyama, Ashia C. WilsonNeurIPS 2025 · 5 citations
  5. Multi-Label Learning with Stronger Consistency GuaranteesAnqi Mao, Mehryar Mohri, Yutao ZhongNeurIPS 2024 · 30 citations
Dusk over the sea between two cliffs drawn in fine vertical lines