Post-hoc Models for Performance Estimation of Machine Learning Inference

10/06/2021
by   Xuechen Zhang, et al.
0

Estimating how well a machine learning model performs during inference is critical in a variety of scenarios (for example, to quantify uncertainty, or to choose from a library of available models). However, the standard accuracy estimate of softmax confidence is not versatile and cannot reliably predict different performance metrics (e.g., F1-score, recall) or the performance in different application scenarios or input domains. In this work, we systematically generalize performance estimation to a diverse set of metrics and scenarios and discuss generalized notions of uncertainty calibration. We propose the use of post-hoc models to accomplish this goal and investigate design parameters, including the model type, feature engineering, and performance metric, to achieve the best estimation quality. Emphasis is given to object detection problems and, unlike prior work, our approach enables the estimation of per-image metrics such as recall and F1-score. Through extensive experiments with computer vision models and datasets in three use cases – mobile edge offloading, model selection, and dataset shift – we find that proposed post-hoc models consistently outperform the standard calibrated confidence baselines. To the best of our knowledge, this is the first work to develop a unified framework to address different performance estimation problems for machine learning inference.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/24/2021

Parameterized Temperature Scaling for Boosting the Expressive Power in Post-Hoc Uncertainty Calibration

We address the problem of uncertainty calibration and introduce a novel ...
research
06/23/2022

A Geometric Method for Improved Uncertainty Estimation in Real-time

Machine learning classifiers are probabilistic in nature, and thus inevi...
research
01/11/2023

Uncertainty Estimation based on Geometric Separation

In machine learning, accurately predicting the probability that a specif...
research
09/06/2019

Master your Metrics with Calibration

Machine learning models deployed in real-world applications are often ev...
research
02/05/2019

Deep Learning for Bridge Load Capacity Estimation in Post-Disaster and -Conflict Zones

Many post-disaster and -conflict regions do not have sufficient data on ...
research
07/13/2022

Estimating Classification Confidence Using Kernel Densities

This paper investigates the post-hoc calibration of confidence for "expl...
research
03/12/2023

Branch Learn with Post-hoc Correction for Predict+Optimize with Unknown Parameters in Constraints

Combining machine learning and constrained optimization, Predict+Optimiz...

Please sign up or login with your details

Forgot password? Click here to reset