arXiv:2609.07188cs.CVSep 2026

Manuscript Offprint

arXiv:2609.07188

CHILD: Human-in-the-Loop OOD Detection for Safe Clinical Deployment

Jinlun Ye, Kaiyue Lu, Runhe Lai, Xinhua Lu, Jia-Xin Zhuang, Ruixuan Wang

Jinlun Ye1,2,4^{1,2,4}, Kaiyue Lu1,2,4^{1,2,4}, Runhe Lai1,2,4^{1,2,4}, Xinhua Lu1,2,4^{1,2,4}, Jia-Xin Zhuang3^{3} (✉), and Ruixuan Wang1,2,4^{1,2,4} (✉)

1^{1} School of Computer Science and Engineering, Sun Yat-sen University, Guangzhou, China

2^{2} Peng Cheng Laboratory, Shenzhen, China

3^{3} Hong Kong University of Science and Technology, Hong Kong, China

4^{4} Key Laboratory of Machine Intelligence and Advanced Computing, MOE, Guangzhou, China

jzhuangad@connect.ust.hk, wangruix5@mail.sysu.edu.cn

Abstract. Out-of-distribution (OOD) detection is critical for safe deployment of medical AI systems. Recently, test-time adaptation (TTA) has emerged as a new paradigm for OOD detection, automatically adjusting detector behavior during deployment. However, such automatic adaptation mechanisms may raise safety concerns in safety-critical clinical environments. While physician oversight can mitigate these risks, it is resource-intensive and must be judiciously allocated. To reconcile safety with efficiency, we propose CHILD, a training-free framework designed to enhance streaming OOD detection via sparse human feedback. Operating under strict budget constraints, CHILD employs an adaptive risk-aware sample selection mechanism to pinpoint only the most decision-uncertain samples for review. Crucially, it maximizes the utility of this sparse feedback through a retrieval-based score calibration module, which refines model predictions using a compact feature cache without any parameter updates. Extensive experiments on four medical benchmarks demonstrate that CHILD turns limited supervision into significant reliability gains: with a sparse feedback budget of only 5%, it reduces the average FPR95 from 72.63% to 60.26% and improves AUROC from 75.53% to 81.85%, consistently outperforming state-of-the-art baselines. Our code is publicly available at https://github.com/figec/CHILD.

Keywords: OOD Detection · Human-in-the-Loop · Clinical Deployment.

1 Introduction

Deep learning models demonstrate strong performance in medical diagnosis when test samples belong to the known disease categories seen during training (in-distribution, ID). However, real-world clinical deployment inevitably exposes such systems to unseen disease categories, namely out-of-distribution (OOD) samples, where models may produce overconfident yet incorrect predictions [8,

J. Ye et al.

17], posing significant clinical risks. Consequently, OOD detection is critical for the safe deployment of medical artificial intelligence.

Existing research on OOD detection can be broadly categorized into two conventional paradigms. One line of work focuses on post-hoc scoring [5, 7, 8, 12–14, 22], where OOD scores are derived from model outputs or intermediate feature representations without modifying the training procedure. Another line explores training-time OOD-aware learning [3, 4, 15, 16, 24, 26], aiming to improve model reliability by regularization strategies or synthetic OOD exposure during training. More recently, TTA [2, 6, 25, 28, 29, 31] has emerged as a new paradigm. By leveraging unlabeled test data observed during deployment, TTA methods adjust model behavior at inference time and have been shown to achieve better OOD detection performance compared to static methods.

However, directly applying TTA methods to clinical deployment raises safety concerns. TTA methods adapt detection behavior automatically based solely on unlabeled test data, leading to unpredictable decision adjustments and progressive error accumulation [30]. At the same time, physician review of uncertain or high-risk cases is not an additional burden but an integral component of routine workflows. Such naturally available and reliable clinical supervision motivates a safer strategy: instead of relying entirely on automatic adaptation, selectively incorporating limited physician feedback can guide decision adjustment at inference time in a controlled and clinically aligned manner. Recent work [1] has explored the use of human feedback for OOD detection through additional training, but assumes offline access to the entire test set for feedback allocation and decision adjustment. In real clinical deployment, data arrive sequentially in a streaming manner, and decisions must be made online using only past observations, rendering offline methods impractical.

Therefore, we propose Clinical Human-In-the-Loop Decision (CHILD), a training-free human-in-the-loop OOD detection framework motivated by clinical deployment. CHILD consists of two components: (i) Risk-Aware Sample Selection, which adaptively identifies decision-uncertain regions in the score space and allocates limited physician feedback to samples with the highest potential clinical risk; and (ii) Score Calibration, which maintains compact feature caches of physician-reviewed ID/OOD samples and adjusts OOD scores via similarity-driven calibration, without any parameter updates. Our contributions are summarized as follows:

  1. We formulate a streaming human-in-the-loop OOD detection setting with strict feedback budget constraints, capturing the sequential decision-making requirements relevant to clinical deployment.

  2. We propose CHILD, a training-free and plug-and-play framework that selectively queries physician feedback for high-risk samples and incorporates it through lightweight score-level calibration.

  3. Extensive experiments on four medical benchmarks demonstrate that CHILD consistently improves performance with minimal feedback, reducing FPR95 by over 12% on average when combined with a state-of-the-art detector.

References (31)