🤖 AI Summary
This work addresses the degradation of out-of-distribution (OOD) detection performance in continual learning—termed OOD forgetting—which operates via mechanisms distinct from conventional classification forgetting. The study reveals that OOD forgetting is decoupled from classification forgetting and identifies two novel phenomena: “confidence gap” and “manifold crowding.” To mitigate this issue, the authors propose TOOD, a training-free, task-aware post-hoc calibration method grounded in energy score decomposition and statistics derived from a replay buffer. TOOD is compatible with both energy-based and feature-based OOD detectors. Extensive experiments on CIFAR-10/100 and a 100-task ImageNet-1K benchmark demonstrate substantial improvements in OOD detection performance, with TOOD ranking among the top two methods in nine out of ten CIFAR configurations, achieving the most pronounced gains under severe confidence gaps.
📝 Abstract
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.