Next Article in Journal
Enhancing Surgical Planning with AI-Driven Segmentation and Classification of Oncological MRI Scans
Next Article in Special Issue
Adaptive Multi-Stage Hybrid Localization for RIS-Aided 6G Indoor Positioning Systems: Combining Fingerprinting and Geometric Methods with Condition-Aware Fusion
Previous Article in Journal
Impact of Helicopter Vibrations on In-Ear PPG Monitoring for Vital Signs—Mountain Rescue Technology Study (MoReTech)
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

RELoc: An Enhanced 3D WiFi Fingerprinting Indoor Localization Algorithm with RFECV Feature Selection

1
Department of Electrical and Electronics Engineering, Universiti Teknologi PETRONAS, Seri Iskandar 32610, Malaysia
2
Department of Computer Engineering, University of Ilorin, Ilorin 240003, Nigeria
3
Department of Electrical Engineering, University of Lampung, Bandar Lampung 35145, Indonesia
4
Samovar, Télécom SudParis, Institut Polytechnique de Paris, 9 Rue Charles Fourier, 91011 Evry, France
*
Authors to whom correspondence should be addressed.
Sensors 2026, 26(1), 326; https://doi.org/10.3390/s26010326
Submission received: 23 November 2025 / Revised: 22 December 2025 / Accepted: 1 January 2026 / Published: 4 January 2026
(This article belongs to the Special Issue Indoor Localization Techniques Based on Wireless Communication)

Abstract

The use of Artificial Intelligence (AI) algorithms has enhanced WiFi fingerprinting-based indoor localization. However, most existing approaches are limited to 2D coordinate estimation, which leads to significant performance declines in multi-floor environments due to vertical ambiguity and inadequate spatial modeling. This limitation reduces reliability in real-world applications where accurate indoor localization is essential. This study proposes RELoc, a new 3D indoor localization framework that integrates Recursive Feature Elimination with Cross-Validation (RFECV) for optimal Access Point (AP) selection and Extremely Randomized Trees (ERT) for precise 2D and 3D coordinate regression. The ERT hyperparameters are optimized using Bayesian optimization with Optuna’s Tree-structured Parzen Estimator (TPE) to ensure robust, stable, and accurate localization. Extensive evaluation on the SODIndoorLoc and UTSIndoorLoc datasets demonstrates that RELoc delivers superior performance in both 2D and 3D indoor localization. Specifically, RELoc achieves Mean Absolute Errors (MAEs) of 1.84 m and 4.39 m for 2D coordinate prediction on SODIndoorLoc and UTSIndoorLoc, respectively. When floor information is incorporated, RELoc improves by 33.15% and 26.88% over the 2D version on these datasets. Furthermore, RELoc outperforms state-of-the-art methods by 7.52% over Graph Neural Network (GNN) and 12.77% over Deep Neural Network (DNN) on SODIndoorLoc and 40.22% over Extra Tree (ET) on UTSIndoorLoc, showing consistent improvements across various indoor environments. This enhancement emphasizes the critical role of 3D modeling in achieving robust and spatially discriminative indoor localization.

1. Introduction

The rapid evolution of the Internet of Things (IoT) and technological advancements has created a pressing demand for reliable and accurate location information [1]. This is crucial to propel the development of real-world applications, including intelligent urban infrastructure, industrial automation, emergency response, assistive navigation, robotics, and smart healthcare systems [2,3]. Outdoor localization has experienced substantial transformations, mainly due to advancements in satellite technology. On the contrary, indoor localization in satellite-compromised environments, including tunnels, campuses, transportation terminals, large shopping malls, and underground parking lots, poses significant challenges due to signal obstruction, which hinders Line-of-Sight (LoS) propagation between satellites and receivers [2]. Therefore, there is a need to provide precise location information to enhance the overall quality of life, boost productivity, and ensure the safety of personnel and assets. Researchers have explored different methods for indoor localization, with a WiFi fingerprinting approach emerging as a widely used solution [4,5,6,7,8]. This method offers a reliable, economical, and precise way to pinpoint locations within buildings or other confined areas. The practicality and affordability of WiFi-based fingerprinting methods offer excellent potential to transform indoor localization, instilling optimism about its future impact.
Indoor localization systems that utilize WiFi fingerprinting techniques, along with Artificial Intelligence (AI) algorithms such as Machine Learning (ML) and Deep Learning (DL), have emerged as robust solutions for several applications [6]. However, various detrimental factors significantly compromise their effectiveness, including temporal fluctuations in the WiFi received signal, multipath effects caused by obstacles, and human mobility within the area of interest [9]. Additionally, traditional 2D indoor localization approaches often fail in multi-floor environments due to vertical ambiguity (inter-floor confusion) and inadequate spatial representation. Thus, they do not offer the necessary precision required for most real-world applications [7,10,11]. These challenges emphasize the need for further research in this area, which this study aims to address. Integrating floor-level information in 3D coordinate prediction can offer more detailed information within buildings [12]. This integration provides a more realistic representation of the physical environment, enabling the differentiation of rooms located on different floors that may exhibit similar 2D Received Signal Strength Indicator (RSSI) patterns. This amalgamation is particularly crucial in advanced indoor localization applications where accurately identifying and distinguishing target locations is essential for high precision.
Traditional ML approaches often fail to accurately model the high dimensionality, nonlinearity, and noise inherent in WiFi RSSI data from complex indoor environments. While DL methods can capture these characteristics, they usually require extensive training time and significant computational resources. These challenges have limited their suitability for resource-constrained applications. To overcome these issues, Ensemble Learning (EL) has emerged as a promising alternative, providing a favourable balance between accuracy and efficiency [13]. These EL models efficiently process high-dimensional, nonlinear RSSI inputs while incurring less computational overhead than DL. In particular, Extremely Randomized Trees (ERT), an ensemble of randomized decision trees, offers strong generalization through diverse base learners and effective pattern recognition [14]. Empirical results in this work confirm that ERT attains competitive accuracy with significantly better computational efficiency than classical ML and DL baselines.
To the best of the author’s knowledge, no previous study has jointly addressed signal fluctuation and vertical ambiguity in multi-floor WiFi fingerprinting using a unified framework that combines Recursive Feature Elimination with Cross-Validation (RFECV) and ERT for 3D indoor localization. This paper introduces RELoc, which integrates RFECV for intelligent selection of the most discriminative APs and an Optuna TPE–optimized ERT regressor for 2D/3D coordinate prediction. The approach simultaneously enhances accuracy, reduces feature redundancy, and improves computational efficiency, addressing key limitations frequently overlooked in existing indoor localization pipelines. The core contributions of this study are summarized as follows:
An RFECV-based feature selection pipeline that leverages cross-validation to identify the most spatially discriminative APs is introduced. This strategy significantly reduces input dimensionality while preserving informative feature sets.
An enhanced WiFi fingerprinting framework called RELoc is proposed that achieves reliable and high-accuracy 2D and 3D coordinate regression.
The effectiveness of the proposed RELoc is validated using the SODIndoorLoc and UTSIndoorLoc WiFi fingerprinting datasets, demonstrating strong generalizability and robustness across diverse indoor environments.
The incorporation of floor-level information as an additional spatial dimension resolves inter-floor ambiguity and yields consistent performance gains up to 33.15% and 26.88% improvement over 2D localization on the respective datasets. This improvement highlights the necessity of vertical awareness in real-world indoor positioning systems.
The rest of the paper is organized as follows: In Section 2, related work is reviewed. Section 3 outlines a detailed methodology that covers the proposed feature selection, the ERT algorithm, hyperparameter optimization, dataset description, and performance metrics. Section 4 presents the findings and discusses them, while Section 5 concludes the study with recommendations for future research.

2. Related Work

This section discusses recent studies that have employed ML, EL, and DL algorithms for indoor localization. EL algorithms have consistently demonstrated superior performance over conventional techniques on typical tabular data [15]. These algorithms achieve high prediction accuracy without needing extensive data preprocessing such as filtering or normalization, thus minimizing training time and computational complexity.
Numerous approaches [16,17,18,19,20,21,22,23,24] have been proposed to enhance the performance of indoor localization systems. The study in [16] employs ML classification algorithms to assess the effectiveness of single and dual-band WiFi signals for indoor localization. The findings suggest that Adaboost and Artificial Neural Networks (ANN) yield the highest accuracy in both single-band (2.4 GHz) and dual-band (2.4 and 5 GHz). The authors in [17] propose a hybrid indoor positioning system that combines Principal Component Analysis (PCA), Weighted K-Nearest Neighbours (WKNN), and Linear Regression (LR) to enhance accuracy. This approach leverages PCA for dimension reduction, WKNN for handling noisy data and adapting to changing environments, and LR for location estimation. However, system complexity, reliance on high-quality data, and potential vulnerability to environmental changes are limitations that must be addressed.
In [18], an approach to indoor localization using dual-band WiFi was presented. The authors use a multi-view ensemble method to assess the performance of different algorithms, including KNN, XGBoost, Decision Tree, and Random Forest (RF). The study also utilizes eXplainable AI (XAI) frameworks to evaluate the effectiveness of single-band versus dual-band indoor localization systems and measure the contribution of each feature to localization accuracy. In [19], a supplementary open-source dataset, termed SODIndoorLoc, is introduced for research on WiFi indoor localization. This dataset contains multiple scenes in three distinct city buildings featuring corridors, offices, and meeting rooms. Experimental validation using various ML models yielded an average location accuracy of 2.3 m with RF. However, the studies in [18,19] are limited to 2D indoor localization.
The work in [20] presents an approach to indoor localization using Channel State Information (CSI) signals. The method involves fusing multi-view features and using AdaBoost to improve localization accuracy. However, the CSI signal requires additional hardware during measurements. A study in [21] introduces a technique known as XGBLoc for indoor localization. XGBLoc utilizes XGBoost and PCA to classify locations in multi-floor scenarios. This approach addresses the limitations of traditional indoor localization methods by leveraging XGBoost’s ability to handle large datasets and complex relationships. While the study achieved impressive accuracy, it is only constrained to 2D indoor localization.
The authors in [22] propose a method for enhancing indoor localization accuracy using ML classifiers. They collected RSSI samples from thirteen iBeacon nodes installed indoors. Their study compares the performance of different algorithms and recognizes KNN as the most effective with an accuracy of 85%. The article in [23] introduces a framework that leverages RSSI samples from the most robust AP and normalized output labels to enhance accuracy. The framework was tested using the UJI dataset, achieving 94.15% accuracy in floor classification and an average positioning error of 8.45 m using less than 5% of the 520 APs. A significant limitation of this study is its reliance on the availability and strength of WiFi signals, which can be susceptible to environmental factors. These factors include human absorption, building materials, and multipath effects, which can lead to signal variations and errors, ultimately impacting the overall accuracy. A recent study in [24] presents a framework to predict indoor floor/wing and 2D location coordinates. This approach uses a multi-channel Convolution Neural Network (CNN) that incorporates an attention mechanism referred to as MC-ACNNR. The results established by this approach are impressive, especially considering that no preprocessing is necessary. However, the complexity of the architecture may present considerable challenges for real-time applications on resource-constrained devices.
Recent studies have demonstrated notable advancements in indoor localization through the incorporation of data preprocessing pipelines, filtering techniques with sophisticated prediction algorithms, resulting in improved accuracy. However, these improvements often increase system complexity and resource requirements, which can limit their use in many environments. Moreover, conventional studies based on 2D indoor localization are only reliable in single-floor settings. However, they often fail in buildings with multiple floors due to inter-floor confusion and inadequate spatial representation. These challenges highlight the ongoing need for a robust and efficient framework to support seamless multi-floor navigation. The proposed method addresses this gap by incorporating floor-level information as an additional dimension to distinguish between locations on the different floors with similar RSSI patterns.

3. Materials and Methods

This section outlines the proposed method, including the feature selection employed, the EL used, the hyperparameter optimization strategy, the dataset utilized, and the evaluation metrics applied.

3.1. RFECV Feature Selection

Feature selection is crucial for developing efficient AI algorithms. It enhances their performance by refining the feature space. This process involves identifying and eliminating features that are irrelevant or contribute minimally to the algorithm’s predictive abilities. By employing feature selection techniques, models can reduce computational overhead, achieve higher accuracy, and improve interpretability [6]. Common metrics for evaluating the contribution of each feature to the predictive capability of algorithms include mutual information gain, feature variability, and importance scores. This study introduces RFECV, an intelligent feature selection technique that utilizes cross-validated scores to identify the optimal number of features. AP deployments in real-world environments are fixed and often redundant. This work focuses on optimizing input quality, rather than infrastructure design, by selecting the most spatially discriminative subset of existing APs to maximize indoor localization accuracy. The implementation pseudocode is presented in Algorithm 1.
Algorithm 1: Pseudocode for RFECV-based feature selection
Input: Training set: ( T r a i n f e a t u r e , T r a i n t a r g e t ): T r a i n f e a t u r e R N × d   feature matrix, with N samples and d features and T r a i n t a r g e t R N × 1   corresponding target vector
B a s e E s t i m a t o r : ERT_regressor
CV parameters: K c v 5 , Number of folds, Shuffle True
RFE parameters: Step size s 1 , number of features to remove at each iteration, and K m i n 30 , min. number of features to retain
Output: Optimal feature set: F * [ f 1 ,   f 2 , ,   f k ] and I ( f k ) , importance score of each selected feature
  1.
Initialize  F c u r r [ f 1 ,   f 2 , ,   f d ] , B e s t s c o r e 0 , and F b e s t F c u r r     d > k
  2.
While  F c u r r > K m i n do
  a.
For each fold K = 1   t o   K c v do
  i.
Split T r a i n f e a t u r e F c u r r and T r a i n t a r g e t into ( t r a i n X ,   t r a i n y ) and ( v a l X ,   v a l y )
  ii.
Fit B a s e E s t i m a t o r on ( t r a i n X ,   t r a i n y )
  iii.
Predict on ( v a l X ,   v a l y )
  iv.
Compute validation s c o r e K
      end for
     b.
Compute the average CV score for the current feature set A v g s c o r e = 1 K c v s u m K ( s c o r e K )
     c.
If  A v g s c o r e > B e s t s c o r e then B e s t s c o r e = A v g s c o r e and F b e s t = F c u r r
     d.
Compute feature importance score I f
     e.
Identify and remove the least importance features F r e m o v e [ s   f e a t u r e s   w i t h   l o w e s t   I ( f ) ]
     f.
Update the feature set F c u r r = F c u r r F r e m o v e
      end if
   end while
  3.
Return  F * F b e s t and I ( f k ) , the feature importance scores corresponding to F *

3.2. Extremely Randomized Trees

An Extremely Randomized Trees (ERT) is an EL algorithm that combines the predictions of multiple randomized decision trees (base learners), similar to RF, but with added randomization. Unlike other ensemble models, it generates splits randomly without searching for optimal thresholds. Instead of bootstrap sampling, it typically uses the entire sample for each tree, maintaining randomization by selecting random split points [14]. This randomness fosters diversity among the trees and effectively balances the bias-variance trade-offs. Variance arises from the model’s excessive sensitivity to small fluctuations in the training sample, and high variance can lead to overfitting. This issue can be addressed by using explicit randomization in the selection of the feature subset and the choice of the cut point. Conversely, bias, which measures the ability to accurately generalize unseen data (with high bias potentially causing underfitting), is minimized by utilizing the entire original training sample to train each base learner [25]. These characteristics can lead to better generalization, and improved predictive performance.
The three fundamental parameters of the ERT model are the number of randomized decision trees in the ensemble N , the number of features to select randomly ( K ), and the minimum number of instances needed to split a node ( n m i n ). Consider a training set with dimension Q = [ ( r 1 , l 1 ) , , ( r j , l j ) , , ( r z , l z ) ] with dimension ( K + 2 ) , gathered from all nearby APs at z number of Reference Points (RPs) during the training phase, where r j ( f 1 , f 2 , f K ) is a set of K-dimensional RSSI fingerprints measured at j RPs and l j ( x j , y j ) is a 2D location coordinate at j RPs. The model generates N number of independent base learners. In each base learner, a subset B p of the training set Q is assigned to each child node p . Then, at each child node p , the model selects the optimal split based on the training subset B p and a random subset of the features using Algorithm 2. The subset B p at each child node p is divided into samples that satisfy the splitting rule, B p r i g h t and the residual training samples, B p l e f t . An MAE is employed as the scoring function to select the best split. The procedure continues at each child node p until it achieves the minimum required samples to split n m i n , or when all the samples in the subset B p have the same label. Lastly, the label in the subset B p denotes the leaf node. During the test phase, a test set is passed to each base learner and across each child node, where the best splits guide the test set to the right or left child node until it reaches a leaf node. Then, the final prediction of the algorithm is calculated by averaging the predictions made by the N base learners.
Algorithm 2: Pseudocode for selection of ERT splitting rule
1. Input: training subset B p [ b 1 , b 2 , ,   b Y p ]
      K -dimensional vector from the sample b k ( f 1 ,   f 2 , f K )
      T number of randomly selected features
      n m i n   minimum number of instances needed to split a node
2. If  Y p < n m i n   or all the node observations have identical label
    Stop splitting and identify the node as a leaf node
3. else
    Select a random subset of T features ( f 1 ,   f 2 , f T ) among original K features T K
4.   For each feature t in subset Do:
      Find f t m a x and f t m i n as max. and min. values of the feature t in subset B p
       Get a random cut-point, f t c , uniformly in the range f t m a x   , f t m i n
       Set f t < f t c as a potential split
    end for
5.   Choose a split f * < f * c so that M A E ( f * c ) = m i n t = 1 , , T M A E ( f t c )
6. end if
7. Output: Return the optimal split f * < f * c at the child node p .

3.3. Optuna-Based Bayesian Hyperparameter Optimization

Generally, hyperparameter tuning is performed using manual, grid, or random search approaches. Grid search evaluates every potential combination of hyperparameter values defined in the parameter grid. In contrast, random search examines only a random subset of the possible hyperparameter combinations described in the predetermined parameter distribution. Selecting and evaluating candidate points without regard to previously assessed hyperparameters can lead to inefficiencies in both grid and random search methods, as considerable effort is wasted on evaluating redundant hyperparameters [26]. Thus, there is a growing demand for intelligent tuning methods that are efficient and achieve higher accuracy by considering the results of previously assessed hyperparameters.
Optuna-TPE is an automated hyperparameter optimization framework that employs TPE as the default algorithm. It efficiently navigates the search space to identify the optimal hyperparameter settings for an algorithm. Unlike traditional methods such as manual, grid, or random search, Optuna-TPE (a form of Bayesian optimization) uses a more intelligent strategy to select hyperparameter combinations that are more likely to improve performance. Instead of instinctively testing multiple hyperparameter combinations as in manual search, evaluating every possible hyperparameter combination as in grid search, or randomly selecting hyperparameter combinations as in random search, it employs a sampler to predict the most effective hyperparameter combinations. It focuses on promising regions of the search space and learns from previous attempts to narrow down to the best hyperparameter combinations swiftly [27]. This approach significantly enhances speed and efficiency. It relies on three fundamental optimization processes: an objective function, a trial, and a study. An objective function is a mathematical representation of the problem that Optuna aims to optimize, either by minimizing a loss (regression) or maximizing an accuracy (classification). It takes a trial argument as input and returns a validation score indicating performance. A trial is a single execution of the objective function with a specific set of hyperparameter combinations. A study refers to the entire optimization task, which involves multiple trials, and it aims to find the optimal solution.
For a training set Q = [ ( r j , l j ) ] j = 1 N where r j R d is the RSSI measurements from multiple APs and l j R p is the ground-truth location vector in a p -dimensional indoor space. During the optimization process, the aim is to learn a function f x so that R d R p parameterized by the ERT hyperparameter x , that maps feature r j to the target locations l j with minimal error. Let f x ( · ) denote the model, where x represents the hyperparameters, such as: x 1   number of base learners (n_estimators), x 2   a measure of the quality of a split (criterion), x 3   maximum depth of each tree (max_depth), x 4   number of features to consider when looking for the best split (max_features), x 5   minimum samples to split a node (min_samples_split), and x 6   minimum samples per leaf node (min_samples_leaf). The loss function L ( f x ) is defined in Equation (1) with an MAE.
L ( x ) = 1 N j = 1 N f x r j     l j ,
The goal is to identify the best set of hyperparameters x * as defined in Equation (2), where X is the feasible search space of the hyperparameters, x .
x *   =   a r g x X m i n L ( x ) ,
Instead of modelling the L ( x ) directly as seen in Optuna-GP (Gaussian Process), TPE models the inverse conditional probability using two density functions as defined in Equation (3), where τ is a quantile (15%) of the lowest loss values observed so far, l ( x ) is the distribution of good hyperparameters and g ( x ) is the distribution of all other hyperparameters [28].
p x L x l ( x ) ,     if   L ( x )   <   τ g ( x ) ,     otherwise ,
Optuna-TPE then selects the next candidate x t + 1 by maximizing the ratio in Equation (4).
x t + 1 = a r g x X m a x l ( x ) g ( x ) ,
This approach favours sampling hyperparameters likely to belong to the region of good performance l ( x ) . The l ( x ) and g ( x ) distributions are updated after each trial t , and the process continues until convergence is achieved or the maximum iteration is reached.

3.4. Dataset Description

The effectiveness of the proposed RELoc is assessed using the SODIndoorLoc and UTSIndoorLoc datasets from diverse indoor environments. The SODIndoorLoc dataset compiled in 2022 has a total coverage area of about 8000 m2 [19]. It contains three buildings labeled CETC331, HCXY, and SYL, respectively. The dataset comprises 105 pre-installed APs across the buildings, with 56 single-band and 49 dual-band APs. The RPs are densely and uniformly distributed, with an average distance of about 1.2 m between adjacent RPs for the single-story buildings (HCXY and SYL) and 0.5 m for the three-story building (CETC331). The dataset comprises WiFi fingerprints collected at 1802 distinct points, consisting of 1630 RPs and 272 Testing Points (TPs). 23,925 RSSI samples were measured, with 21,205 (89%) dedicated to training and validation, and 2720 (11%) to testing. For this study, only the samples collected from the CETC331 building were used. Further details can be found in [19], where the dataset is published. Figure 1 visualizes the 3D scatter plot at the RPs and TPs where the training and test samples were gathered.
The UTSIndoorLoc dataset was collected at the Faculty of Engineering and Information Sciences (FEIT) Building of the University of Technology Sydney (UTS) in 2019. It covers an area of about 44,000 m2 across 16 floors [29]. It includes 9496 samples, of which 9108 (96%) are designated for training and validation, and 388 (4%) for testing. Each sample comprises 589 RSSI features from various APs recorded from 1840 distinct points. The 3D scatter plot showing the distribution of RSSI values across x-y coordinates and floors within the building for training and test data is displayed in Figure 2, respectively.

3.5. Performance Metrics

ML algorithms are measured based on their performance on a dataset using various metrics. The selection of metrics depends on the problem being addressed. In this study, Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), Coefficient of determination (R2), and Mean Localization Error (MLE) are employed as defined in Equations (5)–(8). In these equations, L denotes the number of test samples while A and E represent the actual and estimated X , Y , and Z coordinates, with their respective averages as X ¯ , Y ¯ , and Z ¯ .
M A E   =   1 L 1 L X A     X E   +   Y A     Y E   +   Z A     Z E ,
R M S E   =   1 L i = 1 L ( X A     X E ) 2   +   ( Y A     Y E ) 2   +   ( Z A     Z E ) 2 ,
R 2   =   1     i = 1 L X A     X E 2   +   ( Y A     Y E ) 2   +   ( Z A     Z E ) 2 i = 1 L X A     X ¯ 2   +   Y A     Y ¯ 2   +   Z A     Z ¯ 2 ,
M L E   =   1 L i = 1 L ( X A     X E ) 2   +   ( Y A     Y E ) 2   +   ( Z A     Z E ) 2 .

4. Results and Discussion

This section presents the findings used to evaluate the performance of the proposed method. Simulations were conducted on a high-performance computing platform utilizing Python 3.11 with Jupyter (ipykernel 6.27.1), which runs on a 64-bit workstation featuring an Intel Core i3 processor clocked at 3.3 GHz and supported by 16 GB of RAM.

4.1. Hyperparameter Optimization Analysis

Figure 3 illustrates the optimization history over 100 independent trials. The first 40 trials display high variability, reflecting the TPE exploratory phase. After that, trials show convergence, with the lowest MAE of 0.86 m reached at trial 46. Further trials produce only insignificant improvements, indicating effective convergence and diminishing returns beyond this point. The overall trend in the optimization history confirms the algorithm’s effectiveness at efficiently identifying near-optimal hyperparameter settings.
The parallel coordinate plot in Figure 4 provides a detailed view of the hyperparameter space explored by the algorithm. The figure shows the hyperparameter setting that yields the lowest MAE, including 450 estimators, min_samples_split of 2, min_samples_leaf of 1, unlimited depth (max_depth = None), all features (max_features = None), and squared-error as the criterion. This setup indicates that unpruned ensembles with full feature access and minimal leaf constraints offer the best predictive accuracy in noisy RSSI environments, as they better capture complex, non-linear signal–location relationships.
Figure 5 indicates hyperparameter importance, with max_features being the most significant (importance = 0.63). This suggests that allowing each split to consider all features, instead of a subset, is essential for effective discrimination in indoor localization. The min_samples_leaf (0.32) is the second most influential parameter, highlighting the advantage of detailed leaf resolution for capturing subtle spatial differences. In comparison, n_estimators (0.10), min_samples_split (0.03), and particularly criterion and max_depth (<0.01) have minimal impact. This indicates that once sufficient depth and leaf detail are established, increasing architectural complexity offers little additional benefit.

4.2. 3D Localization Performance on SODIndoorLoc

This subsection evaluates the performance of RELoc and other state-of-the-art methods, including Extra Tree (ET) [30], XGBoost (XGB) [21], Support Vector Machine (SVM) [31], Artificial Neural Network (ANN) [32], Deep Neural Network (DNN) [33], and Graph Neural Network (GNN) [34] on the SODIndoorLoc dataset for both 2D and 3D coordinate location prediction. All hyperparameters in Table 1 were determined via an automated process using Optun-TPE algorithm. The search space for each method was defined based on configurations reported in the relevant literature.
As shown in Table 2, the proposed 2D RELoc attains an MAE of 1.84 m, RMSE of 2.75 m, R2 of 90.44%, and MLE of 3.14 m. While a GNN baseline shows comparable 2D performance (MAE: 1.80 m, RMSE: 2.69 m, R2: 85.20%, MLE: 2.97 m), RELoc significantly outperforms other baselines (ET, SVM, XGB, ANN, DNN), with respective MAE improvements of 26.40%, 22.69%, 17.18%, 14.02%, and 8.91%. Consistent gains across RMSE, R2, and MLE further confirm RELoc’s regression fidelity.
The 2D localization error CDF in Figure 6 further validates this, showing that 87% of RELoc and GNN predictions lie within 5 m, surpassing ANN (83%), DNN (80%), XGB (79%), and SVM/ET (75%). The leftward shift in the RELoc and GNN curves indicates superior accuracy and robustness. Notably, RELoc achieves this performance with a less computationally intensive architecture than GNNs. However, in the tail of the error distribution (beyond ~5 m), the GNN and DNN exhibit slightly better performance than the proposed 2D RELoc, as shown in the CDF plot. This comparison highlights RELoc’s strong overall performance, particularly given the added complexity of the GNN approach.
Extending to 3D indoor localization, RELoc and the baselines incorporate floor-level information as an explicit spatial dimension, effectively resolving inter-floor ambiguity. The 3D RELoc achieves an MAE of 1.23 m, RMSE of 1.85 m, R2 of 93.25%, and MLE of 3.11 m, outperforming all baselines. This reflects 33.15% (MAE) and 32.73% (RMSE) improvements over its 2D counterpart. At a 5 m error threshold, as show in Figure 7, 3D RELoc achieves a success rate of about 90%, significantly outperforming GNN, ANN, and XGB (80%), DNN and SVM (75%), and ET (70%), demonstrating superior robustness and reliability in multi-floor environments. These improved results highlight that 3D modeling is essential for accurate, floor-aware indoor localization in multi-story environments.

4.3. 3D Localization Performance on UTSIndoorLoc

This subsection evaluates the performance of RELoc and other state-of-the-art methods on the UTSIndoorLoc dataset for 2D and 3D coordinate prediction to validate their robustness across different datasets. All baseline results in Table 2 and Table 3 were obtained by implementing the respective algorithms under identical experimental conditions as the proposed method.
Among all the methods compared as presented in Table 3, the proposed 2D RELoc achieves an MAE of 4.39 m, an RMSE of 5.79 m, a R2 of 68.53%, and an MLE of 7.30 m. This is followed by XGB, GNN, and DNN, with similar performance but lower than the proposed method by about 10% (MAE). ANN has a slightly better performance compared to ET by 1.02 m, but lower than SVM by 1.02 m in terms of MAE. The CDF of localization error in Figure 8 indicates that the proposed 2D RELoc maintains consistency with 90% of the errors within a 12.5 m range.
The proposed 3D RELoc reaches higher localization accuracy when floor-level information is included. Specifically, it achieves an MAE of 3.21 m, an RMSE of 4.16 m, an R2 of 78.41%, and an MLE of 7.60 m. These values correspond to the improvement of 26.88% in MAE, 28.15% in RMSE, and 12.60% in R2 compared to the proposed 2D method. However, a slight 3.95% increase in MLE is observed. Similarly to performance on SODIndoorLoc, RELoc outperforms the baseline methods, with an MAE improvement from 1.23% in GNN, 4.47% in XGB, 7.23% in DNN, 14.40% in SVM, 18.53% in ANN, to 40.22% in ET. As shown in Figure 9, the proposed 3D RELoc achieves 86% of predictions within 12.5 m, compared to 84% for GNN and XGB, 82% for DNN, 80% for SVM, 78% for ANN, and 61% for ET. This performance illustrates its superior robustness and reliability in multi-floor environments.
Table 4 presents comparative results for RELoc against the existing literature on the SODIndoorLoc and UTSIndoorLoc datasets. On SODIndoorLoc, 3D RELoc outperforms all baselines, achieving MAE improvements of 67.11% over RFR, 76.12% over MLPR, 49.38% over WKNN, 42.79% over 2D CNN-MS, 34.57% over VF-CLIP, and 40.29% over MC-ACNNR. On UTSIndoorLoc, although FALoc and MLP-SDAE report slightly lower MLE values than 3D RELoc, the proposed method achieves better RMSE, indicating enhanced overall coordinate estimation precision.
The experimental results across both SODIndoorLoc and UTSIndoorLoc consistently show that RELoc outperforms other benchmarked methods in both 2D and 3D coordinate prediction, achieving the lowest MAE, RMSE, and MLE while attaining the highest R2. This superior performance is primarily attributed to the intelligent feature selection mechanism (RFECV), which identifies and retains only the most spatially discriminative features, thereby enhancing model generalization and reducing noise-induced overfitting. Importantly, 3D RELoc resolves the persistent challenge of inter-floor ambiguity by incorporating floor-level information as an explicit spatial dimension. This enables robust differentiation of vertically aligned locations that exhibit near-identical 2D RSSI signatures, a common failure mode in conventional approaches. The framework’s ability to learn environment-specific RSSI variance further ensures reliable performance under real-world dynamics.
The CETC331 building in the SODIndoorLoc dataset has three floors with RPs densely and uniformly distributed across the three rooms on each floor, creating pronounced RSSI variations between the levels. This strong inter-floor signal differentiation enables RELoc’s 3D modeling to resolve vertical ambiguity, resulting in higher relative gains. UTSIndoorLoc, on the other hand, covers 16 floors of a single high-rise building with predominantly linear corridor layouts, as seen in Figure 2. The vertical signal decays slowly, and floor plans are very similar, leading to higher inter-floor RSSI similarity. As a result, while 3D modeling still enhances accuracy, the additional benefit is smaller compared to SODIndoorLoc.
Furthermore, SODIndoorLoc features 105 APs across 8000 m2 with 52 (26 dual bands) strategically placed on each floor in the CETC331 building to maximize spatial coverage. This results in a higher AP density per unit area, improving floor discriminability. UTSIndoorLoc, by contrast, deploys 589 RPs across 44,000 m2, with the larger footprint and vertical scale diluting AP density per floor. Moreover, the paper notes that the dataset includes basement levels and varied layouts [29], which can introduce further signal variability that slightly limits 3D gains. In addition, SODIndoorLoc utilizes sub-meter spacing (0.5 m in CETC331) to capture fine-grained RSSI gradients essential for 3D disambiguation. In contrast, UTSIndoorLoc has a coarser sampling density as indicated by 1,840 points over 16 floors, which reduces the resolution of vertical signal transitions.
Beyond accuracy, RELoc exhibits notable computational efficiency. As shown in Figure 10, it achieves lower training latency than GNN by 40.69 s, DNN by 12.53 s, and XGB by 0.55 s while exceeding their localization accuracy, confirming its suitability for resource-constrained applications. Together, the integration of RFECV-based feature selection, 3D modeling, and an automated Bayesian optimization process via Optuna yields a solution that is not only accurate but also scalable, interpretable, and computationally efficient, addressing key barriers to real-world adoption of indoor localization systems.

5. Conclusions

This study presents RELoc, an accurate and efficient WiFi fingerprinting indoor localization method that combines RFECV for optimal feature selection and ERT for precise 2D and 3D coordinate prediction. The performance of RELoc was rigorously evaluated on SODIndoorLoc and UTSIndoorLoc datasets collected from multi-floor environments. The proposed 2D RELoc outperforms the state-of-the-art methods by achieving an MAE of 1.84 m and 4.39 m, on the respective datasets. Extending to 3D indoor localization, RELoc incorporates floor-level as an explicit spatial dimension, effectively resolving inter-floor ambiguity. On SODIndoorLoc, the 3D RELoc achieves an MAE of 1.23 m and an RMSE of 1.85 m, reflecting 33.15% (MAE) and 32.73% (RMSE) improvements over the 2D counterpart. The greater architectural heterogeneity, higher per-floor AP density, and finer spatial sampling in SODIndoorLoc enhance 3D modeling, resulting in the observed performance improvement. On UTSIndoorLoc, it reaches an MAE of 3.21 m and an RMSE of 4.16 m. These values correspond to the improvement of 26.88% in MAE and 28.15% in RMSE compared to the proposed 2D method. Furthermore, the performance of RELoc exceeds state-of-the-art methods, increasing from 7.52% to 40.11%. RELoc addresses inter-floor ambiguity and delivers better performance in multi-floor indoor localization by explicitly modeling vertical spatial structures and using intelligent feature engineering.
While this study employed the RFECV feature selection mechanism, future work can explore alternative techniques such as the Variance Inflation Factor (VIF), BorutaPy, Variance Threshold (VT), Mutual Information Gain (MIG), Relief Selector, or Minimum Redundancy Maximum Relevance (mRMR) to further enhance the effectiveness of feature selection. Additionally, the integration of eXplainable AI (XAI) frameworks, including Local Interpretable Model-agnostic Explanations (LIME), SHapley Additive exPlanations (SHAP), Explain Like I’m 5 (ELI5), and Descriptive mAchine Learning Explanations (DALEX), can be investigated to provide both local and global interpretability of the framework’s predictions. This integration will offer insights into the relative importance of selected APs and improving trustworthiness for real-world applications. Furthermore, beyond the TPE algorithm, future research can examine the impact of other Optuna-based optimization strategies, such as Random, Grid, Quasi-Monte Carlo (QMC), Non-dominated Sorting Genetic Algorithm III (NSGA-III), and Gaussian Process-based (GP) Bayesian optimization. This comparative study aims to provide a more comprehensive understanding of hyperparameter tuning strategies and their impact on model performance and generalizability in complex indoor scenarios.

Author Contributions

Conceptualization, S.L.A. and A.A.A.; methodology, S.L.A. and A.A.A.; software, S.L.A.; validation, S.L.A., A.A.A. and M.D.; formal analysis, S.L.A.; investigation, S.L.A.; resources, A.A.A.; data acquisition, S.L.A.; writing—original draft preparation, S.L.A.; writing—review and editing, S.L.A., A.A.A., M.D., M.S., and A.L.; visualization, S.L.A., A.A.A., and M.D.; supervision, A.A.A. and M.D. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Yayasan Universiti Teknologi Petronas Fundamental Research Grant (YUTP FRG), grant number 015LC0-547.

Data Availability Statement

The datasets utilized are publicly available at [19,29].

Acknowledgments

The authors would like to express their sincere gratitude to Universiti Teknologi PETRONAS in Perak, Malaysia, for their invaluable support through the GA scheme.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
AIArtificial Intelligence
ANNArtificial Neural Network
APsAccess Points
CDFCumulative Distribution Function
CNNConvolution Neural Network
CSIChannel State Information
DLDeep leaning
ELEnsemble Learning
ERTExtremely Randomized Trees
ETExtra Tree
GPRGaussian Process
IoTInternet of Things
MACMedium Access Control
MAEMean Absolute Error
MLMachine Learning
MLEMean Localization Error
NLoSNon-Line-of-Sight
RFECVRecursive Feature Elimination with Cross Validation
RFRandom Forest
RMSERoot Mean Squared Error
RPsReference Points
RSSIReceived Signal Strength Indicator
PCAPrincipal Component Analysis
TPsTesting Points
WiFiWireless Fidelity
WKNNWeighted K-nearest Neighbours
XAIeXplainable AI
XGBeXtreme Gradient Boosting

References

  1. Pettorru, G.; Pilloni, V.; Martalò, M. Trustworthy localization in IoT networks: A survey of localization techniques, threats, and mitigation. Sensors 2024, 24, 2214. [Google Scholar] [CrossRef]
  2. Wang, S.; Ahmad, N.S. Improved UWB-based indoor positioning system via NLOS classification and error mitigation. Eng. Sci. Technol. Int. J. 2025, 63, 101979. [Google Scholar] [CrossRef]
  3. Ayinla, S.L.; Abd Aziz, A.; Drieberg, M. SALLoc: An Accurate Target Localization in WiFi-Enabled Indoor Environments via SAE-ALSTM. IEEE Access 2024, 12, 19694–19710. [Google Scholar] [CrossRef]
  4. Qi, L.; Liu, Y.; Yu, Y.; Chen, L.; Chen, R. Current Status and Future Trends of Meter-Level Indoor Positioning Technology: A Review. Remote Sens. 2024, 16, 398. [Google Scholar] [CrossRef]
  5. Shang, S.; Wang, L. Overview of WiFi fingerprinting-based indoor positioning. IET Commun. 2022, 16, 725–733. [Google Scholar] [CrossRef]
  6. Ayinla, S.L.; Abd Aziz, A.; Drieberg, M.; Susanto, M.; Yahya, M. An Enhanced Deep Neural Network Approach for WiFi Fingerprinting-Based Multi-Floor Indoor Localization. IEEE Open J. Commun. Soc. 2025, 6, 560–575. [Google Scholar] [CrossRef]
  7. Łukasik, S.; Szott, S.; Leszczuk, M. Multimodal image-based indoor localization with machine learning—A systematic review. Sensors 2024, 24, 6051. [Google Scholar] [CrossRef] [PubMed]
  8. Feng, X.; Nguyen, K.A.; Luo, Z. A review of open access wifi fingerprinting datasets for indoor positioning. IEEE Access 2024. [Google Scholar] [CrossRef]
  9. Singh, J.; Tyagi, N.; Singh, S.; Ali, F.; Kwak, D. A systematic review of contemporary indoor positioning systems: Taxonomy, techniques, and algorithms. IEEE Internet Things J. 2024, 11, 34717–34733. [Google Scholar] [CrossRef]
  10. Wang, L.; Shang, S.; Wu, Z. Research on indoor 3D positioning algorithm based on wifi fingerprint. Sensors 2022, 23, 153. [Google Scholar] [CrossRef]
  11. Alitaleshi, A.; Jazayeriy, H.; Kazemitabar, J. EA-CNN: A smart indoor 3D positioning scheme based on Wi-Fi fingerprinting and deep learning. Eng. Appl. Artif. Intell. 2023, 117, 105509. [Google Scholar] [CrossRef]
  12. Yaro, A.S.; Maly, F.; Prazak, P. A survey of the performance-limiting factors of a 2-Dimensional RSS fingerprinting-based indoor wireless localization system. Sensors 2023, 23, 2545. [Google Scholar] [CrossRef]
  13. Suroso, D.J.; Adiyatma, F.Y.M. C-MEL: Consensus-based Multiple Ensemble Learning for Indoor Device-Free Localization through Fingerprinting. IEEE Access 2024, 12, 166381–166392. [Google Scholar] [CrossRef]
  14. García, C.E.; Koo, I. Extremely randomized trees regressor scheme for mobile network coverage prediction and REM construction. IEEE Access 2023, 11, 65170–65180. [Google Scholar] [CrossRef]
  15. Grinsztajn, L.; Oyallon, E.; Varoquaux, G. Why do tree-based models still outperform deep learning on typical tabular data? Adv. Neural Inf. Process. Syst. 2022, 35, 507–520. [Google Scholar]
  16. Tahat, A.; Awwad, R.; Baydoun, N.; Al-Nabih, S.; A. Edwan, T. An Empirical Evaluation of Machine Learning Algorithms for Indoor Localization using Dual-Band WiFi. In Proceedings of the 2021 European Symposium on Software Engineering, New York, NY, USA, 19–21 November 2021; pp. 106–111. [Google Scholar]
  17. Duong, T.H.; Trinh, A.V.; Hoang, M.K. Efficient and Accurate Indoor Positioning System: A Hybrid Approach Integrating PCA, WKNN, and Linear Regression. J. Commun. 2024, 19, 37–43. [Google Scholar] [CrossRef]
  18. Kakisim, A.G.; Turgut, Z.; Atmaca, T. XAI empowered dual band Wi-Fi based indoor localization via ensemble learning. In Proceedings of the 2023 14th International Conference on Network of the Future (NoF), Izmir, Turkey, 4–6 October 2023; pp. 150–158. [Google Scholar]
  19. Bi, J.; Wang, Y.; Yu, B.; Cao, H.; Shi, T.; Huang, L. Supplementary open dataset for WiFi indoor localization based on received signal strength. Satell. Navig. 2022, 3, 25. [Google Scholar] [CrossRef]
  20. Ding, J.; Wang, Y.; Fu, S.; Si, H.; Zhang, J.; Gao, S. Multiview features fusion and Adaboost based indoor localization on Wifi platform. IEEE Sens. J. 2022, 22, 16607–16616. [Google Scholar] [CrossRef]
  21. Singh, N.; Choe, S.; Punmiya, R.; Kaur, N. XGBLoc: XGBoost-Based Indoor Localization in Multi-Building Multi-Floor Environments. Sensors 2022, 22, 6629. [Google Scholar] [CrossRef] [PubMed]
  22. Maduranga, M.W.P.; Tilwari, V.; Abeysekera, R. Improved RSSI Indoor Localization in IoT Systems with Machine Learning Algorithms. Signals 2023, 4, 651–668. [Google Scholar] [CrossRef]
  23. Narasimman, S.C.; Alphones, A. Dumbloc: Dumb indoor localization framework using wifi fingerprinting. IEEE Sens. J. 2024, 24, 14623–14630. [Google Scholar] [CrossRef]
  24. Kakisim, A.G.; Turgut, Z. Multi-channel convolutional neural network with attention mechanism using dual-band WiFi signals for indoor positioning systems in smart buildings. Internet Things 2025, 29, 101435. [Google Scholar] [CrossRef]
  25. Acosta, M.R.C.; Ahmed, S.; Garcia, C.E.; Koo, I. Extremely randomized trees-based scheme for stealthy cyber-attack detection in smart grid networks. IEEE Access 2020, 8, 19921–19933. [Google Scholar] [CrossRef]
  26. Wang, X.; Jin, Y.; Schmitt, S.; Olhofer, M. Recent advances in Bayesian optimization. ACM Comput. Surv. 2023, 55, 1–36. [Google Scholar] [CrossRef]
  27. Akiba, T.; Sano, S.; Yanase, T.; Ohta, T.; Koyama, M. Optuna: A next-generation hyperparameter optimization framework. In Proceedings of the Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, Anchorage, AK, USA, 4–8 August 2019; pp. 2623–2631. [Google Scholar]
  28. Hanifi, S.; Cammarono, A.; Zare-Behtash, H. Advanced hyperparameter optimization of deep learning models for wind power prediction. Renew. Energy 2024, 221, 119700. [Google Scholar] [CrossRef]
  29. Song, X.; Fan, X.; Xiang, C.; Ye, Q.; Liu, L.; Wang, Z.; He, X.; Yang, N.; Fang, G. A novel convolutional neural network based indoor localization framework with WiFi fingerprinting. IEEE Access 2019, 7, 110698–110709. [Google Scholar] [CrossRef]
  30. Aziz, T.; Camana, M.R.; Garcia, C.E.; Hwang, T.; Koo, I. REM-based indoor localization with an extra-trees regressor. Electronics 2023, 12, 4350. [Google Scholar] [CrossRef]
  31. Zheng, J.; Li, K.; Zhang, X. Wi-Fi fingerprint-based indoor localization method via standard particle swarm optimization. Sensors 2022, 22, 5051. [Google Scholar] [CrossRef]
  32. Ghoshal, S.; Saif, S.; Biswas, S. Optimizing Indoor Positioning: ANN-GD Fusion for Enhanced Accuracy in WiFi Fingerprint-Based Surveillance Systems. SN Comput. Sci. 2025, 6, 511. [Google Scholar] [CrossRef]
  33. Cha, J.; Lim, E. A hierarchical auxiliary deep neural network architecture for large-scale indoor localization based on Wi-Fi fingerprinting. Appl. Soft Comput. 2022, 120, 108624. [Google Scholar] [CrossRef]
  34. Wang, S.; Zhang, S.; Ma, J.; Dobre, O.A. Graph Neural Network-Based WiFi Indoor Localization System With Access Point Selection. IEEE Internet Things J. 2024, 11, 33550–33564. [Google Scholar] [CrossRef]
  35. Li, S.; Kim, K.S.; Tang, Z.; Smith, J.S. Hierarchical Stage-Wise Training of Linked Deep Neural Networks for Multi-Building and Multi-Floor Indoor Localization Based on Wi-Fi RSSI Fingerprinting. IEEE Sens. J. 2024, 25, 23341–23351. [Google Scholar] [CrossRef]
  36. Kargar-Barzi, A.; Farahmand, E.; Chatrudi, N.T.; Mahani, A.; Shafique, M. An edge-based WiFi fingerprinting indoor localization using convolutional neural network and convolutional auto-encoder. IEEE Access 2024, 12, 85050–85060. [Google Scholar] [CrossRef]
  37. Torres-Sospedra, J.; Pendão, C.; Silva, I.; Meneses, F.; Quezada-Gaibor, D.; Montoliu, R.; Crivello, A.; Barsocchi, P.; Pérez-Navarro, A.; Moreira, A. Let’s Talk about k-NN for Indoor Positioning: Myths and Facts in RF-based Fingerprinting. In Proceedings of the 2023 13th International Conference on Indoor Positioning and Indoor Navigation (IPIN), Nuremberg, Germany, 25–28 September 2023; pp. 1–6. [Google Scholar]
  38. Zhang, S.; Zhang, G.; Chen, R.; Wang, Y. Multiple Similarity Analysis-Based Deep Metric Learning for Enhancing Wi-Fi Fingerprint Indoor Localization. IEEE Internet Things J. 2024, 11, 35681–35688. [Google Scholar] [CrossRef]
  39. Shen, G.; Sun, Y.; Lu, F. Enhancing Wi-Fi RSS-Based Indoor Positioning under Dynamic AP Availability: Leveraging Virtual Feature Maps and Contrastive Learning. IEEE Sens. J. 2024, 24, 27902–27913. [Google Scholar] [CrossRef]
  40. Zhuang, C.; Zhang, D. A robust wifi localization algorithm using data augmentation and stacked denoising autoencoder. In Proceedings of the 2023 35th Chinese Control and Decision Conference (CCDC), Yichang, China, 20–23 May 2023; pp. 1445–1450. [Google Scholar]
  41. Kim, D.; Park, J.-H.; Suh, Y.-J. A Wi-Fi Fingerprinting Indoor Localization Framework Using Feature-Level Augmentation via Variational Graph Auto-Encoder. Electronics 2025, 14, 2807. [Google Scholar] [CrossRef]
Figure 1. 3D scatter plot showing the RSSI distribution at the RPs and TPs across the floors of the CETC331 building.
Figure 1. 3D scatter plot showing the RSSI distribution at the RPs and TPs across the floors of the CETC331 building.
Sensors 26 00326 g001
Figure 2. 3D scatter plot showing the RSSI distribution at the (a) RPs and (b) TPs across the 16 floors of the UTS building.
Figure 2. 3D scatter plot showing the RSSI distribution at the (a) RPs and (b) TPs across the 16 floors of the UTS building.
Sensors 26 00326 g002
Figure 3. Optimization history plot of the ERT algorithm.
Figure 3. Optimization history plot of the ERT algorithm.
Sensors 26 00326 g003
Figure 4. Parallel coordinate plot of the ERT algorithm.
Figure 4. Parallel coordinate plot of the ERT algorithm.
Sensors 26 00326 g004
Figure 5. Hyperparameter importance plot of the ERT algorithm.
Figure 5. Hyperparameter importance plot of the ERT algorithm.
Sensors 26 00326 g005
Figure 6. CDF of 2D Localization Error for RELoc and Baseline Methods on SODIndoorLoc.
Figure 6. CDF of 2D Localization Error for RELoc and Baseline Methods on SODIndoorLoc.
Sensors 26 00326 g006
Figure 7. CDF of 3D Localization Error for RELoc and Baseline Methods on SODIndoorLoc.
Figure 7. CDF of 3D Localization Error for RELoc and Baseline Methods on SODIndoorLoc.
Sensors 26 00326 g007
Figure 8. CDF of 2D Localization Error for RELoc and Baseline Methods on UTSIndoorLoc.
Figure 8. CDF of 2D Localization Error for RELoc and Baseline Methods on UTSIndoorLoc.
Sensors 26 00326 g008
Figure 9. CDF of 3D Localization Error for RELoc and Baseline Methods on UTSIndoorLoc.
Figure 9. CDF of 3D Localization Error for RELoc and Baseline Methods on UTSIndoorLoc.
Sensors 26 00326 g009
Figure 10. Computational time of RELoc, XGB, GNN, and DNN methods.
Figure 10. Computational time of RELoc, XGB, GNN, and DNN methods.
Sensors 26 00326 g010
Table 1. Hyperparameter combinations for all the benchmarked methods.
Table 1. Hyperparameter combinations for all the benchmarked methods.
MethodHyperparameter Combination
ETCriterion = squared error, splitter = random, max_features = 1.0, min_samples_split = 2, and min_samples_leaf = 1
XGBn_estimators = 500, max_depth = 50, learning_rate = 0.01, objective = reg: squarederror, colsample_bytree = 0.1, min_child_weight = subsample = colsample_bylevel = 1.0
SVMKernel = RBF, C = 1, gamma = 0.01, epsilon = 0.001
ANNHL = 256, 128, 64, max_iter = 100, learning_rate = constant, solver = Adam, activation = ReLU
DNNHL = 256, 128, 64, learning_rate = 0.01, HL activation = ReLU, output activation = Sigmoid, dropout = 0.3, optimizer = Adam
GNNActivation = ReLU, learning_rate = 0.001, dropout = 0.3, optimizer = Adam, Batch size = 8, epochs = 150
Table 2. 2D and 3D coordinate prediction of RELoc and other methods on SODIndoorLoc.
Table 2. 2D and 3D coordinate prediction of RELoc and other methods on SODIndoorLoc.
CoordinateMethodMAE (m)RMSE (m)R2 (%)MLE (m)
2DET2.504.1673.804.24
XGB2.223.2388.213.83
SVM2.383.2585.724.07
ANN2.142.9587.553.60
DNN2.022.9485.423.42
GNN1.802.6985.202.97
Proposed 2D RELoc1.842.7590.443.14
3DET1.743.0377.024.45
XGB1.502.2091.593.86
SVM1.602.2089.944.07
ANN1.442.0491.563.63
DNN1.411.9790.463.57
GNN1.331.9888.193.36
Proposed 3D RELoc1.231.8593.253.11
Table 3. 2D and 3D coordinate prediction of RELoc and other methods on UTSIndoorLoc.
Table 3. 2D and 3D coordinate prediction of RELoc and other methods on UTSIndoorLoc.
CoordinateMethodMAE (m)RMSE (m)R2 (%)MLE (m)
2DET7.339.622.2311.92
XGB4.866.0765.077.97
SVM5.296.7752.198.55
ANN6.318.0747.8010.45
DNN4.956.2963.058.14
GNN4.896.5352.837.79
Proposed 2D RELoc4.395.7968.537.30
3DET5.377.4123.0912.41
XGB3.364.2276.448.03
SVM3.754.8466.248.63
ANN3.944.9770.899.24
DNN3.464.5073.598.16
GNN3.254.7768.297.91
Proposed 3D RELoc3.214.1678.417.60
Table 4. Performance comparison with existing approaches in the literature.
Table 4. Performance comparison with existing approaches in the literature.
SODIndoorLocUTSIndoorLoc
Ref.MethodMAE (m)RMSE (m)Ref.MethodRMSE (m)MLE (m)
[19]RFR3.744.17[35]HDNN 7.80
[19]MLPR5.153.63[36]CAE-CNN 7.70
[37]WKNN2.43 [29]CNNLoc 7.60
[38]2D CNN-MS2.15 [34]GNN 7.48
[39]VF-CLIP1.882.53[40]MLP-SDAE 7.25
[24]MC-ACNNR2.063.08[41]FALoc6.267.14
This work2D RELoc1.842.75This work2D RELoc5.797.30
3D RELoc1.231.853D RELoc4.167.60
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Ayinla, S.L.; Abd Aziz, A.; Drieberg, M.; Susanto, M.; Laouiti, A. RELoc: An Enhanced 3D WiFi Fingerprinting Indoor Localization Algorithm with RFECV Feature Selection. Sensors 2026, 26, 326. https://doi.org/10.3390/s26010326

AMA Style

Ayinla SL, Abd Aziz A, Drieberg M, Susanto M, Laouiti A. RELoc: An Enhanced 3D WiFi Fingerprinting Indoor Localization Algorithm with RFECV Feature Selection. Sensors. 2026; 26(1):326. https://doi.org/10.3390/s26010326

Chicago/Turabian Style

Ayinla, Shehu Lukman, Azrina Abd Aziz, Micheal Drieberg, Misfa Susanto, and Anis Laouiti. 2026. "RELoc: An Enhanced 3D WiFi Fingerprinting Indoor Localization Algorithm with RFECV Feature Selection" Sensors 26, no. 1: 326. https://doi.org/10.3390/s26010326

APA Style

Ayinla, S. L., Abd Aziz, A., Drieberg, M., Susanto, M., & Laouiti, A. (2026). RELoc: An Enhanced 3D WiFi Fingerprinting Indoor Localization Algorithm with RFECV Feature Selection. Sensors, 26(1), 326. https://doi.org/10.3390/s26010326

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop