arXiv:2611.00986cs.CLOct 2026

Manuscript Offprint

arXiv:2611.00986

HALO: Hierarchical Evidence Selection and Reinforcement Learning for Allocating Budgeted Label Optimization from Longitudinal Clinical Records

Huaiyuan Ying, Feiqing Huang, Ryumei Nakada, Katherine P. Liao, Tianxi Cai

Huaiyuan Ying*

Department of Statistics and Data Science

Tsinghua University

Beijing, China

yinghy22@mails.tsinghua.edu.cn

Feiqing Huang*

Department of Biostatistics

Harvard T.H. Chan School of Public Health

Boston, MA, USA

fqhuang@hsph.harvard.edu

Ryumei Nakada

Department of Biostatistics

Harvard T.H. Chan School of Public Health

Boston, MA, USA

ryumei_nakada@hms.harvard.edu

Katherine P. Liao

Brigham and Women's Hospital

Harvard Medical School

Boston, MA, USA

kliao@bwh.harvard.edu

Tianxi Cai

Harvard T.H. Chan School of Public Health

Harvard Medical School

Boston, MA, USA

tcai@hsph.harvard.edu

Abstract

Learning from extensive longitudinal clinical records—spanning repeated encounters, evolving conditions, and heterogeneous documentation—under a finite labeling budget requires solving two coupled problems: deciding what evidence to keep and deciding which patients deserve higher-fidelity labels. Prior work on active learning and multi-fidelity label acquisition mainly addresses the second problem, while treating the evidence presented to the acquisition policy as fixed. We present HALO, a Hierarchical Evidence Selection and Reinforcement Learning pipeline for Allocating Budgeted Label Optimization from Longitudinal Clinical Records. This framework jointly learns what to read and what label source to acquire under budget. HALO first selects informative evidence from longitudinal records and then uses a budget-aware policy to allocate free-, silver-, and gold-fidelity label sources. For frozen policies, our theory characterizes asymmetric acquired-label channels and gives a budget-constrained finite-sample gold-risk bound for a common downstream logistic model. In a heart-failure case study, HALO attained the highest MedAlign acquired-label F1 at six of eight target budgets. A downstream classifier trained on HALO-acquired labels attained the highest external MGB F1 at budgets 15–60 and remained within 0.01 of the best comparator at budgets 75–120.

*These authors contributed equally to this work.

Preprint.

1 Introduction

Longitudinal electronic health records (EHRs) capture rich, evolving clinical information across repeated patient encounters, offering valuable opportunities for robust phenotyping, disease progression modeling, and generating real-world evidence beyond single-encounter snapshots [1–3]. However, realizing this potential faces a key challenge—EHR data can be noisy and fragmented, incomplete, delayed, or too coarse to capture precise disease status or subtypes [4, 5]. Moreover, the longitudinal scale of clinical narratives makes the rich contextual information computationally expensive to process using traditional natural language processing (NLP) methods [6, 7].

The rapid progress of large language models (LLMs) has resulted in powerful tools for extracting clinically meaningful attributes from narrative text [8, 9]. However, LLM-based pipelines incur substantial costs, both computational and financial, making it impractical to apply them uniformly across entire patient cohorts [10]. This challenge is compounded by variability in EHR data quality, including documentation artifacts, coding errors, and inconsistencies across notes and systems [11, 12]. In addition, obtaining high-quality labels from sparse and dispersed clinically relevant information typically requires expert review or algorithmic validation, making scalable labeling unaffordable [13]. A practical learning system must therefore solve two coupled problems to unlock the potential of longitudinal EHRs: (1) deciding what evidence to retain from massive longitudinal narratives—determining which notes, segments, and clinical concepts are most informative for the labeling task; and (2) where to spend limited labeling budget across different fidelity levels.

A large body of prior work studies how to allocate a limited labeling budget when labels differ in both fidelity and cost. In active learning and multi-fidelity acquisition, the learner seeks to spend a finite budget on queries or labelers that most improve downstream utility, for example, by choosing between weaker and stronger label sources [14], handling imperfect annotators [15], or acquiring labels at multiple fidelities under explicit budget constraints [16]. Related weak-supervision methods ask how to leverage cheap, noisy labels in combination with expensive, high-quality labels [17]. However, these methods largely assume that the evidence presented to the label-acquisition policy is already clear. That assumption is problematic for longitudinal EHR, where relevant evidence is often buried in heterogeneous notes and note segments.

In the clinical domain, RELEAP [18] is a recent example of using reinforcement learning to improve label efficiency under a finite budget. Nonetheless, it operates on fixed patient-level structured EHR features, such as diagnosis, medication, and laboratory codes aggregated over time, rather than on raw longitudinal clinical notes. It is naturally suited to deciding which patients should receive higher-fidelity labels once a patient-level representation is already available. At the same time, it does not explicitly address the upstream question of what evidence should be retained from longitudinal text to construct that representation in the first place. This distinction matters in modern clinical pipelines because much of the evidence relevant to complex labels is dispersed across narrative notes, and processing all notes uniformly with LLM-based tools can be prohibitively expensive. Prior work on hierarchical document modeling shows that exploiting multi-level structure can improve long-document representation learning [19], and recent clinical studies likewise demonstrate the value of modeling note-level and segment-level structure [20]. However, these approaches typically assume that the full record is already available for modeling and that training labels are given. They do not decide what to retain from the record in order to spend limited labeling budget more effectively.

In this work, we treat learning from longitudinal records under budget as a coupled decision problem: the learner must decide what evidence to retain and what label source to acquire. We address this problem with HALO, a reinforcement learning framework that jointly performs hierarchical evidence selection and budgeted label allocation. The overall architecture of our approach, spanning from raw clinical notes to budget-aware label assignment, is illustrated in Figure 1. HALO first filters notes and segments to construct a compact patient summary, then allocates limited labeling budget across label sources with different costs and reliability. Throughout the paper, we use label source to refer to the annotator or model selected for a patient, label fidelity to refer to its free/silver/gold level, and acquired label to refer to the label returned by the selected source. We use downstream only for the final classifier trained on acquired labels and evaluated on an external cohort.

Our theory characterizes the label channels induced by frozen policies and connects budget-constrained, feature-weighted label corruption to downstream gold risk. Empirically, HALO attained the highest acquired-label F1 on the held-out MedAlign cohort at six of eight target budgets and

Figure

Figure 1: Overview of HALO. Hierarchical evidence selection first retains informative notes using a frozen note scorer and a fixed threshold τ1\tau_1. A trainable segment-informativeness model with parameters ξ\xi then samples segment-retention decisions during PPO training; at inference, segments are retained when their predicted retention probabilities exceed τ2=0.5\tau_2 = 0.5. The retained evidence is summarized into a compact patient representation. Budgeted label allocation feeds the compact summary to a PPO-updated patient-worthiness scorer, implemented with a T5-scale encoder and ordinal head, which routes each patient to free-, silver-, or gold-fidelity label tiers under a finite labeling budget. The design objective is to reserve expensive labels for patients for whom the policy predicts higher fidelity to be most valuable.

The bottom panel shows the PPO training loop, where the reward model produces the budget-aware reward used to jointly update the learnable actors and critic.

the highest downstream F1 on the external MGB cohort at budgets 15–60, compared with seven acquisition baselines.

Our contributions are summarized as follows:

  • We address a key limitation in prior work that treats input evidence as fixed by proposing HALO, a Hierarchical Evidence Selection and Reinforcement Learning pipeline for Allocating Budgeted Label Optimization from Longitudinal Clinical Records. It jointly optimizes the two tasks under a finite labeling budget.
  • We introduce a hierarchical evidence selection mechanism that filters notes and segments to construct compact task-relevant patient summaries, enabling efficient allocation of labeling resources across free-, silver-, and gold-fidelity label sources.
  • Theoretically, we characterize asymmetric acquired-label errors and derive a budget-constrained finite-sample gold-risk bound for a well-specified downstream logistic model with nondegenerate features.

References (34)