DCV-ROOD Evaluation Framework: Dual Cross-Validation for Robust Out-of-Distribution Detection

Arantxa Urrea-Castaño, Nicolás Segura-Kunsagi, Juan Luis Suárez-Díaz, Rosana Montes, Francisco Herrera
9/6/2025
cs.LGcs.AIstat.ML

No official code found. Best implementation: ari-dasci/S-DCVROOD (0 stars, GPL-3.0, last commit 2025-11-07).

Abstract

Out-of-distribution (OOD) detection plays a key role in enhancing the robustness of artificial intelligence systems by identifying inputs that differ significantly from the training distribution, thereby preventing unreliable predictions and enabling appropriate fallback mechanisms. Developing reliable OOD detection methods is a significant challenge, and rigorous evaluation of these techniques is essential for ensuring their effectiveness, as it allows researchers to assess their performance under diverse conditions and to identify potential limitations or failure modes. Cross-validation (CV) has proven to be a highly effective tool for providing a reasonable estimate of the performance of a learning algorithm. Although OOD scenarios exhibit particular characteristics, an appropriate adaptation of CV can lead to a suitable evaluation framework for this setting. This work proposes a dual CV framework for robust evaluation of OOD detection models, aimed at improving the reliability of their assessment. The proposed evaluation framework aims to effectively integrate in-distribution (ID) and OOD data while accounting for their differing characteristics. To achieve this, ID data are partitioned using a conventional approach, whereas OOD data are divided by grouping samples based on their classes. Furthermore, we analyze the context of data with class hierarchy to propose a data splitting that considers the entire class hierarchy to obtain fair ID-OOD partitions to apply the proposed evaluation framework. This framework is called Dual Cross-Validation for Robust Out-of-Distribution Detection (DCV-ROOD). To test the validity of the evaluation framework, we selected a set of state-of-the-art OOD detection methods, both with and without outlier exposure. The results show that the method achieves very fast convergence to the true performance.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Software, experiments and results of the paper DCV-ROOD Evaluation Framework: Dual Cross-Validation for Robust Out-of-Distribution Detection

00Shell, PythonOct 16, 202511 months agoGPL-3.0

Similar Papers

Cite this paper

@article{urreacastao2025dcvrood,
  title  = {DCV-ROOD Evaluation Framework: Dual Cross-Validation for Robust Out-of-Distribution Detection},
  author = {Arantxa Urrea-Castaño and Nicolás Segura-Kunsagi and Juan Luis Suárez-Díaz and Rosana Montes and Francisco Herrera},
  year   = {2025},
  eprint = {2509.05778},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.05778v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.05778.svg)](https://codeofpaper.com/paper/2509.05778)

Discussion