An Efficient Plugin Method for Metric Optimization of Black-Box Models
Not on the map. Why?
Abstract (arXiv)
Many machine learning algorithms and classifiers are available only via API queries as a ``black-box'' -- that is, the downstream user has no ability to change, re-train, or fine-tune the model on a particular target distribution. Indeed, the downstream user may not even have knowledge of the original training distribution or performance metric used to construct and optimize the black-box model. We propose a simple and efficient method, Plugin, which post-processes arbitrary multiclass predictions from any black-box classifier in order to simultaneously (1) adapt these predictions to a target distribution; and (2) optimize a particular metric of the confusion matrix. Importantly, Plugin is a completely textitpost-hoc method which does not rely on feature information, only requires a small amount of probabilistic predictions along with their corresponding true label, and optimizes metrics by querying. We empirically demonstrate that Plugin is both broadly applicable and has performance competitive with related methods on a variety of tabular and language tasks.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 43 of its 67 references that are in the map. First posted on arXiv 3 Mar 2025.
Builds on
43 of 67 references.
References · 43
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
- 2014Unsupervised Domain Adaptation by Backpropagationcited by 1,906
- 2015A large annotated corpus for learning natural language inferencecited by 1,837
- 2019Invariant Risk Minimizationcited by 1,832
- 2016Deep CORAL: Correlation Alignment for Deep Domain Adaptationcited by 1,194
- 2019Adversarial NLI: A New Benchmark for Natural Language Understandingcited by 798
- 2023Just Ask for Calibration: Strategies for Eliciting Calibrated Confidence Scores from Language Models Fine-Tuned with Human Feedbackcited by 788
- 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 705
- 2018Learning to Reweight Examples for Robust Deep Learningcited by 670
31 more
- 2016Making Deep Neural Networks Robust to Label Noise: a Loss Correction Approachcited by 663
- 2024Parameter-Efficient Fine-Tuning for Large Models: A Comprehensive Surveycited by 641
- 2021Retiring Adult: New Datasets for Fair Machine Learningcited by 443
- 2021Revisiting the Calibration of Modern Neural Networkscited by 387
- 2020Fine-Tuning Pretrained Language Models: Weight Initializations, Data Orders, and Early Stoppingcited by 377
- 2018Detecting and Correcting for Label Shift with Black Box Predictorscited by 364
- 2019Beyond temperature scaling: Obtaining well-calibrated multiclass probabilities with Dirichlet calibrationcited by 359
- 2023A Survey of Confidence Estimation and Calibration in Large Language Modelscited by 253
- 2019SemEval-2017 Task 4: Sentiment Analysis in Twittercited by 209
- 2016Imbalanced-learn: A Python Toolbox to Tackle the Curse of Imbalanced Datasets in Machine Learningcited by 193
- 2020Multivariate Confidence Calibration for Object Detectioncited by 98
- 2020Distribution-free binary classification: prediction sets, confidence intervals and calibrationcited by 79
- 2023Calibration in Deep Learning: A Survey of the State-of-the-Artcited by 72
- 2022TweetNLP: Cutting-Edge Natural Language Processing for Social Mediacited by 71
- 2022Towards a Guideline for Evaluation Metrics in Medical Image Segmentationcited by 58
- 2019Addressing the Loss-Metric Mismatch with Adaptive Loss Alignmentcited by 33
- 2024Application of LLM Agents in Recruitment: A Novel Framework for Resume Screeningcited by 23
- 2024Artificial Intelligence Index Report 2024cited by 22
- 2022The Calibration Generalization Gapcited by 18
- 2023Distributionally Robust Post-hoc Classifiers under Prior Shiftscited by 16
- 2020Fair Performance Metric Elicitationcited by 13
- 2022Consistent Multiclass Algorithms for Complex Metrics and Constraintscited by 13
- 2018Binary Classification with Karmic, Threshold-Quasi-Concave Metricscited by 11
- 2020Importance Weight Estimation and Generalization in Domain Adaptation under Label Shiftcited by 10
- 2024Bridging Multicalibration and Out-of-distribution Generalization Beyond Covariate Shiftcited by 10
- 2021MetricOpt: Learning to Optimize Black-Box Evaluation Metricscited by 9
- 2018Metric-Optimized Example Weightscited by 8
- 2018Performance Metric Elicitation from Pairwise Classifier Comparisonscited by 7
- 2020Optimizing Black-box Metrics with Adaptive Surrogatescited by 7
- 2021Optimizing Black-box Metrics with Iterative Example Weightingcited by 6
- 2024Multiply Robust Estimation for Local Distribution Shifts with Multiple Domainscited by 4
Built on by
Not cited yet.