Automatic Relevance Determination Kernel-Embedded Gaussian Process Regression For Sonar Based Human Leg Localization With A Mobile Robot
Automatic Relevance Determination Kernel-Embedded Gaussian Process Regression For Sonar Based Human Leg Localization With A Mobile Robot
Sensor applications
Manuscript received 25 October 2022; revised 21 November 2022; accepted 26 December 2022. Date of publication 29 December 2022; date of current
version 19 January 2023.
Abstract—Human leg localization problems involving sonar sensing can be posed as a nonlinear regression problem,
and, nonparametric Bayesian methods, such as the Gaussian process regression (GPR) model, are potential solution
candidates. In this work, to overcome the problem of irrelevant input features from the sonar range data, an advanced
automatic relevance determination kernel structure is proposed to be used in the GPR model instead of the commonly
used standard isotropic kernel. It is able to extract high-relevance input features even from partially trained data, thus
offering a better generalization ability while improving the prediction rates and robustness significantly.
Index Terms—Sensor applications, automatic relevance determination (ARD), Gaussian process regression (GPR), human leg localiza-
tion (HLL), mobile robot, sonar sensing.
I. INTRODUCTION However, unlike the classical GP, the GP model in [5] considered
that the output data, i.e., (x, y) coordinates are certain and stable
The problems of detecting, identifying, and following moving peo- while the input data, i.e., angular orientations and ranges could suffer
ple are considered a key problem in human–robot coexisting envi- from uncertainty and imprecision. As the sonar positioning mechanism
ronments [1], [2], [3], [4]. In our recent work [5], we addressed a involved in [5] is servo motor driven, typical irregularities such as
crucial subproblem within this genre, especially keeping in mind the friction, dead zone, saturation, etc., occur frequently, which may affect
constraints in developing countries, where the range readings obtained the rotational movement of the sonar sensor induced via a specific
with the onboard sonar sensor of a mobile robot are used for human set of software commands. This can very well infiltrate a certain
leg localization (HLL) in Cartesian coordinate space at different time extent of imprecision and uncertainty in the measurements of angular
instants, during a pursuit. The work successfully demonstrated how position and range data of the human legs. Conversely, the standard
a sonar-based HLL problem can be solved as a nonlinear regression distance measurement methodology is adopted to measure the (x, y)
problem in which two distinct sets of observed data are used to learn coordinates on a real two-dimensional (2-D) plane, which leads to
two different prediction models [5]. The observed datasets include providing certain and reliable Cartesian positional data. Thus, the work
the same input data, i.e., 1) different angular positions of the human in [5] essentially adapts the basic I/O properties of the standard GPR
leg-pair with respect to (w.r.t) a specific robot pose and 2) sonar to carry out a statistical model calibration, used for estimating the leg
readings obtained at those angles but different output data, i.e., the positions in Cartesian space.
corresponding x and y coordinates of the leg poses on the Cartesian However, with the standard isotropic squared exponential (SE)
plane. The learned models are then utilized to estimate the (x, y) kernel in GPR, the system suffers from irrelevant input features from
coordinates for an unknown leg pose associated with an arbitrary input the sonar range data. To deal with the same, we propose to replace the
combination of angle and range information. conventional isotropic SE kernel in GPR with the Matern32 (M32)
Considering sonar behavior [6], the HLL framework in [5] proposes kernel having the structure of automatic relevance determination
to apply the Gaussian process regression (GPR) [7], [8] to effectively (ARD) [9]. This specific ARD structure becomes very useful in the case
solve the regression problem formulated. The attractive analytical of independent priors over the length scales in the Gaussian covariance
properties and tractable posterior computation ability of the Gaussian models. This ARD-based kernel works as a powerful tool for the
process (GP) make it a popular tool in various machine learning, extraction of discriminative input features from the entire data, as it ju-
signal processing, and statistical applications involving multiclass diciously eliminates irrelevant input features among orientation angles
classification, identification, or nonlinear regression problems with and range measurements by setting large length-scales for them [9].
real-world noise-corrupted data. In such cases, GPR turns out to be a Additionally, an advanced predictor with varied length-scales is devel-
robust and accurate nonparametric Bayesian method offering excellent oped to enhance the robustness and accuracy of predictions. To the best
resilience against overfitting. of our knowledge and belief, this work is the first to utilize ARD-based
GPR models in the application of HLL using ultrasonic sensors.
Corresponding author: Pritam Paral (e-mail: [email protected]). Section II discusses GPR in brief. Section III presents the proposed
Associate Editor: F. Costa. HLL framework in light of the ARD kernel-based GPR. Section IV
Digital Object Identifier 10.1109/LSENS.2022.3232920 demonstrates the experimental results. Finally, Section V concludes
the letter.
2475-1472 © 2022 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission.
See https://www.ieee.org/publications/rights/index.html for more information.
Authorized licensed use limited to: JADAVPUR UNIVERSITY. Downloaded on January 20,2023 at 08:06:48 UTC from IEEE Xplore. Restrictions apply.
6000504 VOL. 7, NO. 1, JANUARY 2023
The conditional mean z is designated as the best estimate while The averaging mechanism for obtaining r̃D(m) k
is detailed in [5]. The
conditional variance var(z ) captures the uncertainty in the estimate. scheme for acquiring sonar readings for a specific leg pose along a
particular angle is exemplified in Fig. 1.
A. Mode of Data Acquisition Similar to [5], in the present regression-based HLL model, two
distinct training datasets D1 = {vk , xk }M
k=1 and D2 = {vk , yk }k=1 are
M
During the pursuit, a set of sonar readings is acquired for the target used to learn two different prediction models, best described via
leg-poses at a certain time instant, and with these data, it is aimed to the unknown functions X : R2 → R and Y : R2 → R, respectively.
estimate the leg positions on the Cartesian plane at that time instant. With vk = [rk , θk ] ∈ R2 being the two-dimensional input vector, the
Following the same framework of data acquisition as in [5], two measured scalar outputs xk , yk ∈ R can be approximated as [5]
different sets of data are generated in this work as well. Each of
them contains the same input information, i.e., the angular orientations xk = X(vk ) + xk xk ∼ N(0, g2x (vk ))
of several human leg postures w.r.t a specific robotic pose and the
yk = Y(vk ) + yk yk ∼ N(0, g2y (vk )). (7)
range measurements captured at those orientation angles. However,
both the datasets comprise different output information consisting The error terms xk and yk , referred to as the equivalent model-
of the corresponding x and y coordinates of the target leg postures, ing errors (EMEs), have been introduced to take the measurement
respectively. The reference position of the robot is considered (0, 0) on uncertainties into account. The EMEs, primarily resulting from the
a horizontal 2-D plane and the robot heading is taken along the +y-axis uncertainties in input variables, can be considered independent and
direction. A set of range measurements r̃D j ≈ rD |Pj=1 are acquired for normally distributed random variables, as discussed in [5]. The noise
different leg poses of a target person while he/she is located around a variances, defined as g2x (v) ≡ βnx
2
and g2y (v) ≡ βny
2
, are assumed to
radial proximity of rD along a predefined set of equidistant angles φ j ∈ remain constant across the input space. For M number of observed
[0◦ , 180◦ ]|Pj=1 [5]. Simultaneously, the true values of corresponding leg instances, we define gx = [gx1 , . . . , gxM ]T with gxk = gx (vk ). Now,
positions are measured on the 2-D coordinate plane by the conventional for a given unknown leg posture associated with input v = [r , θ ],
line gauge-based direct distance measurement technique [5]. A set of these two learned models can be used to localize the (x , y ) coor-
N different radial distances {rD(k) }Nk=1 are considered, thus generating a dinates of the corresponding leg posture w.r.t the robotic reference
Authorized licensed use limited to: JADAVPUR UNIVERSITY. Downloaded on January 20,2023 at 08:06:48 UTC from IEEE Xplore. Restrictions apply.
VOL. 7, NO. 1, JANUARY 2023 6000504
C. GPR Kernel Functions With ARD Structure Fig. 2. Functional diagram of the ARD kernel-based HLL approach.
In our previous work [5], the popular SE kernel was adopted as the
covariance function, which is given by [8]
IV. EXPERIMENTAL RESULTS
cSE (v, v ) = αSE
2
exp − v − v 2 / 2γSE 2
(8)
A. Experimental Setup
with · , αSE , and γSE , respectively, denoting the Euclidean distance For the purpose of performance evaluation, we use the real sonar data
between input points v and v , the signal amplitude, and the charac- acquired by the onboard HC-SR04 ultrasonic sensor of an economical,
teristic length-scale. The hyperparameters αSE and γSE are typically indigenously developed, two-wheel differentially driven mobile robot
denoted as SE = {αSE , γSE }. SE kernel is a stationary kernel in which based on Raspberry Pi 3 model B+ [4]. Two real-world datasets D1 =
the correlations between various points are solely influenced by the {(rk , θk ), xk }M
k=1 and D2 = {(rk , θk ), yk }k=1 are formed for different
M
term v − v , resulting in a smooth distribution. For sonar range data positions of human leg-pair in polar coordinate space. Assuming the
with numerous local fluctuations, this would be too strict. Therefore, sonar range is valid in the interval (5, 55) cm, the radial distances
in this work, Matern32 (M32) kernel is selected over the SE kernel, {rD(k) }Nk=1 are chosen as {5 cm, 7 cm, . . . , 53 cm, 55 cm} while the an-
which is expressed as [9] gles {φ j }Pj=1 are adopted as {10◦ , 20◦ , . . . , 160◦ , 170◦ } (considering
√ √ dead zone nonlinearity). The parameters N, P, and M are, respectively,
3 v−v 3 v−v
cM32 (v, v ) = αM32
2
1+ exp − (9) 26, 17, and 442. The training/testing is performed with 85%/15%
γM32 γM32 training-testing split.
Authorized licensed use limited to: JADAVPUR UNIVERSITY. Downloaded on January 20,2023 at 08:06:48 UTC from IEEE Xplore. Restrictions apply.
6000504 VOL. 7, NO. 1, JANUARY 2023
REFERENCES
[1] J. Yuan, H. Chen, F. Sun, and Y. Huang, “Multisensor information fusion for people
tracking with a mobile robot: A particle filtering approach,” IEEE Trans. Instrum.
Meas., vol. 64, no. 9, pp. 2427–2442, Sep. 2015.
[2] P. Paral, A. Chatterjee, and A. Rakshit, “Vision sensor-based shoe detection for
human tracking in a human–robot coexisting environment: A photometric invariant
approach using DBSCAN algorithm,” IEEE Sens. J., vol. 19, no. 12, pp. 4549–4559,
Jun. 2019.
[3] D. Li, L. Li, Y. Li, F. Yang, and X. Zuo, “A multi-type features method for leg
detection in 2-D laser range data,” IEEE Sens. J., vol. 18, no. 4, pp. 1675–1684,
Feb. 2018.
95% credible intervals for HLL-M32+ARD distribute in considerably [4] P. Paral, A. Chatterjee, and A. Rakshit, “Human position estimation based on filtered
narrower regions, indicating that it achieves much higher estimation sonar scan matching: A novel localization approach using DENCLUE,” IEEE Sens.
credibility and lower uncertainty compared to HLL-SE. This impres- J., vol. 21, no. 6, pp. 8055–8064, Mar. 2021.
sive performance of HLL-M32+ARD can be attributed to the strong [5] P. Paral, A. Chatterjee, and A. Rakshit, “Sonar sensing-based human leg localiza-
tion using Gaussian process regression,” in Advances in Intelligent Systems and
feature extraction capabilities of the ARD structure, in addition to Computing, K.-K. Giri et al., Eds. Berlin, Germany: Springer, 2022, vol. 1412,
the high robustness offered by the M32 kernel. The ARD kernel with pp. 1029–1041.
variable length-scales can effectively learn the relevance of the input [6] A. Burguera, Y. González, and G. Oliver, “On the use of likelihood fields to perform
features and subsequently remove irrelevant features by setting large sonar scan matching localization,” Auton. Robot., vol. 26, no. 4, pp. 203–222,
May 2009.
length-scales for them. This allows for the retention of only the input
[7] C. M. Bishop, Pattern Recognition and Machine Learning. 1st ed. Berlin, Germany:
features modeling the underlying structure of the observed data rather Springer, 2006.
than the noise so that overfitting is alleviated. [8] S. Lee and J. McBride, “Extended object tracking via positive and negative informa-
To study the effects of the variation of γr and γθ on LML (loga- tion fusion,” IEEE Trans. Signal Process., vol. 67, no. 7, pp. 1812–1823, Apr. 2019.
rithmic evidence) [11], surface plots are generated corresponding to [9] K. Liu, Y. Li, X. Hu, M. Lucu, and W. D. Widanage, “Gaussian process regression
with automatic relevance determination kernel for calendar aging prediction of
the processes of learning prediction models for x and y positions. The lithium-ion batteries,” IEEE Trans. Ind. Informat., vol. 16, no. 6, pp. 3767–3777,
corresponding plots, shown in Fig. 4(a) and (c), respectively, help to Jun. 2020.
provide independent verification of the optimization results obtained [10] Q.-H. Zhang and Y.-Q. Ni, “Improved most likely heteroscedastic Gaussian process
from L-BFGS algorithm. regression via Bayesian residual moment estimator,” IEEE Trans. Signal Process.,
vol. 68, pp. 3450–3460, May 2020.
[11] C. K. Williams and C. E. Rasmussen, Gaussian Processes for Machine Learning,
vol. 2, Cambridge, MA, USA: MIT Press, 2006.
V. CONCLUSION [12] J. Nocedal and S. J. Wright, Numerical Optimization, 2nd ed. New York, NY, USA:
Springer, 2006.
An advanced HLL model based on GPR is proposed that deals with [13] D. Makowski, M. S. Ben-Shachar, and D. Lüdecke, “bayestestR: Describing effects
a major issue of irrelevant input features associated with real-world and their uncertainty, existence and significance within the Bayesian framework,” J.
sonar data. Inappropriate input features can cause erroneous learning Open Source Softw., vol. 4, no. 44, Aug. 2019, Art. no. 1541.
Authorized licensed use limited to: JADAVPUR UNIVERSITY. Downloaded on January 20,2023 at 08:06:48 UTC from IEEE Xplore. Restrictions apply.