尽可能退出:使用排序优化对集成进行有效评估
Quit When You Can: Efficient Evaluation of Ensembles with Ordering Optimization
摘要:
给定分类器集合和待分类的一组示例,在仅评估集合中的基础模型的子集之后,可以自信地且准确地对许多示例进行分类。这可以减少平均延迟和CPU,同时保持原始集合的高精度。为了实现这样的收益,我们建议联合优化基本模型和早期停止阈值的固定评估顺序。我们提出的目标是一个组合优化问题,但我们提供了一种贪心算法,可以在某些情况下实现最佳解的4-逼近。对于这些情况,这也是最佳可实现的多项式时间近似界,除非$P = NP$。在基准测试和实际问题上的实验结果表明,该算法可以将平均计算时间提高$2$ x-- $4$ x,比已有算法提高约$1.5$ x. QWYC的排序和阈值的联合优化在实验中也比各种固定排序,包括梯度提升树的排序表现更好。
英文摘要:
Given a classifier ensemble and a set of examples to be classified, many examples may be confidently and accurately classified after only a subset of the base models in the ensemble are evaluated. This can reduce both mean latency and CPU while maintaining the high accuracy of the original ensemble. To achieve such gains, we propose jointly optimizing a fixed evaluation order of the base models and early-stopping thresholds. Our proposed objective is a combinatorial optimization problem, but we provide a greedy algorithm that achieves a 4-approximation of the optimal solution for certain cases. For those cases, this is also the best achievable polynomial time approximation bound unless $P = NP$. Experiments on benchmark and real-world problems show that the proposed Quit When You Can (QWYC) algorithm can speed-up average evaluation time by $2$x--$4$x, and is around $1.5$x faster than prior work. QWYC's joint optimization of ordering and thresholds also performed better in experiments than various fixed orderings, including gradient boosted trees' ordering.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。