GeoFusion: An Uncertain Machine Learning Framework for Sensor Fusion
Authors: Basant Ahmed Mounir Abdelhamid, Amr T. Abdel-Hamid
Organizations: Faculty of Media Engineering and Technology, German University in Cairo (GUC), Cairo, Egypt · King Abdullah University of Science and Technology (KAUST), Thuwal, Saudi Arabia
High positioning precision is a critical requirement in many Global Positioning System (GPS) applications, yet achieving it with affordable smartphone sensors remains an open challenge. Existing approaches treat each GPS observation as an absolute point, discarding the uncertainty inherent in the measurement conditions and leaving the cooperative potential of multiple phones observing the same location untapped. In this work, we propose GeoFusion, a three-stage uncertain machine learning framework for cooperative sensor fusion. In the first stage, each GPS observation is modeled as an uncertain object using one of two proposed models: the volcano function, grounded in satellite geometry, and the empirically derived mountain function, built from the statistical structure of real smartphone data. In the second stage, uncertain objects are clustered by location event using partitional and graph-based algorithms. In the third stage, the cluster output is refined using filter-based and learning-based estimators. Experiments on the Google Smartphone Decimeter Challenge dataset show that uncertainty modeling is a primary driver of precision gains: the mountain function significantly outperforms the geometry-only volcano function, and uncertainty-aware UK-medoids significantly outperforms its certain counterpart, k-medoids. A post-clustering deep neural network further refines the cluster estimates, and the recommended configuration achieves a mean absolute error of 2.90 +/- 0.15 meters on held-out test drives, comparable to and on average below the best reported single-phone precision of approximately 3 meters, demonstrating the potential of cooperative uncertainty-aware fusion for affordable GPS sensors.
Figures & tables
Fig. 1: Instead of relying on expensive scanning vans with high-precision GPS sensors, this architecture collects GPS data from vehicles during their regular commutes and processes it on the cloud. GeoFusion clusters the observations by location event, identifying the positions of road damage from cooperative smartphone GPS readings. This approach eliminates the need for intensive scheduling and road closures while achieving higher positioning precision.
Fig. 2: The GeoFusion pipeline. After data collection, Stage 1 represents each phone-reported location (orange) as a certain point, a volcano function parameterized by Javg , or a mountain function parameterized by Javg , speedMps , nsignals , and σˉpr (blue); Stage 2 clusters these objects by location event (mountain case shown); and Stage 3 estimates each cluster’s position using the cluster representative, KF, EKF, PF, or Post-C DNN, with certain baselines shown in gray. Each configuration’s estimated location (purple) is evaluated against the ground truth (green), and the recommended configuration, UK-medoids with the mountain function followed by the Post-C DNN, is the one that embeds uncertainty at every stage and achieves the lowest error.
Fig. 3: In , the distance error distribution for a particular reported location is modeled by ( 6 ). The portion of the distribution over the domain [0,+∞) is revolved about the vertical axis to produce the two-dimensional volcano function shown in , normalized by V in ( 9 ).
Fig. 4: The Student- t distributions of errors along the north and east directions.
Fig. 5: The correlations of the features with the overall magnitude of error, the radial error, as well as errors along the north and east components. Four features, Javg , speedMps , nsignals , and σpr , exceed the ∣r∣=0.3 threshold on the radial error and are used to model the scale and location of the Student- t uncertain object.
Direction
df ( ν )
loc ( μ , m)
Scale
North
2.209
−0.512
Eq. ( 11 )
East
2.743
+0.156
Eq. ( 12 )
TABLE I: Fixed parameters of the mountain function marginals
Location Events ( k )
Observations ( n )
10
573
50
1,957
100
3,018
150
3,762
200
4,303
250
4,718
TABLE II: Dataset samples used in the benchmarking study. Each sample is constructed such that the number of ground-truth location events equals k with a total of n observations.
Group
Algorithm
Certain baselines
k-means
k-medoids
Uncertain partitional
UK-means (volcano)
UK-means (mountain)
UK-medoids (volcano)
UK-medoids (mountain)
TABLE III: Clustering algorithms evaluated in the benchmarking study, grouped by paradigm.
Type
Estimator
Baseline
Cluster representative
Filter-based
Kalman Filter (KF)
Extended Kalman Filter (EKF)
Particle Filter (PF)
Learning-based
Deep Neural Network (DNN)
TABLE IV: Post-clustering position estimators evaluated in the benchmarking study.
Fig. 6: Performance comparison of clustering algorithms across k∈{10,50,100,150,200,250,300,350,400,450,500} on the dataset. Panels show (a) mean absolute error (MAE), (b) north positioning error, (c) east positioning error, (d) Adjusted Rand Index (ARI), (e) runtime, and (f) peak RAM usage. UK-means (volcano) and UK-means (mountain) produce identical results in all experiments, confirming their theoretical equivalence.
Fig. 7: Performance comparison of post-clustering estimators across k∈{10,50,100,150,200,250,300,350,400,450,500} on the dataset. Panels show (a) mean absolute error (MAE), (b) north positioning error, (c) east positioning error, (d) runtime, and (e) peak RAM usage. Results are shown for the baseline cluster representative (Rep) and the four post-clustering estimators applied to each of the two clustering configurations retained from the preceding stage: SDSGC (medoid) and UK-medoids (mountain). Runtime and peak RAM for Rep include the full clustering step; for all other estimators, they cover only the estimation step. DNN results are evaluated on held-out test drives only and are not directly comparable to the representative, KF, EKF, and PF results, which are evaluated on all observations.
Figure 12Figure 13
Appendix figures & tables13 assets
Supplementary material from the paper’s appendix.
Appendix
Algorithm
10
50
100
150
200
250
300
350
400
450
500
Certain baselines
k-means
3.15
3.62
3.76
4.17
4.30
4.34
4.38
4.59
4.50
4.57
4.67
k-medoids
3.17
3.85
3.56
3.86
3.95
4.19
4.30
4.18
4.35
4.50
4.49
Uncertain partitional
UK-means (volcano)
3.25
3.79
3.63
4.13
4.23
4.23
4.37
4.37
4.50
4.51
4.50
UK-means (mountain)
3.25
3.79
3.63
4.13
4.23
4.23
4.37
4.37
4.50
4.51
4.50
Appendix
TABLE V: Mean absolute error (MAE, m) for each algorithm across all evaluated values of k . Bold denotes the best (lowest) value per column.
Algorithm
10
50
100
150
200
250
300
350
400
450
500
Certain baselines
k-means
2.34
2.66
2.80
3.20
3.32
3.31
3.30
3.44
3.43
3.48
3.55
k-medoids
2.43
3.08
2.68
3.01
3.02
3.20
3.27
3.13
3.31
3.45
3.37
Uncertain partitional
UK-means (volcano)
2.47
2.84
2.73
3.19
3.29
3.23
3.34
3.35
3.45
3.46
3.42
UK-means (mountain)
2.47
2.84
2.73
3.19
3.29
3.23
3.34
3.35
3.45
3.46
3.42
Appendix
TABLE VI: North positioning error (N error, m) for each algorithm across all evaluated values of k . Bold denotes the best (lowest) value per column.
Algorithm
10
50
100
150
200
250
300
350
400
450
500
Certain baselines
k-means
1.59
2.01
1.93
2.12
2.12
2.24
2.29
2.40
2.31
2.31
2.39
k-medoids
1.59
1.91
1.84
1.90
1.99
2.12
2.19
2.15
2.23
2.27
2.32
Uncertain partitional
UK-means (volcano)
1.59
2.03
1.90
2.07
2.09
2.17
2.23
2.19
2.25
2.27
2.31
UK-means (mountain)
1.59
2.03
1.90
2.07
2.09
2.17
2.23
2.19
2.25
2.27
2.31
Appendix
TABLE VII: East positioning error (E error, m) for each algorithm across all evaluated values of k . Bold denotes the best (lowest) value per column.
Algorithm
10
50
100
150
200
250
300
350
400
450
500
Certain baselines
k-means
0.710
0.638
0.588
0.547
0.507
0.482
0.454
0.441
0.393
0.372
0.359
k-medoids
0.791
0.634
0.572
0.554
0.493
0.497
0.429
0.411
0.390
0.361
0.346
Uncertain partitional
UK-means (volcano)
0.803
0.737
0.579
0.576
0.518
0.475
0.433
0.425
0.402
0.391
0.369
UK-means (mountain)
0.803
0.737
0.579
0.576
0.518
0.475
0.433
0.425
0.402
0.391
0.369
Appendix
TABLE VIII: Adjusted Rand Index (ARI) for each algorithm across all evaluated values of k . Bold denotes the best (highest) value per column.
Algorithm
10
50
100
150
200
250
300
350
400
450
500
Certain baselines
k-means
0.596
0.580
0.655
0.710
0.741
0.716
0.722
0.711
0.710
0.701
0.695
k-medoids
0.555
0.651
0.668
0.720
0.755
0.746
0.731
0.753
0.736
0.715
0.687
Uncertain partitional
UK-means (volcano)
0.567
0.627
0.669
0.699
0.715
0.715
0.725
0.720
0.700
0.705
0.698
UK-means (mountain)
0.567
0.627
0.669
0.699
0.715
0.715
0.725
0.720
0.700
0.705
0.698
Appendix
TABLE IX: Davies–Bouldin Index (DBI) for each algorithm across all evaluated values of k . Bold denotes the best (lowest) value per column.
Algorithm
10
50
100
150
200
250
300
350
400
450
500
Certain baselines
k-means
91.2
93.2
90.1
86.6
85.3
86.6
85.2
87.9
86.3
87.1
87.2
k-medoids
93.2
91.0
89.9
87.1
85.8
86.2
86.1
86.3
86.1
87.5
86.6
Uncertain partitional
UK-means (volcano)
93.3
94.6
90.1
87.3
86.3
86.1
85.9
86.8
86.5
86.7
87.5
UK-means (mountain)
93.3
94.6
90.1
87.3
86.3
86.1
85.9
86.8
86.5
86.7
87.5
Appendix
TABLE X: Average correct cluster assignment rate (majority-class purity per cluster, %) for each algorithm across all evaluated values of k . Bold denotes the best (highest) value per column.
Algorithm
10
50
100
150
200
250
300
350
400
450
500
Certain baselines
k-means
0.15
0.15
0.23
0.37
0.40
0.61
0.70
0.90
0.92
1.11
1.24
k-medoids
0.10
0.19
0.36
0.56
0.74
1.11
1.29
1.61
1.82
1.73
2.01
Uncertain partitional
UK-means (volcano)
0.11
0.21
0.49
0.69
1.05
1.49
1.84
2.13
2.49
3.13
3.12
UK-means (mountain)
0.10
0.21
0.48
0.71
1.07
1.38
1.91
2.19
2.51
3.16
3.12
Appendix
TABLE XI: Wall-clock runtime (s) for each algorithm across all evaluated values of k . Bold denotes the best (lowest) value per column. UK-means (volcano) and UK-means (mountain) follow identical computation paths; their runtimes differ by at most 0.11 s.
Algorithm
10
50
100
150
200
250
300
350
400
450
500
Certain baselines
k-means
1.2
1.2
1.3
1.4
1.5
1.5
1.5
1.5
1.5
1.5
1.5
k-medoids
1.1
1.1
1.2
1.3
1.4
1.4
1.4
1.4
1.4
1.4
1.4
Uncertain partitional
UK-means (volcano)
1.2
1.3
1.4
1.5
1.6
1.6
1.6
1.6
1.6
1.6
1.6
UK-means (mountain)
1.2
1.3
1.4
1.5
1.6
1.6
1.6
1.6
1.6
1.6
1.6
Appendix
TABLE XII: Peak RAM (MB) for each algorithm across all evaluated values of k . Bold denotes the best (lowest) value per column. SDSGC allocates a dense n×n affinity matrix, producing quadratic memory growth with n .
Estimator
10
50
100
150
200
250
300
350
400
450
500
SDSGC (medoid)
Rep
3.28
3.96
3.68
3.85
3.80
3.69
3.74
3.82
3.77
3.78
3.80
KF
3.30
3.98
3.72
3.82
3.79
3.71
3.74
3.86
3.79
3.79
3.79
EKF
3.45
4.08
3.86
3.90
3.82
3.76
3.80
3.90
3.83
3.83
3.81
PF
3.24
4.03
3.86
3.92
3.83
3.80
3.83
3.92
3.86
3.86
3.85
DNN †
3.30
3.59
3.53
3.21
3.18
3.12
2.93
3.38
3.15
3.20
3.16
Appendix
TABLE XIII: Mean absolute error (MAE, m) of the cluster representative and post-clustering estimators across all evaluated values of k . Bold denotes the best (lowest) value per column.
Estimator
10
50
100
150
200
250
300
350
400
450
500
SDSGC (medoid)
Rep
2.47
3.00
2.77
2.83
2.92
2.81
2.87
2.95
2.91
2.90
2.93
KF
2.45
2.99
2.80
2.81
2.90
2.80
2.87
2.98
2.92
2.91
2.91
EKF
2.48
3.02
2.85
2.85
2.90
2.85
2.92
3.01
2.96
2.93
2.92
PF
2.49
3.02
2.86
2.84
2.87
2.88
2.93
3.01
2.97
2.95
2.94
DNN †
2.09
2.83
2.15
1.91
2.15
2.14
1.96
2.33
2.22
2.26
2.28
Appendix
TABLE XIV: North positioning error (N error, m) of the cluster representative and post-clustering estimators across all evaluated values of k . Bold denotes the best (lowest) value per column.
Estimator
10
50
100
150
200
250
300
350
400
450
500
SDSGC (medoid)
Rep
1.50
2.12
1.97
2.05
1.90
1.85
1.85
1.89
1.88
1.90
1.89
KF
1.50
2.09
1.98
2.06
1.93
1.89
1.87
1.91
1.90
1.92
1.91
EKF
1.70
2.18
2.10
2.12
1.97
1.91
1.89
1.93
1.92
1.94
1.92
PF
1.45
2.14
2.10
2.15
2.02
1.93
1.92
1.94
1.92
1.97
1.94
DNN †
2.02
1.87
2.43
2.25
1.98
1.89
1.80
2.05
1.90
1.91
1.85
Appendix
TABLE XV: East positioning error (E error, m) of the cluster representative and post-clustering estimators across all evaluated values of k . Bold denotes the best (lowest) value per column.
Estimator
10
50
100
150
200
250
300
350
400
450
500
SDSGC (medoid)
Rep
0.99
11.00
5.30
6.60
7.80
9.50
11.50
13.50
13.30
14.00
17.60
KF
0.18
0.59
0.87
1.29
1.51
1.53
1.76
1.91
2.10
2.09
2.36
EKF
0.17
0.58
0.91
1.16
1.54
1.55
1.80
1.85
2.04
2.14
2.46
PF
0.16
0.55
0.88
1.21
1.45
1.53
1.73
1.85
1.95
2.08
2.64
DNN †
7.76
5.58
5.73
6.10
6.35
6.02
6.17
6.34
6.39
6.43
6.95
Appendix
TABLE XVI: Wall-clock runtime (s) of the cluster representative and post-clustering estimators across all evaluated values of k . For Rep, runtime includes the full clustering step; for all other estimators, it covers only the estimation step. Bold denotes the best (lowest) value per column; Rep is excluded from this comparison because its runtime includes the full clustering step.
Estimator
10
50
100
150
200
250
300
350
400
450
500
SDSGC (medoid)
Rep
21.6
281.5
599.0
921.0
1,205.0
1,449.0
1,662.0
1,853.0
2,030.0
2,191.0
2,340.0
KF
1.3
3.8
5.8
7.3
8.3
8.6
8.2
8.6
8.8
9.0
9.3
EKF
1.3
3.8
5.8
7.3
8.3
8.6
8.2
8.5
8.7
8.9
9.2
PF
1.2
3.8
5.8
7.3
8.3
8.5
8.2
8.5
8.7
8.9
9.2
DNN †
65.8
65.9
65.8
66.2
66.5
66.6
66.9
67.0
67.2
67.3
67.5
Appendix
TABLE XVII: Peak RAM (MB) of the cluster representative and post-clustering estimators across all evaluated values of k . For Rep, peak RAM includes the full clustering step; for all other estimators, it covers only the estimation step. SDSGC clustering RAM grows quadratically with n due to the dense n×n affinity matrix. Bold denotes the best (lowest) value per column; Rep is excluded from this comparison because its peak RAM includes the full clustering step.
We present FusionCore, an open-source ROS 2 sensor fusion package that fuses IMU, wheel encoder odometry, GPS, and Visual SLAM pose into a single 100 Hz odometry stream using a 23-state Unscented Kalman Filter (UKF). The 23rd state is an online estimate of the wheel encoder's systematic yaw rate bias, identified through GPS heading cross-covariance and subtracted during GPS blackouts to reduce heading drift in coast mode. FusionCore also estimates gyroscope and accelerometer biases as explicit filter states, handles GPS natively in ECEF without a separate coordinate projection node, applies per-sensor Mahalanobis chi-squared outlier gating calibrated to measurement degrees of freedom, and adapts sensor noise covariance automatically from the innovation sequence. VSLAM pose fusion enables GPS-denied operation with any visual odometry or SLAM system, including automatic recovery from map reinitialization. We evaluate against robot_localization on twelve full-length sequences (55-92 min each) from the NCLT public dataset. FusionCore achieves lower Absolute Trajectory Error (ATE) on ten of twelve sequences, with improvements ranging from 1.2x to 22.2x on winning sequences. The robot_localization UKF diverges numerically on all twelve sequences. FusionCore is available at https://github.com/manankharwar/fusioncore under the Apache 2.0 license.
We present NGPS (Next-Generation Positioning System), a visual geo-localization framework for high-altitude UAVs that provides GPS-free absolute positioning by matching down-facing images to georeferenced satellite imagery with deep features. The system combines (1) adaptive confidence-weighted UKF fusion, where NGPS covariance is modulated by RANSAC inlier ratio, reprojection error, and match confidence; (2) velocity-predictive kernel extraction, using VIO velocity to predict the satellite search region; and (3) an asynchronous multi-rate temporal priority queue that interleaves absolute position (1-2 Hz), VIO (10-20 Hz), and IMU (100-200 Hz) updates in chronological order. Globally optimized poses from VINS pose-graph optimization, anchored by NGPS corrections, further enable real-time 2.5D georeferenced orthomosaic reconstruction. On five flight sequences (60-150 m AGL), NGPS achieves 2.94 m position RMSE, with worst-case ATE 6.04 m at 150 m AGL and 2 m/s, yielding a 3.5x improvement over standalone monocular VIO. The system runs in real time on an NVIDIA Jetson Orin NX. Part of the implementation is open-sourced at https://github.com/snktshrma/ngps_flight.
Accurate motion tracking of snow particles in avalanche events requires robust localization in global navigation satellite system (GNSS)-denied outdoor environments. This paper introduces AoI-FusionNet, a tightly coupled deep learning-based fusion framework that directly combines raw ultra-wideband (UWB) time-of-flight (ToF) measurements with inertial measurement unit (IMU) data for 3D trajectory estimation. Unlike loose-coupled pipelines based on intermediate trilateration, the proposed approach operates directly on heterogeneous sensor inputs, enabling localization even under insufficient ranging availability. The framework integrates an Age-of-Information (AoI)-aware decay module to reduce the influence of stale UWB ranging measurements and a learned attention gating mechanism that adaptively balances the contribution of UWB and IMU modalities based on measurement availability and temporal freshness. To evaluate robustness under limited data and measurement variability, we apply a diffusion-based residual augmentation strategy during training, producing an augmented variant termed AoI-FusionNet-DGAN. We assess the performance of the proposed model using offline post-processing of real-world measurement data collected in an alpine environment and benchmark it against UWB multilateration and loose-coupled fusion baselines. The results demonstrate that AoI-FusionNet substantially reduces mean and tail localization errors under intermittent and degraded sensing conditions.