MetricOpt: Learning to Optimize Black-Box Evaluation Metrics

04/21/2021
by   Chen Huang, et al.
0

We study the problem of directly optimizing arbitrary non-differentiable task evaluation metrics such as misclassification rate and recall. Our method, named MetricOpt, operates in a black-box setting where the computational details of the target metric are unknown. We achieve this by learning a differentiable value function, which maps compact task-specific model parameters to metric observations. The learned value function is easily pluggable into existing optimizers like SGD and Adam, and is effective for rapidly finetuning a pre-trained model. This leads to consistent improvements since the value function provides effective metric supervision during finetuning, and helps to correct the potential bias of loss-only supervision. MetricOpt achieves state-of-the-art performance on a variety of metrics for (image) classification, image retrieval and object detection. Solid benefits are found over competing methods, which often involve complex loss design or adaptation. MetricOpt also generalizes well to new tasks and model architectures.

READ FULL TEXT
research
02/20/2020

Optimizing Black-box Metrics with Adaptive Surrogates

We address the problem of training models with black-box and hard-to-opt...
research
02/18/2021

Optimizing Black-box Metrics with Iterative Example Weighting

We consider learning to optimize a classification metric defined by a bl...
research
04/09/2019

Black-Box Complexity of the Binary Value Function

The binary value function, or BinVal, has appeared in several studies in...
research
12/07/2019

Optimizing Rank-based Metrics with Blackbox Differentiation

Rank-based metrics are some of the most widely used criteria for perform...
research
05/15/2019

Addressing the Loss-Metric Mismatch with Adaptive Loss Alignment

In most machine learning training paradigms a fixed, often handcrafted, ...
research
02/05/2019

A Generalized Framework for Population Based Training

Population Based Training (PBT) is a recent approach that jointly optimi...
research
04/14/2017

Optimizing Differentiable Relaxations of Coreference Evaluation Metrics

Coreference evaluation metrics are hard to optimize directly as they are...

Please sign up or login with your details

Forgot password? Click here to reset