Lune

KDD2024顶会

AnyLoss: Transforming Classification Metrics into Loss Functions

Do Heon Han, Nuno Moniz, Nitesh V. Chawla

摘要

Many evaluation metrics can be used to assess the performance of models in binary classification tasks. However, most of them are derived from a confusion matrix in a non-differentiable form, making it very difficult to generate a differentiable loss function that could directly optimize them. The lack of solutions to bridge this challenge not only hinders our ability to solve difficult tasks, such as imbalanced learning, but also requires the deployment of computationally expensive hyperparameter search processes in model selection. In this paper, we propose a general-purpose approach that transforms any confusion matrix-based metric into a loss function, AnyLoss, that is available in optimization processes. To this end, we use an approximation function to make a confusion matrix represented in a differentiable form, and this approach enables any confusion matrix-based metric to be directly used as a loss function. The mechanism of the approximation function is provided to ensure its operability and the differentiability of our loss functions is proved by suggesting their derivatives. We conduct extensive experiments under diverse neural networks with many datasets, and we demonstrate their general availability to target any confusion matrix-based metrics. Our method, especially, shows outstanding achievements in dealing with imbalanced datasets, and its competitive learning speed, compared to multiple baseline models, underscores its efficiency.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper1

  1. MetricOpt: Learning To Optimize Black-Box Evaluation MetricsChen Huang, Shuangfei Zhai, Pengsheng Guo, Josh M. SusskindCVPR 2021

相关 Paper

  1. Bridging the Gap: Unifying the Training and Evaluation of Neural Network Binary ClassifiersNathan Tsoi, Kate Candon, Deyuan Li, Yofti Milkessa 等NeurIPS 2022 · 5 次引用
  2. Relational Surrogate Loss LearningTao Huang, Zekang Li, Hua Lu, Yong Shan 等ICLR 2022 · 5 次引用
  3. Auto Seg-Loss: Searching Metric Surrogates for Semantic SegmentationHao Li, Chenxin Tao, Xizhou Zhu, Xiaogang Wang 等ICLR 2021 · 26 次引用
  4. Searching Parameterized AP Loss for Object DetectionChenxin Tao, Zizhang Li, Xizhou Zhu, Gao Huang 等NeurIPS 2021 · 6 次引用
  5. TaskMet: Task-driven Metric Learning for Model LearningDishank Bansal, Ricky T. Q. Chen, Mustafa Mukadam, Brandon AmosNeurIPS 2023 · 20 次引用
黄昏的海面,两侧是细线勾勒的悬崖