AdaPCLA: Curriculum Prior Internalization For Long-Tailed Longitudinal EHR Generation
Abstract
Generative modeling of longitudinal Electronic Health Records (EHR) is increasingly important for privacy-preserving research, yet standard autoregressive models tend to underrepresent the co-occurrence structure of tail events (i.e., diagnoses), reducing the fidelity and faithfulness of generated data for rare subpopulations. To this end, we propose AdaPCLA, a curriculum prior-internalization framework for long-tailed longitudinal diagnosis-code generation. AdaPCLA treats label-wise empirical priors as a temporary optimization scaffold: prior-aware logit adjustment is applied early in training so that rare-code gradients stay active, and the correction is then annealed away so that rare-code temporal and co-occurrence dependencies are internalized into the model parameters. The resulting generator performs inference without any external bias, and it can be adapted, without retraining, to a target cohort whose code frequencies differ from the source. Our theoretical analysis characterizes rare-code logit updates through the label-wise empirical Neural Tangent Kernel (NTK) and derives a prior-internalization bound that isolates annealing speed and NTK conditioning as the factors governing how much prior signal survives scaffold removal; we state explicitly what this bound does and does not imply empirically. Experiments on MIMIC-III and MIMIC-IV show consistent gains in tail plausibility, downstream utility, and target-frequency adaptation; in particular, AdaPCLA improves TailPairSeen over HALO by 114.2% on MIMIC-III and 65.1% on MIMIC-IV, and outperforms GPT-style generation by 3.5% F1 under MIMIC-IV→MIMIC-III adaptation without retraining.