Lune

NeurIPS2022Top-tier venue

Bridging the Gap: Unifying the Training and Evaluation of Neural Network Binary Classifiers

Nathan Tsoi, Kate Candon, Deyuan Li, Yofti Milkessa, Marynel Vázquez

Abstract

While neural network binary classifiers are often evaluated on metrics such as Accuracy and F1F_1-Score, they are commonly trained with a cross-entropy objective. How can this training-evaluation gap be addressed? While specific techniques have been adopted to optimize certain confusion matrix based metrics, it is challenging or impossible in some cases to generalize the techniques to other metrics. Adversarial learning approaches have also been proposed to optimize networks via confusion matrix based metrics, but they tend to be much slower than common training methods. In this work, we propose a unifying approach to training neural network binary classifiers that combines a differentiable approximation of the Heaviside function with a probabilistic view of the typical confusion matrix values using soft sets. Our theoretical analysis shows the benefit of using our method to optimize for a given evaluation metric, such as F1F_1-Score, with soft sets, and our extensive experiments show the effectiveness of our approach in several domains.

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 on1

  1. Lipschitz Continuity Guided Knowledge DistillationYuzhang Shang, Bin Duan, Ziliang Zong, Liqiang Nie et al.ICCV 2021 · 31 citations

Related papers

  1. AnyLoss: Transforming Classification Metrics into Loss FunctionsDo Heon Han, Nuno Moniz, Nitesh V. ChawlaKDD 2024 · 1 citation
  2. Relational Surrogate Loss LearningTao Huang, Zekang Li, Hua Lu, Yong Shan et al.ICLR 2022 · 5 citations
  3. Optimizing Black-box Metrics with Iterative Example WeightingGaurush Hiranandani, Jatin Mathur, Harikrishna Narasimhan, Mahdi Milani Fard et al.ICML 2021 · 8 citations
  4. Dice Loss for Data-imbalanced NLP TasksXiaoya Li, Xiaofei Sun, Yuxian Meng, Junjun Liang et al.ACL 2020 · 575 citations
  5. MetricOpt: Learning To Optimize Black-Box Evaluation MetricsChen Huang, Shuangfei Zhai, Pengsheng Guo, Josh M. SusskindCVPR 2021
Dusk over the sea between two cliffs drawn in fine vertical lines