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 and energy per prediction by 2.9-6.0x, and the throughput gain widens to 5.4x under a 4-core envelope. Two findings generalise beyond triage. First, in a transformer-to-tree pipeline, simulated INT4 weight noise passes the rule while truncating inputs to 64 tokens fails it: removing information is more harmful than perturbing it. Second, accuracy deltas alone are not a deployment decision; an a-priori margin with paired uncertainty is. We complement the measurements with a systematic review (PRISMA 2020) of 30 edge-ML deployment papers, which shows that accuracy dominates reported model metrics, CPU load is reported by only 2 papers, and measured attack resistance by only 3.

Authors

Institutions

Publication Details

Journal
arXiv
Published
2026-12-02
Primary Topic
Advanced Neural Network Applications
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

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

Édouard Lansiaux, Slim Hammadi, Mohammed Berrajaa, Daniel Balouek
arXiv
Advanced Neural Network Applications
preprint

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

Édouard Lansiaux, Slim Hammadi, Mohammed Berrajaa, Daniel Balouek
preprint en

Abstract

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 and energy per prediction by 2.9-6.0x, and the throughput gain widens to 5.4x under a 4-core envelope. Two findings generalise beyond triage. First, in a transformer-to-tree pipeline, simulated INT4 weight noise passes the rule while truncating inputs to 64 tokens fails it: removing information is more harmful than perturbing it. Second, accuracy deltas alone are not a deployment decision; an a-priori margin with paired uncertainty is. We complement the measurements with a systematic review (PRISMA 2020) of 30 edge-ML deployment papers, which shows that accuracy dominates reported model metrics, CPU load is reported by only 2 papers, and measured attack resistance by only 3.

arXiv
Centre National de la Recherche Scientifique (FR), Université de Lille (FR), Centre Hospitalier Universitaire de Lille (FR), IMT Atlantique (FR), Centre de Recherche en Informatique, Signal et Automatique de Lille (FR), École Centrale de Lille (FR)
Advanced Neural Network Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon