Daily Tech Briefing
AI 科技速览

每天 5 分钟内学习 AI。获取最新的人工智能新闻,理解其重要性,并学习如何将其应用于您的工作。

AI 快讯
arXiv Machine Learning · 2026/7/31 16:18:30

TOOD: Task-Aware Out-of-Distribution Score Calibration for Continual Learners

AI 中文解读
持续学习系统面临一个容易被忽视的难题:当它学会新任务后,不仅会忘记旧知识,还会逐渐失去“分辨陌生输入”的能力——这被称为“分布外遗忘”。最新研究却发现一个反直觉的现象:这种遗忘与旧任务分类准确率的下降几乎无关,说明它有着独立的成因。更关键的是,两种主流检测方法都会退化,但原因不同:一种是因为模型给陌生样本的“信心分数”虚高,另一种则是因为新旧特征在空间中挤成一团。 针对这一问题,作者提出了名为TOOD的“事后校准”方案,无需重新训练,只需利用少量旧样本的统计信息,对每个任务的判断分数分别纠偏。实验显示,在多种图像识别场景下,TOOD能明显提升系统识别陌生样本的准确率,尤其在信心失准最严重时效果最佳。 这项研究的实际意义在于:未来AI在持续学习时,不仅能越用越聪明,还能更可靠地识别“自己不知道”的输入。比如工厂质检机器人面对从未见过的缺陷类型,或医疗AI遇到罕见病例时,能及时发出“我不确定”的警报,而不是给出过度自信的错误判断,从而大幅提升AI在动态环境中的安全性和可信度。
The primary challenge of continual learning (CL) systems is to learn new tasks while remaining performant on previously learned tasks. A similarly important though less well-studied aspect of CL systems is their ability to distinguish inputs that are unlikely to come from within the set of tasks the system has already encountered, often called out-of-distribution (OOD) detection. This paper presents several findings related to the dynamics of OOD detection in CL systems, causes of performance degradation over time which we call OOD forgetting (OODF), and proposed mitigation strategies for this degradation. Chiefly, we find the unintuitive result that OODF is only weakly anti-correlated with classification performance on previous tasks, suggesting that the underlying mechanisms producing OODF are distinct. Moreover, this effect is observed for both energy-based and feature-based OOD detection methods. Energy-based detectors suffer a drop in logit scale as additional tasks are learned, which we term the Confidence Gap, while feature-based detectors also degrade under a complementary effect we call Manifold Crowding. Motivated by these observations, we propose TOOD, a training-free post-hoc method that decomposes logits into per-task energy scores and re-calibrates them using replay-buffer statistics. Experiments on CIFAR-10, CIFAR-100, and a 100-task ImageNet-1K stream show that TOOD improves OOD detection performance over uncalibrated energy in most settings and ranks first or second in nine of ten CIFAR configurations, with the largest gains when the confidence gap is most severe. These results suggest that a substantial portion of OOD deterioration in continual learning arises from score miscalibration rather than from a complete loss of discriminative structure.
分享
阅读原文