Manuscript Offprint
arXiv:2610.40252Conformal Annotation with Randomized Expert Review: Application to Online Cell-Type Labeling
Abstract
Artificial intelligence (AI) models can accelerate cell-type annotation in digital pathology, but safely scaling their use requires determining—with error control—which model-generated labels can be accepted without expert review. This is challenging in evolving workflows because cell morphology and type composition may change across tissue regions and slides, making one-time calibration unreliable. We propose Conformal Annotation with Randomized Expert review under Distribution shift (CARED), a distribution-free framework that leverages randomized expert audit to achieve long-run error control for AI-assisted annotation under distribution shift. For each incoming batch, CARED uniformly selects a subset of cases for expert review and uses the acquired labels to calibrate later decisions. Among unreviewed cases, CARED determines a subset of them to safely skip expert labeling, while suggesting candidate labels for the others for downstream resolution. We prove that this workflow provides long-run control of cumulative error over both the full stream and the cells outside of the audit sample, without stationarity or exchangeability assumptions. We further enhance the framework by introducing class-conditional guarantees to ensure error control within important but rare cell types, together with a utility module to target more automatic resolutions, smaller candidate sets, and greater biological coherence, without compromising validity. Experiments on pancreas, lung, and ovary annotation streams, together with a stream constructed from real expert annotations, show that CARED controls the cumulative errors while a substantial fraction of cells (up to 70%) bypass expert review.
Keywords: Conformal inference; Trustworthy medical AI; Distribution shift; AI annotation
1 Introduction
Expert labeling underlies a broad range of scientific, engineering, and medical tasks. Experts examine and assign labels that guide downstream analyses or decisions on individual cases; the resulting labeled cases also form the datasets used to train and evaluate predictive models (Deng et al., 2009; Gulshan et al., 2016). Artificial intelligence (AI) models can accelerate this process by producing predictions at scale which, when sufficiently accurate, can serve as labels (Goel et al., 2023; Gilardi et al., 2023), thereby reducing or even bypassing expert review. However, accepting those “labels” without expert review leaves the prediction errors fundamentally unobserved (Northcutt et al., 2021; Bernhardt et al., 2022). This creates a tension between reducing expert effort and maintaining label quality (Candès et al., 2025; Huang et al., 2025).
We study this problem in image-based cell-type annotation, an important task in biomedical research and digital pathology (Ergen et al., 2024; Hou and Ji, 2024). In this task, a digitalized pathology slide contains many cells, each of which must be assigned a cell type to support downstream analysis (Angus et al., 2025;
*Correspondence to yjinstat@wharton.upenn.edu
Kim et al., 2026; Gaffney, 2025). Emerging AI systems now enable collaboration between pathologists and cell-level AI models: as pathologists proceed across a slide image, the model proposes labels for the cells, which can be reviewed by the pathologists to assign the labels. For example, the TissueLab platform (Li et al., 2025a) developed by the author(s) allows pathologists to navigate the slides and annotate cells with the support of an in-house AI model (Xu et al., 2025). Such collaborative systems streamline expert annotation, but every model proposal must still be inspected and finalized by a pathologist. Here, our goal is to identify cells whose AI predictions can be accepted without expert review while still ensuring long-run error control.
Recent work has begun to provide statistical guarantees for deciding which model-generated labels can be accepted without expert review. Assuming access to i.i.d. (or a uniform random subset of) labeled data, PAC Labels (Candès et al., 2025) calibrates a criterion for accepting AI labels in the unlabeled data while controlling the overall error rate, whereas Conformal Labeling (Huang et al., 2025) uses selective inference (Jin and Candès, 2023) to select AI labels for unlabeled data while controlling the false discovery rate among the selected labels. Their success relies on the data generating process ensuring the AI labeling errors in the labeled data are representative of the unknown errors in the new samples.
However, as a pathologist moves across regions of a whole-slide image (WSI) and then across slides, the cells may differ in both morphology and cell-type composition. Additional variation can arise from changes in specimen preparation, imaging devices, and data processing (Tellez et al., 2019; Stacke et al., 2020; Howard et al., 2021; Aubreville et al., 2023). Therefore, a rule calibrated on earlier data may fail to provide valid error control as annotation proceeds. Figure 1 visualizes such workflow shift using the NuClass model of Xu et al. (2025). We partition a pancreas WSI containing more than cells into 206 approximately equal-sized spatial regions. We then order the regions to mimic a pathologist's traversal across neighboring fields, with adaptive changes in viewing resolution; panel (a) shows this annotation order. For this diagnostic, we use the held-out label of each cell to compute the NuClass score assigned to its true class. Panel (b) reports the within-fraction empirical -quantiles of these scores, separately for each cell type. The dashed rose curve in each panel, read against the right vertical axis, gives the cell-type proportion within each fraction. The composition of cell types varies substantially, irregularly, and at times abruptly across batches. Moreover, the in-class distributions also vary substantially: if the cells within the same type are identically distributed across batches, the quantile curves would remain approximately constant (up to sampling variation). Instead, the curves fluctuate markedly over the annotation order. These within-cell-type distributional changes, together with the composition shifts, make one-time calibration unreliable.

(a)
(b)
Figure 1: Evidence of workflow shift in image-based cell-type annotation. A pancreas whole-slide image containing more than cells is partitioned into 206 approximately equal-sized spatial fractions. (a) Spatial locations of cells, with color indicating the order in which the fractions enter the annotation workflow. (b) Empirical -quantiles of the NuClass score assigned to the true class, shown separately by cell type for . The dashed rose curve in each panel (right vertical axis) shows the corresponding cell-type proportion. Its irregular and, at times, abrupt changes reveal shifts in cell-type composition, while the variation in the solid quantile curves reveals within-cell-type score-distribution changes over the workflow.

Figure 2: Schematic of the CARED workflow. (a) Incoming cell batches are processed sequentially: CARED forms prediction sets, cells with set size at most one skip expert labeling, and a random audit set is reviewed to update the conformal level for subsequent batches. (b) Zoom-in of the prediction set generation process highlighted by the gray dashed box in panel (a), where prior review information updates the conformal level and the scoring model with the utility module produces prediction sets for the incoming batch.
The first ingredient of CARED is to derive long-run control of cumulative annotation error from coverage of prediction sets (Vovk et al., 2005). At round , let denote the incoming unlabeled batch. For each cell , the model scores are converted to a prediction set of plausible cell types, where denotes the label space. CARED selects cells with for automatic annotation; otherwise, the set is returned to the pathologist as a candidate list for later resolution. We refer to the fraction of cells that bypass expert review as the skipped ratio. Let denote whether an automated annotation is produced, let denote the true cell type, and let denote the automated annotation when it exists. Then
Thus, the fraction of prediction sets failing to cover the true labels (miscoverage) over the unreviewed stream upper bounds the long-run fraction of unreviewed cells that receive erroneous automatic annotations.
A natural approach to maintain this guarantee as the annotation workflow changes is to recalibrate the prediction sets in an online fashion. Adaptive conformal inference (ACI) (Gibbs and Candes, 2021; Gibbs and Candès, 2024) provides a starting point: it updates prediction sets using newly observed labels and provides long-run control of cumulative miscoverage regardless of the distributional changes. The standard ACI, however, requires observing the true label after every prediction. Applied directly to annotation, it would request expert feedback for every incoming cell, leaving the burden of pathologist review unchanged.
CARED resolves this tension by proposing a novel random review mechanism. After prediction sets are constructed for , a subset with fraction is sampled uniformly for expert review (audit). The reviewed cells provide unbiased feedback for the whole batch. We prove that updating with the audited labels is sufficient to provide long-run control of cumulative prediction-set miscoverage over both the full stream and the cells not selected for audit. Such a guarantee is ensured by the random review mechanism only, requiring no exchangeability or stationarity of the data stream, and allows the batches and prediction models to evolve arbitrarily over time. An overview of CARED is in Figure 2.
For cell-type annotation, we further enhance the core framework in two ways. First, we use class-conditional calibration (Vovk et al., 2003) to achieve the same long-run guarantee within each true cell type, ensuring accuracy in clinically important but rare and challenging cell types. Second, we develop a utility-aware module that updates the AI scores to favor more accepted annotations, smaller candidate sets, and biologically coherent outputs.


Figure 3: Validity and efficiency of CARED across three tissue-specific tasks using the global NuClass score source (Section 4). The x-axis indicates the fraction of processed batches in the stream. (a) Cumulative annotation error (solid lines) and miscoverage (dashed lines) for the three tasks; the dotted horizontal line denotes the target error level . (b) Fraction of cases bypassing expert review among all incoming ones for the three tasks at .
We instantiate CARED with NuClass (Xu et al., 2025) in image-based cell-type annotation and evaluate it on streams constructed from spatially partitioned WSIs across multiple tissue types, together with a stream based on real expert annotations from TissueLab (Li et al., 2025a). Our experiments emulate various workflow shifts in real annotation processes to examine the long-run error control, reduction in expert review, prediction-set utility, and sensitivity to the audit budget and target error level. Figure 3 previews the main validity and efficiency results for CARED. Although only a fraction (p = 0.1) of each incoming batch is selected for expert audit, the cumulative annotation error (solid lines) remains below the target level, whereas the cumulative miscoverage (dashed lines) moves toward and remains near the target level ( ) as the annotation streams progress. At the same time, panel (b) shows that the fraction of cells skipping expert review reaches as high as 70%, with its value varying across tissues and label spaces. Together, the two panels illustrate how randomized partial review can support online error control while allowing model-generated labels to replace expert annotation for part of the data stream.
1.2 Related work
Statistical guarantees for AI annotation. Our work adds to the recent literature on how model predictions can replace a portion of expert annotations while retaining explicit guarantees on label quality. PAC Labels combines AI predictions with selectively acquired expert labels within a fixed target collection and controls the overall labeling error of the completed dataset with high probability (Candès et al., 2025). Conformal Labeling instead uses a labeled calibration sample to select AI-labeled cases from an i.i.d. test sample, controlling the false discovery rate among the selected labels (Huang et al., 2025). These methods address settings where the labeled data for calibrating the annotation rule are representative of the unlabeled cases. CARED considers a different regime with potentially arbitrary workflow shift where expert labels are obtained through randomized audits. Its target is long-run error control over the full and non-audited streams, which in turn bounds the fraction of non-audited cases receiving erroneous automatic annotations.
Human-in-the-loop annotation and partial-review workflows. Our workflow is closely related to human-in-the-loop annotation and partial-review diagnostic pipelines, where model outputs reduce expert effort. In computational pathology, prior work has studied semi-automated annotation interfaces and practical protocols for reducing expert-labeling time and labor (Cazzaniga et al., 2025; Montezuma et al., 2023, 2025) especially pathologist-supervised workflows (Bodén et al., 2021; Rau et al., 2024; Gaffney, 2025). These works motivate the partial-review setting but focus mainly on workflow design and implementation, whereas our objective is to provide statistical guarantees through partial review. A complementary literature on learning to defer jointly learns when a model should predict and when a case should be deferred to an expert (Mozannar and Sontag, 2020; Charusaie et al., 2022). These methods optimize the prediction and deferral loss, whereas CARED aims for distribution-free long-run validity for the non-deferred cases. As CARED constructs prediction sets for deferred cases, the philosophy is close to Jin et al. (2026).
Conformal methods for cell-type annotation. Cell-type annotation is an important task in multiple areas. In single-cell genomics, representative procedures include reference mapping, consensus label transfer, atlas alignment, transfer learning, and, more recently, LLM-assisted annotation (Lotfollahi et al., 2024; Ergen et al., 2024; Korsunsky et al., 2019; Lotfollahi et al., 2022; Hou and Ji, 2024). In parallel, image-based pathology has begun moving from generic tissue-level modeling toward direct cell-level annotation and classification from histopathology or multiplex tissue images (Li et al., 2025b; Xu et al., 2025). More recently, conformal methods have also been developed for cell-type annotation (López-De-Castro et al., 2025). In particular, Corbetta et al. (2026) highlighted the distribution shift issue and modeled distribution shift as label shift (assuming the distribution of data within each cell type is invariant) or covariate shift (assuming the label distribution given features is invariant). However, these models do not resolve the adaptive, unpredictable changes prevalent in cell-type annotation settings (Figure 1). In addition, we focus on annotation settings whereas these methods focus on the construction of prediction sets.
Adaptive conformal inference. Our random review mechanism extends the adaptive conformal inference (ACI) framework (Gibbs and Candes, 2021) whose representative extensions concern general update rules (Angelopoulos et al., 2024; Gibbs and Candès, 2024) and time-series settings (Zaffran et al., 2022; Xu and Xie, 2023). Recent work starts to relax the full-feedback requirement, such as intermittently observed labels in imitation learning (Zhao et al., 2025) and semi-bandit feedback in retrieval (Ge et al., 2024). In contrast, we present a random review mechanism to overcome the expert review bottleneck and yield error control guarantees on the entire stream and the unreviewed cases.
Label-conditional and utility-aware prediction sets. Apart from validity, a growing literature studies the utility of prediction sets. This includes studies of training or optimization schemes that seek smaller or better-shaped conformal outputs (Stutz et al., 2021; Kiyani et al., 2024). A related direction incorporates structure in the label space so that the candidate labels remain coherent with domain knowledge (Goren et al., 2024; Mortier et al., 2025; Jin et al., 2026). Our utility-aware module is in spirit close to this literature: it incorporates an optimization module to improve the skipped ratio, reduce prediction set size, and encourage outputs that respect specified relations among cell types.
2 Background and setup
2.1 Formal setup
We now describe the formal setup of the AI annotation problem. For generality, we describe the setup for a generic annotation task, while referring to cell-type annotation at times as examples. We consider a streaming workflow where the cases arrive sequentially in batches. At time step , the AI model receives an unlabeled batch with batch size .
The true labels belong to a finite label space , where is the total number of labels (cell types). The classification model used at time produces for each case a score vector , where is a model-produced score for class , with larger values indicating stronger support for assigning to that class. For each case , based on the score and the information available at each time , the task is to decide whether it can bypass the expert review that provides and, if so, to provide an automated annotation . This decision is denoted as , so means committing to the AI annotation.
We define the cumulative annotation error up to time t as
Note that this quantity is fundamentally unobserved, since is not observed for the cases with . Such an error rate is analogous to the notion considered in Candès et al. (2025).
In addition, we assume that expert feedback is available throughout the process, so the procedure can actively request expert feedback, denoted by an indicator where means the label is collected and observed before the next batch . Together, cases in fall into three categories:
• , whose true label is solicited from the expert and observed.
-
and , whose automated annotation is considered as trustworthy so is never collected from the expert.
-
, whose annotation cannot be automatically resolved by CARED but whose true label need not be observed before time ; instead, it can be obtained later on using as a candidate list, without interrupting our procedure.
We denote the audited set by . At each time point , given the data stream and previously solicited feedback , we aim to produce the decisions and while controlling the unobserved error rate below a user-specified level in the long run.
As previewed, we accompany each case with a prediction set . This set is said to cover the label if . Following the literature, we define the cumulative coverage error up to time as
As not all the 's are observed, this coverage error is also unobserved for each time point . Because every erroneous automated annotation necessarily corresponds to a prediction set that fails to contain the true label—either an empty set or a singleton set with the wrong label, the events counted by the numerator of form a subset of those for , and therefore we have .
Additional notations for class-conditional errors. In cell-type annotation, it is important to maintain error rates within each true label class, because some classes can be rare but clinically important. We now introduce analogous notation for class-conditional errors. For each class , let denote the subset of batch-t cells whose ground-truth class is . Then forms a partition of .
Correspondingly, let be the reviewed cells from class , and define the unreviewed subsets by , and . For a class- cell and a corresponding prediction set , define the coverage error , which records whether the prediction set fails to cover the true label. For any horizon , we write the group-wise annotation (within unreviewed cases) and coverage error as
In addition, we define the cumulative coverage error rates over reviewed and unreviewed cells as
2.2 Preliminaries on conformal prediction
We next briefly review conformal prediction algorithms which will be useful in motivating our procedure. These algorithms may operate in different settings than ours, and we introduce them in their original setup.
Split conformal prediction (SCP) is a canonical variant of conformal prediction (Vovk et al., 2005; Lei et al., 2018). Assuming access to labeled data , the goal is to construct a prediction set for the unknown label of a newly observed test point . The SCP method leverages any conformity score , which is a function whose training process is independent of . Oftentimes the score builds upon a pre-trained prediction model, and intuitively, the score measures how well the value “conforms” to the predicted value based on . The SCP prediction set takes the form
where is the empirical -quantile of , and for . Under the condition that are exchangeable, without any other assumptions on the data distribution or the score , the coverage guarantee of SCP holds in finite sample: .
The Mondrian conformal prediction (MCP) method extends SCP to achieve class-conditional coverage (Vovk et al., 2003), and we state this method here in accordance with SCP (assuming a pre-trained score function). Assuming access to the same data as above, and writing , we denote as the calibration indices of class . Then, let denote the empirical -quantile of . The MCP set for the new test point is given by
Assuming the within-class exchangeability of , these prediction sets satisfy
The essential advantage is that exchangeability is no longer imposed on the full distribution of . In an online process, the label proportion may drift arbitrarily, and MCP maintains in-class coverage as long as the within-class distributions remain exchangeable. Moreover, the class-conditional coverage guarantee it delivers is stronger than the marginal coverage guarantee and is particularly suitable for cell-type annotation in which certain classes can be consequential.
While SCP and MCP still rely on exchangeability structures within data, adaptive conformal inference (ACI) is an online procedure that maintains coverage even when the data distribution drifts arbitrarily (Gibbs and Candes, 2021). The key strategy is to adjust the sets adaptively based on newly observed labels. Consider an online setting where data points arrive one at a time, and the true label is revealed before time . The algorithm maintains a running level , and at step issues the prediction set as in the SCP construction above. Once the true label is revealed, it updates the level by
with a fixed step size and any initialization . For any sequence , whether stationary, drifting, or adversarially generated, this procedure delivers the long-run guarantee as . However, the true label must be revealed before the next prediction can be issued.
3 Method and theoretical guarantees
In the following, we introduce the CARED framework in Section 3.1, the optional enhancement in Section 3.2, and the error control guarantees in Section 3.3.
3.1 Conformal annotation with randomized expert review
At the beginning, we assume access to an initial labeled block , among which the cells belonging to class are denoted as . This block provides the initial labeled pool used to construct class-wise prediction sets. Moreover, we initialize the class-wise levels by for every . We shall maintain the labeled sets and the levels over time.
The procedure proceeds over time . At each time point , for each class , a calibration set is constructed to be the class- cells in the most recently reviewed batches, where is a pre-specified parameter. That is, we define . This choice is computationally convenient and allows the calibration set to track local distributional changes. However, for theoretical validity, any subset of all already-reviewed class-k cells, i.e., any subset of , are allowed. Also, a score is computed based on a prediction model (in this paper, the NuClass (Xu et al., 2025) model), which might be updated over time, e.g., using the utility module described in Section 3.2. For any , we denote the -th empirical quantile of the calibration set as
For completeness, we define for and for . When , we set for and for . Given the levels , we construct
Our updating rule below following ACI may lead to , yet the empirical quantiles are well-defined. To accommodate cases where , we define the enlarged set
where ties in the second case are broken randomly. Thus, is a singleton whenever . Since , we know . Our theory in Section 3.3 establishes the long-run coverage of , which translates to the long-run coverage of and the annotation error bound.
The levels are updated through an unbiased randomized rounding scheme. Fix a target reviewed fraction . At time , CARED chooses a realizable fraction so that is an integer and the cumulative reviewed fraction as ; see Appendix B.1 for details. Then we sample uniformly without replacement from the audit set of size . The annotation decision is
Whenever , we define the automated annotation as the unique element of the prediction set, . No automated annotation is produced when . The audited labels are then used to update the online levels for subsequent steps similar to ACI:
where is a pre-specified step size for class , and is the miscoverage indicator. In our experiments, we fix the class-wise step sizes according to cohort-specific class frequencies; the specific choices are given in Appendix C.1. Appendix D further discusses the performance of fixed step sizes compared with time-varying ones. The updated online levels are then used to compute the next batch's class-wise quantile cutoffs through (2). We summarize the procedure of CARED in Algorithm 1.
3.2 Optional model training with utility improvement in cell-type annotation
The procedure introduced in Section 3.1 works for any score functions , but the choice of the score function determines the form of the prediction sets. In this part, we introduce an optional module that adapts the score functions over time. Specifically, we parameterize the transformed score as , where is updated over time and is the original score given by the NuClass model. The construction of the score transformation is provided in Algorithm A.2 in Appendix A.3.
Utility metrics and training objective. Recall that the -th batch is , where . For any parameter , let denote the prediction set obtained using the transformed scores . The construction follows (1)–(2). Before updating and deciding , we first define
Algorithm 1 CARED
Input: Initial labeled block with labels in ; incoming batches ; target error level ; target reviewed fraction ; calibration window ; fixed step sizes , .
1: Set and for every .
2: for do
3: Receive and score functions .
4: for do
5: Set .
6: Compute according to (1).
7: end for
8: Compute and according to (2) and (3) for every .
9: Draw and set . ▶ See Appendix B.1
10: Sample uniformly without replacement with .
11: For every , set and .
12: Compute the unique for each with .
13: Obtain expert labels for all , and set for every .
14: For every , update .
15: end for
Output: Prediction sets , annotation decisions and annotation labels for .
what properties are good for prediction sets. Below we quantify the utility of prediction sets for a batch based on three criteria: (1) skipped ratio surrogate, (2) set size, and (3) structural coherence.
First, we encourage the score function to lead to a large fraction of automated annotations. This fraction (among cases not selected for expert audit) can be estimated using the entire batch: . In addition, since non-singleton sets will be used as references for experts to resolve the ambiguity, it is sensible to encourage small set sizes. Smaller sets leave fewer candidate labels for the subsequent narrowing-down step and are therefore more useful in human-in-the-loop decision making (Zhang et al., 2024; Dhillon et al., 2024). We thus consider the second metric . Finally, a non-singleton prediction set is more useful when the candidate labels respect the biological structures among the cell types (Kaymaz et al., 2021; Theunissen et al., 2024; Corbetta et al., 2026). We design a metric to reward structurally coherent prediction sets based on the subtype tree-structures in cell types; the detailed construction is given in Appendix A.1. The three components are combined into
where the weights are nonnegative; see Appendix C.1 for the choice in our applications. Thus, minimizing (5) penalizes large sets while rewarding structural coherence and a larger skipped-ratio.
Online score training. To train the score function, we first build a smooth surrogate for the objective . Specifically, since several terms involve indicators that are difficult for gradient descent updates, we replace these quantities via standard differentiable approximations. At each time , we initialize and perform gradient steps on the surrogate objective evaluated on the current unlabeled batch . Before each update, we compute the class-wise conformal thresholds from the labeled calibration sets using the current transformation . After each update, we recompute these thresholds and evaluate the original empirical objective on . Among the initialization and all gradient iterates, we select the parameter value with the lowest objective value as . Notably, CARED allows to depend on the current batch , provided that is constructed before the audit set is sampled. The online training procedure is summarized in Algorithm A.1 and detailed in Appendix A.2.
3.3 Theoretical guarantees
In this part, we present the main theoretical guarantee, which establishes long-run class-wise validity in CARED based on the random audit alone, regardless of the distribution drift and the score models. At a high level, the batch-wise ACI-style recursion controls the error within the reviewed cells, and the uniform random audit transfers this control to the full stream, including the cells that are not reviewed. These theoretical results help contextualize the quality guarantee for the automated annotations from CARED.
Recall the notations from Section 2.1: , , and denote the cumulative conformal errors over the audited cells, all cells, and unaudited cells that belong to class , respectively, up to time . The true class membership is unknown unless the case is reviewed by experts (i.e., ), and is used only for stating the guarantees. Let be the pre-review filtration, where is the sigma-field generated by the information after the prediction sets for are formed but before the audit set is sampled. In particular, the class counts and the coverage indicators for any are -measurable. Recall that are the fraction of cases sent for expert review in the batches.
We impose mild conditions on the data and the random audit, without imposing exchangeability or stationarity of the incoming batches or any parametric model on the data distribution.
Assumption 3.1. Fixing a target reviewed fraction , we assume that:
(i) The batch size is uniformly controlled, obeying for some finite, positive integers .
(ii) For every , the cumulative number of class-k cells diverges, i.e., as .
(iii) Conditional on , the audit set is drawn uniformly without replacement with .
(iv) The score function is adapted to .
Assumption 3.1(i) and (iii) can be ensured through appropriate batch construction and audit sampling. Moreover, (ii) is a mild condition that every cell type continues to occur and can be updated throughout the workflow so the within-class asymptotics apply. Finally, (iv) requires the score function to be determined before drawing the random audit, but can depend on the batch .
We begin with the guarantee on the expert-reviewed cells. The proof of Proposition 3.2 is in Appendix E.1.
Proposition 3.2 (Long-run coverage error control for reviewed cells). Fix any class , suppose the accumulated class-k frequency is bounded away from zero, i.e., for some constant . Under assumption 3.1, almost surely there exists some such that for all ,
where . Consequently, almost surely as .
Intuitively, the coverage guarantee on the reviewed cases inherit the guarantees from ACI. Our main result is that such guarantee translates to that on the entire stream, due to the unbiased random design. The proof of Theorem 3.3 is in Appendix E.2.
Theorem 3.3 (Long-run coverage error control for all cells). Under Assumption 3.1, for every class k, as , the cumulative miscoverage over all cells and the cells not reviewed by the experts satisfies
These within-class coverage guarantees, together with the growing conditions on the group sizes, imply the overall coverage guarantee, i.e., almost surely, and the coverage guarantee for all cases not reviewed by the experts by the lower-bounded audit probability, whose proofs are omitted for brevity. In a nutshell, it means that even though CARED only requests expert labels for a fraction of of cases (in our experiments, the fraction can be as low as 10% or even lower), the prediction sets for all the incoming cases are still asymptotically well-calibrated and adapted to the arbitrarily drifting workflow.
More importantly for deployment, because , the annotation error is upper bounded by miscoverage. We present this result in Corollary 3.4.
Corollary 3.4 (Long-run automated-annotation error control). Recall the overall cumulative annotation error and class-wise annotation error defined in Section 2.1. Under Assumption 3.1,
Like Theorem 3.3, these guarantees are distribution-free, requiring no exchangeability or stationarity conditions on the data stream. They also allow the AI models and scores to evolve arbitrarily over time. In addition, the per-class calibration ensures that the annotation error is rigorously controlled within every class, even though the true class memberships are unknown. This avoids neglecting clinically consequential but difficult-to-classify cell types. In practice, if the AI prediction quality is poor for one particular class, then CARED will accept fewer cases for automated annotation to maintain the error control.
For completeness, we establish an explicit convergence rate for the cumulative miscoverage error. Additional theory characterizing cumulative batch-wise deviations from the target level is in Appendix B.2.
Proposition 3.5 (Long-run error convergence rate). Under the CARED procedure, suppose that the class-frequency condition in Proposition 3.2 holds for every class. Then, for every class k,
4 Case study in cell-type annotation workflows
4.1 Data and annotation workflow
This case study evaluates CARED in the motivating cell-type annotation task where pathologists annotate cell types on whole-slide images (WSIs) in TissueLab (Li et al., 2025a). We describe the AI model, the tissue cohorts and their labels, and the construction of annotation streams.
We use the NuClass (Xu et al., 2025) model as the AI scores; it is a multi-scale histopathology model that detects nuclei and outputs a class-wise score vector for each detected cell. It provides three score sources, each used as the raw score : the global path, which incorporates the surrounding tissue context; the local path, which relies on nucleus-centered morphology; and the gated output, which adaptively fuses the two at the cell level. We use the three sources to show how CARED behaves under scores of different quality and sensitivity to tissue context. All cohorts below are fully held out from NuClass training and tuning.
The main experiments use three held-out cohorts from pancreas, lung, and ovary tissue, with label spaces of six, four, and three cell types, respectively (Table 1). The cohorts consist of one H&E-stained WSI per tissue, taken from three publicly available 10x Genomics Xenium datasets: FFPE pancreatic adenocarcinoma, non-small cell lung cancer, and ovarian serous carcinoma (10x Genomics, 2024c,a,b); see Appendix C for details on the H&E processing of the slide. We exclude cells on background or too close to the slide edge. Each cell was assigned a reference label from its spatial gene-expression profile: the 10x Genomics cell type with the highest normalized marker-gene score, which is viewed as the ground-truth cell type. Because these labels come from molecular measurements, they provide a reference independent of the H&E morphology. For audited cells, these reference labels are revealed to CARED to emulate expert review. For unaudited ones, they are used to compute the error rates only, and are never available to the procedure.
The label spaces reflect the cell populations. These cell types are critical because pathologists routinely distinguish these tissues based on cell's spatial arrangements. Furthermore, they define tissue function and the tumor microenvironment: endocrine cells form the islets of Langerhans in the pancreas, while T cells,
Table 1: Data used in the case study. Class proportions are computed over all cells in each cohort.
| Tissue cohort | # Cells | # Batches | Cell type (fractions %) |
|---|---|---|---|
| Pancreas | 103,166 | 206 | Acinar (12.8), Ductal (45.2), Endocrine (2.0), Endothelial (8.6), Fibroblast-like (27.6), T cell (3.8) |
| Lung | 61,490 | 123 | Endothelial (27.6), Epithelial malignant (61.8), T cell (5.9), Tumor-associated fibroblast (4.7) |
| Ovary | 150,748 | 301 | Endothelial (5.0), Epithelial malignant (85.3), Macrophage (9.7) |
macrophages, and tumor-associated fibroblasts shape tumor progression and response to immunotherapy in lung and ovarian cancer. In this dataset, several clinically relevant cell types are especially rare: in the pancreas cohort, endocrine cells and T cells account for only 1.95% and 3.77% of all cells. Due to the class imbalance, a marginal error guarantee could be met while misannotating most of these rare cells, so we primarily target the class-conditional error control throughout.
Annotation data streams. To emulate how cells reach an annotator, we partition each cohort into spatially contiguous regions containing between and cells. Each region plays the role of a field of view and forms one batch. One region, chosen at random, serves as the initial labeled block . The order in which the remaining regions are released is determined by annotation practice rather than by the tissue, so we consider three release schemes, each corresponding to a different practice:
-
Adjacent: the next region is chosen among the unreleased neighbors of the current one, mimicking a pathologist panning across neighboring fields (Figure 1(a)).
-
Random: regions are released in random order, mimicking the sampling of tiles or regions of interest when building annotated datasets (Qiu et al., 2023; Hägele et al., 2020).
-
Error-guided: the next region is selected by identifying the class whose cumulative error on audited cells deviates most from and releasing the region with the most cells predicted as that class. This mimics tools that steer annotators toward regions where the model currently struggles. Because each release depends on past audit outcomes, this scheme serves as an adversarial test with strong dependence; our guarantees still hold as long as the audit set is uniformly sampled given the past (Assumption 3.1(iii)).
The three schemes use the same cohorts, scoring model, and procedure, and differ only in the release order which determines the distribution drifts. Under the adjacent scheme, spatial autocorrelation yields gradual drift with abrupt changes at tissue-compartment boundaries (Figure 1); under the error-guided scheme, the drift is driven by the procedure's past outcomes. Both of them lead to strong non-exchangeability. In the random scheme, due to random ordering, the batches are exchangeable. This exchangeability, however, holds at the level of regions only, since cells within a region share morphology and composition. With a limited number of regions (Table 1), such exchangeability does not suffice to justify error control on the cell level in each realized stream as the guarantees in Section 3.3.
Expert review protocol and interface. Figure 4 presents a demo interface for the annotation protocol. When a subsequent batch is processed, the interface displays all cells in the batch to preserve the spatial and morphological context needed for expert judgment, but only the uniformly sampled audit set is flagged for review. Each flagged cell is outlined in the color of its highest-scoring class. The annotator inspects the flagged cells and corrects the displayed label whenever it is wrong. The resulting labels are then used in CARED to update the class-wise levels before the next batch is released. For unreviewed cells, CARED determines which of them to annotate automatically; otherwise, the cell is deferred, and its prediction set is shown as a candidate list. In the three held-out cohorts, the annotator's response is emulated by revealing the reference label of each flagged cell. Additional implementation details are reported in Appendix C.
Real expert annotation stream. To evaluate CARED on an annotation order produced by actual practice rather than by a release scheme, we also use expert annotations collected in TissueLab on a colon

Figure 4: Interface for one pancreas batch in the partial-review workflow. The left panel shows a local histology field with reviewed cells highlighted by class-specific colored outlines. After clicking on a reviewed cell, the right panel displays its annotation information, including the default label, current label, and conformal prediction set. This example illustrates a reviewed cell whose label has been modified.
WSI containing 220,501 cells. One annotator (a research scientist trained in histopathology annotation under pathologist supervision) annotated 1,374 cells over 37 rounds, in the order they chose while navigating the slide. The annotated cells are grouped into three classes: tumor (20.5%), muscle (45.0%), and others (34.5%). Both the stream order and the labels are determined by the expert behavior; results are reported in Section 4.4.
4.2 CARED controls cumulative annotation error
We present the cumulative coverage results using the global NuClass score; additional results for other score sources are reported in Appendix C. Unless otherwise stated, the experiments below use target error level , target reviewed fraction , and a fixed random seed 0.
Figure 5 reports the whole-stream cumulative coverage error trajectories (which upper bounds the annotation error) under the three batch-release schemes. Within each true cell type, miscoverage over the entire stream approaches in most settings, even though true types are observed only for the 10% audited cells. The largest remaining gaps occur for rare types, such as tumor-associated fibroblasts in the adjacent lung stream, consistent with slower convergence for rare classes (Proposition 3.5). We also summarize the marginal errors per tissue, which also approaches the target level in each batch-release scheme.
Comparison with static calibration. A common alternative is to calibrate once on a few labeled regions, as when annotating selected ROIs or tiles (Qiu et al., 2023; Hägele et al., 2020). In this case, both covariate shift and label shift can be amplified as we show in the introduction. We emulate this setting on the pancreas cohort: in each of 200 repetitions, we randomly choose 10 batches as the calibration data in standard split conformal prediction and class-conditional conformal prediction in Section 2.2, which are then applied to all remaining cells. CARED starts from the same batches and runs under the error-guided scheme with p = 0.1, without the utility module. All of them target the error control of . Across repetitions, the baselines' final marginal errors spread widely around , whereas CARED's concentrate at (Figure 6(a)). The gap widens within cell types (Figure 6(b)): class-wise calibration adjusts for class composition but not for morphological differences across regions, so its errors vary most for the rare endocrine cells. Because exchangeability holds only at the region level, such one-time calibration is valid on average over randomly sampled regions but not in a given run.
This category pools the original labels negative control, epithelial cells, lymphocytes, eosinophils, and plasma cells.

(a) Error-guided, pancreas

(b) Error-guided, lung

(c) Error-guided, ovary

(d) Error-guided, marginal

(e) Adjacent, pancreas

(f) Adjacent, lung

(g) Adjacent, ovary

(h) Adjacent, marginal

(i) Random, pancreas

(j) Random, lung

(k) Random, ovary

(1) Random, marginal
Figure 5: Cumulative error trajectories under the global NuClass score for three batch-release schemes. Rows correspond to the error-guided, adjacent, and random schemes, while columns correspond to pancreas, lung, ovary, and marginal results. The tissue-specific panels report class-wise cumulative error over time; the marginal panels report cumulative error by tissue against the relative time . All experiments use target error level and reviewed fraction . Dashed horizontal lines mark the target error level.

(a)
(b)
Figure 6: Comparison of final cumulative error on pancreas tissue using the global score source. Each experiment randomly selects 10 batches as calibration data for the baselines and as the initial batches for CARED. (a) Distribution of final cumulative marginal error over 200 repeated random experiments, where the dashed vertical line marks the target error level . (b) Empirical distributions of final class-wise error over the same 200 experiments for class-conditional conformal prediction and our method, shown separately by cell type. The dashed horizontal line is the target level .
4.3 Skipped ratio and prediction set utility
We measure the expert effort saved by the skipped ratio, the fraction of all cells that are not audited and receive an automated annotation, i.e., whose (restored) prediction set is a singleton (3). Figure 7 reports the skipped ratio at the final time T across three schemes and three tissue cohorts, both over all cells and stratified by the true cell types. The ratio computes the number of automatically annotated cells among all, including reviewed, cells. CARED allows a substantial fraction of cells to bypass expert labeling across the evaluated settings. In the four-class lung annotation task at p = 0.1 and , CARED allows skipping as much as 70% of cells on average and over 80% of epithelial malignant cells. The skipped ratio also varies across cell types within a tissue: for instance, almost no endocrine cells in pancreas are annotated automatically; this is because the AI predictions are less reliable for this class so CARED defers more cells of this class.

(a) Error-guided, pancreas

(b) Adjacent, pancreas

(c) Random, pancreas

(d) Error-guided, lung

(e) Adjacent, lung

(f) Random, lung

(g) Error-guided, ovary

(h) Adjacent, ovary

(i) Random, ovary
Figure 7: Final skipped ratios using the global NuClass score. Rows correspond to tissues, while columns correspond to batch-release schemes. Each panel reports the marginal skipped ratio (bold) together with ratios stratified by true label. Here, EM denotes Epithelial Malignant and TAF denotes Tumor Associated Fibroblast. All experiments use target level and reviewed fraction .
Cells that are not skipped receive a prediction set of candidate labels, whose value depends on how easily it can be resolved later. We evaluate the utility-aware score transformation introduced in Section 3.2 on the pancreas cohort where non-singleton candidate lists are common. Figure 8 compares the raw and CARED-transformed scores in terms of skipped ratio, average prediction set size, and structural coherence. Across all three release schemes, the utility-aware transformation consistently yields smaller candidate lists and improves structural coherence. It also increases the skipped ratio under error-guided release while yielding comparable skipped ratios under adjacent and random release. These results show that the utility module reduces human effort while producing more coherent candidate sets across different batch-release orders. Results for lung and ovary are reported in Figure 13 in Appendix C.2: the utility-aware transformation yields pronounced improvements for ovary, while its benefits are limited in lung, where the skipped ratio is already high and most candidate lists are already coherent. Sensitivity of the utility metrics to the utility
Transformed score
Raw score

(a) Error-guided, skipped ratio ( )

(b) Error-guided, set size ( )

(c) Error-guided, structural coherence ( )

(d) Adjacent, skipped ratio ( )

(e) Adjacent, set size ( )

(f) Adjacent, structural coherence ( )

(g) Random, skipped ratio ( )

(h) Random, set size ( )

(i) Random, structural coherence ( )
Figure 8: Utility of the raw and transformed scores over time on pancreas tissue. Rows correspond to the batch-release schemes, while columns correspond to the metrics. Higher skipped ratio and structural coherence and smaller prediction sets indicate better utility (indicated by the arrows in panel captions).
learning rate, random seed, and target error level is further discussed in Figure 15 in Appendix C.3.2.
4.4 Results with real expert annotations
We examine CARED on the colon data described in Section 4.1, where both the order of the 37 annotation rounds and the 1,374 labels come from an expert navigating the slide. The distribution drift is generated by real practice but the dataset is also small: with p = 0.1, CARED observes about 137 audited labels in total, about 4 per round. To avoid extremely scarce cell types which make error evaluation challenging, we group the cells are grouped into three classes: tumor, muscle, and others, with others combining several rare cell types. We run CARED with target error level using the global, local, and gated NuClass scores.
Figure 9(a) shows the cumulative annotation-error (solid) and miscoverage (dashed) trajectories compared with the expert annotations used in evaluation. Across the three NuClass scores, the cumulative annotation error and miscoverage remain close to the target level, showing the robust performance of CARED in real data drifts. Figure 9(b) reports the cumulative saved annotation cost, indicating that the proposed framework remains effective under distribution drifts created by real expert annotations.
4.5 Sensitivity analysis on cumulative error
We next assess the sensitivity of CARED to the choice of reviewed fraction p, random seed, and target error level , using the pancreas cohort with the global NuClass score under the three batch-release schemes described in Section 4.1. Figure 10 summarizes the cumulative coverage error (which upper bounds the

(a) Cumulative annotation error and miscoverage

(b) Cumulative saved annotation cost
Figure 9: Results with real expert annotations on the colon dataset. (a) Cumulative annotation error (solid curves) and cumulative miscoverage (dashed curves) under the global, local, and gated NuClass score sources, with reviewed fraction and target error level ; the black dotted horizontal line marks this target. (b) Cumulative skipped ratio under the same setting.
annotation error) trajectories as we vary the review fraction , random seeds, and the target level .
Across all settings, the marginal coverage error moves towards the target level. Even with as few as a fraction of of reviewed cases, the trajectories can still stabilize and approach the target level. Reducing the review rate does slow the convergence: the audit-sampling term in the proof of Proposition 3.5 scales a , where is the total number of cells. The online-update term in Proposition 3.5 scales as , so a smaller shrinks the effective step size and the levels adapt more slowly. The corresponding class-wise results are reported in Appendix C.3 (Figure 14). They show the same overall pattern, with larger finite-sample fluctuations only for rare cell types such as endocrine cells, consistent with the class-frequency dependence in Proposition 3.5; the marginal trajectories remain stable.
CARED converges as expected under multiple seeds, which determine the initial region and the audit samples. Across seeds (middle column in Figure 10), trajectories differ in the early stage and approach the target level from below or above depending on the starting region, but end close to under every scheme.
Appendix D (Figure 17) further examines sensitivity to the scale of the fixed class-wise step sizes. On the pancreas task with the global NuClass score, scaling the default step sizes by factors from 0.1 to 10 consistently pulls the cumulative class-wise errors toward the target level , demonstrating stable calibration over a broad range of step-size scales.
Discussion
We proposed CARED, which decides which AI-generated cell-type labels can be accepted without expert review while the annotation workflow drifts. Its validity is guaranteed by the random audit design alone, which yields long-run class-conditional control of miscoverage, and hence of annotation error, over both the full stream and the unreviewed cells, without exchangeability or stationarity conditions. On whole-slide images from pancreas, lung, and ovary tissues and on a real expert annotation stream, it tightly controls the error within cell types while allowing up to 70% of cells to bypass expert review. It builds prediction sets for difficult cases whose AI annotations are not accurate enough for later resolution. Its performance is robust to the choice of the review fraction and random seeds. Overall, CARED offers a perspective on how a small amount of human feedback can calibrate uncertainty quantification and yield effective and safe decisions.
Several directions remain open. First, our guarantee is asymptotic, and finite-sample confidence bounds for the realized error rate will be useful. Second, our error control is over the entire stream instead of the cases selected for automated annotation; the random audit design may be extended to calibrate the selective

(a) Error-guided, across reviewed fractions

(b) Error-guided, across seeds

(c) Error-guided, across target levels

(d) Adjacent, across reviewed fractions

(e) Adjacent, across seeds

(f) Adjacent, across target levels

(g) Random, across reviewed fractions

(h) Random, across seeds

(i) Random, across target levels
Figure 10: Sensitivity analysis of marginal cumulative error on pancreas tissue with the global NuClass score source. Rows correspond to the error-guided, adjacent, and random batch release schemes, while columns vary the reviewed fraction p, the random seed, and the target error level . Dashed horizontal lines indicate the target error level used in each setting. In each column, only the parameter named in the column heading is varied; the other two retain their default values, p = 0.1, seed 0, and , used in Sections 4.2 and 4.3.
errors. Finally, we focus primarily on retrospective evaluation, and a prospective deployment in real-time annotation tasks could further quantify the saved benefits and impact on downstream analysis and decisions.
References
10x Genomics (2024a). FFPE Human Lung Cancer Data with Human Immuno-Oncology Profiling Panel and Custom Add-on. Xenium In Situ Gene Expression Dataset by Xenium Onboard Analysis v2.0.0. May 14.
10x Genomics (2024b). FFPE Human Ovarian Cancer Data with Human Immuno-Oncology Profiling Panel and Custom Add-on. Xenium In Situ Gene Expression Dataset by Xenium Onboard Analysis v2.0.0. May 14.
10x Genomics (2024c). FFPE Human Pancreatic Ductal Adenocarcinoma Data with Human Immuno-Oncology Profiling Panel. Xenium In Situ Gene Expression Dataset by Xenium Onboard Analysis v2.0.0. May 14.
Angelopoulos, A. N., Barber, R. F., and Bates, S. (2024). Online conformal prediction with decaying step sizes. arXiv preprint arXiv:2402.01139.
Angus, D. C., Khera, R., Lieu, T., Liu, V., Ahmad, F. S., Anderson, B., Bhavani, S. V., Bindman, A., Brennan, T., Celi, L. A., et al. (2025). Ai, health, and health care today and tomorrow: the JAMA summit report on artificial intelligence. Jama, 334(18):1650–1664.
Aubreville, M., Stathonikos, N., Bertram, C. A., Klopfleisch, R., Ter Hoeve, N., Ciompi, F., Wilm, F., Marzahl, C., Donovan, T. A., Maier, A., et al. (2023). Mitosis domain generalization in histopathology images—the MIDOG challenge. Medical Image Analysis, 84:102699.
Bernhardt, M., Castro, D. C., Tanno, R., Schwaighofer, A., Tezcan, K. C., Monteiro, M., Bannur, S., Lungren, M. P., Nori, A., Glocker, B., et al. (2022). Active label cleaning for improved dataset quality under resource constraints. Nature communications, 13(1):1161.
Bodén, A. C., Molin, J., Garvin, S., West, R. A., Lundström, C., and Treanor, D. (2021). The human-in-the-loop: an evaluation of pathologists' interaction with artificial intelligence in clinical practice. Histopathology, 79(2):210–218.
Candès, E. J., Ilyas, A., and Zrnic, T. (2025). Probably approximately correct labels. arXiv preprint arXiv:2506.10908.
Cazzaniga, G., Del Carro, F., Eccher, A., Becker, J. U., Gambaro, G., Rossi, M., Pieruzzi, F., Fraggetta, F., Pagni, F., and L'Imperio, V. (2025). Improving the annotation process in computational pathology: A pilot study with manual and semi-automated approaches on consumer and medical grade devices. Journal of Imaging Informatics in Medicine, 38(2):1112–1119.
Charusaie, M.-A., Mozannar, H., Sontag, D., and Samadi, S. (2022). Sample efficient learning of predictors that complement humans. In International Conference on Machine Learning, pages 2972–3005. PMLR.
Corbetta, D., Finos, L., Geistlinger, L., and Risso, D. (2026). Conformal inference for cell-type annotation with graph-structured constraints. Journal of the Royal Statistical Society Series C: Applied Statistics, page qlag037.
Deng, J., Dong, W., Socher, R., Li, L.-J., Li, K., and Fei-Fei, L. (2009). ImageNet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pages 248–255. IEEE.
Dhillon, G. S., Deligiannidis, G., and Rainforth, T. (2024). On the expected size of conformal prediction sets. In International Conference on Artificial Intelligence and Statistics, pages 1549–1557. PMLR.
Ergen, C., Xing, G., Xu, C., Kim, M., Jayasuriya, M., McGeever, E., Oliveira Pisco, A., Streets, A., and Yosef, N. (2024). Consensus prediction of cell type labels in single-cell data with popV. Nature Genetics, 56(12):2731–2738.
Freedman, D. A. (1975). On tail probabilities for martingales. the Annals of Probability, pages 100–118.
Gaffney, M. H. (2025). Pathology in the artificial intelligence era: Guiding innovation and implementation to preserve human insight. Academic Pathology, 12(1):100166.
Ge, H., Bastani, H., and Bastani, O. (2024). Stochastic online conformal prediction with semi-bandit feedback. arXiv preprint arXiv:2405.13268.
Gibbs, I. and Candes, E. (2021). Adaptive conformal inference under distribution shift. Advances in Neural Information Processing Systems, 34:1660–1672.
Gibbs, I. and Candès, E. J. (2024). Conformal inference for online prediction with arbitrary distribution shifts. Journal of Machine Learning Research, 25(162):1–36.
Gilardi, F., Alizadeh, M., and Kubli, M. (2023). ChatGPT outperforms crowd workers for text-annotation tasks. Proceedings of the National Academy of Sciences, 120(30):e2305016120.
Goel, A., Gueta, A., Gilon, O., Liu, C., Erell, S., Nguyen, L. H., Hao, X., Jaber, B., Reddy, S., Kartha, R., et al. (2023). LLMs accelerate annotation for medical information extraction. In machine learning for health (ML4H), pages 82–100. PMLR.
Goren, S., Galil, I., and El-Yaniv, R. (2024). Hierarchical selective classification. Advances in Neural Information Processing Systems, 37:111047–111073.
Gulshan, V., Peng, L., Coram, M., Stumpe, M. C., Wu, D., Narayanaswamy, A., Venugopalan, S., Widner, K., Madams, T., Cuadros, J., et al. (2016). Development and validation of a deep learning algorithm for detection of diabetic retinopathy in retinal fundus photographs. JAMA, 316(22):2402–2410.
Hägele, M., Seegerer, P., Lapuschkin, S., Bockmayr, M., Samek, W., Klauschen, F., Müller, K.-R., and Binder, A. (2020). Resolving challenges in deep learning-based analyses of histopathological images using explanation methods. Scientific reports, 10(1):6423.
Hall, P., Heyde, C. C., Birnbaum, Z., and Lukacs, E. (1980). Martingale limit theory and its application, volume 12. Elsevier.
Hou, W. and Ji, Z. (2024). Assessing GPT-4 for cell type annotation in single-cell RNA-seq analysis. Nature methods, 21(8):1462–1465.
Howard, F. M., Dolezal, J., Kochanny, S., Schulte, J., Chen, H., Heij, L., Huo, D., Nanda, R., Olopade, O. I., Kather, J. N., et al. (2021). The impact of site-specific digital histology signatures on deep learning model accuracy and bias. Nature communications, 12(1):4423.
Huang, H., Liao, W., Xi, H., Zeng, H., Zhao, M., and Wei, H. (2025). Model-agnostic selective labeling with provable statistical guarantees. arXiv preprint arXiv:2510.14581.
Jin, Y. and Candès, E. J. (2023). Selection by prediction with conformal p-values. Journal of Machine Learning Research, 24(244):1–41.
Jin, Y., Moon, I., and Zitnik, M. (2026). Act or defer: Error-controlled decision policies for medical foundation models. medRxiv, pages 2026–02.
Kaymaz, Y., Ganglberger, F., Tang, M., Haslinger, C., Fernandez-Albert, F., Lawless, N., and Sackton, T. B. (2021). HieRFIT: a hierarchical cell type classification tool for projections from complex single-cell atlas datasets. Bioinformatics, 37(23):4431–4436.
Kim, C., Gadgil, S. U., and Lee, S.-I. (2026). Transparency of medical artificial intelligence systems. Nature reviews bioengineering, 4(1):11–29.
Kiyani, S., Pappas, G., and Hassani, H. (2024). Length optimization in conformal prediction. Advances in Neural Information Processing Systems, 37:99519–99563.
Korsunsky, I., Millard, N., Fan, J., Slowikowski, K., Zhang, F., Wei, K., Baglaenko, Y., Brenner, M., Loh, P., and Raychaudhuri, S. (2019). Fast, sensitive and accurate integration of single-cell data with Harmony. Nature methods, 16(12):1289–1296.
Lei, J., G'Sell, M., Rinaldo, A., Tibshirani, R. J., and Wasserman, L. (2018). Distribution-free predictive inference for regression. Journal of the American Statistical Association, 113(523):1094–1111.
Li, S., Xu, J., Bao, T., Liu, Y., Liu, Y., Liu, Y., Wang, L., Lei, W., Wang, S., Xu, Y., et al. (2025a). A co-evolving agentic AI system for medical imaging analysis. arXiv preprint arXiv:2509.20279.
Li, Z., Mirjahanmardi, S. H., Sali, R., Eweje, F., Gopaulchan, M., Kloker, L., Zhang, X., Li, G., Jiang, Y., and Li, R. (2025b). Automated cell annotation and classification on histopathology for spatial biomarker discovery. Nature Communications, 16(1):6240.
Liang, J., Ren, Z., and Chen, Y. (2026). Optimal training-conditional regret for online conformal prediction. arXiv preprint arXiv:2602.16537.
López-De-Castro, M., García-Galindo, A., González-Gomariz, J., and Armañanzas, R. (2025). Conformal inference for reliable single cell RNA-seq annotation. Bioinformatics, 41(10):btaf521.
Lotfollahi, M., Hao, Y., Theis, F. J., and Satija, R. (2024). The future of rapid and automated single-cell data analysis using reference mapping. Cell, 187(10):2343–2358.
Lotfollahi, M., Naghipourfar, M., Luecken, M. D., Khajavi, M., Büttner, M., Wagenstetter, M., Avsec, Ž., Gayoso, A., Yosef, N., Interlandi, M., et al. (2022). Mapping single-cell data to reference atlases by transfer learning. Nature biotechnology, 40(1):121–130.
Montezuma, D., Oliveira, S. P., Neto, P. C., Oliveira, D., Monteiro, A., Cardoso, J. S., and Macedo-Pinto, I. (2023). Annotating for artificial intelligence applications in digital pathology: a practical guide for pathologists and researchers. Modern Pathology, 36(4):100086.
Montezuma, D., Oliveira, S. P., Tolkach, Y., Boor, P., Haragan, A., Carvalho, R., Della Mea, V., Kiehl, T.-R., Leh, S., Yousif, M., et al. (2025). Annotation practices in computational pathology: a european society of digital and integrative pathology (ESDIP) survey study. Laboratory Investigation, 105(3):102203.
Mortier, T., Javanmardi, A., Sale, Y., Hüllermeier, E., and Waegeman, W. (2025). Conformal prediction in hierarchical classification. arXiv preprint arXiv:2501.19038.
Mozannar, H. and Sontag, D. (2020). Consistent estimators for learning to defer to an expert. In International conference on machine learning, pages 7076–7087. PMLR.
Northcutt, C. G., Athalye, A., and Mueller, J. (2021). Pervasive label errors in test sets destabilize machine learning benchmarks. arXiv preprint arXiv:2103.14749.
Qiu, J., Wilm, F., Öttl, M., Schlereth, M., Liu, C., Heimann, T., Aubreville, M., and Breininger, K. (2023). Adaptive region selection for active learning in whole slide image semantic segmentation. In International Conference on Medical Image Computing and Computer-Assisted Intervention, pages 90–100. Springer.
Rau, T. T., Cross, W., Lastra, R. R., Lo, R. C.-L., Matoso, A., and Herrington, C. S. (2024). Closing the loop—the role of pathologists in digital and computational pathology research.
Stacke, K., Eilertsen, G., Unger, J., and Lundström, C. (2020). Measuring domain shift for deep learning in histopathology. IEEE journal of biomedical and health informatics, 25(2):325–336.
Stutz, D., Cemgil, A. T., Doucet, A., et al. (2021). Learning optimal conformal classifiers. arXiv preprint arXiv:2110.09192.
Tellez, D., Litjens, G., Bándi, P., Bulten, W., Bokhorst, J.-M., Ciompi, F., and Van Der Laak, J. (2019). Quantifying the effects of data augmentation and stain color normalization in convolutional neural networks for computational pathology. Medical image analysis, 58:101544.
Theunissen, L., Mortier, T., Saeys, Y., and Waegeman, W. (2024). Uncertainty-aware single-cell annotation with a hierarchical reject option. Bioinformatics, 40(3):btae128.
Vovk, V., Gammerman, A., and Shafer, G. (2005). Algorithmic learning in a random world. Springer.
Vovk, V., Lindsay, D., Nouretdinov, I., Gammerman, A., et al. (2003). Mondrian confidence machine. Technical Report.
Xu, C. and Xie, Y. (2023). Sequential predictive conformal inference for time series. In International Conference on Machine Learning, pages 38707–38727. PMLR.
Xu, Y., Cui, Y., Li, M., and Huang, Z. (2025). Adaptive multi-scale integration unlocks robust cell annotation in histopathology images. arXiv preprint arXiv:2511.13586.
Zaffran, M., Féron, O., Goude, Y., Josse, J., and Dieuleveut, A. (2022). Adaptive conformal predictions for time series. In International conference on machine learning, pages 25834–25866. PMLR.
Zhang, D., Chatzimparmpas, A., Kamali, N., and Hullman, J. (2024). Evaluating the utility of conformal prediction sets for ai-advised image labeling. In Proceedings of the 2024 CHI Conference on Human Factors in Computing Systems, pages 1–19.
Zhao, M., Admoni, H., Simmons, R., Ramdas, A., and Bajcsy, A. (2025). Conformalized interactive imitation learning: Handling expert shift and intermittent feedback. In International Conference on Learning Representations, volume 2025, pages 9238–9251.
A Details on utility module
This appendix gives further details on the optional utility module introduced in Section 3.2: the online selection algorithm, the structural-coherence metric, and the construction of the score transformation .
A.1 Structural coherence and surrogate loss
Structural coherence. The structural-coherence metric captures coarse organization in the label space. Let be a partition of into subtrees, where labels in the same subtree are structurally close (for example, by lineage, function, or morphology). Consider a map that assigns each class to its subtree. For case and subtree , define
and
Here indicates whether subtree m occurs in the prediction set, indicates whether the entire subtree is included, and indicates whether the set also contains a label outside subtree m. We call a prediction set structurally coherent if
This criterion penalizes a set that crosses subtree boundaries while including only a partial fragment of at least one touched subtree. It permits a small set contained in one subtree and a set formed by several complete subtrees, both of which represent uncertainty coherently. The batch-level score in (5) is
The rule in (A.1) is one admissible structural preference, not a required component of the conformal framework. Other domain-specific preferences, such as homogeneity, diversity, or a deeper hierarchy, can replace the structural component in the hard utility objeAsctive and its corresponding soft relaxation, while leaving the adaptive conformal framework in Section 3.1 unchanged.
Surrogate loss. The hard utility objective in (5) contains three operations that are not directly amenable to gradient-based updates: the membership indicators , the set-size indicator in , and the structural-coherence indicator in . We construct the surrogate loss by replacing the operations above in (5) as follows.
• Membership indicators. Given the class-wise conformal thresholds computed under parameter , is replaced by
where controls the smoothness of the approximation.
- Set-size indicator. We interpret as the soft inclusion probability of class . Then corresponds to including no class, while corresponds to including class and no other class. Summing the latter over therefore corresponds to including exactly one class. Therefore, the indicator is replaced by
- Structural-coherence indicator. In (A.1), we replace the membership indicators in , , and by , while retaining the max and min operations. Suppose this yields a surrogate , which reflects the extent of structural violation. We therefore replace by one minus this expression, so that larger values continue to represent greater structural coherence. The retained max and min operations are differentiable almost everywhere and admit subgradients at ties, so they can be handled directly in the gradient updates.
A.2 Online selection algorithm
Algorithm A.1 gives the online selection procedure sketched in Section 3.2. It selects the score-transformation parameter before the audit set is sampled.
Algorithm A.1 Online training of at time step
Input: Batch with raw score vectors ; calibration sets (denoted by ); current online levels ; candidate number ; learning rate .
Output: Selected parameter and score transformation .
1: ; ; .
2: for do
3: Compute class-wise conformal quantiles on using
4: gradient step
5: Using the updated , recompute according to Equation (1), construct prediction sets on according to Equation (2), and evaluate the utility objective
6: if then
7: ;
8: end if
9: end for
10: Set .
A.3 Score transformation construction
Algorithm A.2 Score transformation
Input: Score vector ; subtree partition of ; parameter matrices .
Output: Transformed score vector .
1:
2: for all
3:
4: for do
5:
6:
7: for do
8:
9: end for
10: for do
11:
12: end for
13:
14: end for
15: for all
16: return
unprocessed classes
leader class
updates scores associated to the leader subtree
updates scores associated to other subtrees
Algorithm A.2 gives the construction of the score transformation used in Section 3.2. Given a score vector and a parameter , it returns the transformed score . The construction of is guided by three principles. First, initializing and at zero should yield the identity map , so the unmodified score vector is always available as a baseline candidate. Second, every transformed entry should lie in , preserving the score range required by the conformal construction. Finally, the transformation should respect the prescribed subtree structure, coordinating score changes within each subtree while allowing different subtrees to change differently. For numerical stability, in implementation we lower-bound by and clip each normalized score to before applying the logit transformation. These numerical safeguards avoid undefined values at the endpoints and are omitted from Algorithm A.2 for notational simplicity.
B Additional theoretical results
B.1 Unbiased randomized rounding
When the target reviewed fraction is fixed at p, the desired audit budget may not be an integer. The following randomized rounding scheme implements this budget while preventing the resulting rounding error from accumulating systematically over time, and yields the class-wise asymptotic relations required in the proofs of Lemma F.2 and Theorem 3.3; its proof is deferred to Appendix E.5.
Proposition B.1 (Unbiased randomized rounding). Fix . Let be the time-t sigma-field generated by all random quantities determined after is realized but before choosing . At time , before is sampled, set
and draw . Now sample the audit set with size
Under Assumption 3.1(i)-(iii), the realized reviewed fractions under this rule satisfy, for every class ,
B.2 A cumulative batch-wise deviation guarantee
The guarantees in Section 3.3 control cumulative class-wise errors, the relevant notion for long-run validity. In practice, one also wants to understand how the procedure behaves locally across individual batches (Gibbs and Candès, 2024). A natural way to quantify such local behavior is to aggregate the absolute per-batch deviations from the target error level. The result below gives an upper bound for this cumulative local-deviation measure, and discusses its asymptotic properties as the time index T and batch size get large. Note that in this subsection, the incoming batch may be selected using review feedback observed before time t (as in the error-guided scheme).
We first set up the problem. Fix a class . Here we consider only nonempty class- batches because we stipulate that there is no deviation on empty sets. As a simplification, we assume that for all .
More notation. Write the batch-wise class-k error rates as
whenever . If , we define . The quantity of interest is the cumulative batch-wise deviation of the all-cell error rate from the target level:
Define the effective batch step size and the clipped online level by
Assumption B.2. Throughout this subsection, assume the following:
(i) The lower bound of the batch size satisfies that
(ii) For every class , the effective batch step size satisfies
(iii) For every class and time , the scores
are distinct.
The discussion on batch-wise deviation is sufficiently informative only when the batch sizes are not excessively small. Assumption B.2(i) can be interpreted as "at least one cell per batch is chosen for online review on average", which is a plausible condition for large-scale settings. This condition leads to intermediate consequences
for some deterministic constants . Specifically, the second consequence holds with and . Assumption B.2(ii) can be satisfied when the step size is chosen reasonably small; a sufficient condition is for every class .
Definition B.3 (Calibration discrepancy). For each time t with , define the calibration discrepancy as
For , the clipped . By the class-wise conformal construction in Section 3.1, a class-k error occurs when ; Assumption B.2(iii) ensures that no score in equals this threshold, so
Here, is the smallest threshold for which at least a fraction of the calibration scores lie below the threshold. Assumption B.2(iii) makes the calibration scores distinct, so this empirical fraction can exceed by at most one calibration observation, or . Therefore,
When , the same inequality follows directly from the quantile conventions in Section 3.1. The first term in captures the calibration mismatch caused by distribution shift between the current class-k batch and the corresponding calibration set; whereas the second term in accounts for the finite-sample correction, which is negligible since is large.
Before establishing an informative upper bound on the cumulative absolute errors, we impose additional assumptions that may not hold in every practical setting. Nevertheless, they facilitate an interpretable characterization of the batchwise fluctuations of the errors produced by CARED. We consider two distinct sets of assumptions, each leading to a different guarantee: one constrains the range of the class-k batch sizes , whereas the other assumes a nondecreasing sequence formed by the effective step sizes . Subsections B.2.1 and B.2.2 present the corresponding results, respectively.
B.2.1 Cumulative deviation under constrained batch size
Assumption B.4 (Bounded batch size range). For any class , there exist deterministic constants and such that
That is, the number of class-k cells remains controlled across batches.
Proposition B.5 (Cumulative batch-wise deviation guarantee). Consider any class , suppose that Assumptions 3.1, B.2, and B.4 hold. Then, for any , define
With probability at least , it holds that
Corollary B.6 (Asymptotic cumulative batch-wise deviation guarantee). Under the setting of Proposition B.5, we consider a sequence of instances for which and the batch size becomes as large as possible, as in . Then, for any , with probability at least ,
Thus, in the combined regime where and , all terms other than the calibration mismatch are asymptotically negligible relative to . Therefore, the calibration mismatch is the only asymptotically non-negligible contribution that can accumulate linearly with the horizon, with coefficient , which approaches 2 as .
B.2.2 Cumulative deviation under nondecreasing effective step size
Assumption B.7 (Nondecreasing effective step size). Consider any class and any horizon , assume that almost surely
That is, the effective step sizes across batches form a nondecreasing sequence.
Proposition B.8 (Cumulative batch-wise deviation guarantee). Fix a class . Suppose that Assumptions 3.1, B.2, and B.7 hold. Define
(B.3) and
Then, for every , with probability at least ,
Equations (B.3) and (B.4) are constructed in this way because forms an upper bound for cumulative sampling fluctuations ; this is justified in Lemma F.3.
Corollary B.9 (Asymptotic cumulative batch-wise deviation guarantee). Under the setting of Proposition B.8, we consider a sequence of instances for which and the batch size becomes asymptotically large, that is, there exists such that for any and . Then, for every , with probability at least ,
Thus, as the horizon T and the class-k batch size grow asymptotically large, the calibration mismatch is the only nonnegligible term that accumulates linearly with time, with coefficient 2. Unlike the coefficient in Corollary B.6, this value does not depend on the class-size range.
C Additional details and results of experiments
C.1 Experimental details
This subsection collects implementation details and auxiliary experimental settings omitted from Section 4. The details include the data processing, the selection rule for the class-wise step sizes , the structural subtree partition used by the utility-aware module, and the settings for the experiments in Section 4.
Dataset processing. In each dataset (cohort), the H&E stain was applied to the same tissue section after the Xenium run and imaged at ( ). For all experiments, the images are downsampled to approximately . Cell locations were registered to the H&E image using Genomics Xenium Ranger, a post-processing pipeline for Xenium data, then filtered by 1,000 cells.
Selection rule for . In the experiments, the step sizes are selected before the online stream is run and then kept fixed over time. To satisfy the assumptions in Appendix B.2, we choose based on the class frequency in the test cohort, so that the effective batch step size remains below one with margin throughout the stream. Although this simulation uses oracle class-frequency information, in practice, the frequency can be roughly specified from domain knowledge. The assignment rule for is reported in Table 2.
Structural subtree. In our experiments, the structural subtree partition is specified by grouping cell types with closely related cellular characteristics into the same subtree. Specifically, the pancreas labels are grouped into three subtrees according to cellular function, while the ovary and lung labels are organized into two subtrees according to the benign–malignant distinction. The concrete subtree assignments are reported in Table 2.
Parameters used in experiments. Table 2 lists the experimental details and parameter values used in the main experiments.
Table 2: Details and parameters in the main experiments.
| Name and notation | Choice used in the experiments |
|---|---|
| Held-out tissues | Pancreas, ovary, and lung |
| Label space for pancreas | Acinar, Ductal, Endocrine, Endothelial, Fibroblast-like, T Cell |
| Subtree partition for pancreas | ; |
| Label space for ovary | Endothelial, Epithelial Malignant, Macrophage |
| Subtree partition for ovary | |
| Label space for lung | Endothelial, Epithelial Malignant, T Cell, Tumor Associated Fibroblast |
| Subtree partition for lung | ; |
| Target error level | 0.1 |
| Target reviewed fraction | 0.1 |
| Step size of frequent classes (>25%) | |
| Step size of moderate classes (5%-25%) | |
| Step size of scarce classes (<5%) | |
| Initial labeled block | The first randomly selected batch |
| Batch-size bounds | |
| Calibration window | 30 batches |
| Utility candidate number | 100 |
| Utility learning rate | 0.1 |
| Utility weights () | (20.0, 1.0, 5.0) |
| Soft-membership temperature | 0.1 |
| Random seed | 0 |
C.2 More experimental results
For reference, we report the online level trajectories under the error-guided batch-release scheme in the experiments reported in Section 4. These trajectories are shown in Figure 11. We then provide two additional sets of experimental results to show CARED's stability. First, we report the cumulative conformal error trajectories on the three tissues for the remaining local and gated NuClass score sources, under the error-guided batch-release scheme. Second, we compare the utility metrics obtained from the utility-aware transformed scores and raw scores on the lung and ovary cohorts using the global NuClass score.

(a) Global, pancreas

(b) Global, lung

(c) Global, ovary
Figure 11: Online level trajectories under the error-guided batch-release scheme using the global NuClass score. Panels (a)–(c) correspond to pancreas, lung, and ovary, respectively; each curve represents a cell type. The curves are smoothed with a window size of 7.
Together with the results under the global score source in Section 4, Figure 12 extends the same empirical

(a) Local, pancreas

(b) Local, lung

(c) Local, ovary

(d) Local, marginal

(e) Gated, pancreas

(f) Gated, lung

(g) Gated, ovary

(h) Gated, marginal
Figure 12: Additional cumulative conformal error trajectories under the error-guided batch-release scheme. Rows correspond to the local and gated NuClass scores, while columns show pancreas, lung, ovary, and marginal results. The first three columns report class-wise errors within each tissue; the marginal panels compare the marginal errors of the three tissues against the fraction of processed batches. Dashed horizontal lines mark the target error level .
validity check to the remaining local and gated NuClass score sources, showing that the method continues to control class-wise errors across the considered tissues and score sources. We next examine the utility results on the lung and ovary tasks in Figure 13. For the lung results, the utility-aware score transformation shows a minor disadvantage relative to the raw-score baseline in the cumulative utility metrics. This does not contradict the intended scope of our framework, since the utility module is guaranteed to deliver prediction sets with no lower utility for a fixed batch of cells, while the resulting score transformation may still induce a less favorable trajectory of selected batches and the online levels when cumulative utility is evaluated over the full stream. Moreover, the lung annotation task is not the primary target setting for the utility module: the skipped ratio is already high in this task, and the subtree structure has already been satisfied well. The more important evidence is the six-class pancreas annotation task, where the utility module shows clearer gains, as shown in Figure 8.
C.3 Additional sensitivity analyses
C.3.1 Class-wise cumulative error
Section 4.5 reports sensitivity analyses for the marginal cumulative error under variations of the reviewed fraction p, random seed, target error level , and batch release scheme. Here, for each sensitivity setting, we report the final cumulative empirical error for each cell type after processing the full annotation stream, and compare these class-wise errors across the three batch release schemes.
Figure 14 can be further interpreted through Proposition 3.5, which implies that the deviation of the class-wise cumulative empirical error from the target level decreases at the inverse-square-root rate in the total number of cells from that class. Therefore, for a fixed finite stream, rarer cell types are expected to show greater sensitivity. This accounts for the relatively large fluctuations for endocrine cells, which constitute only 1.95% of the stream, and also for the milder instability of T cells and endothelial cells, which are two relatively scarce classes in this experiment. Note that the marginal cumulative-error trajectories in Section 4.5 remain stable, and the remaining class-wise curves in Figure 14 do not show comparable fluctuations. Thus, the class-wise fluctuations reflect finite-sample variability rather than a failure of the empirical error-control pattern.
Transformed score
Raw score

(a) Lung, skipped ratio
(b) Ovary, skipped ratio

(c) Lung, set size
(d) Ovary, set size

(e) Lung, structural coherence
(f) Ovary, structural coherence
Figure 13: Additional cumulative utility comparison under the error-guided batch-release scheme using the global NuClass score. Rows correspond to the skipped ratio, average prediction set size, and structural coherence, while columns report lung and ovary. Solid blue curves use the utility-aware transformed score, while dashed orange curves use the raw score without the utility module. Higher skipped ratio and structural coherence and smaller prediction sets indicate better utility.
Acinar (12.83%) Endocrine (1.95%) Fibroblast-like (27.60%) --- Target Ductal (45.22%) Endothelial (8.62%) T Cell (3.77%)

(a) Error-guided, reviewed fraction

(b) Error-guided, seed

(c) Error-guided, target error

(d) Adjacent, reviewed fraction

(e) Adjacent, seed

(f) Adjacent, target error

(g) Random, reviewed fraction

(h) Random, seed

(i) Random, target error
Figure 14: Class-wise sensitivity analysis of final cumulative empirical error on pancreas tissue with the global score source. Rows correspond to the error-guided, adjacent, and random batch release schemes, while columns vary the reviewed fraction p, the random seed, and the target error level . Dashed horizontal lines indicate the target error level used in each setting, and percentages in the shared legend denote the empirical fraction of each cell type in the stream.
Skipped ratio
Set size
Structural coherence
Overall utility

(a) Error-guided, utility lr

(b) Error-guided, seed

(c) Error-guided, target error

(d) Adjacent, utility lr

(e) Adjacent, seed

(f) Adjacent, target error

(g) Random, utility lr

(h) Random, seed

(i) Random, target error
Figure 15: Sensitivity analysis of utility metrics on the six-class pancreas annotation task with the global score source. Rows correspond to the error-guided, adjacent, and random batch release schemes, while columns vary the utility learning rate , the random seed, and the target error level . Each panel compares the utility metrics obtained from the utility-aware transformed score and the raw score. The shared legend identifies the four utility metrics.
C.3.2 Utility metrics
We further examine the stability of the utility improvements on the six-class pancreas annotation task, as summarized in Figure 15.
For each batch release scheme and parameter setting, we compare the prediction sets produced by the utility-aware transformed score with those obtained from the raw scores. The three columns vary the utility learning rate , the random seed, and the target error level , and the three rows correspond to the error-guided, adjacent, and random batch release schemes. The plotted value is the percentage improvement over the raw-score baseline, computed from the cumulative stream-level utility metrics after processing the full annotation stream. Overall utility is the weighted aggregate of skipped ratio, set size, and structural coherence, using as in Appendix C.1; its percentage improvement is normalized by the coordinate-wise worst-case six-class reference , corresponding to zero skipped ratio, full set size, and zero structural coherence.
Figure 15 shows that the utility module consistently improves overall utility over the raw-score baseline in almost every considered case. The component-wise gains are more uneven: structural coherence improves substantially in most settings, whereas skipped ratio and set size can change more modestly or vary with the sensitivity parameter. This is expected because the aggregate utility balances three competing criteria, and the relative emphasis can be adjusted through the utility weights.
D Discussions on stepsize selection
The main experiments use a constant class-wise step size in the online update (4). This choice is aligned with the distribution-free guarantee established in Section 3.3: for each class , the online level is updated as
where is fixed over time and selected according to the class frequency rule reported in Appendix C.1.
Decaying stepsize schedules provide a natural alternative. For the standard adaptive conformal prediction setting, Angelopoulos et al. (2024) show that step sizes of order , with , can retain long-run convergence of cumulative error while improving the stability of local error fluctuations. However, their local convergence theory is developed for the i.i.d. setting, and therefore should not be read as a general local-error guarantee under distribution shift. A complementary analysis of adaptive conformal prediction under distribution drift highlights the same trade-off from the non-i.i.d. perspective: smaller or decaying step sizes can stabilize the calibration-quantile trajectory within relatively stationary segments, but may adapt more slowly after distributional changes (Liang et al., 2026). Thus, decaying step sizes are a reasonable stability-oriented variant, but not a uniformly preferable replacement for the constant step sizes used in our main experiments.
To examine this issue, we rerun the pancreas experiment with the global NuClass score using the same initial class-wise scales as in the main experiment, but replace the constant update by
Figure 16 compares the resulting per-batch all-cell deviations with those obtained from the constant stepsize update. The comparison shows a mixed pattern: the decaying schedule is closer to the target in some intervals and classes, while the constant schedule is closer in others. This is consistent with the stability-adaptation trade-off above, and explains why we keep the constant schedule as the default while reporting the decaying schedule as an empirical variant.
In practice, the numerical choice of is usually guided by empirical considerations rather than by an exact calculation. Although Theorem 3.3 shows that the cumulative class-wise error converges asymptotically for any fixed positive step size, the finite-stream behavior still depends on the scale of . To illustrate this
Constant --- Decaying Decaying closer to 0.1 Constant closer to 0.1

Endothelial
Fibroblast-like
T Cell
Figure 16: Comparison between constant and decaying class-wise step sizes on the pancreas experiment with the global NuClass score. The curves report per-batch all-cell deviations for each class under the constant schedule used in the main experiments and the decaying schedule . Shaded intervals indicate which schedule is closer to the target error level at each time.
sensitivity, Figure 17 compares the constant stepsize update after multiplying the default class-wise step sizes by factors ranging from 0.1 to 10. Across this range, class-wise errors are generally pulled toward the target level , although the finite-sample trajectories differ by class. The main exception is the endocrine class under large stepsize multipliers, where the finite-stream trajectory remains visibly above the target for longer. This behavior is consistent with the scarce-class instability discussed in Appendix C.3.1: endocrine cells account for only a small fraction of the stream, so their class-wise cumulative error is more sensitive in finite samples. This supports using the reported values as a pragmatic default rather than a deliberately optimal tuning.
Stepsize multiplier: ___ x0.1 ___ x0.333 ___ x1.0 ___ x3.0 ___ x10.0
---- Target error = 0.1

Endothelial
Fibroblast-like

T Cell
Time step
Time step
Time step
Figure 17: Sensitivity of cumulative class-wise error trajectories to the scale of the constant step sizes on the pancreas experiment with the global NuClass score. Each curve uses the same class-wise stepsize rule as in the main experiments, multiplied by the factor shown in the legend. The dashed line marks the target error level .
E Technical proofs
E.1 Proof of Proposition 3.2
Telescoping the update rule (4) from the initial value ,
Rearranging, . Dividing both sides by and taking absolute values yields the exact identity
It remains to bound . Set . Since , the maximum single-step change satisfies
We claim that for all ,
We establish the lower bound; the upper bound is symmetric. Fix . If , the lower bound is immediate. Otherwise, let be the last time with , which exists since . By (E.2),
If for some with , the quantile convention (1) sets , so class belongs to every prediction set and for all . The update then gives
so ; this holds regardless of whether . By the choice of , for every with , so applying this monotonicity for yields
Hence (E.3) holds, and consequently
Substituting (E.4) into (E.1):
The first term matches the stated bound. For the second term, Lemma F.2 gives a.s. By the assumed frequency lower bound and , almost surely there exists some such that for all ,
Since , we have . Using unbiased randomized rounding, it follows
Therefore, on the same probability-one event, for all ,
a.s.,
Since both terms vanish as , we further have
This proves the proposition.
E.2 Proof of Theorem 3.3
Fix a class . We first prove the convergence of accumulated error on all cells. Combining (E.1) and (E.4), and noting that , gives
By Assumption 3.1(ii) and Lemma F.2,
and hence a.s., which justifies the above convergence. Thus, by the triangle inequality, it suffices to show
For convenience, write
and the centered sampling residual as
By the definitions above,
We then use . Factoring the full-batch average from the resulting middle two terms gives
We now treat the three terms in (E.6) separately.
Term I. We first verify the martingale conditions for . Using the audit indicators , we can write
Conditional on , the error indicators and are fixed. Uniform sampling without replacement gives
Consequently,
Moreover, when , for distinct ,
Since the error indicators are nonnegative and binary, for the nonpositive covariance terms yield
(E.8)
When , the audit set is deterministic conditional on , so and (E.8) holds as well. It also holds when , since the defining sum is empty. Thus, (E.7) and (E.8) hold for all . Equations (E.7) and (E.8) verify the hypotheses of Lemma F.1 with and . This sequence is nonnegative, -measurable, and satisfies a.s. by Assumption 3.1(ii). Therefore, a.s. Lemma F.2 gives a.s., so
Term II. By Lemma F.2, a.s., so
Since , Term II converges to zero almost surely.
Term III. By Proposition B.1,
which is precisely this term.
Hence all three terms in (E.6) vanish a.s., proving (E.5) and therefore
For the unreviewed cells, since , writing the total error on as the sum of those on and and rearranging:
By Lemma F.2, , which is finite. Since (E.5) holds, identity (E.9) yields
and the triangle inequality completes the proof.
E.3 Proof of Corollary 3.4
Proof of Corollary 3.4. Fix a class . For any with , Section 3.1 gives . Since , an incorrect automated annotation implies that the original prediction set does not contain the true class:
Summing this inequality over the automatically annotated class-k cells and then over all batches gives
Theorem 3.3 shows that both quantities on the right-hand side converge almost surely to . Therefore,
E.4 Proof of Proposition 3.5
Fix a class . We retain the notation from the proof of Theorem 3.3. In particular, (E.6) decomposes into the three underbraced terms denoted there by I, II, and III. The proof below gives rate bounds for these three terms. By the triangle inequality,
Proposition 3.2 gives
Moreover, the class-frequency condition in Proposition 3.2 together with Assumption 3.1(i) implies
while Lemma F.2 gives
It is therefore enough to prove that each of I, II, and III in (E.6) is .
Term I in (E.6). By (E.7), is a martingale difference sequence, and (E.8) gives . Hence, by the orthogonality of martingale differences and ,
Chebyshev's inequality therefore gives . Using a.s.,
For the two rounding terms in the remaining parts of the decomposition, let denote the time-t sigma-field generated by all random quantities determined after is realized but before the randomized rounding variable that determines is drawn. Thus precedes the pre-review sigma-field , in which is already realized and the annotation subset has not yet been sampled. Under the unbiased randomized rounding rule,
and therefore
Since and are -measurable and , (E.11) implies
and
(E.13)
Term II in (E.6). Write the numerator of the bracketed factor as
where . The proof of Lemma F.2 establishes (F.1) and (F.2); hence is a martingale difference sequence and . The same second-moment calculation as in Term I gives . By (E.12), is also a martingale difference sequence with respect to the rounding filtration, and
so . Therefore, the bracketed factor in Term II is after dividing by , and since , we conclude
Term III in (E.6). By (E.13), is also a martingale difference sequence with respect to the rounding filtration. Its conditional second moments are bounded by 1/4, so the same fixed-T second-moment argument gives
Dividing by therefore yields Term III = . Combining the three terms via (E.6),
Adding the contribution from Proposition 3.2 and using , the triangle inequality gives
For the unreviewed rate, identity (E.9) and Lemma F.2 give
and the triangle inequality gives
□
E.5 Proof of Proposition B.1
Fix a class . The rounding moment bounds in (E.12) and (E.13) show that and are martingale difference sequences with conditional second moments bounded by a constant multiple of . Applying Lemma F.1 to these two sequences gives
It remains only to replace the denominator in the second convergence by . Conditional on , where has already been realized and the audit set has not yet been sampled, is hypergeometric with mean and variance bounded by for a deterministic constant . Therefore Lemma F.1, together with the first convergence above, gives
Since p > 0, it follows that
Together with the first convergence, this establishes the two asymptotic relations claimed in the proposition. Since K is finite, the conclusions hold simultaneously for all classes after intersecting the corresponding probability-one events.
E.6 Proofs for Proposition B.5 and Corollary B.6
Proof of Proposition B.5. Fix a class and write
Recall that denotes clipped to the interval . Hence, and have the same sign and . Since , we have
The update rule and the triangle inequality therefore give
Define
Summing (E.14), using , and dividing by gives
The initialization implies , so the telescoping term is nonpositive and can be discarded. Moreover,
Thus, adding and subtracting in the preceding sum gives
Using then yields
Indeed, by (B.2), , while . Hence,
We next control the remaining two sums. Conditional on , the reviewed cells are sampled uniformly without replacement from . The term is the absolute centered sample sum of the class-k errors, and its conditional second moment is
Consequently, the conditional Cauchy–Schwarz inequality gives
Moreover, . Since , the conditional variance of is at most .
For , uniform sampling gives . Since the second factor in the definition of is determined before review, is a martingale difference sequence. This factor has absolute value at most one, so , and its conditional variance is bounded by
Applying the rescaled form of Lemma F.4 to and , and taking a union bound, shows that with probability at least ,
(E.17)
The two square-root deviation terms in (E.17) have total coefficient , and the two logarithmic terms sum to . Substituting (E.17) and the calibration bound into (E.15), and then dividing by , gives
Finally, the triangle inequality and (B.2) imply
Summing this inequality and applying the preceding bound yields
which proves the proposition.
Proof of Corollary B.6. Under randomized rounding, take . The bounded class-size condition implies , so as . Hence and satisfy
Also, , and therefore
For fixed , the explicit expression for gives
Substituting these two bounds into Proposition B.5, and absorbing into , proves the corollary.
E.7 Proofs for Proposition B.8 and Corollary B.9
Proof of Proposition B.8. Write . Dividing (E.14) by , and then using (B.2) and the triangle inequality, gives
By summation by parts, , and the nondecreasing effective step sizes,
Summing (E.18) and applying (E.19) yields
By Lemma F.3, the second term on the right-hand side is at most with probability at least , which proves the proposition.
Proof of Corollary B.9. By assumption, for every . For fixed , the definition of therefore gives
where is fixed and positive. Combining this bound with Proposition B.8 proves the corollary.
F Auxiliary lemmas
Lemma F.1 (Weighted strong law for martingale differences). Let be a filtration, and let be -measurable with
Suppose there exists a nonnegative -measurable sequence and a constant such that
If almost surely, then
Proof. Set and . Then is positive, nondecreasing, and -measurable. For every ,
and consequently,
Hence,
Since almost surely, the case of Theorem 2.18 in Hall et al. (1980) yields
Finally, almost surely, which gives the stated conclusion.
Lemma F.2 (Class-wise reviewed fraction). Under Assumption 3.1, for every class , the fraction of reviewed cells converges to the target fraction p with probability 1, i.e.,
Proof. Fix a class and define
It suffices to show that
Indeed, by Proposition B.1,
and
Now we verify the conditions of Lemma F.1. Recall that denotes the pre-review sigma-field after the prediction sets for have been formed and before the audit set is sampled. Conditional on , the incoming batch , the class count , and the reviewed fraction are fixed. By Assumption 3.1(iii), follows a hypergeometric distribution with population size , number of class-k cells , and draw size . Therefore
and consequently
If , the conditional distribution of is degenerate and its variance is zero. If , the hypergeometric variance formula gives
For , the factors after are bounded by one and , whereas for the variance is zero. Thus there exists a constant such that
By (F.1) and (F.2), taking , which is nonnegative and -measurable, in Lemma F.1 yields
where follows directly from Assumption 3.1(ii). Combining this with the preceding decomposition proves the result.
Lemma F.3 (Cumulative sampling fluctuation). Fix a class . Suppose that Assumptions 3.1 and B.2 hold. Then, for any horizon and any , with probability at least ,
where is defined in (B.3).
Proof. Fix t and define
where is the previously defined pre-review sigma-field and denotes the number of reviewed class-k cells. Conditional on and on the event , the number of erroneous reviewed class-k cells has a hypergeometric distribution. The population size is , the success count is , and the draw size is . Since
the conditional mean is . If , then the conditional distribution is degenerate and the variance is zero. If , the hypergeometric variance formula gives
where the last inequality uses . Thus the same upper bound holds for all . Together with the convention when , this gives
Since , by the tower property and conditional Jensen's inequality, (F.3) gives
(F.4)
Define the high-count event
Conditional on , the count follows a hypergeometric distribution with mean . Since , the multiplicative Chernoff bound for sampling without replacement yields
(F.5)
Now define the centered fluctuation
Then , , and . It remains to bound the predictable part of and the conditional second moment of . On the high-count event , the two factors and are bounded by and , respectively. On , they are bounded by and . Combining these bounds with (F.4) and (F.5) gives
(F.6)
For the centered fluctuation, since , the predictable quadratic variation satisfies
Applying Lemma F.4 to the martingale difference sequence therefore gives, with probability at least ,
By the definition of and (F.6),
which proves the lemma.
Lemma F.4 (Corollary of Freedman's inequality). Let be a filtration. Suppose is -measurable with and a.s. Assume further that
for some constant B > 0. Then for any , with probability at least ,
Proof. Theorem 4.1 of Freedman (1975) states: for a martingale difference sequence with increments bounded above by one, if denotes its partial sum and its predictable quadratic variation, then for all ,
Since a.s. by assumption, the event implies the event in the display (at ). We therefore apply the theorem with and
Set . Since , the choice of gives . We compute
Setting , we have . We first establish
To prove (F.7), define
Direct differentiation gives and
where the inequality follows from for . Thus for all . Taking proves (F.7). Applying (F.7) with yields
Consequently,
Therefore , which proves the stated bound.