arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2203.10853cs.CV
收藏

利用闭环推理提高测试时间性能

Boost Test-Time Performance with Closed-Loop Inference

South China University of Technology(华南理工大学);Tencent AI Lab(腾讯人工智能实验室);National University of Singapore(新加坡国立大学);PengCheng Laboratory(鹏城实验室)

Shuaicheng Niu, Jiaxiang Wu, Yifan Zhang, Guanghui Xu, Haokun Li, Peilin Zhao, Junzhou Huang, Yaowei Wang, Mingkui Tan

摘要:

传统的深度模型用单个前向传播来预测测试样本,然而,这可能不足以预测硬分类样本。相反,我们人类在做出最终决定之前可能需要多次仔细检查样本。在重新检查过程期间,可以通过参考相关样本来改进/调整预测。受此启发,我们建议以循环的方式预测这些硬分类的测试样本,以提高模型的性能。然而,这个想法可能会带来一个关键的挑战:如何构建循环推理,以便在这些硬测试样本上的原始错误预测可以在很少的额外努力下得到纠正。为了解决这个问题,我们提出了一个通用的闭环推理(CLI)方法。具体来说,我们首先设计了一个过滤标准,以确定那些硬分类的测试样本,需要额外的推理循环。对于每个硬样本,我们根据其原始的top- $K$预测构建一个额外的辅助学习任务来校准模型,然后使用校准的模型来获得最终的预测。在ImageNet(分布内测试样本)和ImageNet-C(分布外测试样本)上的令人满意的结果证明了CLI在提高任何预训练模型的性能方面的有效性。

英文摘要:

Conventional deep models predict a test sample with a single forward propagation, which, however, may not be sufficient for predicting hard-classified samples. On the contrary, we human beings may need to carefully check the sample many times before making a final decision. During the recheck process, one may refine/adjust the prediction by referring to related samples. Motivated by this, we propose to predict those hard-classified test samples in a looped manner to boost the model performance. However, this idea may pose a critical challenge: how to construct looped inference, so that the original erroneous predictions on these hard test samples can be corrected with little additional effort. To address this, we propose a general Closed-Loop Inference (CLI) method. Specifically, we first devise a filtering criterion to identify those hard-classified test samples that need additional inference loops. For each hard sample, we construct an additional auxiliary learning task based on its original top-$K$ predictions to calibrate the model, and then use the calibrated model to obtain the final prediction. Promising results on ImageNet (in-distribution test samples) and ImageNet-C (out-of-distribution test samples) demonstrate the effectiveness of CLI in improving the performance of any pre-trained model.

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

↑