acceptodds
Published as a conference paper at NeurIPS 2026

Out-of-Distribution Detection in Continual Learning

Nimeshika Udayangani Hewa Dehigahawattage, Sarah Erfani, Flora Salim, Christopher Leckie

Abstract

Out-of-distribution detection in continual learning (OOD-CL) is highly challenging, as it requires (i) learning a sequence of tasks without catastrophic forgetting, and (ii) identifying unknown samples (OOD) without access to known (in-distribution (ID)) data from past tasks, where standard confidence-based OOD scores tend to degrade. Existing methods largely rely on a rehearsal buffer of past data or assume closed-world settings, limiting their scalability and reliability in real-world scenarios. In this paper, we propose a novel OOD detection framework for rehearsal-free continual learning, inspired by Kolmogorov–Arnold Networks (KAN), which mitigate catastrophic forgetting via their inherent local neuroplasticity. To better leverage KAN in OOD-CL, we introduce a task-adaptive classifier architecture, TA-KAN, which mitigates recency bias and enhances ID–OOD separability through task-specific control of activation locality. Furthermore, we propose a geometry-guided OOD score that complements TA-KAN classifier confidence without relying on past ID data. Our method significantly improves OOD detection while maintaining strong ID classification performance, achieving state-of-the-art results in OOD-CL.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 49%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.33 over 3 reviews, above 49% of the others.
Reviewer_JUPhOpenReview ↗
Rating
5
Clarity
4
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper addresses Out-of-Distribution (OOD) detection in Rehearsal-Free Continual Learning (CL). In this problem, the challenge is to simultaneously learn a sequence of tasks without catastrophic forgetting and identifying unknown samples.

The authors propose TA-KAN (Task-Adaptive Kolmogorov-Arnold Network), which leverages the neuroplasticity of KANs, where learning new tasks only affects relevant regions of the activation functions, to mitigate forgetting and improve ID-OOD separability.

They adapts Radial Basis Function (RBF) widths dynamically based on task affinity inferred from prompt keys at inference time and propose a scoring function that combines classifier confidence with a geometry-based guidance signal derived entirely from the prompt space.

The experiments on ImageNet-R, CUB-200, and CIFAR-100 benchmarks using CodaPrompt with ViT model backbone show competitive OOD detection performance while maintaining strong ID classification accuracy.

Strengths and weaknesses

Strenghts: The paper effectively extends KANs (specifically RBF-KAN) into the prompt-based CIL setting, demonstrating less forgetting than standard linear heads, which is a significant contribution. The paper is well written and structured. the empirical validation across multiple datasets demonstrates robustness. Code implementation is provided.

Weaknesses: The method is deeply connected to prompt-based CL models, which represent a portion of the existing CL methods. Empirical time complexity is not discussed.

Questions
  • To the best of my knowledge, KANs increase the computational complexity of the training process. Can you evalaute the performance - execution time trade off?
  • From my understanding, width factors rely on knowing the total number of tasks N. Does this implicitly restrict the approach to non-dynamic scenarios? Can it support task-agnostic setups as in VLAD or DER (Dynamic Expert Routing)?
  • I am wondering, if you introduce a class in a new task that is similar to an old one, e.g., CIFAR-10 "car" vs. ImageNet-R "truck", could this ambiguity potentially cause conflicting width adjustments for RBF activations, leading to a degrading separation between ID and OOD samples in the prompt space?
  • I checked the hyperparameter alpha discussion in the Appendix: does the method rely on other hyperparameters and is it worth noting it in the main paper?
Limitations

The paper is transparent about limitations. Primarily, its restriction to prompt-based architectures.

Paper formatting concerns

N/A

Final justification

The authors addressed my main concerns regarding computational complexity, the setup of the learning scenario, assumptions about task boundaries, and hyperparameters. For this reason, I am provisionally increasing my score.

Reviewer_tfvMOpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

This work focuses on the out-of-distribution detection under a rehearsal-free continual learning (OOD-CL) setup, where the model must identify unknown inputs while learning a sequence of tasks without storing past data. The authors proposed (i) TA-KAN, a task-adaptive RBF-KAN classifier that modulates activation locality per task via a parameter-free width schedule, reusing the prompt model's query–key matching to infer task affinity, and (ii) a geometry-guided OOD score operating in the prompt space, interpreted as a two-level constraint. Experiments on CUB-200, ImageNet-R, and CIFAR-100 report consistent gains in FPR/AUC while preserving ID accuracy.

Strengths and weaknesses

Strengths:

  1. The paper tackles a practically important setting and frames it cleanly against prior work that either naively couples standard OOD scores with CL models or relies on past data.
  2. The motivation is clear and well-supported. The recency-bias observation is an acceptable analysis that directly motivates the method.
  3. The proposed method is simple to implement and adds negligible overhead
  4. The empirical gains are consistent across multiple benchmarks and task splits.

Weakness:

  1. The experimental section in the main body is comparatively condensed. A large fraction of the main text is used for preliminaries and method exposition, while the core experiments in the main body are limited to only around 1 page. Much of the substantive evidence, such as CIFAR-100 results, the detailed ablation, the post-hoc OOD-score comparison, the geometry-based comparison, and the backbone-generalization study, is deferred to the appendix.

  2. The main body lacks an overall method architecture plot. While Fig. 3 provides a useful conceptual illustration of the wide-vs-narrow RBF effect, there is no pipeline diagram of the full proposed method in the main text. A single schematic showing how query–key matching feeds the adaptive width selection, and the guidance term would substantially improve readability.

  3. There is no direct comparison between RBF-KAN and the original KAN. It is unclear how much of the gain comes from the RBF substitution versus the proposed task-adaptive mechanism.

  4. No standard deviations over seeds reported in tables, especially since several ImageNet-R gains are very marginal.

Questions
  1. Clarify how much of the reported gain remains when the task-adaptive mechanism is isolated from the RBF design choice itself.
  2. A comparison between original baselines without using KAN, is needed.
  3. Could the authors clarify how many runs for each experiment, with also random seed specifications for future reproductions, and whether the reported values are the mean, and add the corresponding standard deviations
Limitations

Yes

Paper formatting concerns

No

Final justification

The author's rebuttal further addressed my concerns, so I will maintain my rating.

Reviewer_up31OpenReview ↗
Rating
4
Clarity
4
Confidence
4
Originality
3
Quality
4
Significance
2
Read review
Summary

TA-KAN adapts an RBF-based KAN classifier head for OOD detection in rehearsal-free class-incremental learning, assigning narrower (more localized) radial-basis widths to older tasks to counteract the recency bias that otherwise makes older in-distribution samples get flagged as OOD, and pairs this with a prompt-space geometry score for OOD detection that needs no stored past data.

Strengths and weaknesses

Strengths:

  1. The paper surfaces a specific, non-obvious failure mode - that a KAN classifier head develops a recency bias in the open-world setting, flagging older in-distribution samples as OOD - via a per-task-age breakdown that aggregate metrics would hide.
  2. Its task-adaptive locality mechanism adds no learnable parameters and reuses the prompt model's existing query-key matching, getting task-conditional behavior without violating the no task identity at test time constraint.
  3. The prompt-space geometry score enables rehearsal-free OOD detection where classic distance-based methods can't operate rehearsal-free.

Weaknesses:

  1. The single most relevant baseline, a cosine/normalized-softmax or NCM prototype head that directly targets the recency bias the paper builds its method around, is never compared against.
  2. The gains are attributed to locality/neuroplasticity, but with the backbone frozen and only RBF width modulated, the method can only reshape the classifier score, and no feature-space separability evidence is given to show the effect is representational rather than score sharpening.
  3. The chosen metrics are the ones least able to carry sub-point conclusions, FPR is a high-variance single operating point and AUROC is base-rate blind in the rare-OOD regime the paper motivates, with no near/far-OOD or AUPR breakdown.
  4. The linear baseline isn't capacity-matched. The KAN head has G× the classifier parameters.
  5. No table anywhere reports error bars
Questions

Since the guidance score is architecture-agnostic and supplies much of the improvement, what happens when you apply it to the linear head, and can you show any feature-space separability evidence (e.g., embedding-space ID-OOD overlap) demonstrating a representation-level effect rather than merely a sharper classifier score?

Limitations

The limitations are not specified.

Paper formatting concerns

N/A

Final justification

The framing concern is resolved, the authors conceded the point, and reframed TA-KAN honestly as a classifier-level mechanism. Technical points are addressed, too. One issue remains, they never convincingly showed adaptive width actually beats a simple recency-aware calibration on the metrics. Raising to borderline accept. Contribution is valid and clean, just narrow.

1 comment

We sincerely thank the reviewer for the thoughtful feedback and for recognising the strengths of our work. We also appreciate the constructive suggestions, which have helped us improve the paper. Below, we address each concern in detail.

W1. We agree that this comparison is important. We therefore added two additional baselines: (i) a cosine/normalized-softmax classifier head (Cosine Head) [63] and (ii) an NCM prototype classifier [42] (NCM Readout), implemented within the same prompt-learning framework. The cosine baseline replaces the linear classifier with a normalized-softmax head. For the NCM baseline, prompts are trained using the same normalized-softmax objective, while inference is performed using cosine similarity to stored class prototypes. These are canonical classifier alternatives for alleviating the classifier bias associated with linear heads. We also note that MSP-BC-CE [15], which was already included in our evaluation, provides a strong bias-correction baseline by explicitly compensating for class-weight norm imbalance in the KAN classifier. We updated Tables 1 and 2 with these additional baselines (shown below).

 

Table 1: Results on CUB-200 [53] dataset under different task settings. Lower FPR is better; higher AUC, AUP and ACC are better. Bold indicates the best result; italic indicates the second-best result.

Method5T FPR↓\small \mathrm{FPR}\downarrow5T AUC↑\small \mathrm{AUC}\uparrow5T AUPIn↑\small \mathrm{AUP}_{\mathrm{In}}\uparrow5T AUPOut↑\small \mathrm{AUP}_{\mathrm{Out}}\uparrow5T ACC↑\small \mathrm{ACC}\uparrow10T FPR↓\small \mathrm{FPR}\downarrow10T AUC↑\small \mathrm{AUC}\uparrow10T AUPIn↑\small \mathrm{AUP}_{\mathrm{In}}\uparrow10T AUPOut↑\small \mathrm{AUP}_{\mathrm{Out}}\uparrow10T ACC↑\small \mathrm{ACC}\uparrow20T FPR↓\small \mathrm{FPR}\downarrow20T AUC↑\small \mathrm{AUC}\uparrow20T AUPIn↑\small \mathrm{AUP}_{\mathrm{In}}\uparrow20T AUPOut↑\small \mathrm{AUP}_{\mathrm{Out}}\uparrow20T ACC↑\small \mathrm{ACC}\uparrow
Linear Head [47]66.1679.3077.0880.4373.8571.9377.4174.7879.6468.3567.9179.5677.4481.5761.69
Cosine Head [63]60.6784.1381.2085.2480.0869.4080.3076.1182.1273.1763.1979.1478.1180.1462.24
NCM Readout [42]77.2177.8373.4179.9680.5478.1274.1969.7176.6777.1376.4176.2873.3278.2781.42
KAN-Head (Baseline) [21]59.6583.4880.5184.2781.5571.1180.5376.6982.3078.2959.6981.8681.1882.9375.24
MSP-BC-CE [15]58.0184.6081.1785.3481.5567.8880.6677.6682.3678.2960.6580.2079.2881.7775.24
TA-KAN52.1185.8683.4986.7180.8670.6381.5578.4783.5277.4951.3584.4284.4584.7975.70
TA-KAN + Guidance48.7386.4285.5986.9680.8668.2881.9980.2583.8777.4950.4884.7784.8585.1075.70

 

Table 2: Results on ImageNet-R [18] dataset under different task settings. Lower FPR is better; higher AUC and ACC are better. Bold indicates the best result; italic indicates the second-best result.

Method5T FPR↓\small \mathrm{FPR}\downarrow5T AUC↑\small \mathrm{AUC}\uparrow5T ACC↑\small \mathrm{ACC}\uparrow10T FPR↓\small \mathrm{FPR}\downarrow10T AUC↑\small \mathrm{AUC}\uparrow10T ACC↑\small \mathrm{ACC}\uparrow20T FPR↓\small \mathrm{FPR}\downarrow20T AUC↑\small \mathrm{AUC}\uparrow20T ACC↑\small \mathrm{ACC}\uparrow40T FPR↓\small \mathrm{FPR}\downarrow40T AUC↑\small \mathrm{AUC}\uparrow40T ACC↑\small \mathrm{ACC}\uparrow
Linear-Head [47]42.7485.4477.9645.6986.2676.5153.4985.2873.9053.2181.5768.80
Cosine Head [63]41.8784.6280.7342.3286.7379.2245.6485.5077.9150.1783.2774.01
NCM Readout [42]43.3385.3877.9845.4385.3677.3247.2684.5976.8649.3783.1974.38
KAN-Head (Baseline) [21]42.5284.8179.2543.0485.6478.7644.0085.4077.4244.8084.6373.95
ProKT [29]48.5981.2672.8250.1881.6371.7252.1980.5269.1551.9480.9165.97
MORE [23]45.8280.7478.6349.2180.1274.2953.6780.3171.8259.6179.3270.45
MSP-BC-CE [15]40.6585.5079.2542.1286.8478.7644.8885.7877.4247.2184.8173.95
TA-KAN40.0785.7778.8340.2586.7677.7642.5785.9977.0344.1686.4872.38
TA-KAN + Guidance39.7285.9278.8339.9886.8777.7642.6186.1077.0344.0386.4172.38

 

While the Cosine Head consistently improves over the linear head, particularly in ID classification and often in OOD detection, both Cosine Head and NCM Readout remain overall inferior to the KAN head on OOD detection, particularly on the challenging fine-grained CUB-200 benchmark. TA-KAN further improves the OOD detection capability of KAN while preserving its inherent local plasticity for continual learning, consistently outperforming all competing classifier-head baselines. Importantly, these results indicate that replacing the linear classifier with normalized or prototype-based decision rules alone is insufficient to explain the OOD detection improvements observed in our setting. In contrast, TA-KAN modifies the classifier function itself through task-adaptive RBF locality, mitigating recency bias while improving ID–OOD separability. Consequently, TA-KAN consistently outperforms all competing classifier-head baselines across both CUB-200 and ImageNet-R. We have incorporated these new baselines and the corresponding analysis into the revised manuscript (Tables 1 and 2).

[63] Hou, Saihui, et al. "Learning a unified classifier incrementally via rebalancing." CVPR. 2019.

W3. We thank the reviewer for this suggestion. We have extended our evaluation to include both AUPR-In and AUPR-Out. These additional metrics are now reported alongside AUROC and FPR95 and are consistent with the conclusions of the paper. For brevity, only Table 1 is shown in our response to W1; the corresponding AUPR-In and AUPR-Out results will be added to all result tables in the revised manuscript.

We agree that analysing performance under different OOD conditions is valuable. Rather than categorising benchmarks solely as near- or far-OOD, Appendix D analyses the behaviour of TA-KAN under two distinct difficulty regimes that are directly motivated by our method: (i) fine-grained semantic ambiguity (near-OOD-like regime), where increased locality is expected to improve ID–OOD separability, and (ii) high intra-class variation, where increased locality may reduce invariance. This analysis is specifically designed to validate the central design hypothesis of TA-KAN and explains why the gains are substantially larger on CUB-200 than on ImageNet-R. We will make this motivation more explicit in the revised manuscript.

W4. Our primary objective is to improve the OOD detection capability of KAN while exploiting its inherent local plasticity to mitigate catastrophic forgetting, a key advantage highlighted in the original KAN work. Importantly, proposed TA-KAN has nearly the same number of learnable parameters as the original KAN classifier, yet consistently achieves superior OOD detection performance. Therefore, the improvements cannot be attributed to additional model capacity. We acknowledge that both KAN and TA-KAN contain more classifier parameters than a standard linear classifier because of the RBF expansion. However, this increase is modest compared with the frozen backbone and is identical for KAN and TA-KAN. To further isolate the effect of classifier capacity, we replace the classifier with a MLP whose hidden dimension is chosen to match the number of learnable parameters in KAN and TA-KAN. We have updated the ablation in Table 3 (shown below) with this parameter-matched MLP baseline (MLP-Head). The results show that matching the parameter count alone does not improve OOD performance, confirming that the gains come from the KAN/TA-KAN architecture.

 

Table 3: Ablation study of different components. Results are averaged over all task settings on CUB-200 dataset. Bold indicates the best result.

MethodFPRL\small \mathrm{FPR}_{\mathrm{L}}↓FPRA\small \mathrm{FPR}_{\mathrm{A}}↓AUCL\small \mathrm{AUC}_{\mathrm{L}}↑AUCA\small \mathrm{AUC}_{\mathrm{A}}↑ACCL\small \mathrm{ACC}_{\mathrm{L}}↑ACCA\small \mathrm{ACC}_{\mathrm{A}}↑
MLP-Head77.4664.0971.1677.7254.8270.49
Linear-Head68.6759.1778.7682.4067.9679.42
Linear-Head + Guidance67.0360.8179.0682.5467.9679.42
KAN-Head (Baseline)63.4856.0081.9685.1678.3685.37
KAN-Head αmin⁡\alpha_{\min}60.1254.2882.2785.8076.1184.52
KAN-Head + Guidance58.4654.1382.7585.8378.3685.37
TA-KAN Head58.0355.1683.9485.6478.0285.24
TA-KAN + Guidance (ours)55.8352.1884.3986.1878.0285.24

 

W5. Please refer to our response to Reviewer tfvM, Q3.

Comments on the paper

1 comment
Meta-review

The reviews split 2/4/4 in rating, with the reject (up31) the most technically detailed. The authors need to clarify the following in order to increase the current borderline decisions:

  1. Add a cosine / normalized-softmax (NCM prototype) classifier-head baseline, evaluated with the OOD-CL metrics on CUB-200 and ImageNet-R. (up31) This directly tests whether the recency-bias fix requires TA-KAN or is already delivered by the canonical near-free alternative. A convincing result here materially changes my assessment; its absence is the strongest current reason to hold back.

  2. Report variance over the seeds: Add standard deviations (or CIs) to Tables 1–2 (at minimum), with the number of seeds and the sampling protocol (tfvM Q3). This is essential wherever TA-KAN's margin over MSP-BC-CE is under ~1 FPR point on ImageNet-R (Table 2), and it is cheap given the existing runs.

  3. Give feature/prompt-space separability evidence and test the guidance on the linear head (up31 Q). Show an embedding- or prompt-space ID–OOD overlap measure (or visualization) demonstrating a representation-level effect rather than only a sharper classifier score, and apply Γ (Eq. 13) to the Linear-Head to confirm the guidance's benefit is not architecture-specific.

  4. Surface the mechanism-isolating ablations in the main body, and add the RBF-vs-original-KAN control (tfvM W3/Q1). Promote Table 7 (fixed-α vs TA-KAN) and the KAN-Head αmin / trainable-σ rows of Table 5 into the main text, since they answer "is it just narrower RBFs?", and add a direct comparison of RBF-KAN vs the original B-spline KAN to attribute the gain to each design choice.

Also, try to address the comments/comments from all reviewers as well.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.