Influenza and SARS-CoV-2 evolve faster than the laboratory assays used to measure them. The standard way to predict whether a new viral strain will escape existing immunity is to train a model on past seasons' sequences and their measured antigenic phenotypes, then retrain when performance collapses. Seasonal antigenic prediction of influenza A H3N2 using machine learning does exactly this with a batch-trained ensemble of decision trees, and it works well — until a major evolutionary transition arrives, at which point accuracy drops and only manual injection of current-season data recovers it. Meanwhile, the machine-learning community has spent two decades building decision trees that update one instance at a time on fast, non-stationary data streams, precisely so they never need retraining from scratch. Nobody has connected these two literatures. Viral genomic surveillance is now, in effect, a high-velocity data stream with concept drift — the mapping from sequence to antigenic phenotype changes as the virus evolves — and it is a stream that the streaming-learning community has never touched.
This proposal builds a single-pass, incrementally induced decision tree over viral sequence streams whose split choices are discounted by evolutionary conservation, and whose structural adaptation is triggered by per-site unsupervised drift monitors rather than global re-evaluation. The biological payoff is direct: decision-tree splits name the exact residues driving antigenic change (Shah et al. showed that their batch tree splits land on structurally validated epitope sites), so a streaming tree reads out which sites are drifting right now — a cheap, interpretable complement to deep escape predictors. The machine-learning payoff is a concrete test of a general claim: that split heuristics which ignore feature durability waste structure on transient signals, and that a conservation prior fixes this without any label feedback.
Core Claim
The claim is two-part. First, on viral sequence streams, a plain streaming tree (Hoeffding Tree or its eager variant) will repeatedly split on hypervariable surface residues because those sites offer the largest immediate impurity reduction, then tear that structure down at every drift event — exactly the churn-and-rebuild pathology documented for the Extremely Fast Decision Tree, which prunes and regrows entire subtrees whenever a statistically superior split appears, and overfits transient noise in low-signal regimes (Extremely Fast Decision Tree). Second, discounting split gain by a per-site evolutionary-variability prior — cheaply obtainable from historical alignments, or from the fitness component of models like EVEscape (Learning from prepandemic data to forecast viral escape) or the "grammaticality" scores of Hie et al. (Learning the language of viral evolution and escape) — will yield trees that match predictive accuracy while surviving drift events with far less structural churn, and will flag genuinely new antigenic structure earlier than label-based monitoring.
The proposal treats incremental decision tree induction as the core mechanism, conserved epitope targeting as the source of the structural prior that shapes it, and concept drift as both the operational regime and the evaluation lens.
Research Program
The system, which we call a conservation-discounted eager tree, has three components.
The first is the split criterion. Following the eager-splitting design of EFDT, a leaf becomes a split when some attribute beats the no-split null by a Hoeffding margin, but we replace raw gain $G(X_a)$ with a discounted gain:
$$\tilde{G}(X_a) \;=\; G(X_a)\,-\,\lambda\, V(X_a),$$
where $V(X_a)$ is the historical substitution tolerance of the site underlying attribute $X_a$ (its observed variability across past seasons in a multiple sequence alignment, or the inverse of an EVE-style fitness cost), and $\lambda$ is a single tunable weight. The intuition is an empirical bet, not a theorem: information carried by mutation-tolerant residues decays quickly under antigenic drift, while information carried by functionally constrained residues — the catalytic and fusion machinery that conserved-epitope vaccine design deliberately targets, as in the subdominant HA 220-loop work of Iterative immunogen optimization to focus immune responses on a conserved, subdominant viral epitope — is more likely to persist. The proposal's job is to test that bet, including the possibility that it is wrong (see the ablation below).
The second component is localized, label-free drift triggering. The Incremental Kolmogorov-Smirnov test (Fast Unsupervised Online Drift Detection Using Incremental Kolmogorov-Smirnov Test) updates in $O(\log N)$ per observation but is restricted to univariate streams. Viral surveillance offers a natural fit: each residue position, encoded as a one-dimensional physicochemical coordinate via the AAindex2 mutation matrices used by Shah et al., is a univariate stream. We attach one IKS monitor per candidate site and use its alerts to decide which internal nodes of the eager tree to re-evaluate, rather than EFDT's global re-evaluation. This directly attacks the structural-volatility and noise-sensitivity problems of eager splitting, and it converts the univariate limitation of IKS from a liability into an addressing scheme: a drift alert arrives pre-localized to the residue that drifted. Aggregating per-site alerts also gives a drift alarm for the whole stream, usable to request labels selectively when HI assays become available — the same label-saving role IKS played on sensor streams, where matching top-line accuracy required only 42%–47% of ground-truth labels (Fast Unsupervised Online Drift Detection Using Incremental Kolmogorov-Smirnov Test).
The third component is interpretability as an output. Every split names a residue and a physicochemical threshold; the set of splits that survive across seasons constitutes a running, human-readable map of durable antigenic determinants — the streaming analogue of the epitope-aligned splits Shah et al. found in their batch ensemble, but updated continuously and available before serological confirmation.
Two design constraints follow from prior negative results. The persistence of sufficient statistics at internal nodes costs memory, and naive detector-triggered splitting across an ensemble collapses diversity because all base trees fire simultaneously on a shared stream — the homogenization failure shown in Hoeffding adaptive splitting trees for data stream classification with concept drift and ensemble learning, where hybrid periodic-plus-detector splitters (HLAST) were introduced to fix it. We therefore begin with single trees and only ensembleize with decorrelated per-site trigger subsets if the single tree is sound.
Baselines
The naive reference point is a frozen model: a batch tree ensemble trained on seasons strictly before the evaluation window and never updated. This quantifies the cost of doing nothing under antigenic drift, and its decay curve is the phenomenon the whole proposal targets; Shah et al.'s finding that their strictly-past-seasons model suffers acute drops at major evolutionary transitions, recovering only when 10% of current-season data is added, tells us what shape this curve takes.
The strongest existing competitor is the seasonal batch-retrained AdaBoost ensemble of Seasonal antigenic prediction of influenza A H3N2 using machine learning, re-implemented on our streaming re-packaging of the same data with the same HA1/AAindex2 features. It is the strongest because it is the only published tree-based model that both predicts antigenic phenotype well on this exact data — a mean absolute error of 0.702 antigenic units and an average AUROC of 92% in distinguishing antigenic variants from non-variants — and whose splits demonstrably land on real epitope sites. We will run it under two label regimes: full-season HI labels (its native setting) and a label budget matched to ours, tuning its hyperparameters with the same search budget we give our tree, on identical temporal splits. Beating it means matching or exceeding its prequential MAE and AUROC at equal label budget, or matching its accuracy at a substantially smaller fraction of labels requested, or detecting drift boundaries earlier at equal accuracy. On raw accuracy with unlimited labels it may well win, and we will report that honestly; the claim under test is the accuracy–labels–lead-time frontier, not unconditional superiority.
Two ablations isolate the ingredients. An unmodified eager tree (EFDT) with the same features, stream order, and compute, but with $\lambda = 0$ and global rather than alert-triggered re-evaluation, isolates the conservation discount and selective triggering. A second ablation keeps the IKS triggering but removes the conservation discount, so that the contribution of each ingredient can be separated. A plain Hoeffding Tree with a sliding window rounds out the comparison, since it is the simplest streaming baseline a reviewer would name; the EFDT paper documents that such cautious splitters adapt too slowly on drifting streams (on the Fonts stream, EFDT held 99.8% accuracy by discarding outdated structure while VFDT struggled to adapt).
Why not just…?
Why not just retrain a batch ensemble every season or quarter? This is the real threat, and on raw accuracy it may be unbeatable when labels arrive reliably per season. The evidence against it as a surveillance tool is threefold: Shah et al. themselves show the batch model breaks at abrupt transitions and needed manual injection of 10% of current-season data to recover; HI labels are slow and expensive, whereas IKS-based triggering matched top-line accuracy on sensor streams with only 42%–47% of labels; and full retraining scales with accumulated data, which the streaming-learning literature (Fast Unsupervised Online Drift Detection Using Incremental Kolmogorov-Smirnov Test; Simultaneous Clustering and Optimization for Evolving Datasets) treats as prohibitive for genuinely high-velocity feeds. The decisive experiment is the matched-label-budget comparison above: if batch retraining matches our accuracy at the same label cost even at sub-seasonal granularity, the proposal's streaming machinery is not earning its keep and we will say so.
Why not just use a protein language model or LLM? EpiBench: Can LLMs Understand Epitopes for Antibody Drug Discovery? reports that foundation-model performance on targetable-region discovery collapses from a score of 81.3 on short sequences to 12.8 beyond 800 residues, with zero-shot AUROC near 0.5, driven by motif memorization rather than biophysical reasoning. Viral antigens are long, and frozen models cannot adapt to a drifting stream without full fine-tuning. A fine-tuned protein language model could nonetheless be competitive on phenotype prediction; we will include one as a feature-embedding baseline (and as a source of the conservation prior), but it cannot provide the per-instance, per-site interpretability or the bounded-memory streaming guarantees that are the point of the exercise.
Why not just use EVEscape or PRIEST? They solve a different problem: forecasting which mutations could escape, offline, from pre-compiled alignments — EVEscape's top-decile receptor-binding-domain predictions captured 50% of variants that later emerged and ranked Alpha, Delta, and Omicron in the top 1% of mutational combinations (Learning from prepandemic data to forecast viral escape), and PRIEST forecasts quarterly from temporally masked transformers (PRIEST: predicting viral mutations with immune escape capability of SARS-CoV-2 using temporal evolutionary information). Neither tracks a live stream, adapts instance-by-instance, or produces interpretable residue-level splits. In our design they are inputs, not competitors: EVE-style fitness scores are one admissible source of the $V(X_a)$ prior, and we will compare drift-alert lead times against EVEscape's ranked predictions as a reference signal.
Why not just use a standard Hoeffding Tree with a sliding window? It is the cheapest streaming option, but the EFDT paper shows cautious splitting stagnates on flat gain margins and adapts too slowly when the concept shifts before a split's confidence accumulates, and the HLAST study shows purely periodic splitting misses abrupt shifts between grace periods, with hybrid detector-triggered splitters winning in a majority of real-world streams (Hoeffding adaptive splitting trees for data stream classification with concept drift and ensemble learning). It appears among our baselines precisely so this question is settled empirically rather than by citation.
Proposed Experiments
The primary benchmark is the H3N2 dataset of Seasonal antigenic prediction of influenza A H3N2 using machine learning: 37 seasons (2003–2021), over 36,000 virus-antiserum pairs, HA1 substitutions encoded with AAindex2 matrices, and hemagglutination-inhibition titers as ground truth. We re-package it as a chronological instance stream (one virus-antiserum observation per step, labels arriving with their natural assay delay) and evaluate prequentially — predict, then train — reporting mean absolute error in antigenic units and AUROC for variant versus non-variant, per season. The batch-retrained AdaBoost baseline reports 0.702 MAE and 92% AUROC on this data; those are the numbers to match or beat at reduced label cost. Known drift boundaries (the 2009 pandemic season, the 2014–2016 epitope-cluster transitions flagged in that paper) serve as ground-truth change points for measuring detection lead time and structural stability, the latter defined as the fraction of splits surviving each boundary.
The second experiment moves to the SARS-CoV-2 stream from GISAID, late 2019 through the first half of 2022, using the quarterly temporal structure established by PRIEST: predicting viral mutations with immune escape capability of SARS-CoV-2 using temporal evolutionary information but processed instance-by-instance without labels. Here the metric is surveillance performance: do aggregated per-site IKS alerts fire on the receptor-binding-domain and N-terminal-domain residues of emerging variants of concern before their retrospective designation, and does the tree's split set reorganize around the drifted sites? For calibration we report the label fractions needed to maintain top-line accuracy, with the 42%–47% figure from the IKS paper on sensor streams as the reference point for what unsupervised detection typically buys; no reported result found on Lacuna for IKS or any drift detector on sequence streams, which is itself the gap this experiment fills.
The third experiment is the ablation grid on the H3N2 stream: the full system versus $\lambda = 0$ (no conservation discount) versus global EFDT re-evaluation (no selective triggering) versus both removed (recovering plain EFDT), all under identical stream order, compute, and tuning budget. The decisive check for the core claim is a correlation: across drift boundaries, the accuracy loss and rebuild cost of the $\lambda = 0$ tree should concentrate on splits made at high-$V$ (mutation-tolerant) sites, and the discounted tree should not. If the discount costs accuracy without buying stability, the bet is wrong and the honest conclusion is that conservation priors do not help streaming induction on this data — a result that would itself discipline the growing enthusiasm for importing biological priors into stream learners.
A final sanity check runs the tree, with the conservation term disabled, on standard tabular drift benchmarks (INSECTS, Electricity) to confirm no regression against published streaming baselines; the HLAST study's 16-percentage-point F1 gain on LADPU over standard Hoeffding-tree ensembles sets the expected scale of improvement on such data, though we make no claim of advancing the tabular state of the art.
References
- Seasonal antigenic prediction of influenza A H3N2 using machine learning
- Extremely Fast Decision Tree
- Learning from prepandemic data to forecast viral escape
- Learning the language of viral evolution and escape
- Iterative immunogen optimization to focus immune responses on a conserved, subdominant viral epitope
- Fast Unsupervised Online Drift Detection Using Incremental Kolmogorov-Smirnov Test
- Hoeffding adaptive splitting trees for data stream classification with concept drift and ensemble learning
- Simultaneous Clustering and Optimization for Evolving Datasets
- EpiBench: Can LLMs Understand Epitopes for Antibody Drug Discovery?
- PRIEST: predicting viral mutations with immune escape capability of SARS-CoV-2 using temporal evolutionary information