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

我们应在测试时何时进行干预?

When Should We Intervene at Test Time?

Zhengzhou University of Aeronautics(郑州航空工业管理学院);Xi’an University of Technology(西安理工大学)

Jiahao Zhang, Xinling Wen, Liangliang Li, Yu Chen

AI总结:

针对测试时干预时机选择问题,提出PORTAL控制器,通过结合共享比较、定向查询等机制,将无效干预转为有用选择,同时提升当前与后续批次的预测性能。

摘要:

测试时自适应帮助部署的模型应对变化的输入,但相同的干预可能挽救一批数据却损坏下一批。例如,更新归一化统计量可改善损坏的图像,但当一批数据大多属于同一类别时会失效。平均准确率掩盖了这些失效情况,无法告知模型何时使用干预。目标标签可指导这一决策,但标签稀缺且部分选择已明确。我们提出PORTAL,一种控制器,用于选择何时部署干预、标记哪些输入以及何时停止查询。每个可用的预测规则都是候选,其预测在当前反馈到达前固定,因此每个获取的标签都在同一输入上评估所有候选。PORTAL结合这些共享比较,将查询导向仍可超越当前领先者的候选。当剩余标签无法改变选择,或可能的准确率提升不再值得进行下一次查询时,它会停止。我们的分析将所需反馈与准确率差距及共享错误关联,解释为何部分选择需要更少证据。实验表明,该控制将整体准确率下降的干预转变为选定批次上的有用选择,防止因到达顺序变化导致的严重失效,并在完整损坏流中保留增益。当固定规则已表现良好时,PORTAL使用少量反馈维持其性能。定期标签检查揭示过去证据何时需要刷新,并帮助控制器在条件变化时恢复。获取的标签还为后续批次训练更强的候选,选择过程将它们的准确率增益几乎全部带入部署,因此相同反馈既改进当前选择,也提升后续批次可用的预测。

英文摘要:

Test-time adaptation helps a deployed model respond to changing inputs, but the same intervention can rescue one batch and damage the next. Updating normalization statistics, for example, can improve corrupted images yet fail when a batch contains mostly one class. Average accuracy hides these failures and cannot tell a model when to use an intervention. Target labels can guide this decision, but they are scarce and some choices are already clear. We introduce PORTAL, a controller that chooses when to deploy an intervention, which inputs to label, and when to stop querying. Each available prediction rule is a candidate, and its predictions are fixed before current feedback arrives. Every acquired label therefore evaluates all candidates on the same input. PORTAL combines these shared comparisons and directs queries toward candidates that can still overtake the current leader. It stops when the remaining labels cannot change the choice or when the possible accuracy gain no longer justifies another query. Our analysis links the required feedback to accuracy gaps and shared mistakes, explaining why some choices need much less evidence. Experiments show that this control turns an intervention that loses accuracy overall into a useful choice on selected batches. It prevents severe failures caused by changes in arrival order and preserves gains across complete corruption streams. When a fixed rule already works well, PORTAL uses little feedback to retain its performance. Periodic label checks reveal when past evidence needs refreshing and help the controller recover as conditions change. The acquired labels also train stronger candidates for future batches, and selection brings nearly all of their accuracy gains into deployment. The same feedback therefore improves both the choice made now and the predictions available to later batches.

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

↑