TL;DR
In highly regulated fields like healthcare, AI models are often "locked" after certification, making it impossible to fine-tune them when they encounter new data. INPUTADAPTER solves this by adapting the data instead of the model, using a small, trainable neural network to transform new inputs into a format the frozen predictor already understands.
What Problem Does This Paper Address?
Machine learning models for clinical prediction (like identifying sepsis or kidney failure) often fail when moved from one hospital to another. This "domain shift" happens because different hospitals use different equipment, protocols, and patient populations.
Normally, engineers would fix this by fine-tuning the model on the new hospital's data. However, in medicine, models are often regulated as Software as a Medical Device (SaMD). Under FDA frameworks, once a model is "validated" and "certified," its weights cannot be changed without a lengthy and expensive re-certification process. Similar constraints exist in edge computing and firmware-embedded sensors where hardware is too limited to support retraining. The authors address this "locked-predictor" regime: how do you fix performance degradation when you aren't allowed to touch the model?
Methods
The authors introduce INPUTADAPTER, a framework that sits in front of the frozen predictor. Instead of changing the predictor's internal logic, it learns to "reshape" the incoming target data.
Key components include:
- Encoder-Decoder Architecture: A shared encoder maps target data into a latent space, and a decoder maps it back to the input space. It uses "axial attention," which processes temporal dynamics and feature interactions separately to handle complex multivariate time series.
- Source Memory Bank (Optional): The system can store "exemplars" from the original training data. For every new piece of data, it retrieves the $k$-nearest neighbors from the source domain and uses cross-attention to "borrow" features from them, providing the frozen model with familiar context.
- Multi-objective Loss: The adapter is trained using the task loss (e.g., cross-entropy for classification) back-propagated through the frozen model. It also uses a "range loss" to ensure the adapted data stays within realistic physiological bounds and a "fidelity loss" to prevent the adapter from hallucinating entirely new data.
Datasets
The paper evaluates the method across two major domains:
- Clinical ICU Data (YAIB Benchmark): Using MIMIC-IV as the source domain, they adapt models to eICU (a large US telehealth network) and HiRID (a Swiss university hospital). They test five tasks: Mortality, Acute Kidney Injury (AKI), Sepsis, Length-of-Stay (LoS), and Kidney Function.
- General Time-Series (AdaTime Benchmark): To prove the method isn't just for healthcare, they tested it on five non-clinical datasets covering wearable sensors (HAR, HHAR, WISDM), EEG (SSC), and industrial sensors (MFD).
Key Insights and Ideas
- Distributional Alignment is a Proxy, Not the Goal: Traditionally, domain adaptation tries to make the new data "look" like the old data statistically. Surprisingly, INPUTADAPTER actually moves the data further away from the source distribution (measured by Wasserstein distance).
- Fixing the "Cadence": The "aha moment" is that the adapter isn't just matching statistics; it's fixing temporal artifacts. For example, different hospitals have different "cadences" for measuring lab values. The adapter learns to disrupt "forward-fill" artifacts (where old values are repeated until a new measurement is taken) so the frozen model perceives the timing it expects.
- Architecture Agnostic: An adapter trained to work with a frozen LSTM predictor can be plugged into a frozen GRU or TCN (Temporal Convolutional Network) and still retain 47–86% of its performance gains. This suggests the adapter learns a fundamental domain-invariant mapping.
- Efficiency: A "tiny" version of the adapter, with fewer parameters than the predictor itself, often matches or exceeds the performance of the full version, proving the method doesn't rely on brute-force over-parameterization.
Key Results
- Outperforming Fine-Tuning: On the eICU dataset, INPUTADAPTER outperformed or tied every baseline, including end-to-end fine-tuning (which actually modifies the model).
- Massive Gains in AKI: The method yielded a +14.1 point improvement in AUCPR for Acute Kidney Injury prediction, a critical clinical metric.
- Beating the SOTA: On the AdaTime benchmarks, the adapter beat 13 different end-to-end domain adaptation methods and exceeded the leading Test-Time Adaptation (TTA) method by +10.1 mean Macro-F1.
- Regulatory Compliance: Most importantly, it achieved these results while keeping the original predictor's weights 100% intact, preserving its regulatory certification.
Limitations and Future Work
- Label Requirement: The current framework requires "retrospective target labels"—meaning you need some labeled data from the new site to train the adapter. It is not a "fully unsupervised" method.
- Validation of the Adapter: While the predictor stays certified, the adapter is still a machine learning component. In a real-world deployment, the adapter itself would likely require its own (albeit perhaps simpler) validation.
- Auditability: Because the predictor receives "transformed" data, the authors suggest that audit pipelines must log both the raw and the adapted signals to ensure clinical decisions remain traceable to the patient's actual physiology.
Summary updated