arXiv:2609.09257cs.LGSep 2026

Manuscript Offprint

arXiv:2609.09257

Accountable and uncertainty-aware evaluation of sensor-based AI under distribution shift: devices, subjects, and nearly three years underground

Benny Platte, Rico Thomanek, Christian Roschke, Marc Ritter

Abstract

Sensor-based AI systems are rarely operated under the conditions under which they were trained: devices, personnel and recording epochs change, and each change degrades performance in ways a random train–test split cannot reveal. We propose a staged, accountable evaluation protocol that treats the evaluation of a deployed model as a measurement with declared reference levels and a quantified uncertainty. Four cumulative generalisation stages hold out devices, subjects and time. Each stage is judged on quantiles of repeated trainings against chance references with the correct class count, an out-of-present-scope rate exposes silent misdirection towards classes that are no longer present in deployment relative to training, and an explicit decision rule ties roll-out decisions not to means but to 5% quantiles. We demonstrate the protocol on infrastructure-free geomagnetic localisation with smartphone-based recurrent classifiers in two real underground mines, including a replication of the scheme's training stages at the second site. Unchanged models are re-evaluated on data recorded 34 months after the training campaign, on a device generation unknown at training time and with a held-out surveyor. The 5% quantile of their present-conditioned precision there is 0.39 over 299 repeated trainings, 16.5 times the chance level; across the composition of the 42 reachable location classes the figure varies by ±0.08\pm0.08, several times the spread between repeated runs. Repeated trainings of a single configuration show why means mislead: a bimodal configuration passes a mean-based test decisively while its 5% quantile lies more than an order of magnitude below chance.

1 Introduction

A learned model learned on sensor data changes its measurement conditions when it leaves the laboratory. The sensor fleet, in the present case the smartphone fleet, ages and is replaced, personnel changes, and the deployment outlives the recording campaign that produced the training data by years. Each of these changes is a distribution shift between training and operation [1, 2], and none of them is visible in the evaluation practice that dominates the fingerprint-localisation literature, where a single campaign is split into training and test portions and the resulting accuracy is reported as the performance of the system (section 2.1).

This paper treats the problem as one of measurement science. If the performance of a deployed model is a measured quantity, then its report owes the reader the same elements that the “Guide to the Expression of Uncertainty in Measurement” demands of any measurement [3–5]: a defined measurand, declared reference levels, and a quantitative statement of uncertainty. The protocol proposed here supplies these elements for sensor-based classification systems. Its stages hold out, cumulatively, the devices, the subjects and the recording epoch; its reference levels are chance lines with the correct class count, a self-referenced plausibility bound for predictions on classes that are no longer present in deployment relative to training, and the random split, which is demoted to a declared upper bound; its uncertainty statement rests on repeat trainings of identical configurations, summarised by quantiles because the relevant risk of a deployment is the weak single draw rather than the mean.

Manuscript, prepared for Measurement Science and Technology

The protocol is demonstrated end to end on a hard instance: infrastructure-free localisation that uses the geomagnetic field as its only external signal source, recorded with devices that would plausibly be at hand in a disorientation situation in mines or caves, namely ordinary smartphones. Satellite navigation and radio infrastructure of any kind are unavailable. The only signal is the local (micro-)distortion of the geomagnetic field, that is micro-anomalies, which is of a similar order of magnitude to the sensor error (section 3). The demonstration spans two structurally different underground mines, with 7003 training runs used to produce the models, and includes what we believe to be the first re-evaluation of unchanged geomagnetic signature-localisation models on data recorded years after training: 34 months, on a device generation released after the training campaign, by a surveyor the models had never seen in training (section 6).

References (27)