MetricOpt: Learning to Optimize Black-Box Evaluation Metrics
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 36 of its 55 references that are in the map. First posted on arXiv 21 Apr 2021.
Builds on
36 of 55 references.
References · 36
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
- 2018Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actorcited by 4,635
- 2018Addressing Function Approximation Error in Actor-Critic Methodscited by 2,302
- 2017FiLM: Visual Reasoning with a General Conditioning Layercited by 2,286
- 2017Visualizing the Loss Landscape of Neural Netscited by 1,126
- 2017Learning Transferable Architectures for Scalable Image Recognitioncited by 1,097
- 2018On First-Order Meta-Learning Algorithmscited by 1,003
- 2016Learning to learn by gradient descent by gradient descentcited by 616
- 2015Deep Metric Learning via Lifted Structured Feature Embeddingcited by 449
24 more
- 2019Multi-Similarity Loss with General Pair Weighting for Deep Metric Learningcited by 368
- 2018Essentially No Barriers in Neural Network Energy Landscapecited by 328
- 2016Large-Margin Softmax Loss for Convolutional Neural Networkscited by 296
- 2017Modulating early visual processing by languagecited by 167
- 2017Learned Optimizers that Scale and Generalizecited by 109
- 2019Meta-Learning with Warped Gradient Descentcited by 98
- 2018Understanding and correcting pathologies in the training of learned optimizerscited by 97
- 2017Neural Optimizer Search with Reinforcement Learningcited by 82
- 2019Optimizing Rank-based Metrics with Blackbox Differentiationcited by 58
- 2018Local Descriptors Optimized for Average Precisioncited by 43
- 2016Scalable Learning of Non-Decomposable Objectivescited by 40
- 2018Learning to Teach with Dynamic Loss Functionscited by 40
- 2019Towards Accurate One-Stage Object Detection with AP-Losscited by 36
- 2016End-to-end training of object class detectors for mean average precisioncited by 35
- 2019Addressing the Loss-Metric Mismatch with Adaptive Loss Alignmentcited by 33
- 2019SoDeep: a Sorting Deep net to learn ranking loss surrogatescited by 28
- 2015Training Deep Neural Networks via Direct Loss Minimizationcited by 25
- 2019Learning Surrogate Lossescited by 21
- 2017Hashing as Tie-Aware Learning to Rankcited by 18
- 2016Efficient Optimization for Rank-based Loss Functionscited by 15
- 2020Learning Surrogates via Deep Embeddingcited by 11
- 2018Metric-Optimized Example Weightscited by 8
- 2020Optimizing Black-box Metrics with Adaptive Surrogatescited by 7
- 2020A Unified Framework of Surrogate Loss by Refactoring and Interpolationcited by 5
Built on by
Citing papers per year: 2022: 2; 2023: 3; 2024: 2; 2025: 2.
9 papers.
- 2023Tuning computer vision models with task rewardscited by 36
- 2022FORML: Learning to Reweight Data for Fairnesscited by 12
- 2022Fine-grained Retrieval Prompt Tuningcited by 11
- 2023Federated Zeroth-Order Optimization using Trajectory-Informed Surrogate Gradientscited by 8
- 2023An Invitation to Deep Reinforcement Learningcited by 5
- 2024AnyLoss: Transforming Classification Metrics into Loss Functionscited by 3
- 2024Evolutionary Retrofittingcited by 2
- 2025Exact Reformulation and Optimization for Direct Metric Optimization in Binary Imbalanced Classificationcited by 2
- 2025An Efficient Plugin Method for Metric Optimization of Black-Box Modelscited by 0
- 2025Exact Reformulation and Optimization for Direct Metric Optimization in Binary Imbalanced Classification21 Jul 2025
- 2025An Efficient Plugin Method for Metric Optimization of Black-Box Models3 Mar 2025
- 2024Evolutionary Retrofitting15 Oct 2024
- 2024AnyLoss: Transforming Classification Metrics into Loss Functions23 May 2024
- 2023An Invitation to Deep Reinforcement Learning13 Dec 2023
- 2023Federated Zeroth-Order Optimization using Trajectory-Informed Surrogate Gradients8 Aug 2023
- 2023Tuning computer vision models with task rewards16 Feb 2023
- 2022Fine-grained Retrieval Prompt Tuning29 Jul 2022
- 2022FORML: Learning to Reweight Data for Fairness3 Feb 2022