Manuscript Offprint
arXiv:2610.05718ReMaD: Tuning-free Domain Adaptation for Classification and Out-of-Distribution Detection
Elijah Bolluyt, Cristina Comaniciu
Abstract— We introduce Reduced-rank Mahalanobis Distance (ReMaD), a novel prototypical distance-based refinement to classification and out-of-distribution (OOD) detection using pretrained models without finetuning. We use embeddings of the target dataset to fit closed-form distribution statistics in the model's latent space which can classify in-distribution samples and detect OOD samples, all without training or prior knowledge of the OOD data. Building on prototype classification and OOD detection, we analyze the distribution properties of large pretrained models when processing new datasets; based on this analysis, we formulate a simple modification to Mahalanobis Distance to adapt models' latent space distributions to new domains by removing unused features, without the finetuning or hyperparameter searches required by other adaptation procedures. We demonstrate the efficacy of this method to adapt existing large pretrained image embedding models to new classification domains outside their trained capabilities by testing across four target datasets, with competitive performance in both classification and OOD detection.
Impact Statement — Neural network image classifiers deployed in real tasks must often handle unexpected data from far outside their training sets, especially in safety-sensitive applications where an inappropriate response could cause harm. While large pretrained models have become prevalent in classification tasks, current literature on methods to handle anomalous data has mostly focused on traditional trained classifiers or models which have at least observed relevant data during training. Our method allows these large models to be more safely deployed without the high cost of retraining by enhancing their ability to identify and handle out-of-distribution data. In contrast to other methods, we also do not require any hyperparameter tuning, further minimizing deployment cost and complexity. By adding this capability without significant added cost, our method can help to fortify existing systems against unexpected inputs.
Index Terms—Anomaly Detection, Classification, Domain Adaptation, Large Pretrained Models, Mahalanobis Distance, Out-of-Distribution Detection
I. INTRODUCTION
As neural network classifiers are deployed in real-world applications, the rise of large pretrained models in both image and text modalities has reduced the need to train specialized models on individual classification tasks. These large models benefit from pretraining on largescale datasets, often performing competitively with specially trained models. In addition, distillation and related methods can reduce these large, general models to smaller sizes, allowing deployment to constrained environments and negating the primary disadvantage of large architectures. For tasks related to their training domain, these models can often complete tasks in a zero- or few-shot modality . For tasks outside their original domain, these models can be finetuned; efficient methods can make this process more affordable, but it often still requires significant computational resources and specialized techniques for individual domains.
Simultaneously, robustness to anomalous inputs from outside a classifier’s target distribution has become increasingly important as models are deployed to a widening array of safety-critical tasks. Detecting and handling unexpected inputs appropriately ensures that systems perform their tasks reliably once deployed. Out-of-Distribution (OOD) detection codifies this task by augmenting classifiers to detect samples which do not belong to any known in-distribution (ID) classification label. OOD detection can be implemented as a post-hoc method on trained classifier models, or via finetuning methods.
However, most existing OOD detection methods for classifiers rely on the models' differing responses to in-distribution (ID) data versus OOD data [4] [5] [6]. Large unimodal encoders which offer rich embedding spaces must be finetuned to serve as classifiers and OOD detectors. Zero-shot classifiers based on Contrastive Language Image Pretrained (CLIP) models can be augmented with OOD detection, but most methods require finetuning [7]; others assume that the model's text encoder has knowledge of the ID sample's classes [8] [9], limiting their application to tasks within the domain of the model's training data. This also largely excludes the application of general models to tasks with highly technical terminologies, such as medical data.
Zero-shot classification and OOD detection requires that the model has knowledge of the in-distribution's classes, and finetuning requires compute resources and the storage of specialized models for every task. We propose a third approach based on the hypothesis that the embedding model's features, which are trained over largescale data, are sufficiently capable to succeed at a new classification task if we can appropriately define the target distribution. To this end, we analyze the
This work has been submitted to the IEEE for possible publication. Copyright may be transferred without notice, after which this version may no longer be accessible.
This work is supported in part by ACC-New Jersey under Contract No. W15QKN-18-D-0040
E. Bolluyt is with Stevens Institute of Technology, Hoboken, NJ, 07030, USA (e-mail: ebolluyt@stevens.edu).
C. Comaniciu is with Stevens Institute of Technology, Hoboken, NJ, 07030, USA (e-mail: ccomanic@stevens.edu).
properties of latent distributions in large embedding models when utilized for new tasks; we leverage our findings to create a simple modification to existing distance-based methods to better serve domains which are novel to the model. Specifically, we address cases where a training set is available for a new domain, but the pretrained model need not have any knowledge of it, and finetuning of parameters or hyperparameters is not performed. We also exclude prior knowledge of any OOD data, in contrast to methods which include such information [10].
We introduce a novel training-free and hyperparameter tuning-free approach for the domain adaptation of large pretrained models to new classification tasks, with accompanying OOD detection capability. Related to distance-based OOD detection using Mahalanobis Distance [11] [12] [13] and prototypical networks [14], our method calculates closed-form distribution statistics using a single inference pass across a target dataset. Once collected, these statistics enables both classification and OOD detection using large pretrained embedding models, even when the target task is outside the knowledge of the model. This process requires no training, only inference, drastically reducing the computational requirements of adapting large models to new domains. The resultant classifiers leverage the large model's learned features and possess robust OOD detection capabilities.
A. Distance-Based OOD Detection for Trained Classifiers
OOD detection using Mahalanobis distance [11] assumes that a trained classifier learns to cluster samples belonging to each class within the latent space produced by the model's penultimate layer. The mean location of each class's training samples within the latent space and a tied covariance matrix of the sample's distribution around these class means define the samples' distribution in the latent space. When test samples are classified, the relative likelihood that they do not belong to any known class is calculated as the squared Mahalanobis distance from the sample's latent vector to the nearest class center.
Other performant OOD detection methods for trained classifiers have more stringent requirements which make them ill-suited to our goals. For example, Maximum Softmax Probability relies on the model's final classification logit output [4] [5], while K-Nearest Neighbors for OOD detection requires comparison to individual known samples at inference time, which can become expensive for large datasets [15].
B. Zero-shot classification and OOD detection methods for Contrastive Language Image Pretrained (CLIP) models
While most large pretrained embedding models must be finetuned to function as classifiers, CLIP models' multimodal alignment enables zero-shot classification on image tasks where descriptions of the classes are within the learned domain of the model [3] [2]. However, this capability does not extend to specialized cases where the target classification task falls outside the model's experience.
Several OOD detection methods have been proposed for CLIP models [7]; some learn new tokens for the text encoder through training or employ other finetuning methods. Others can operate in a training-free setting, but only in cases where the class labels are within the model's pretraining [8] [9].
C. Mahalanobis Classification and Prototypical Networks
Mahalanobis distance has been widely used for classification in classical machine learning [16]. In the context of neural networks, it has been applied to classification on latent space representations in methods related to Prototypical Networks [14], where mean representations are used as “prototypes” of the corresponding classes, and classification is performed by comparing new samples to these centroids. While the original method used Euclidean distance, improved methods in this vein can outperform baseline distance metrics on training-free domain adaptation for classification and operate predominantly in few-shot settings. However, these extensions generally require training model parameters or tuning hyperparameters to adapt to new domains [17] [18] [19]. This represents a trade-off in comparison to our method, which uses the information from more data samples to adapt to new domains with no finetuning or hyperparameter searches. Many improved prototypical methods also focus specifically on classification, whereas we prioritize high performance in OOD detection for robustness.
III. METHOD
We seek to adapt large pretrained models as classifiers with robust OOD detection capability, without the need for finetuning, hyperparameter searches, or prior knowledge from training. We base our method on OOD detection using Mahalanobis distance; although it was introduced for trained classifiers, this method is fully post-hoc and does not require specialized training modifications. Additionally, it uses only the latent space and not the classification logits of trained models, unlike many widely used OOD detection methods [4] [5] [20]. However, the OOD method was still formulated for trained classifiers, and its core mathematical assumption of clustering within the latent space is predicated upon the model being trained as such [11]. We will show that this method can be adapted to our use case through low-cost modifications.
A. Statistic Collection through Inference
This method begins by gathering two statistics describing the training data’s distribution in the model’s latent space: class mean vectors, and a tied covariance matrix. Using a single inference pass of the training set, we collect the latent vectors X and calculate these statistics:
We can then calculate the relative likelihood that a sample belongs to a given cluster by measuring the squared Mahalanobis distance between the sample and the cluster's mean. This implicitly models the latent distribution of each cluster as a multivariate normal, with all clusters sharing a tied covariance matrix . We take the minimum of these distances as a metric to indicate whether a sample belongs to the total in-distribution, as belonging to any of the clusters implies membership.
We classify a sample as OOD if the value of our metric d is greater than some threshold value :
The threshold can be selected as the value which correctly identifies a certain percentage of true positive samples. In keeping with other works, we test both a set value at a True Positive Rate (TPR) of 95%, as well as a range of values to calculate the Receiver Operating Characteristic (ROC) curve (Section IV).
This method’s advantage over the simpler Euclidean distance lies in its ability to account for ellipsoidal clusters, where L2 would assume that the clusters are always spherical in shape. This allows for the metric to more closely fit the data’s distribution.
B. Using Mahalanobis for Classification
By employing this method for OOD detection, we have produced the information necessary to also classify ID samples [16]; we simply assign the sample to the closest class cluster, as measured by squared Mahalanobis distance:
C. Covariance Matrix Inversion Analysis
We can apply this method directly to large pretrained models (see Section IV), but the latent space’s non-specialized feature set may cause issues in practice due to discrepancies between the sample distribution and the overall span of the latent space. Because it measures a continuous value rather than a simple discrete assignment, OOD detection may be especially sensitive to any noise introduced by this potential misalignment. To understand and address this gap without finetuning or hyperparameter searches, we examine the mechanics of Mahalanobis distance to find the pitfalls of this method when the model has not been trained exclusively on the in-distribution.
Mahalanobis distance is equivalent to the Euclidean distance between projections through a whitening transform, where samples are decorrelated and standardized to a mean of zero and a variance of one; the whitening matrix of Mahalanobis/ZCA whitening [21] for a centered dataset with covariance is given as:
In our application, the tied covariance matrix of the samples centered on the class means, as a positive semi-definite matrix, can be inverted via Eigendecomposition:
This yields a whitening matrix of the form:
Observe that, analogously to z-score normalization in uncorrelated data, the features are divided by the inverse square root of the eigenvalues. Consider the task at hand, where the latent distribution of the training set may span only a small subset of the model's latent space. Many features may be unused, resulting in a lower effective dimensionality and some eigenvalues approaching zero magnitude. Mahalanobis distance would magnify these features, degrading our metric with noise.
To solve this, we employ rank reduction, inspired by Principal Component Analysis (PCA) [22]. PCA decorrelates features, and can reduce the dimensionality of data by truncating a decorrelating projection matrix to exclude low-variance features. To preserve Mahalanobis distance's ellipsoidal clustering while avoiding magnification of irrelevant features, we can truncate our whitening matrix, eliminating features with small eigenvalues and keeping the top-k highest variance projected features:
While related to PCA, our method retains dimensions describing the variance around class clusters, rather than the global mean. This distinction ensures that the reduced feature space focuses on features which determine membership or nonconformity w.r.t. the clusters.
Although low rank matrices are noninvertible, we can directly construct a rank-reduced inverse covariance matrix via the eigendecomposition to compute a Reduced-rank Mahalanobis distance (ReMaD):
To select the value of k, we employ the Explained Variance Ratio method [22] commonly used with PCA, where the number of features to keep is chosen by selecting those which retain a specified ratio r of the data's variance, as measured by the eigenvalues:
To select the value of the explained variance ratio threshold without searching over a validation set, we analyze the scree plot of the training data's covariance matrix: if the distribution of the variance is thin-tailed, we set to retain most of the data's descriptive variance while eliminating low-variance features. However, if the distribution is thick-tailed, such a high threshold ratio may result in keeping many noisy features, so we truncate earlier at . We quantify this intuition with a simple metric: we truncate early if the smallest eigenvalue at (in the tail) exceeds 1% of the largest eigenvalue's magnitude (at the peak):
This simple approach allows us to quantify the choice of r without introducing hyperparameter tuning over a validation set, which may not be available for many real OOD detection tasks. It also minimizes both the computational cost and the potential for overfitting.
By substituting into Equations 3 and 5, we obtain a modified distance metric which we can use for both classification and OOD detection:
This effectively specializes the metric to the target distribution without finetuning the embedding model, offers the advantages of ellipsoidal clustering, and discards noisy features which may hinder proper detection of out-of-distribution
Algorithm 1 OOD Detection and Classification using Rank-Reduced Mahalanobis Distance
1 Training data latent embeddings , labels 2 Test data latent embeddings 3 Detection threshold 4 for : 5 Set 6 Set 7 Calculate 8 end for 9 Calculate 10 Perform Eigendecomposition: 11 Calculate Calculate 12 Select 13 Set 14 Calculate 15 for : 16 17 18 end for
samples. The full process for preprocessing and inference is detailed in Algorithm 1.
IV. EXPERIMENTS
A. Datasets and Models
We test our method on four target classification datasets: CIFAR-10 [23], CIFAR-100 [23], ImageNet1k [24], and MIDOG [25]. For CIFAR-10, CIFAR-100, and ImageNet1k, we use the testing data splits introduced in OpenOODv1.5 [26] [27], an out-of-distribution detection benchmark which provides standardized testing splits across a large set of benchmark image datasets (Table I). To assess a case outside of most general pretrained models' knowledgebases, we employ the in- and out-of-distribution data splits for the MIDOG dataset introduced by OpenMIBOOD [28], an extension of OpenOOD for OOD detection in biomedical images (Table I). The ID samples include three labeled classes from breast carcinoma imaging: mitotic cells, imposter cells, and background tissue;
TABLE I OUT-OF-DISTRIBUTION TEST SETS FROM OPENOODv1.5 AND OPENMIBOOD
| ID | Near-OOD | Far-OOD |
|---|---|---|
| ImageNet1k | SSB-hard [32], NINCO [31] | iNaturalist [33], Textures [34], OpenImages-O [35] |
| CIFAR-10 | CIFAR-100, Tiny ImageNet [36] | MNIST [37], SVHN [38], Textures, Places365 [39] |
| CIFAR-100 | CIFAR-10, Tiny ImageNet | MNIST, SVHN, Textures, Places365 |
| MIDOG 1a | MIDOG 2, 3, 4, 5, 6a, 6b, 7 | CCAgT [41], FNAC2019 [40] |
this represents a difficult task which falls far outside the regularly tested range of zero-shot classification tasks on CLIP models. Both benchmarks divide out-of-distribution testing sets into two broad categories: Near-OOD contains image sets that are similar to the in-distribution, while Far-OOD includes less similar sets.
We employ three widely available large pretrained CLIP models: the original CLIP from OpenAI [3], and the more recent and performant SigLip2 [29] and MetaCLIP2 [30]; we use the “base” version of each of these models with a 16px patch size (commonly referred to as ViT-B/16), offering a balance between capability and size. We measure these model’s zero-shot classification capabilities as a baseline for training-free performance by a simplified and data-agnostic method, comparing test images to a set of captions formatted as “a photo of a {class label}.” This also allows us to verify our assumption that MIDOG lies outside the knowledge of these models; the accuracy of this method ranged from 22-32% (Table II). For OOD detection, we compare our method to two latent distance-based baselines: Euclidean distance, and unmodified Mahalanobis distance.
B. Results
Across the three CLIP image embedding models, our method's average performance in Near- and Far-OOD task categories exceeded both baselines in 22/24 cases (Table III). Our rank-reduced Mahalanobis OOD metric consistently achieved higher performance in OOD detection, as measured by Area Under the Receiver Operating Characteristic curve (AUC) and false positive rate at 95% true positive rate (FPR). In classification, our method greatly exceeded the zero-shot text embedding baseline; these methods are not closely comparable due to the baseline's use of the text encoder and our method's use of the training data, but these results provide some insight into the limitations of text label-based classification and the effectiveness of our method at domain transfer into unknown tasks.
TABLE II OUT-OF-DISTRIBUTION DETECTION RESULTS
| ImageNet1k | CIFAR-10 | CIFAR-100 | MIDOG | |||||
|---|---|---|---|---|---|---|---|---|
| Text Emb. | Ours | Text Emb. | Ours | Text Emb. | Ours | Text Emb. | Ours | |
| OpenAI CLIP | 0.5988 | 0.7257 | 0.8820 | 0.9450 | 0.5943 | 0.7723 | 0.3147 | 0.8088 |
| SigLIP2 | 0.6714 | 0.7915 | 0.9394 | 0.9576 | 0.7099 | 0.7942 | 0.2191 | 0.8406 |
| MetaCLIP2 | 0.6623 | 0.7421 | 0.9414 | 0.9723 | 0.7107 | 0.8374 | 0.3028 | 0.8088 |
TABLE III OUT-OF-DISTRIBUTION DETECTION RESULTS
| ImageNet1k Results | CIFAR-10 Results | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| L2 | Mahalanobis | Ours | L2 | Mahalanobis | Ours | ||||||||
| AUC | FPR | AUC | FPR | AUC | FPR | AUC | FPR | AUC | FPR | AUC | FPR | ||
| OpenAI CLIP | Near | 0.5991 | 0.8026 | 0.6402 | 0.8023 | 0.6575 | 0.8020 | 0.7583 | 0.6418 | 0.9144 | 0.3549 | 0.9209 | 0.3448 |
| Far | 0.4995 | 0.8610 | 0.7735 | 0.4861 | 0.8249 | 0.4513 | 0.8519 | 0.2924 | 0.9965 | 0.0124 | 0.9972 | 0.0123 | |
| SigLip2 | Near | 0.5626 | 0.8485 | 0.7055 | 0.7406 | 0.7362 | 0.7350 | 0.8181 | 0.6393 | 0.9287 | 0.3651 | 0.9316 | 0.3527 |
| Far | 0.6519 | 0.6445 | 0.8557 | 0.3121 | 0.9051 | 0.2688 | 0.8505 | 0.3168 | 0.9924 | 0.0290 | 0.9939 | 0.0259 | |
| MetaCLIP2 | Near | 0.6981 | 0.7315 | 0.7393 | 0.6728 | 0.7594 | 0.6754 | 0.8402 | 0.4379 | 0.9226 | 0.3348 | 0.9320 | 0.3176 |
| Far | 0.7804 | 0.5356 | 0.8283 | 0.3667 | 0.9064 | 0.2956 | 0.9673 | 0.1130 | 0.9975 | 0.0055 | 0.9994 | 0.0019 | |
| CIFAR-100 Results | MIDOG Results | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| L2 | Mahalanobis | Ours | L2 | Mahalanobis | Ours | ||||||||
| AUC | FPR | AUC | FPR | AUC | FPR | AUC | FPR | AUC | FPR | AUC | FPR | ||
| OpenAI CLIP | Near | 0.7310 | 0.7494 | 0.8591 | 0.4156 | 0.8668 | 0.4044 | 0.6003 | 0.8668 | 0.8812 | 0.3011 | 0.8872 | 0.2965 |
| Far | 0.7460 | 0.4627 | 0.9860 | 0.0576 | 0.9829 | 0.0713 | 0.7491 | 0.4522 | 0.9996 | 0.0020 | 1.0000 | 0.0000 | |
| SigLip2 | Near | 0.6987 | 0.7923 | 0.8674 | 0.4424 | 0.8737 | 0.4199 | 0.7583 | 0.6096 | 0.8075 | 0.4491 | 0.8177 | 0.4297 |
| Far | 0.6458 | 0.5331 | 0.9544 | 0.1482 | 0.9560 | 0.1379 | 0.5739 | 0.8904 | 0.9942 | 0.0159 | 0.9962 | 0.0080 | |
| MetaCLIP2 | Near | 0.7668 | 0.5199 | 0.8402 | 0.4073 | 0.8480 | 0.3971 | 0.7472 | 0.6022 | 0.8780 | 0.2783 | 0.8809 | 0.2851 |
| Far | 0.9017 | 0.2330 | 0.9949 | 0.0114 | 0.9974 | 0.0103 | 1.0000 | 0.0000 | 1.0000 | 0.0000 | 1.0000 | 0.0000 | |
V. ANALYSIS
These results demonstrate that our method can effectively utilize large pretrained image embedding models for new classification and out-of-distribution detection tasks, refining classifier performance without training to increase robustness to anomalous data. Our rank reduction removed significant numbers of features in every case (Fig. 1), lending credence to our hypothesis that a specific dataset may effectively occupy a lower dimensional span of a model's latent space.
A single inference pass over the training set generates the statistics, requiring far less computational resources and lower device memory than finetuning using backpropagation, and no hyperparameter searches are required. Further, it allows domain adaptation to entirely new classification tasks without relying on any part of the trained model possessing relevant prior knowledge. While data is required, training is not, facilitating the rapid deployment of new classifiers as new tasks arise.
Additionally, because the model's weights are not modified for each new task, only the latent mean vectors and rank-reduced inverse covariance matrix must be stored. For each of the tested CLIP models with latent dimensions of 512-768,

ImageNet1k
CIFAR-10
CIFAR-100
MIDOG
--- k values
Fig. 1. Normalized scree plots of each dataset's latent space distribution with computed rank thresholds . Log scale plots are included for clarity to illustrate the differences in variance distribution among the datasets.
storing this data takes between 2 and 6MB per dataset, making this method a storage-efficient way to deploy classifiers for many different tasks by using the same pretrained model for all of them.
The observed results provide insight into the application of large pretrained models to new tasks, substantiating the intuition that any specific task uses a measurable subset of the model's latent space features. Further, they indicate that the removal of unused features can increase performance, demonstrating the value of a tuning-free approach to latent space reduction.
VI. Conclusion
We introduce ReMaD, a novel refinement method for domain adaptation of large pretrained models to new classification domains using only training data, without finetuning through backpropagation or relying on multimodal prior knowledge. We demonstrate competitive performance across four classification tasks, with high robustness to anomalous data as measured by OOD detection scores on a broad spectrum of benchmark datasets. In future work, our method could potentially be augmented to handle few-shot settings without introducing any tuning requirements; this would further expand its applicability to data-restricted tasks while retaining its ability to refine latent distributions for new domains with a single inference pass.
REFERENCES
[1] V. Sanh, L. Debut, J. Chaumond and T. Wolf, "DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter," in 5th Workshop on Energy Efficient Machine Learning and Cognitive Computing, NeurIPS 2019, 2019.
[2] F. Faghri, P. K. A. Vasu, C. Koc, V. Shankar, A. Toshev, O. Tuzel and H. Pouransari, "MobileCLIP2: Improving Multi-Modal Reinforced Training," arXiv preprint arXiv:2508.20691, 2025.
[3] A. Radford, J. W. Kim, C. Hallacy, A. Ramesh, G. Goh, S. Agarwal, G. Sastry, A. Askell, P. Mishkin, J. Clark, G. Krueger and I. Sutskever, "Learning Transferable Visual Models From Natural Language Supervision," in International Conference on Machine Learning, 2021.
[4] D. Hendrycks and K. Gimpel, "A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networks," in International Conference on Learning Representations, 2017.
[5] S. Liang, Y. Li and R. Srikant, "Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networks," in International Conference on Learning Representations (ICLR), 2018.
[6] R. Huang, A. Geng and Y. Li, "On the Importance of Gradients for Detecting Distributional Shifts in the Wild," in Advances in Neural Information Processing Systems, 2021.
[7] C. Li, E. Zhang, C. Geng and S. Chen, "Recent Advances in Out-of-Distribution Detection with CLIP-
Like Models: A Survey," arXiv preprint arXiv:2505.02448, 2025.
[8] Y. Ming, Z. Cai, J. Gu, Y. Sun, W. Li and Y. Li, "Delving into Out-of-Distribution Detection with Vision-Language Representations," arXiv preprint arXiv:2211.13445, 2022.
[9] Y. Li, B. Xiong, G. Chen and Y. Chen, "SeTAR: Out-of-Distribution Detection with Selective Low-Rank Approximation," in The Thirty-eighth Annual Conference on Neural Information Processing Systems, 2024.
[10] D. Hendrycks, M. Mazeika and T. Dietterich, "Deep Anomaly Detection with Outlier Exposure," in Proceedings of the International Conference on Learning Representations, 2019.
[11] K. Lee, K. Lee, H. Lee and J. Shin, "A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attacks," in Advances in Neural Information Processing Systems 31 (NeurIPS 2018), 2018.
[12] M. Mueller and M. Hein, "Mahalanobis++: Improving OOD Detection via Feature Normalization," arXiv preprint arXiv:2505.18032, 2025.
[13] J. Ren, S. Fort, J. Liu, A. G. Roy, S. Padhy and B. Lakshminarayanan, "A Simple Fix to Mahalanobis Distance for Improving Near-OOD Detection," arXiv preprint arXiv:2106.09022, 2021.
[14] J. Snell, K. Swersky and R. Zemel, "Prototypical networks for few-shot learning," in Proceedings of the 31st International Conference on Neural Information Processing Systems, 2017.
[15] Y. Sun, Y. Ming, X. Zhu and Y. Li, "Out-of-distribution Detection with Deep Nearest Neighbors," in ICML, 2022.
[16] R. O. Duda, P. E. Hart and D. G. Stork, Pattern Classification, 2nd ed., John Wiley & Sons, 2001.
[17] P. Bateni, R. Goyal, V. Masrani, F. Wood and L. Sigal, "Improved Few-Shot Visual Classification," in 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2020.
[18] M. K. Eunju Lee, J. Kwon, Y. Lee, J. Kim, S. Jang and Y. Kim, "HyCal: A Training-Free Prototype Calibration Method for Cross-Discipline Few-Shot Class-Incremental Learning," in Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2026.
[19] R. Na, D. Chen and C. Zhong, "Distance-weighted merged prototypical network with calibration for incremental few-shot relation classification," Neural Processing Letters, 2026.
[20] D. Hendrycks, M. Mazeika, S. Kadavath and D. Song, "Using Self-Supervised Learning Can Improve Model Robustness and Uncertainty," in Advances in Neural Information Processing Systems 32 (NeurIPS 2019), 2019.
[21] A. Kessy, A. Lewin and K. Strimmer, "Optimal Whitening and Decorrelation," The American Statistician, 2018.
[22] I. T. Jolliffe, Principal Component Analysis, Springer Series in Statistics, 2002.
[23] A. Krizhevsky, "Learning Multiple Layers of Features from Tiny Images," Technical Report, 2009.
[24] O. Russakovsky, J. Deng, H. Su, J. Krause, S. Satheesh, S. Ma, Z. Huang, A. Karpathy, A. Khosla, M. Bernstein, A. C. Berg and L. Fei-Fei, "ImageNet Large Scale Visual Recognition Challenge," International Journal of Computer Vision (IJCV), vol. 155, no. 3, pp. 211-252, 2015.
[25] M. Aubreville, F. Wilm, N. Stathonikos, K. Breininger, T. A. Donovan, S. Jabari, M. Veta, J. Ganz, J. Ammeling, P. J. v. Diest, R. Klopfleisch and C. A. Bertram, "A comprehensive multi-domain dataset for mitotic figure detection," Sci Data, vol. 10, no. 484, 2023.
[26] J. Zhang, J. Yang, P. Wang, H. Wang, Y. Lin, H. Zhang, Y. Sun, X. Du, K. Zhou, W. Zhang, Y. Li, Z. Liu, Y. Chen and L. Hai, "OpenOOD v1.5: Enhanced Benchmark for Out-of-Distribution Detection," arXiv preprint arXiv:2306.09301, 2023.
[27] J. Yang, P. Wang, D. Zou, Z. Zhou, K. Ding, W. Peng, H. Wang, G. Chen, B. Li, Y. Sun, X. Du, K. Zhou, W. Zhang, D. Hendrycks, Y. Li and Z. Liu, "OpenOOD: Benchmarking Generalized Out-of-Distribution Detection," Thirty-sixth Conference on Neural Information Processing Systems Datasets and Benchmarks Track, 2022.
[28] M. Gutbrod, D. Rauber, D. W. Nunes and C. Palm, "OpenMIBOOD: Open Medical Imaging Benchmarks for Out-Of-Distribution Detection," in Proceedings of the Computer Vision and Pattern Recognition Conference (CVPR), 2025.
[29] M. Tschannen, A. Gritsenko, X. Wang, M. F. Naeem, I. Alabdulmohsin, N. Parthasarathy, T. Evans, L. Beyer, Y. Xia, B. Mustafa, O. Hénaff, J. Harmsen, r. Steiner and X. Zhai, "SigLIP 2: Multilingual Vision-Language Encoders with Improved Semantic Understanding, Localization, and Dense Features," arXiv preprint, arXiv:2502.14786, 2025.
[30] Y.-S. Chuang, Y. Li, D. Wang, C.-F. Yeh, K. Lyu, R. Raghavendra, J. Glass, L. Huang, J. Weston, L. Zettlemoyer, X. Chen, Z. Liu, S. Xie, W.-t. Yih, S.-W. Li and H. Xu, "Meta CLIP 2: A Worldwide Scaling Recipe," arXiv preprint arXiv:2507.22062, 2025.
[31] J. Bitterwolf, M. Müller and M. Hein, "In or out? fixing imagenet out-of-distribution detection evaluation," arXiv preprint arXiv:2306.00826, 2023.
[32] S. Vaze, K. Han, A. Vedaldi and A. Zisserman, "Open-set recognition: A good closed-set classifier is all you need?," in International Conference on Learning Representations, 2022.
[33] G. V. Horn, O. M. Aodha, Y. Song, Y. Cui, C. Sun, A. Shepard, H. Adam, P. Perona and S. Belongie, "The inaturalist species classification and detection dataset," in Proceedings of the IEEE conference on computer vision and pattern recognition, 2018.
[34] M. Cimpoi, S. Maji, I. Kokkinos, S. Mohamed and A. Vedaldi, "Describing textures in the wild," in Proceedings of the IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), 2014.
[35] H. Wang, Z. Li, L. Feng and W. Zhang, "Vim: Out-of-distribution with virtual-logit matching," in International Conference on Learning Representations, 2022.
[36] Y. Le and X. Yang, "Tiny ImageNet Visual Recognition Challenge," CS231n Course Project Report, 2015.
[37] Y. LeCun, C. Cortez and C. C. Burges, "The MNIST Handwritten Digit Database," ATT Labs, 2010.
[38] Y. Netzer, T. Wang, A. Coates, A. Bissacco, B. Wu and A. Y. Ng, "Reading Digits in Natural Images with Unsupervised Feature Learning," in NIPS Workshop on Deep Learning and Unsupervised Feature Learning, 2011.
[39] B. Zhou, L. Agata, A. Khosla, A. Oliva and A. Torralba, "Places: A 10 million Image Database for Scene Recognition," in IEEE Transactions on Pattern Analysis and Machine Intelligence, 2017.
[40] A. R. Saikia, K. Bora, L. B. Mahanta and A. K. Das, "Comparative assessment of CNN architectures for classification of breast FNAC images," Tissue and Cell, 2019.
[41] A. V. Matias, J. G. A. Amorim, L. A. B. Macarini, A. Cerentini, A. S. C. Onofre, F. B. D. M. Onofre, F. P. Daltoé, M. R. Stemmer and A. v. Wangenheim, "What is the state of the art of computer vision-assisted cytology? A Systematic Literature Review," Computerized Medical Imaging and Graphics, 2021.