噪声廉价、截断昂贵:FlauBERT-XGBoost 急诊分诊模型免重训压缩与边缘部署的非劣性研究
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
AI 导读
一项针对法语急诊分诊模型(FlauBERT 编码器 [CLS] 嵌入拼接 10 个结构化变量、接 XGBoost 头)的研究,评估了 10 种免重训压缩配置,并以预定义非劣性规则(三项指标退化 95% 置信上界低于 0.05)裁决,6 项通过、4 项失败。
正文 · 原文
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.
| Comments: | 21 pages, 4 figures, 9 tables |
| Subjects: | Machine Learning (cs.LG); Artificial Intelligence (cs.AI) |
| ACM classes: | I.2.6; I.2.7; C.4; J.3 |
| Cite as: | arXiv:2612.04455 [cs.LG] |
| (or arXiv:2612.04455v1 [cs.LG] for this version) | |
| https://doi.org/10.48550/arXiv.2612.04455 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Edouard Lansiaux [view email]
[v1]
Wed, 2 Dec 2026 16:07:28 UTC (31 KB)
来源:arXiv cs.AI · arxiv.org