Saved in:
Bibliographic Details
Main Authors: Peng, Le, Travadi, Yash, He, Chuan, Cui, Ying, Sun, Ju
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2507.15240
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915401535848448
author Peng, Le
Travadi, Yash
He, Chuan
Cui, Ying
Sun, Ju
author_facet Peng, Le
Travadi, Yash
He, Chuan
Cui, Ying
Sun, Ju
contents For classification with imbalanced class frequencies, i.e., imbalanced classification (IC), standard accuracy is known to be misleading as a performance measure. While most existing methods for IC resort to optimizing balanced accuracy (i.e., the average of class-wise recalls), they fall short in scenarios where the significance of classes varies or certain metrics should reach prescribed levels. In this paper, we study two key classification metrics, precision and recall, under three practical binary IC settings: fix precision optimize recall (FPOR), fix recall optimize precision (FROP), and optimize $F_β$-score (OFBS). Unlike existing methods that rely on smooth approximations to deal with the indicator function involved, \textit{we introduce, for the first time, exact constrained reformulations for these direct metric optimization (DMO) problems}, which can be effectively solved by exact penalty methods. Experiment results on multiple benchmark datasets demonstrate the practical superiority of our approach over the state-of-the-art methods for the three DMO problems. We also expect our exact reformulation and optimization (ERO) framework to be applicable to a wide range of DMO problems for binary IC and beyond. Our code is available at https://github.com/sun-umn/DMO.
format Preprint
id arxiv_https___arxiv_org_abs_2507_15240
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Exact Reformulation and Optimization for Direct Metric Optimization in Binary Imbalanced Classification
Peng, Le
Travadi, Yash
He, Chuan
Cui, Ying
Sun, Ju
Machine Learning
For classification with imbalanced class frequencies, i.e., imbalanced classification (IC), standard accuracy is known to be misleading as a performance measure. While most existing methods for IC resort to optimizing balanced accuracy (i.e., the average of class-wise recalls), they fall short in scenarios where the significance of classes varies or certain metrics should reach prescribed levels. In this paper, we study two key classification metrics, precision and recall, under three practical binary IC settings: fix precision optimize recall (FPOR), fix recall optimize precision (FROP), and optimize $F_β$-score (OFBS). Unlike existing methods that rely on smooth approximations to deal with the indicator function involved, \textit{we introduce, for the first time, exact constrained reformulations for these direct metric optimization (DMO) problems}, which can be effectively solved by exact penalty methods. Experiment results on multiple benchmark datasets demonstrate the practical superiority of our approach over the state-of-the-art methods for the three DMO problems. We also expect our exact reformulation and optimization (ERO) framework to be applicable to a wide range of DMO problems for binary IC and beyond. Our code is available at https://github.com/sun-umn/DMO.
title Exact Reformulation and Optimization for Direct Metric Optimization in Binary Imbalanced Classification
topic Machine Learning
url https://arxiv.org/abs/2507.15240