mlsanityData to 7 Oct 2026

An Efficient Plugin Method for Metric Optimization of Black-Box Models

arXiv 2503.02119 ↗First posted 3 Mar 2025cs.LGcited by 0

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

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2017On Calibration of Modern Neural Networkscited by 4,860
  3. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  4. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
  5. 2014Unsupervised Domain Adaptation by Backpropagationcited by 1,906
  6. 2015A large annotated corpus for learning natural language inferencecited by 1,837
  7. 2019Invariant Risk Minimizationcited by 1,832
  8. 2016Deep CORAL: Correlation Alignment for Deep Domain Adaptationcited by 1,194
  9. 2019Adversarial NLI: A New Benchmark for Natural Language Understandingcited by 798
  10. 2023Just Ask for Calibration: Strategies for Eliciting Calibrated Confidence Scores from Language Models Fine-Tuned with Human Feedbackcited by 788
  11. 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 705
  12. 2018Learning to Reweight Examples for Robust Deep Learningcited by 670
31 more
  1. 2016Making Deep Neural Networks Robust to Label Noise: a Loss Correction Approachcited by 663
  2. 2024Parameter-Efficient Fine-Tuning for Large Models: A Comprehensive Surveycited by 641
  3. 2021Retiring Adult: New Datasets for Fair Machine Learningcited by 443
  4. 2021Revisiting the Calibration of Modern Neural Networkscited by 387
  5. 2020Fine-Tuning Pretrained Language Models: Weight Initializations, Data Orders, and Early Stoppingcited by 377
  6. 2018Detecting and Correcting for Label Shift with Black Box Predictorscited by 364
  7. 2019Beyond temperature scaling: Obtaining well-calibrated multiclass probabilities with Dirichlet calibrationcited by 359
  8. 2023A Survey of Confidence Estimation and Calibration in Large Language Modelscited by 253
  9. 2019SemEval-2017 Task 4: Sentiment Analysis in Twittercited by 209
  10. 2016Imbalanced-learn: A Python Toolbox to Tackle the Curse of Imbalanced Datasets in Machine Learningcited by 193
  11. 2020Multivariate Confidence Calibration for Object Detectioncited by 98
  12. 2020Distribution-free binary classification: prediction sets, confidence intervals and calibrationcited by 79
  13. 2023Calibration in Deep Learning: A Survey of the State-of-the-Artcited by 72
  14. 2022TweetNLP: Cutting-Edge Natural Language Processing for Social Mediacited by 71
  15. 2022Towards a Guideline for Evaluation Metrics in Medical Image Segmentationcited by 58
  16. 2019Addressing the Loss-Metric Mismatch with Adaptive Loss Alignmentcited by 33
  17. 2024Application of LLM Agents in Recruitment: A Novel Framework for Resume Screeningcited by 23
  18. 2024Artificial Intelligence Index Report 2024cited by 22
  19. 2022The Calibration Generalization Gapcited by 18
  20. 2023Distributionally Robust Post-hoc Classifiers under Prior Shiftscited by 16
  21. 2020Fair Performance Metric Elicitationcited by 13
  22. 2022Consistent Multiclass Algorithms for Complex Metrics and Constraintscited by 13
  23. 2018Binary Classification with Karmic, Threshold-Quasi-Concave Metricscited by 11
  24. 2020Importance Weight Estimation and Generalization in Domain Adaptation under Label Shiftcited by 10
  25. 2024Bridging Multicalibration and Out-of-distribution Generalization Beyond Covariate Shiftcited by 10
  26. 2021MetricOpt: Learning to Optimize Black-Box Evaluation Metricscited by 9
  27. 2018Metric-Optimized Example Weightscited by 8
  28. 2018Performance Metric Elicitation from Pairwise Classifier Comparisonscited by 7
  29. 2020Optimizing Black-box Metrics with Adaptive Surrogatescited by 7
  30. 2021Optimizing Black-box Metrics with Iterative Example Weightingcited by 6
  31. 2024Multiply Robust Estimation for Local Distribution Shifts with Multiple Domainscited by 4

Built on by

Not cited yet.