Search arXiv⌕ Search

arXiv · 2612.04455

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

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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Mohammed Berrajaa, Daniel Balouek, Slim Hammadi, Edouard Lansiaux. 2026-12-02. 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. https://searcharxiv.org/abs/2612.04455

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Tree-Structured Parzen Estimator: Understanding Its Algorithm Components and Their Roles for Better Empirical Performance

Recent scientific advances require complex experiment design, necessitating the meticulous tuning of many experiment parameters. Tree-structured Parzen estimator (TPE) is a widely used Bayesian optimization method in recent parameter tuning frameworks such as Hyperopt and Optuna. Despite its popularity, the roles of each control parameter in TPE and the algorithm intuition have not been discussed so far. The goal of this paper is to identify the roles of each control parameter and their impacts on parameter tuning based on the ablation studies using diverse benchmark datasets. The recommended setting concluded from the ablation studies is demonstrated to improve the performance of TPE. Our TPE implementation used in this paper is available at https://github.com/nabenabe0928/tpe/tree/single-opt. OptunaHub now provides our standalone TPE implementation at https://hub.optuna.org/samplers/tpe_tutorial/.

cs.LG↗

On the Rashomon ratio of infinite hypothesis sets

Given a classification problem and a family of classifiers, the Rashomon ratio measures the proportion of classifiers that yield less than a given loss. Previous work has explored the advantage of a large Rashomon ratio in the case of a finite family of classifiers. Here we consider the more general case of an infinite family. We show that a large Rashomon ratio guarantees that choosing the classifier with the best empirical accuracy among a random subset of the family, which is likely to improve generalizability, will not increase the empirical loss too much. We quantify the Rashomon ratio in two examples involving infinite classifier families in order to illustrate situations in which it is large. In the first example, we estimate the Rashomon ratio of the classification of normally distributed classes using an affine classifier. In the second, we obtain a lower bound for the Rashomon ratio of a classification problem with a modified Gram matrix when the classifier family consists of two-layer ReLU neural networks. In general, we show that the Rashomon ratio can be estimated using a training dataset along with random samples from the classifier family and we provide guarantees that such an estimation is close to the true value of the Rashomon ratio.

cs.LG↗

A Systematic Evaluation of On-Device LLMs: Quantization, Performance, and Resources

Deploying Large Language Models (LLMs) on edge devices enhances privacy but faces performance hurdles due to limited resources. We introduce a systematic methodology to evaluate on-device LLMs, balancing capability, efficiency, and resource constraints. Through an extensive analysis of models (0.5B-14B) and seven post-training quantization (PTQ) methods on commodity hardware, we demonstrate that: 1) Heavily quantized large models consistently outperform smaller, high-precision models, with a performance threshold at ~3.5 effective bits-per-weight (BPW); 2) Resource utilization scales linearly with BPW, though power and memory footprints vary by quantization algorithm; and 3) With a reduction in model size, the primary constraint on throughput transitions from communication overhead to computational latency. We conclude by offering guidelines for optimizing LLMs in resource-constrained edge environments. Our codebase is available at https://github.com/simmonssong/LLMOnDevice.

cs.LG↗