Noise Is Cheap, Truncation Is Not: Retraining-Free Compression and Edge Deployment of a Transformer-to-Gradient-Boosting Emergency Triage Model under a Non-Inferiority Rule
Clinical NLP models are typically validated on decision quality alone; the runtime cost of that quality (latency, memory, energy) is rarely measured, yet it determines whether a validated model can run on the modest hardware that hospitals actually own. We study this gap on a French-language emergency triage model that feeds the [CLS] embedding of a fine-tuned FlauBERT encoder, concatenated with ten structured variables, into an XGBoost head. We evaluate ten retraining-free compression configurations (thread tuning, sequence-length reduction, dynamic INT8 quantisation, padding bucketing, simulated INT4, structured pruning, representation distillation) and adjudicate each with a pre-specified non-inferiority rule: a paired-bootstrap one-sided 95% upper bound on the degradation of quadratic-weighted kappa, macro-F1 and mean absolute error must fall below a 0.05 margin for all three metrics jointly. Six configurations pass and four fail, including the fastest (78x). The retained configuration loses 0.011 weighted kappa and changes the predicted level of 6 of 400 patients, all by one level; under load on two wattmeter-instrumented Grid'5000 nodes it cuts median latency by 2.0-3.9x…
- arXiv
- 2612.04455
- Authors
- Mohammed Berrajaa, Daniel Balouek, Slim Hammadi, Edouard Lansiaux
- Categories
- cs.LG · cs.AI