arXiv:2609.09678cs.AISep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.09678

Safe to Stop? Risk-Constrained Stopping for Sequential Clinical Diagnosis Agents

Yuexin Wu, Vasile Rus

Abstract

Clinical diagnosis agents must decide not only what test to request next, but also when to diagnose or defer. Existing agent benchmarks largely evaluate accuracy after fixed or unconstrained interaction, leaving autonomous stopping reliability implicit. We present CROS, a risk-constrained stopping layer combining state-wise error ranking, policy design on disjoint development splits, and LTT-style exact tests of selective diagnostic error and minimum autonomous coverage for complete sequential policies. Its finite-sample guarantee requires the candidate family, testing rule, and any randomization to be frozen before calibration labels are accessed. On a 1,834-episode MIMIC-derived abdominal-pain benchmark, the full ranker achieves exploratory state-error AUROC 0.853, compared with 0.715 for maximum class probability and 0.552 for the backbone's native stop score. On the previously viewed 367-episode evaluation split, analytically averaging over the frozen CROS-Mix weights yields 16.9% selective error at 78.8% coverage, cost 5.57, and 0.68 tests, versus 30.8% error at 100% coverage, cost 8.14, and 1.53 tests under native stopping. Forced continuation is non-monotone: error is 28.3% with HPI alone and 34.3% after full workup. However, the uniform-weight mixture ablation is cheaper on this viewed split despite missing the locked development margins, and CROS-Mix nominally satisfies the joint criterion in only 6 of 20 development resplits. Because evaluation labels were inspected during earlier development, these findings provide exploratory feasibility and audit evidence, not a confirmatory safety certificate.

1 Introduction

Language-model agents can generate differential diagnoses, request tests, read new findings, and revise their hypotheses. Recent systems and benchmarks have made this interaction increasingly realistic [Hager et al., 2024, Schmidgall et al., 2024, Liu et al., 2024, Bani-Harouni et al., 2026]. Yet a central decision remains weakly specified: when should the agent stop acquiring information and commit to an autonomous diagnosis? Stopping too early can miss a consequential disease; stopping too late wastes tests and may expose patients to avoidable procedures. Uncalibrated confidence thresholds provide no finite-sample joint risk–coverage guarantee, while unconstrained empirical cost minimization can overfit the selection sample [Angelopoulos et al., 2025, Laufer-Goldshtein et al., 2023].

We formulate sequential diagnosis as selective, risk-constrained stopping. At each stage the agent observes the history, proposes a diagnosis and next test, and the stopping layer either accepts the diagnosis, continues the shared acquisition trajectory, or defers. The desired policy minimizes resource cost subject to two population constraints: conditional diagnostic error among autonomous decisions is at most α\alpha, and autonomous coverage is at least γ\gamma. This differs from ordinary selective

Preprint.

classification [Geifman and El-Yaniv, 2017, 2019]: prediction quality and the information state both evolve over an agent trajectory.

Our method, CROS (Clinical Risk-constrained Optimal Stopping), separates representation, design, and calibration. Here, “optimal” means cost-minimizing within a finite, selection-frozen family of threshold-and-horizon policies; CROS does not solve unrestricted Bellman optimal stopping or optimize the backbone’s test-acquisition policy. First, a risk ranker scores the likelihood that the backbone’s current diagnosis is wrong. Second, a selection split freezes the candidate family and, optionally, a randomized mixture chosen to minimize expected cost. Third, a prospectively fresh calibration split can supply exact binomial pp-values for error and coverage. Multiple testing procedures from learn-then-test (LTT) [Angelopoulos et al., 2025] convert candidate-wise tests into a finite-sample guarantee. The stopping layer is backbone-agnostic and auditable: each action, observation, risk score, stop/continue/defer outcome, and calibration statistic is logged. In the present study, previously opened labels mean that the same calculations are exploratory calibration checks, not a realized prospective guarantee.

We make four contributions:

  1. We adapt and operationalize LTT-style joint testing of selective diagnostic error and minimum autonomous coverage for complete sequential stopping policies, obtaining an exact finite-sample guarantee when deterministic or episode-wise randomized policies are frozen before calibration.

  2. We instantiate episode-wise randomized mixtures of deterministic stopping policies; Proposition 1 shows that an optimal basic feasible mixture requires at most three component policies and remains compatible with exact calibration when randomized independently across episodes.

  3. We construct an auditable retrospective benchmark with 1,834 MIMIC-derived ED episodes, 12 nonuniform-cost actions, recorded-result missingness, and a common-backbone comparison that isolates stopping from diagnosis and test-proposal quality.

  4. We report both favorable and negative evidence: the full ranker out-ranks simple scores but weakens under diagnosis-language masking, forced continuation is non-monotone, optimized mixing does not dominate uniform mixing on evaluation, 20-resplit feasibility is unstable, and aggregate control does not ensure subgroup safety.

References (86)