OCCAM:迈向成本高效且精度感知的分类推理
OCCAM: Towards Cost-Efficient and Accuracy-Aware Classification Inference
AI总结:
提出OCCAM方法,在成本预算下通过整数线性规划优化分类器分配,实现聚合精度最大化,在真实数据集上成本降低40%且精度几乎无损。
摘要:
分类任务在医疗保健、自然语言处理和计算机视觉等各个领域的应用中发挥着基础性作用。随着机器学习模型的日益普及和能力增强,人们可以轻松地在线或离线获取训练好的分类器作为服务。然而,模型使用伴随着成本,而高容量分类器(如大型基础模型)通常会产生更高的推理成本。为了利用不同分类器各自的优势,我们提出了一种原则性方法OCCAM,用于在用户指定的成本预算下,计算分类查询上的最佳分类器分配策略(称为最优模型组合),以使聚合精度最大化。我们的方法使用无偏且低方差的精度估计器,并通过求解整数线性规划问题来有效计算最优解。在各种真实世界数据集上,OCCAM实现了40%的成本降低,且精度几乎不下降。
英文摘要:
Classification tasks play a fundamental role in various applications, spanning domains such as healthcare, natural language processing and computer vision. With the growing popularity and capacity of machine learning models, people can easily access trained classifiers as a service online or offline. However, model use comes with a cost and classifiers of higher capacity (such as large foundation models) usually incur higher inference costs. To harness the respective strengths of different classifiers, we propose a principled approach, OCCAM, to compute the best classifier assignment strategy over classification queries (termed as the optimal model portfolio) so that the aggregated accuracy is maximized, under user-specified cost budgets. Our approach uses an unbiased and low-variance accuracy estimator and effectively computes the optimal solution by solving an integer linear programming problem. On a variety of real-world datasets, OCCAM achieves 40% cost reduction with little to no accuracy drop.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。