TreeText-CTS: Compact, Source-Traceable Tree-Path Evidence for Irregular Clinical Time-Series Prediction

Kwanhyung Lee, Juhwan Choi, Jongheon Kim, Joohyung Lee, Hyeongwon Jang, Eunho YangarXiv 2026

TL;DR

TreeText-CTS bridges the gap between accurate-but-opaque numerical models and readable-but-unreliable LLM approaches for clinical time-series prediction. By routing irregular Electronic Health Record (EHR) data through frozen XGBoost models, it extracts deterministic, human-readable "tree-path evidence units" that are completely traceable to their source measurements. This hybrid approach outperforms existing text-based clinical interfaces in both accuracy and speed, while remaining competitive with specialized numerical models.

What Problem Does This Problem Address?

Electronic Health Records (EHRs) contain irregular time-series data—vitals, lab results, and interventions recorded at uneven intervals with frequent missing values. Traditional numerical models handle this sparsity well, but they function as black boxes, failing to explain why a patient is flagged as high-risk.

Recently, researchers have turned to Large Language Models (LLMs) to improve explainability. However, current text-based EHR interfaces suffer from two major flaws:

  1. Raw Serialization: Converting every single data point into text creates massive, redundant prompts that overwhelm the model's context window.
  2. Free-form Summarization: Using an LLM to summarize a patient's history can introduce dangerous hallucinations and results in text that cannot be reliably traced back to actual raw measurements.

The authors of this paper tackle this dilemma by creating an interface that is as compact as a summary, as deterministic as a rule-based system, and fully traceable to the source EHR time windows.

Methods

TreeText-CTS introduces a modular pipeline that separates cohort-level structure learning from patient-specific text generation:

  1. Multi-Scale Tree Evidence: The patient's irregular trajectory is summarized across multiple look-back windows (ranging from 1 to 48 hours) using nine basic statistics (e.g., mean, max, missingness indicator). These summaries are routed through window-specific, pre-trained XGBoost ensembles.
  2. Tree-to-Evidence Mapper (TEM): Instead of using the trees to output a final probability, TreeText-CTS extracts the activated root-to-leaf paths. TEM translates these paths into deterministic natural language predicates (e.g., "From 16:00 to 24:00: minimum MAP is at most 65"). To enhance readability, an offline LLM annotates these rules with clinical glosses (e.g., "compatible with hypotension"), which are cached and reused.
  3. Compact Evidence Selector (CES): Because multi-scale routing generates hundreds of potential text snippets, a lightweight Transformer-based selector filters them down to a compact budget ($K \le 30$). The CES is trained using a reinforcement learning objective (self-critical policy gradient) to select the most predictive fragments.
  4. LM Classifier: The selected text units are concatenated with static patient data (like age and gender) and fed into a clinical language model encoder (BioClinical ModernBERT) for the final prediction. Crucially, because it uses an encoder, it completely avoids slow, autoregressive text generation during inference.
Overview of TreeText-CTS architecture

Datasets

The framework was evaluated on three widely used public Intensive Care Unit (ICU) benchmarks:

  • PhysioNet 2012 (P12): In-hospital mortality prediction based on the first 48 hours of ICU admission.
  • MIMIC-III mortality: In-hospital mortality prediction using a 48-hour observation window.
  • PhysioNet 2019 (P19): 6-hour-ahead sepsis onset forecasting using up to 60 hours of data.

Key Insights and Ideas

  • Local-to-Global Composition: Decision trees excel at finding local, non-linear thresholds in tabular data, while language models excel at global semantic reasoning. TreeText-CTS combines them elegantly: trees extract the local evidence, and the LM composes them into a final clinical picture.
  • Construction-Level Auditability: Because the input text itself is built directly from deterministic tree splits, the evidence supplied to the final predictor is inherently auditable. A clinician can click on any sentence in the prompt and trace it back to the exact tree, leaf, and raw measurement window.
  • Eliminating Inference-Time Generation: By caching clinical glosses offline and using a language model encoder rather than a decoder, the system bypasses the latency and hallucination risks associated with generating text at runtime.

Key Results

TreeText-CTS achieves a new state-of-the-art among text-based EHR interfaces while matching or nearing the performance of complex numerical models.

  • Accuracy Gains: Across all three benchmarks, TreeText-CTS significantly outperformed prior text interfaces (like WRDP and Decode Like a Clinician), improving the Area Under the Precision-Recall Curve (AUPRC) by 6.0 to 9.7 absolute percentage points over the strongest baselines.
  • Competitive with Numerical Models: It performed comparably to top-tier numerical models like GRU-D and DuETT, proving that language-based models don't have to sacrifice accuracy for readability.
  • Inference Speedup: Thanks to its generation-free design, TreeText-CTS achieved an online latency of just 0.094 seconds per patient, compared to over 272 seconds per patient for generative, summary-based baselines.
Table 2: Text-based EHR time-series interface comparison. Faithful variants preserve the original- style predictor, whereas Adapted variants keep the same text representation but use BioClinical ModernBERT. Metrics are test mean±std. No patient gen., No AR decode, and Traceable evid. indicate whether the method avoids patient-level free-form generation, avoids inference-time autore- gressive decoding, and exposes a readable, source-traceable evidence sequence, respectively. Online latency follows the end-to-end protocol in Appendix D.2.

Limitations and Future Work

While TreeText-CTS provides a highly auditable input layer, the authors note that construction-level auditability does not guarantee clinical correctness or causality. The clinical glosses are merely auxiliary hints and could still be incomplete. Furthermore, the model is strictly bounded by its predefined summary statistics and tree structures; it cannot discover or reason about complex temporal patterns that fall outside what the XGBoost models can capture.

Future work includes validating this interface in live clinical deployments and exploring how clinicians interact with these source-traceable evidence cards in real-world decision-making scenarios.

Summary updated

BibTeX
@misc{lee2026treetext,
  author = {Kwanhyung Lee and Juhwan Choi and Jongheon Kim and Joohyung Lee and Hyeongwon Jang and Eunho Yang},
  title = {{TreeText-CTS: Compact, Source-Traceable Tree-Path Evidence for Irregular Clinical Time-Series Prediction}},
  year = {2026},
  eprint = {2605.20292},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.20292},
}
Figure