arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.02119cs.LG
收藏

黑盒模型度量优化的高效插件方法

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

University of Southern California(南加州大学);Amazon(亚马逊公司);Adobe Research(奥多比研究院);Typeface AI

Siddartha Devic, Nurendra Choudhary, Anirudh Srinivasan, Sahika Genc, Branislav Kveton, Gaurush Hiranandani

AI总结:

针对黑盒模型无法重训或微调的问题,提出高效的后处理方法Plugin,仅需少量预测和真实标签即可适应目标分布并优化混淆矩阵度量,在表格和语言任务上表现优异。

摘要:

许多机器学习算法和分类器只能通过API查询作为“黑盒”使用——即下游用户无法在特定目标分布上更改、重新训练或微调模型。实际上,下游用户甚至可能不了解用于构建和优化黑盒模型的原始训练分布或性能度量。我们提出了一种简单高效的方法——Plugin,它对来自任意黑盒分类器的多类预测进行后处理,以同时(1)将这些预测适应到目标分布;以及(2)优化混淆矩阵的特定度量。重要的是,Plugin是一种完全事后(post-hoc)的方法,它不依赖特征信息,仅需少量概率预测及其对应的真实标签,并通过查询来优化度量。我们通过实验证明,Plugin既具有广泛的适用性,又在多种表格和语言任务上表现出与相关方法相竞争的性能。

英文摘要:

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 \emph{original} training distribution or performance metric used to construct and optimize the black-box model. We propose a simple and efficient method, Plugin, which \emph{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 \textit{post-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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑