Manuscript Offprint
arXiv:2610.19394Selective Next-Location Prediction with MetaModelSelect: A Lightweight Post-Hoc Confidence Metamodel
Calvin Jary
Systems and Computer Engineering
Carleton University
Ottawa, Ontario, Canada
Nafiseh Kahani
Systems and Computer Engineering
Carleton University
Ottawa, Ontario, Canada
Abstract—Next-location prediction can support proactive mobile-network decisions, but acting on unreliable predictions can waste resources. We apply MetaModelSelect, a lightweight post-hoc confidence metamodel, to selective cellular next-location prediction. The mobility-specific model combines a learned embedding of the predicted location with the four largest softmax probabilities and Softmax Concentration. It learns whether a frozen recurrent neural network's top-1 prediction is correct, using only its outputs and without retraining the backbone. On path-balanced Changchun cellular mobility trajectories, we evaluate backbones trained with cross-entropy (CE) and self-adaptive training plus entropy minimization (SAT+EM), comparing against eight scalar confidence scores, two location-aware lookup methods, and a raw-logit multilayer perceptron. Relative to maximum softmax probability, MetaModelSelect achieves mean per-run reductions in area under the risk-coverage curve (AURC), excess AURC (E-AURC), and area under the generalized risk-coverage curve (AUGRC) of 2.6%, 4.2%, and 3.0% for CE, and 2.0%, 3.3%, and 1.9% for SAT+EM. It also achieves the lowest reported mean risk at every evaluated partial coverage. The results show that MetaModelSelect improves confidence ranking in this mobility setting while leaving the underlying location predictor unchanged.
Index Terms—selective classification, next-location prediction, confidence estimation, recurrent neural networks, abstention
I. INTRODUCTION
Next-location prediction uses recent mobility history to anticipate a user's next observed location. Such predictions can inform proactive caching, resource allocation, and handoff preparation in mobile networks. However, a predictor that always returns a location also commits to decisions when its evidence is weak. An incorrect prediction can direct resources toward the wrong region. Average accuracy does not reveal which individual predictions are reliable enough to use.
Selective prediction adds an abstention option: a confidence score ranks the predictions, and the system accepts only those above a threshold. Its central trade-off is between coverage, the fraction accepted, and selective risk, the error rate among accepted predictions [1], [2]. This formulation separates the quality of a mobility predictor from the quality of its confidence ranking. It also allows different network decisions to use different acceptance thresholds without changing the predictor.
We study the practical post-hoc setting in which a next-location model is already trained and remains frozen. The available information consists of its output logits and predicted location; intermediate neural representations are unnecessary. Our testbed uses the public Changchun cellular traces [3] and a compact recurrent neural network (RNN) [4]. Each prediction concerns the next hourly observation in a clustered cellular region. The task therefore differs from predicting a precise coordinate or the next distinct place visited.
Confidence estimation for mobility is not new. Earlier methods used confidence counters [5], and LOTUS estimated trustworthiness from place information and membership probabilities [6]. We build on this motivation and on the output-only correctness-modeling approach of MetaModelSelect [7]. Our adaptation combines a learned embedding of the predicted cellular location with the four largest softmax probabilities and Softmax Concentration. A small multilayer perceptron (MLP) learns whether the RNN's top-1 prediction is correct. Its score controls acceptance; it does not replace the predicted location. The feature representation combines location-specific information with evidence about leading alternatives and the full output distribution.
We evaluate RNNs trained with cross-entropy (CE) and self-adaptive training plus entropy minimization (SAT+EM) [8]. Four questions structure the study: RQ1, which scalar confidence scores rank errors most effectively; RQ2, whether the metamodel improves on scalar, location-aware, and generic learned selectors; RQ3, which tested features contribute to that improvement; and RQ4, what parameter and latency costs it adds.
The contributions are a risk–coverage evaluation of selective prediction on path-balanced cellular trajectories, an output-only adaptation of learned correctness estimation to this setting, and comparisons with eight scalar scores, two location-aware lookup methods, and a raw-logit MLP. Across both backbone objectives, the metamodel achieves the lowest reported mean area under the risk–coverage curve (AURC), excess AURC (E-AURC), area under the generalized risk–coverage curve (AUGRC), and partial-coverage risks. Relative to maximum softmax probability (MSP), the reported mean per-run integrated-metric reductions are 2.6%, 4.2%, and 3.0% for CE and 2.0%, 3.3%, and 1.9% for SAT+EM. These are modest improvements in confidence ranking on the evaluated dataset; their deployment value requires validation under temporal change and downstream network objectives.
A. Mobility prediction and confidence
Next-location prediction methods include mobility Markov chains [9], recurrent networks with spatial and temporal context [10], LSTMs [11], attention with recurrence [12], and transformers [13]. Surveys identify accuracy, scalability, and computational cost as recurring challenges [14]. The observation modality matters: cellular records associate users with serving regions, whereas GPS and point-of-interest data describe different spatial units. Our backbone follows the compact two-layer vanilla RNN previously studied for Changchun traces [4]; the present contribution concerns its acceptance decisions.
Earlier mobility work explicitly considered prediction confidence. Petzold et al. compared confidence counters for Markov and state predictors [5]. LOTUS estimated next-place trustworthiness using the current place, predicted place, and membership probability [6]. Thus, location-conditioned confidence is established motivation. Our study evaluates compact learned confidence for a frozen deep cellular predictor through modern risk-coverage metrics and includes location-aware lookup controls.
B. Selective classification and scalar scores
The reject option trades classification errors against abstention [1]. For a fixed classifier under 0/1 loss, ranking by conditional correctness yields the ideal selective ordering [2]. AURC integrates selective risk over coverage; E-AURC subtracts the oracle contribution associated with the backbone's error rate. AUGRC instead integrates the probability of an accepted error [15]. We report all three alongside risk at specified coverages.
Post-hoc scores include MSP [16], negative entropy, energy confidence [17], logit margin, concentration statistics, and centered p-norm-normalized logits [18]. They are inexpensive but impose a predetermined mapping from model outputs to confidence. A learned selector can combine several output characteristics and condition their interpretation on the predicted class.
C. Learned correctness estimation
ConfidNet learns confidence from internal network features [19]. MetaModelSelect instead learns top-1 correctness using output-derived confidence statistics and a predicted-class embedding [7]. We adapt the latter principle from image classification to cellular mobility. The mobility feature set combines predicted-location identity with the top four softmax probabilities and Softmax Concentration. The feature choices and their measured effects are evaluated in the present domain.
Training-time methods offer a complementary intervention: SAT+EM modifies the backbone objective [8], while confidence-aware contrastive learning modifies representation learning [20]. We use CE and SAT+EM backbones to test whether output-only correctness modeling remains useful under different training objectives. The comparison is restricted to single-pass post-hoc selectors; it does not establish superiority over internal-feature heads, ensembles, or other access regimes.
III. PROBLEM FORMULATION AND METAMODEL
A. Prediction and abstention
Let contain five hourly location observations and let denote the next observed region. There are location classes. A frozen RNN produces class logits , probabilities , and prediction . The selector scores this existing decision; it never changes the predicted location.
For confidence score and threshold , define the accepted indices on a test set of size . Coverage and selective risk are
where risk is defined for nonempty accepted sets. At full coverage, it equals the backbone's top-1 error. A useful selector places correct predictions before errors, reducing risk as coverage decreases.
B. Output-derived representation
Write the sorted probabilities as . The metamodel combines a learned predicted-location embedding with five numerical features:
where Softmax Concentration (SC) is
Table I summarizes the representation. The embedding makes the score conditional on the predicted region. The top-four probabilities describe the leading decision and its strongest alternatives. SC measures concentration across the full output and is monotone-equivalent to negative Gini impurity, since Gini impurity equals . SC is distinct from the Lorenz-Gini coefficient evaluated as a baseline.
The numerical block is standardized using training-derived means and population standard deviations, with those statistics fixed for evaluation. The selected representation is held fixed before test evaluation. The test comparisons and ablations assess this representation rather than serving as a test-set feature-selection procedure.
TABLE I METAMODELSELECT INPUTS. THE TOTAL DIMENSION IS : 48 FOR CE AND 29 FOR SAT+EM.
| Input (dimension) | Information represented |
|---|---|
| Predicted-location embedding () | Location-dependent reliability. |
| Top-4 probabilities (4) | Confidence and ambiguity among leading alternatives. |
| Softmax Concentration (1) | Concentration of the full output distribution. |
C. Correctness training and inference
MetaModelSelect has two fully connected hidden layers of width 200, each followed by batch normalization and ReLU, and a scalar output logit . Its target is . Ordinary unweighted binary cross-entropy gives
for selector-training examples. Only the metamodel and its embedding are updated; the RNN remains frozen. At inference, supplies a correctness score. Training toward correctness motivates the ranking, but a sigmoid output does not establish probability calibration or a guaranteed risk bound.
Figure 1 summarizes training. Its correctness branch denotes the supervision target: the true next location determines whether is correct and enters the binary loss. This branch is not part of the deployable feature vector in (2). Figure 2 shows the inference path, which uses only the predicted class and output-derived features. One frozen-RNN pass and one metamodel pass produce a score that is thresholded to accept or abstain. No true label, hidden RNN state, ensemble, or repeated stochastic prediction is required. The fallback after abstention is application-specific and is not evaluated here.
IV. EXPERIMENTAL SETUP
A. Data and evaluation protocol
The Changchun dataset contains one week of hourly observations from 2,066,000 anonymized mobile-phone users [3]. Its 7,251 base stations are represented by 2,134 clustered location classes. Filtering incomplete 24-hour trajectories and grouping identical daily paths yields 197,415 unique complete paths. The outer split assigns 157,932 paths (80%) to training and 39,483 (20%) to testing. Five-observation windows produce 19 window-target pairs per path: 3,000,708 training examples and 750,177 test examples.
Each distinct complete path contributes once, regardless of how many users followed it. This path-balanced evaluation prevents repeated trajectories from dominating the results; it does not remove location-class imbalance or estimate user-volume-weighted performance. Windows within a path overlap, and the path split is not a chronological holdout.
TABLE II BASE-RNN ARCHITECTURE AND TRAINING SETTINGS. SHARED SETTINGS ARE IDENTICAL FOR CE AND SAT+EM.
| Setting | Value |
|---|---|
| Window length / embedding | 5 / 10 |
| Recurrent architecture | 2 layers, 533 hidden units |
| Normalization | Layer normalization |
| Epochs / batch size | 150 / 2500 |
| Optimizer / learning rate | Adam / |
| Gradient clipping norm | 1.0 |
| SAT+EM-specific settings | |
| SAT momentum | 0.99 |
| Entropy coefficient | |
| SAT pretraining | 0 epochs |
For each objective, we train three backbones with seeds 1, 2, and 3. Selector fitting and five-fold validation use outputs from the same partition used to train the RNNs. These are selector-validation folds, not out-of-fold backbone predictions. The test partition is excluded from model selection. One metamodel is fitted to each frozen backbone with selector seed 42 held constant. This protocol tests performance on held-out paths, while retaining the limitation that selector training observes in-sample backbone behavior.
B. Backbones and selector settings
The compact two-layer vanilla RNN follows the architecture studied in [4]; Table II gives this study's configuration. The objectives are CE and SAT+EM [8]. SAT+EM adds an abstention output during backbone training; post-hoc scoring is defined over the location-class outputs, with softmax normalized over those classes.
Table III lists the metamodel settings. Conditional on the selected feature representation, embedding dimension and batch size are chosen separately for each objective by training-only five-fold validation, minimizing AURC. The head architecture, optimizer, and training duration are fixed. The embedding has rows: index zero is reserved for a missing-entry token, and the remaining rows represent location classes. The complete input dimensions are 48 for CE () and 29 for SAT+EM ().
C. Comparison methods
Table IV defines eight scalar scores, all oriented so that larger means more confident. MSP is the standard failure-detection baseline [16]. Energy temperature and centered pNorm order are selected within the training partition by five-fold validation AURC [17], [18]. Both objectives select .
Location-Reliability uses training counts of predictions and correct predictions for each predicted location :
This Laplace-smoothed lookup tests location identity without distributional features.

Fig. 1. MetaModelSelect training. The frozen base model supplies correctness as the ground truth, to the metamodel, as a supervision target for training. The base model also outputs logits, which supply the predicted-location embedding and the five numerical features.

Fig. 2. MetaModelSelect inference. The frozen base model supplies the predicted class and output logits. The metamodel combines the class embedding, top-four probabilities, and softmax concentration, then thresholds its correctness score to accept or abstain.
TABLE III SELECTED AND FIXED METAMODELSELECT SETTINGS. SELECTION USES FIVE-FOLD CROSS-VALIDATION WITHIN THE TRAINING SPLIT.
| Selected settings: | CE / SAT+EM |
|---|---|
| Embedding dimension | 43 / 24 |
| MetaModelSelect batch size | 63 / 59 |
| Fixed settings: | |
| Numerical inputs | Top-4 probabilities and SC (5) |
| Hidden architecture | 2 layers, 200 units each |
| Normalization / activation | Batch normalization / ReLU |
| Output | 1 logit; inference sigmoid |
| Loss | Binary cross-entropy with logits |
| Optimizer / learning rate | Adam / |
| Epochs | 50 |
| Dropout / weight decay | None / 0 |
Location-Calibrated MSP divides the training MSP range into 20 equal-width bins and combines the predicted location c with its MSP bin b:
Sparse cells shrink toward class-level reliability; an empty
TABLE IV SCALAR CONFIDENCE SCORES; LARGER IS MORE CONFIDENT. ONLY ENERGY TEMPERATURE T AND PNORM ORDER p ARE TUNED.
| Score | Definition |
|---|---|
| MSP (Softmax) | |
| Entropy | |
| Energy | |
| Maximum logit | |
| Logit margin | |
| Softmax Concentration | |
| Lorenz-Gini | |
| pNorm |
and are the two largest logits; ; are sorted in ascending order. The energy sign is reversed to give a confidence score.
cell falls back to that value. The binning is fixed before test evaluation.
RawLogit-MLP learns correctness directly from the class-logit vector using binary cross-entropy and a fixed two-hidden-layer head. It tests a generic learned representation against the metamodel's compact inputs. The comparison is to this configuration; no layer-count sweep is performed.
D. Metrics and implementation
Scores are sorted in descending order. At target coverage q, the highest-scored examples are accepted. This evaluates a ranking at specified coverages; a deployable threshold must instead be chosen on validation data and may attain different coverage after distribution shift.
We report risk at 100%, 95%, 90%, 80%, 70%, and 50% coverage. In the tables, q denotes percentage error at q% coverage; integrated metrics are dimensionless. AURC trapezoidally integrates selective risk over coverage. E-AURC subtracts the oracle AURC for the same classifier. Generalized risk is , the accepted-error fraction of all examples; AUGRC integrates this quantity [15]. Lower is better throughout. Within a fixed backbone, AURC and E-AURC differ by a selector-independent term, so their absolute improvements coincide.
Tables report means and sample standard deviations over the three backbone runs with their associated selectors. These SDs describe run-to-run variation, not confidence intervals. All methods use PyTorch. Latency is measured on an AMD Ryzen 7950X3D CPU and an NVIDIA RTX 4090 GPU. Selector times include feature computation and are incremental to the RNN forward pass. The timed metamodel uses the SAT+EM-selected embedding dimension, .
V. RESULTS AND ANALYSIS
A. Scalar confidence scores
Table V answers RQ1. Since each selector reorders a fixed set of predictions, full-coverage risk is unchanged: 17.46% for CE and 16.61% for SAT+EM. MSP and SC give the strongest overall scalar rankings. Under CE, both have AURC 0.0421 and AUGRC 0.0337 at the table's precision. Under SAT+EM, both again have AURC approximately 0.0387 and AUGRC approximately 0.0311.
The remaining scores are less effective overall. For example, pNorm has AURC 0.0753 under CE and 0.0481 under SAT+EM, despite training-side tuning. Energy confidence and maximum logit are particularly weak under CE. Strong performance of a confidence score in other domains therefore need not transfer to these cellular predictors. MSP and SC are the principal scalar controls for the learned selector.
B. Main selector comparison
Table VI answers RQ2. MetaModelSelect achieves the lowest mean AURC, E-AURC, AUGRC, and risk at every listed partial coverage for both objectives. For CE, AURC decreases from 0.04207 with MSP to 0.04099; for SAT+EM, it decreases from 0.03870 to 0.03792.
Table VII summarizes three complementary comparisons. CE→MM and SATEM→MM replace MSP with the metamodel while keeping the corresponding backbone fixed. CE→SATEM instead changes the backbone objective from
Per-class Softmax confidence (sorted by descending)

Fig. 3. Classwise mean softmax confidence among correct CE predictions, sorted by decreasing mean. This large variation from class-to-class motivates our class-specific metamodel embedding.
CE to SAT+EM while using MSP for both. Each entry reports the mean and standard deviation of the per-run relative reduction, , for metric M; these summaries can differ slightly from ratios of the rounded means in Table VI.
Table VII separates improvements from training the backbone from those obtained by changing the selector. With MSP used for both backbones, switching from CE to SAT+EM reduces AURC by 8.00%. Replacing MSP with the metamodel then reduces AURC by 2.03% on the frozen SAT+EM backbone; the corresponding reduction on the CE backbone is 2.55%. The metamodel therefore improves the reported mean ranking performance even after the backbone has been trained for selective prediction. These percentages use different reference configurations and should not be added.
At 90% coverage, CE risk falls from 12.72% with MSP to 12.42% with MetaModelSelect; SAT+EM risk falls from 11.89% to 11.73%. At 50% coverage, the corresponding reductions are 1.71% to 1.54% and 1.51% to 1.40%. These comparisons hold the accepted fraction fixed, so the improvement reflects a better ordering of the same predictions.
Location-Reliability performs poorly: predicted-location identity alone, as represented by this lookup, is insufficient. Location-Calibrated MSP improves several fixed-coverage risks but worsens AURC and E-AURC relative to MSP under both objectives. Its competitive high-coverage behavior therefore does not extend uniformly across the full ranking. RawLogit-MLP also underperforms the strongest scalar scores on the integrated metrics. The metamodel's advantage is consistent with a useful compact representation, without establishing that generic learned selectors cannot be improved.
C. Feature behavior and ablations
The diagnostic figures illustrate the feature design. Figure 3 shows that mean softmax confidence among correct predictions differs across locations. This motivates conditioning on location identity; because the plot conditions on correctness, it does not directly estimate each location's error rate or demonstrate what the learned embedding encodes.
Figure 4 plots MSP against SC. Their strong association does not make them identical: predictions with similar MSP can differ in how the remaining mass is distributed. Figure 5
TABLE V SCALAR POST-HOC BASELINES. VALUES ARE MEAN (STANDARD DEVIATION) OVER THREE BACKBONE SEEDS; LOWER IS BETTER. CROSS-VALIDATION SELECTED FOR PNORM UNDER BOTH OBJECTIVES.
| Metric | MSP | Entropy Conf. | Energy Conf. | Max Logit | Logit Margin | Softmax Conc. | Lorenz-Gini | pNorm (p = 9) |
|---|---|---|---|---|---|---|---|---|
| Backbone: Cross-Entropy (CE) | ||||||||
| AUGRC | 0.0337(1) | 0.0346(1) | 0.0729(4) | 0.0701(4) | 0.0343(2) | 0.0337(1) | 0.0357(1) | 0.0532(7) |
| E-AURC | 0.0259(1) | 0.0271(1) | 0.1134(12) | 0.1064(10) | 0.0265(1) | 0.0259(1) | 0.0288(1) | 0.0591(11) |
| AURC | 0.0421(2) | 0.0433(1) | 0.1296(13) | 0.1226(11) | 0.0427(2) | 0.0421(2) | 0.0450(1) | 0.0753(11) |
| 100 | 17.46(6) | 17.46(6) | 17.46(6) | 17.46(6) | 17.46(6) | 17.46(6) | 17.46(6) | 17.46(6) |
| 95 | 14.86(6) | 14.98(6) | 16.83(7) | 16.63(8) | 15.24(5) | 14.87(6) | 15.15(6) | 16.61(12) |
| 90 | 12.72(3) | 12.93(1) | 16.38(7) | 16.07(6) | 13.08(3) | 12.71(4) | 13.13(7) | 15.68(19) |
| 80 | 8.76(4) | 9.21(1) | 15.65(6) | 15.16(6) | 8.96(5) | 8.78(3) | 9.32(4) | 13.41(19) |
| 70 | 5.43(3) | 5.68(5) | 14.93(6) | 14.31(6) | 5.45(3) | 5.44(2) | 6.04(4) | 11.10(16) |
| 50 | 1.71(1) | 1.81(1) | 13.41(13) | 12.61(12) | 1.68(8) | 1.71(1) | 2.09(2) | 6.79(17) |
| Backbone: Self-Adaptive Training + Entropy Minimization (SAT+EM) | ||||||||
| AUGRC | 0.0311(2) | 0.0313(2) | 0.0391(9) | 0.0370(8) | 0.0319(2) | 0.0311(2) | 0.0318(2) | 0.0369(3) |
| E-AURC | 0.0241(2) | 0.0243(2) | 0.0378(16) | 0.0346(14) | 0.0251(2) | 0.0240(2) | 0.0253(3) | 0.0335(3) |
| AURC | 0.0387(3) | 0.0390(3) | 0.0524(16) | 0.0493(14) | 0.0398(3) | 0.0387(3) | 0.0399(3) | 0.0481(4) |
| 100 | 16.61(6) | 16.61(6) | 16.61(6) | 16.61(6) | 16.61(6) | 16.61(6) | 16.61(6) | 16.61(6) |
| 95 | 14.03(4) | 14.06(5) | 14.68(7) | 14.43(7) | 14.37(5) | 14.01(5) | 14.11(5) | 14.63(7) |
| 90 | 11.89(4) | 11.92(2) | 13.01(9) | 12.58(8) | 12.17(3) | 11.85(2) | 12.01(2) | 12.83(6) |
| 80 | 7.95(5) | 8.04(4) | 10.00(16) | 9.35(17) | 8.16(5) | 7.93(4) | 8.19(5) | 9.54(8) |
| 70 | 4.83(6) | 4.87(5) | 7.33(28) | 6.64(25) | 4.97(6) | 4.84(5) | 5.05(6) | 6.66(7) |
| 50 | 1.51(5) | 1.55(4) | 3.50(29) | 3.10(23) | 1.55(3) | 1.52(5) | 1.68(3) | 2.82(7) |
TABLE VI MAIN SELECTIVE NEXT-LOCATION PREDICTION RESULTS. VALUES ARE MEAN (STANDARD DEVIATION) OVER THREE BACKBONE SEEDS; LOWER IS BETTER. 100 IS THE BACKBONE ERROR AND IS IDENTICAL ACROSS SELECTORS.
| Metric | MSP | Softmax Conc. | Location-Reliability | Location-Calibrated MSP | RawLogit-MLP | MetaModelSelect |
|---|---|---|---|---|---|---|
| Backbone: Cross-Entropy (CE) | ||||||
| AUGRC | 0.033 69(11) | 0.033 72(11) | 0.054 73(38) | 0.033 56(10) | 0.045 45(29) | 0.032 67(16) |
| E-AURC | 0.025 86(4) | 0.025 89(4) | 0.074 29(42) | 0.027 72(23) | 0.056 51(34) | 0.024 78(4) |
| AURC | 0.042 07(15) | 0.042 10(15) | 0.090 50(52) | 0.043 93(15) | 0.072 72(44) | 0.040 99(15) |
| 100 | 17.46(6) | 17.46(6) | 17.46(6) | 17.46(6) | 17.46(6) | 17.46(6) |
| 95 | 14.86(6) | 14.87(6) | 15.42(9) | 14.70(7) | 14.83(7) | 14.68(7) |
| 90 | 12.72(3) | 12.71(4) | 14.16(9) | 12.47(4) | 12.88(10) | 12.42(6) |
| 80 | 8.76(4) | 8.78(3) | 12.21(7) | 8.52(5) | 9.98(7) | 8.42(4) |
| 70 | 5.43(3) | 5.44(2) | 10.71(13) | 5.25(2) | 8.15(5) | 5.09(3) |
| 50 | 1.71(1) | 1.71(1) | 8.36(12) | 1.68(2) | 6.05(5) | 1.54(2) |
| Backbone: Self-Adaptive Training + Entropy Minimization (SAT+EM) | ||||||
| AUGRC | 0.031 10(18) | 0.031 06(17) | 0.052 51(41) | 0.031 54(21) | 0.041 25(35) | 0.030 52(18) |
| E-AURC | 0.024 06(24) | 0.024 02(23) | 0.072 14(74) | 0.026 82(35) | 0.050 02(56) | 0.023 28(25) |
| AURC | 0.038 70(29) | 0.038 65(28) | 0.086 78(82) | 0.041 45(44) | 0.064 66(65) | 0.037 92(33) |
| 100 | 16.61(6) | 16.61(6) | 16.61(6) | 16.61(6) | 16.61(6) | 16.61(6) |
| 95 | 14.03(4) | 14.01(5) | 14.80(6) | 13.97(5) | 14.10(6) | 13.93(5) |
| 90 | 11.89(4) | 11.85(2) | 13.66(6) | 11.78(6) | 12.17(7) | 11.73(2) |
| 80 | 7.95(5) | 7.93(4) | 11.78(6) | 7.87(4) | 9.17(9) | 7.82(4) |
| 70 | 4.83(6) | 4.84(5) | 10.24(7) | 4.72(5) | 7.21(6) | 4.67(6) |
| 50 | 1.51(5) | 1.52(5) | 7.99(15) | 1.71(6) | 5.12(9) | 1.40(4) |
TABLE VII HEADLINE RELATIVE IMPROVEMENTS (% REDUCTION; HIGHER IS BETTER). ENTRIES ARE MEAN(STD) ACROSS THREE RUNS IN COMPACT UNCERTAINTY NOTATION. CE = CROSS-ENTROPY, SAT = SAT+EM. MMS = METAMODELSELECT.
| Metric | CE→MMS | CE→SATEM | SATEM→MMS |
|---|---|---|---|
| AUGRC | 3.03(14) | 7.70(71) | 1.87(16) |
| E-AURC | 4.16(4) | 6.93(99) | 3.26(59) |
| AURC | 2.55(2) | 8.00(82) | 2.03(37) |
shows the leading two probabilities and the overlap between correct and incorrect predictions. The second probability describes a competing alternative, but neither scatter plot alone establishes a conditional error probability or the incremental value of a feature.
Table VIII provides the direct feature test for RQ3 on the CE backbone. Removing the location embedding causes the largest deterioration: AURC rises from 0.04099 to 0.04197, E-AURC from 0.02478 to 0.02576, and AUGRC from 0.03267 to 0.03362. Removing the largest probability causes the next-largest degradation. Removing each of the second, third, and fourth probabilities, or SC, also increases every mean integrated metric. These ablations support the combined representation and identify location identity and the leading softmax probability as its largest measured contributors.
D. Computational overhead
Table IX addresses RQ4. With embedding rows, five numerical inputs, two 200-unit hidden layers with affine batch

Fig. 4. Top-1 Softmax versus Softmax Concentration. There is a correlation between the two features, however the two features offer complementary information to the metamodel.

Fig. 5. Largest versus second-largest softmax probability. A greater Top-2 Softmax increases the likelihood of an incorrect prediction.
normalization, and one output logit, the metamodel parameter count is
For , this gives 142,806 parameters for CE () and 98,441 for SAT+EM (). The smaller configuration has approximately as many parameters as the RNN and fewer than RawLogit-MLP. At fixed embedding dimension, each additional location adds parameters; the numerical feature block and hidden-layer widths stay constant.
For the metamodel, measured incremental latency is 0.131 ms per example on CPU and 0.465 ms on GPU, including feature construction. Both are below one millisecond, although they amount to approximately 29% and 80% of the respective backbone times. The combined RNN-plus-selector GPU time is approximately 1.044 ms. RawLogit-MLP is faster in this setup despite having more parameters, illustrating that parameter count alone does not determine runtime. The metamodel combines compact storage and low absolute selector latency with a measurable relative cost on this small backbone.
TABLE VIII CE-BACKBONE FEATURE ABLATIONS. MEAN (SAMPLE STANDARD DEVIATION) OVER THREE SEEDS, WITH PARENtheses APPLYING TO THE LAST DISPLAYED DIGITS. LOWER IS BETTER.
| Variant | AURC | E-AURC | AUGRC |
|---|---|---|---|
| Full MetaModelSelect | 0.04099(15) | 0.02478(4) | 0.03267(16) |
| No embedding | 0.04197(24) | 0.02576(16) | 0.03362(15) |
| No Top Softmax | 0.04137(15) | 0.02516(9) | 0.03305(15) |
| No Top Softmax | 0.04131(17) | 0.02510(11) | 0.03299(14) |
| No Top Softmax | 0.04122(15) | 0.02501(13) | 0.03288(15) |
| No Top Softmax | 0.04111(18) | 0.02490(12) | 0.03278(16) |
| No Softmax Concentration | 0.04115(20) | 0.02494(11) | 0.03286(16) |
TABLE IX MODEL COMPLEXITY AND PER-EXAMPLE LATENCY. METAMODEL PARAMETER COUNTS ARE CALCULATED FROM THE STATED ARCHITECTURE. PARENtheses GIVE TIMING SDs IN THE LAST DISPLAYED DIGITS.
| Method | Parameters | CPU (ms) | GPU (ms) |
|---|---|---|---|
| Base RNN | 2,020,635 | 0.451(6) | 0.579(6) |
| Maximum Softmax Probability | 0 | 0.015(1) | 0.029(1) |
| Softmax Concentration | 0 | 0.014(1) | 0.034(1) |
| Loc.-Rel. | 2,135 | 0.019(1) | 0.027(1) |
| Loc.-MSP | 42,719 | 0.022(1) | 0.082(1) |
| RawLogit-MLP | 468,401 | 0.075(2) | 0.276(1) |
| MetaModelSelect () | 98,441 | 0.131(1) | 0.465(4) |
Selector times include feature construction and exclude the RNN pass. Timing is available for ; dashes indicate no timing measurement for . Lookup counts denote stored values.
VI. DISCUSSION AND CONCLUSION
A. What the results establish
The experiments show that MetaModelSelect can improve confidence ranking for an existing cellular predictor. MSP and Softmax Concentration are the strongest overall scalar controls, but the metamodel achieves the lowest reported mean integrated metrics and risk at every evaluated partial coverage under both CE and SAT+EM. The metamodel has 98,441 parameters with the SAT+EM-selected embedding and 142,806 with the CE-selected embedding; the smaller configuration adds less than one millisecond in the measured setup.
The distinction between predicting a location and predicting correctness informs our design. The RNN learns a multiclass mapping from mobility history; the metamodel learns which of that RNN's decisions to accept. Its location embedding can condition the interpretation of confidence on the predicted region, while the numerical inputs describe the leading alternatives and output-distribution shape. Location-Reliability performs poorly alone, and Location-Calibrated MSP does not improve AURC or E-AURC over MSP. These controls suggest that the benefit extends beyond a location prior or a binned location/MSP lookup. The raw-logit MLP also performs worse despite its larger parameter count. This comparison supports the chosen representation within the tested configurations.
The improvements are modest in absolute size. For example, at 80% coverage, CE risk decreases from 8.76% with MSP to 8.42% with the metamodel, a reduction of 0.34 percentage points. SAT+EM lowers the backbone's full-coverage error from 17.46% to 16.61%; applying the metamodel further improves the confidence ordering without changing that full-coverage error. The relative reductions in Table VII summarize these complementary contributions: backbone training changes the predictions, while post-hoc selection improves which predictions are accepted. The reported means and standard deviations describe three backbone runs and should not be read as a formal significance test.
The full-coverage rows anchor this comparison. With no abstention, the CE and SAT+EM backbones have accuracies of 82.54% and 83.39%, respectively, and every selector inherits the same error rate for its backbone. A selector improves the reliability of the accepted subset rather than correcting rejected predictions. At 80% coverage, for example, the CE metamodel accepts four fifths of the examples with 91.58% accuracy, compared with 91.24% for MSP at the same coverage. The corresponding SAT+EM accuracies are 92.18% and 92.05%. Comparing selectors at a common coverage therefore separates ranking quality from the benefit obtained simply by making fewer predictions. Operationally, the appropriate coverage depends on the cost of an incorrect accepted prediction and the cost of invoking the fallback.
B. Scope and limitations
Output-only inference permits deployment without access to hidden states or further backbone training. Nevertheless, low absolute latency does not imply negligible overhead: the metamodel adds approximately 29% of the base CPU time and 80% of its GPU time. Timing depends on the execution setup, and no downstream network-control experiment establishes whether the observed risk reductions offset this cost.
The dataset covers one city, one week, and hourly clustered region. Each unique complete daily path receives equal weight, so the results describe path-balanced prediction rather than user-volume-weighted network impact. A path split also does not establish performance on future periods or new cities. Such evaluations are needed before making robustness claims.
Selector training and hyperparameter selection use outputs from the same 80% path split used to train the backbones. The test split remains held out, but correctness labels from a separate calibration split or out-of-fold backbone predictions would provide a stricter training protocol. Fixed-coverage test rankings assess discrimination; they do not guarantee that a chosen threshold will attain a target risk or coverage after deployment. Independent selector-seed replication and validation of operational thresholds remain useful extensions.
C. Conclusion
This study adapts compact output-only correctness modeling to selective cellular next-location prediction. A predicted-location embedding and five softmax-derived inputs improve the confidence rankings of frozen CE and SAT+EM RNNs relative to the evaluated scalar, lookup, and raw-logit selectors. The method provides an economical mechanism for abstention, with further validation needed under temporal shifts, different cities, and application-specific costs.
REFERENCES
[1] C. K. Chow, “On optimum recognition error and reject tradeoff,” IEEE Transactions on Information Theory, vol. 16, no. 1, pp. 41–46, 1970.
[2] Y. Geifman and R. El-Yaniv, “Selective classification for deep neural networks,” in Advances in Neural Information Processing Systems, vol. 30, 2017.
[3] Z. Du, Y. Yang, C. Gao, L. Huang, Q. Huang, and Y. Bai, “The temporal network of mobile phone users in Changchun municipality, northeast China,” Scientific Data, vol. 5, p. 180228, 2018.
[4] C. Jary and N. Kahani, “An accurate, low-parameter and deployable ML architecture for next location prediction,” in 2023 IEEE Future Networks World Forum (FNWF). IEEE, 2023, pp. 1–6.
[5] J. Petzold, F. Bagci, W. Trumler, and T. Ungerer, “Comparison of different methods for next location prediction,” in Euro-Par 2006 Parallel Processing. Springer, 2006, pp. 909–918.
[6] P. Baumann, M. Langheinrich, A. K. Dey, and S. Santini, “Quantifying the uncertainty of next-place predictions,” in Proceedings of the 8th EAI International Conference on Mobile Computing, Applications and Services, ser. MobiCASE. ACM, 2016, pp. 74–85.
[7] C. Jary and N. Kahani, “MetaModelSelect: A lightweight post-hoc metamodel for selective classification,” 2026, unpublished manuscript.
[8] L. Feng, M. O. Ahmed, H. Hajimirsadeghi, and A. H. Abdi, “Towards better selective classification,” in International Conference on Learning Representations, 2023.
[9] S. Gambs, M.-O. Killijian, and M. Nuñez del Prado Cortez, “Next place prediction using mobility markov chains,” in Proceedings of the First Workshop on Measurement, Privacy, and Mobility, ser. MPM ’12. ACM, 2012, pp. 1–6.
[10] Q. Liu, S. Wu, L. Wang, and T. Tan, “Predicting the next location: A recurrent model with spatial and temporal contexts,” in Proceedings of the AAAI Conference on Artificial Intelligence, vol. 30, no. 1, 2016, pp. 194–200.
[11] A. Crivellari and E. Beinat, “LSTM-based deep learning model for predicting individual mobility traces of short-term foreign tourists,” Sustainability, vol. 12, no. 1, p. 349, 2020.
[12] J. Zeng, X. He, H. Tang, and J. Wen, “Predicting the next location: A self-attention and recurrent neural network model with temporal context,” Transactions on Emerging Telecommunications Technologies, vol. 32, no. 6, p. e3898, 2021.
[13] S. E. Henouda, F. Z. Laallam, O. Kazar, and A. Sassi, “Next location prediction using transformers,” International Journal of Business Intelligence and Data Mining, vol. 21, no. 2, pp. 247–263, 2022.
[14] A. G. Chekol and M. S. Fufa, “A survey on next location prediction techniques, applications, and challenges,” EURASIP Journal on Wireless Communications and Networking, vol. 2022, no. 1, p. 29, 2022.
[15] J. Traub, T. J. Bungert, C. T. Lüth, M. Baumgartner, K. H. Maier-Hein, L. Maier-Hein, and P. F. Jäger, “Overcoming common flaws in the evaluation of selective classification systems,” in Advances in Neural Information Processing Systems, vol. 37, 2024.
[16] D. Hendrycks and K. Gimpel, “A baseline for detecting misclassified and out-of-distribution examples in neural networks,” in International Conference on Learning Representations, 2017. [Online]. Available: https://arxiv.org/abs/1610.02136
[17] W. Liu, X. Wang, J. D. Owens, and Y. Li, “Energy-based out-of-distribution detection,” in Advances in Neural Information Processing Systems, vol. 33, 2020, pp. 21464–21475.
[18] L. F. Cattelan and D. Silva, “How to fix a broken confidence estimator: Evaluating post-hoc methods for selective classification with deep neural networks,” in Proceedings of the Fortieth Conference on Uncertainty in Artificial Intelligence, ser. Proceedings of Machine Learning Research, vol. 244. PMLR, 2024, pp. 547–584.
[19] C. Corbière, N. Thome, A. Bar-Hen, M. Cord, and P. Pérez, “Addressing failure prediction by learning model confidence,” in Advances in Neural Information Processing Systems, vol. 32, 2019, pp. 2902–2913.
[20] Y.-C. Wu, S.-H. Lyu, H. Shang, X. Wang, and C. Qian, “Confidence-aware contrastive learning for selective classification,” in Proceedings of the 41st International Conference on Machine Learning, ser. Proceedings of Machine Learning Research, vol. 235. PMLR, 2024, pp. 53706–53729.