Skip to main content

ORIGINAL RESEARCH article

Front. Robot. AI, 04 July 2022
Sec. Computational Intelligence in Robotics
This article is part of the Research Topic Human-Aware Navigation for Autonomous Systems View all 5 articles

Toward Benchmarking of Long-Term Spatio-Temporal Maps of Pedestrian Flows for Human-Aware Navigation

  • 1Laboratory of Chronorobotics, Artificial Intelligence Center, Department of Computer Science, Faculty of Electrical Engineering, Czech Technical University in Prague, Prague, Czech Republic
  • 2CIAD UMR 7533, Univ. Bourgogne Franche-Comté, UTBM, Montbéliard, France

Despite the advances in mobile robotics, the introduction of autonomous robots in human-populated environments is rather slow. One of the fundamental reasons is the acceptance of robots by people directly affected by a robot’s presence. Understanding human behavior and dynamics is essential for planning when and how robots should traverse busy environments without disrupting people’s natural motion and causing irritation. Research has exploited various techniques to build spatio-temporal representations of people’s presence and flows and compared their applicability to plan optimal paths in the future. Many comparisons of how dynamic map-building techniques show how one method compares on a dataset versus another, but without consistent datasets and high-quality comparison metrics, it is difficult to assess how these various methods compare as a whole and in specific tasks. This article proposes a methodology for creating high-quality criteria with interpretable results for comparing long-term spatio-temporal representations for human-aware path planning and human-aware navigation scheduling. Two criteria derived from the methodology are then applied to compare the representations built by the techniques found in the literature. The approaches are compared on a real-world, long-term dataset, and the conception is validated in a field experiment on a robotic platform deployed in a human-populated environment. Our results indicate that continuous spatio-temporal methods independently modeling spatial and temporal phenomena outperformed other modeling approaches. Our results provide a baseline for future work to compare a wide range of methods employed for long-term navigation and provide researchers with an understanding of how these various methods compare in various scenarios.

1 Introduction

The last decade showed that the advances in the robotics field enable autonomous robots to operate in human-populated environments (Triebel et al., 2016; Hawes et al., 2017; Coşar et al., 2020). The human-populated environment includes diverse types of dynamics, such as natural daily (Krajnik et al., 2014a) and seasonal changes (Neubert et al., 2013) but, most importantly, the dynamics imposed by human actions (Tipaldi et al., 2013). The robots that take these dynamics into consideration and adjust their decisions provide better performance of their human-centric tasks (Santos et al., 2016, 2017; Hanheide et al., 2017; Hawes et al., 2017; Kunze et al., 2018; Calderita et al., 2021). Moreover, later works assert that decisions of autonomous robots that consider human habits are crucial for robots to be accepted by human society (Triebel et al., 2016; Palmieri et al., 2017; Vintr et al., 2020). Based on the principles of modeling the human-imposed dynamics in aforementioned long-term experiments, we believe that human customs and behavior are deeply connected to the abstract structure of the time represented as a calendar and clock. Furthermore, we claim the robots that are supposed to be part of human society need to accept this structure, similar to their acceptance of the spatial structures like walls.

We state that the long-term human-aware navigation needs to include spatio-temporal maps into the navigation system to support the decisions in advance of the navigational task. The traditional approach to robot navigation in an uncontrolled environment is using a combination of static maps (Elfes, 1989; Cadena et al., 2016) with a reactive approach to unexpected events. However, many unexpected events are usually caused by human actions, especially human movement through the robot’s operational environment. The reactive replanning of a robot’s trajectory based on sense-plan-act frameworks, used, for example, in the Robot Operating System (Quigley et al., 2009) move base, gives people an impression of clumsiness (Hebesberger et al., 2017) due to their slow response, which eventually leads to negative emotions toward the robot (Vintr et al., 2020). This unwanted interaction is mainly driven by the fact that by the time the robot can detect people walking around it and replan its trajectories, the person is already taking evasive action. Therefore, incorporating the expected human movement through the environment into the robot’s navigation and planning is of high importance for the autonomous robots intended to help people in their environment (Krajník et al., 2020; Rudenko et al., 2020; Palmieri et al., 2021). To show the fundamental impact on human acceptance when incorporating spatio-temporal maps into the navigation, we provide a field robot experiment with an industrial-grade robotic platform. The experiment studied how many people traversing the university hall were irritated by the robot planning its navigation with and without the map.

As the spatio-temporal maps were used in different scientific fields, we created a comprehensive overview of the spatio-temporal representations. They provide various aggregations, like frequency, likelihood, probability, or relative weights. The authors compare the methods in different ways, on different data, and using different metrics, making it difficult to assess their actual performance. To overcome the difficulties in comparison of different approaches to mapping, we follow the idea from our previous study (Vintr et al., 2020). There, we proposed a specific criterion comparing different maps that provided incomparable costs. In this work, we generalize the criterion into the methodology to create different criteria from a chosen cost function that suits the studied attributes of maps. We created an extensive set of generalized approaches to represent the spatio-temporal phenomena covering a large part of the current methods. We applied them to the real-world dataset of 1 month of human detections and compared them using the two criteria following the proposed methodology. The straightforward interpretability of the results provides us with exceptional insight into the strengths and weaknesses of different approaches.

2 Related Work

2.1 Static Models

2.1.1 Discrete Maps

A straightforward way to include a historical knowledge of human behavior in the robotic map was proposed in the study by (Ravankar et al., 2020). The authors divided the map into the crossings (nodes) and halls (vertices) and projected the map into the graph. A set of cameras scanned every hall, and the visual system detected and counted people in these halls. Each vertex of the graph created a dictionary of observed human movements, which leads to a historical heat map. The field robot experiment proved that navigation using historical knowledge leads to evading congestions. (Nishio and Niitsuma, 2019) included historical information about the frequency of people in every cell and usual directions and speeds and also acceleration in the classical grid-based map. They could detect natural ways people use in larger areas, where the usual paths are not apparent from the hall’s structure. They stated that the knowledge of the acceleration distribution leads to a better understanding of “smooth flows” in a human movement. In the study by (Senanayake and Ramos, 2018) the authors proposed a directional grid map (DGM) that models the distribution of directions and speeds in the occupancy grid. Each cell applies an expectation-maximization algorithm to estimate the mixture of von Misses distributions from historical data.

2.1.2 Spatially Continuous Maps

(O’Callaghan and Ramos, 2012) argued that a continuous spatial map has better properties for robot navigation than a classical grid map. They proposed Gaussian process occupancy maps (GPMOs) that overcome single-scaled maps’ problems and provide accurate maps even with relatively sparse and noisy data. However, such an approach cannot be applied to modeling directions. It suffers from averaging angles, leading to meaningless predictions when humans traverse positions in both directions (McCalman et al., 2013). As a solution, they proposed a combination of the Kernel Bayes’ Rule and the Gaussian mixture pre-image recovery method (KBR-GM). Another approach to overcoming weaknesses of discrete occupancy maps was proposed in the study by (Kucner et al., 2016). The authors did not use Gaussian processes mainly because they generally fail to model multi-modal distributions. Instead, they modeled the continuous distribution of measured directions and speeds in every cell of a grid using an expectation-maximization method based on the Independent von Mises–Gaussian distribution (Roy et al., 2012). Then they defined an interpolation technique that provides a distribution estimation at any position. They called it CLiFF-map and applied that to the people tracking and wind data. In the following work (Kucner et al., 2017), they trained the CLiFF-map with sparse data (75 and 3%) and then reconstructed it to the original resolution using Monte Carlo and Nadaraya Watson methods. They proved that it is possible to gather relatively accurate models from very sparse data. Later, they proposed a robot motion planner over the CLiFF-map based on RRT* (Palmieri et al., 2017). They defined the Extended Upstream Criterion (EUC) as a cost function to favor the robot’s movement with the vector field. The trajectory found in such a way is most likely to offer a good trade-off between length and control effort against the dynamics of the environment. They showed that the model of the movement of people could be used to navigate the robot through the crowd effectively. In the study by (Swaminathan et al., 2018), CLiFF-map was extended with a Down-The-CLiFF (DTC) cost function for trajectory planning, which explicitly accounts for the environment’s dynamics and the uncertainty in the flow model. The cost function incorporates observation and motion ratios, which, compared to the previous EUC, favors the less crowded areas and provides information for an exploration task.

2.2 Short-Term Dynamics in Maps

In the aforementioned approaches, historical knowledge does not provide any information about the changes in the dynamics of an environment. One of the approaches is to include the short-term changes in the map derived from the actual observation of the situation. In the study by (Kucner et al., 2013), the authors proposed a Conditional Transition Map (CTMap), which models in every cell the probability distribution of vehicle transitions between the last and the next cell. As the behavior of the usual vehicle is not random, the CTMap estimates the probability of the exit direction of the vehicle from the entry direction. Using the Conditional Probability Propagation Tree (CPPTree) graph representing all reachable transitions, the method can predict the vehicle’s trajectory that entered the scene or provide a convenient navigational plan for a robot. Another discrete short-term model can be found in the study by (Wang et al., 2014), where authors predict the path of a walking person based on his actual position in the environment using the input–output Markov model. The model that estimates a human’s future position directly from observations (Kollmitz et al., 2015) allows for reactive navigation that respects a human’s personal space without the need of repetitive recalculations of the robot’s trajectory. (Senanayake et al., 2020) proposed a static spatial map that includes distributions of directions and speeds of the vehicles at the crossroads. It is used prior to the trajectory prediction, which is updated based on the current observation. The current observation, for example, the blinking of a car, is then used to estimate the new directional distribution and, eventually, the most probable path of the vehicle. (Nardi and Stachniss, 2020) proposed a graph that represents an environment and which edges were traversable or not during a robot’s task. The model learns which edges were traversable together. Based on this model, they can predict where the robot can go after observing a small part of the environment. Then, the information is exploited to provide better navigation plans. With the advancement of the neural networks that include long short-term memory, one can find in the literature a vast amount of the methods for short-term predictions derived from the actual observation (Rudenko et al., 2020).

2.3 Partly Discrete Spatio-Temporal Maps

2.3.1 Maps With Discrete Temporal Domain

Apart from modeling the directions of the movement of particles in the environment, the scientific community focuses on modeling the changes in the environment over time. A prevalent approach to modeling a time-dependent phenomenon is to create seasonal windows (usually 1 day long) and to model the environment over the different parts of these windows (Van Laerhoven et al., 2008; Blanke and Schiele, 2009). This approach models patterns of the environment change, but it is necessary to define the principal periodicity, that is, the length and the resolutions of windows. In the study by (Bennetts et al., 2019), the authors analyzed the flow of the wind. They proposed a continuous AirFlow Map and called it stf-AFM. It is a set of spatio-(short)temporal models inserted into the “calendar”. The authors are searching for periodical features over the calendar using a combination of autocorrelation, fast Fourier transform, and clustering over the frequencies. They pointed out that “knowing periodicities could have some impact.” A bachelor thesis (Kubiš, 2020) proposed a method of time-window GMM applied to the taxi demand prediction. Contrary to the previous article, the essential periods were gathered from the data in advance and used for creation of proper time windows. The method then estimates the spatial distribution using EM-GMM in every time window. The author showed that it is possible to predict the demand for a few weeks to the future. A comparable method was also used for ambulance call forecasting (Bayisa et al., 2020). The authors proposed a spatio-temporal log-Gaussian Cox process. They divide the prediction task into multiple subtasks for different temporal and spatial classes (7 days of the week, 4 seasons of the year, and 5 regions). In those 140 subsets, they calculate a continuous one-day-long model derived from the historical data of several years.

2.3.2 Smoothing the Grid

However, the time interval usage suffers from the discontinuity at the borders of the intervals, which is necessary to overcome (Chinellato et al., 2017). The bachelor thesis of (Blaha, 2020) describes the system that was created to help people during the early times of the Covid pandemic. The system predicts how crowded places like shops and pharmacies will be (Laboratory of Chronorobotics, 2019). As the learning data were highly sparse and unevenly measured, the author employed a histogram-based temporal model smoothed by spline at every tested place. Despite the meagre quality data, the system could predict the ideal time for shopping in the next few days. The smoothing of the spatio-temporal models is generally a complex task. For example, the authors (Zhang and Zheng, 2020) applied triangulation over the space of a discrete spatio-temporal model and interpolated the distribution linearly over the sub-spaces so that the distribution is piece-wise linear and continuous.

2.3.3 Continuous Modeling of Time Over the Spatial Grid

A specific approach to spatio-temporal modeling is called Frequency Map Enhancement (FreMEn) (Krajník et al., 2017). In one of the experiments, the authors created a topological map. Each place on the map is defined by a set of visual features detected in the past. Every detection gets an ID, and if detected multiple times, it creates a binary time series (detected during observation or not). Every time series is then decomposed by frequency analysis. Each place at any time is then described by a set of the most probably detectable features. It is also possible to represent each place as an occupancy grid where each cell holds the binary time series that specify the occupancy state. All modeled phenomena are understood as static or periodic, which allows predicting future states of any feature at any time. Therefore, it is also possible to predict the most probable position of static and dynamic obstacles. The authors also define the persistence of the features, which allows the map to include unpredicted obstacles that were actually detected. Moreover, an open-source library integrated with ROS for long-term mobile robot mapping called FROctomap (Krajnik et al., 2014a) is available.

Experiments and applications of FreMEn provide the most complex insight into benefits obtainable from incorporating spatio-temporal models into robotics. FreMEn was applied in the task of mapping (Krajnik et al., 2014b). The experiments showed the ability of the method to model binary states with very high precision. Applying it to the occupancy grid map lowered the prediction error compared to the static approach by 60%. Then, it was applied to the localization task (Krajník et al., 2014b). The experiment was accomplished at eight places that were supposed to be distinguished using two different approaches. The first approach described each place using a “fremenized” occupancy grid, and the second approach modeled the places using image features whose detection probabilities were also fremenized. The experiment proved that incorporating the FreMEn improved the localization ability of the robot. They also stated that the most prominent period was most influential in a long-term experiment as it persists over a more extended time. (Fentanes et al., 2015) proposed a topological map in which there was the traversability of the edges modeled by FreMEn. They implemented the time-indexed Navigation Markov decision process that improved the planning of the navigational tasks in the changing environment. In a robotic search task (Krajník et al., 2015a), the performance of Frequency Map Enhancement–based and Periodic Gaussian Mixture–based modeling were compared. The robot was supposed to search for people and objects in three different environments. Compared to the stationary models, the experiment showed a decrease in the search time of about 25% and a decrease of places of about 33% using both proposed methods. The authors speculate that finding periods using FreMEn and approximating the events with the mixture of Gaussian distributions can lead to a better output. Although the fremenized occupancy grid holds the parameters of the binary time series in every cell, it was successfully applied to a directional grid map over a large area of mall halls (Molina et al., 2018). FreMEn was also subsumed into the Human-Aware Allocation proposed for cooperation between multiple robots in a human-populated area (Surma et al., 2021). Its predictions were employed in the multilayer Map of Dynamics to ensure the optimal division of tasks with human presence in the environment. Considering the ability of a robot that uses FreMEn to recognise “when” it observed the most informative situation, the novel information-based Monte-Carlo scheduler for exploration was proposed (Santos et al., 2016). Eventualy, different exploration strategies (Krajník et al., 2015b; Santos et al., 2017; Molina et al., 2019) and exploration–exploitation dilema (Kulich et al., 2016) were studied. In the study by (Jovan et al., 2016), FreMEn was redefined into the Addition Amplitude Model (AAM). The most significant frequencies were iteratively discovered from learning data and actual reconstruction differences, that is, model errors. The main difference to the original FreMEn resides when the frequency with the highest amplitude in the errors is part of the frequencies that established the reconstruction. In such a case, the amplitudes of those two (identical) frequencies are summed up, and the shift is averaged.

2.4 Continuous Spatio-Temporal Maps

The main problem of the approach above is the spatial independence of the neighboring cells. It can be addressed by spatial ordering (Cliff and Ord, 1975), but the spatial ordering has to be predefined a priori and cannot be changed during the learning process (Shi and Yeung, 2018). The necessity to model spatial dependencies in the dynamic environment leads to a continuous spatio-temporal representation of the environment. Although the continuous models of the environment changes are computationally demanding, they are beneficial due to their memory efficiency (O’Callaghan and Ramos, 2012; Vintr et al., 2019b) and robustness to the outliers (Zhi et al., 2019).

2.4.1 Maps With Limited Number of Periods

The continuous spatio-temporal models were successfully used in ambulance demand prediction. (Zhou et al., 2015) proposed a time-varying Gaussian mixture model. They created 2-h windows with a 1-week periodicity, and applied GMM in each window. Moreover, they apply constraints for the weights of each Gaussian in a way that timely preceding and subsequent weights, and weights from identical time windows of preceding and subsequent days, directly influence the current weight. In this way, they also include 1-day periodicity and smoothness to the model change in their model, which they refer to as short-term serial dependence. Later, they proposed a warped kernel density estimation model that produces geometrically better density estimation than time-varying GMM (Zhou and Matteson, 2016). The warping kernels are derived from spatial geometry. The spatial positions of the ambulance demand constitute clusters projected to a weighted graph as nodes. The edges are derived from the highways and roads, and weights correspond to the usual traffic. The parameters of the graph then influence the shapes of the spatial clusters. Such an approach provides a “fit to structure” distribution. The fundamental periodicity in the proposed model was 1 week. Due to the computational complexity, the model used an 8-week-long sliding window for learning while prediction was tested in the consequent 4 weeks. Continual learning also served as “forgetting” and provided different predictions in different seasons (winter/summer). However, the model did not prove its improvement over initial methods when applied to a crime prediction in Bogota (Garrido Mejía, 2018).

In the following work (Pabón et al., 2020), kernel warping was applied to the homicide prediction in Bogota. The authors explain the inefficiency of the model in several ways: the relatively low amount of homicides, changes of positions of problematic groups across historical data, and the direct impact of patrolling strategy of police known as “runaway feedback loops.” They solve the known issues by enriching the data with street fights, which are very connected to the homicides, and including temporal decay components in the studied models. Temporal decay helped all the models, and the kernel warping model provided the best predictions. In the study by (Zhou and Matteson, 2015), the spatio-temporal ambulance demand is modeled in a way that the dataset is divided into spatio-temporal cells. By applying autocorrelation to the data, the authors estimated two main periods. Then those periods were exploited to create a continuous spatio-temporal model by applying kernel-based GMM to the weighted aggregations in the cells. The weights were derived from the distances of cells in time-considering found periods. The method is referred to as spatio-temporal kernel density estimation (stKDE). stKDE was also used for a modeling ambulance intervention in Milan (Gilardi et al., 2021). The authors pointed out that it is possible to use fast Fourier transformation instead of autocorrelation to estimate periods in the data. In the study by (Nilsang and Yuangyai, 2021), a spatio-temporal model based on stKDE with one periodicity was used as a part of the method for an allocation of ambulance bases.

Spatio-temporal models were also applied to the spread of disease prediction. In the study by (Senanayake et al., 2016), the authors modeled the propagation of influenza. They created a spatio-temporal model based on Gaussian processes consisting of spatial, temporal, and spatio-temporal components. Except for the temporal decay, the model also consisted of the 1-year periodical temporal component. The periodicity was chosen based on general knowledge. Similarly, a continuous spatio-temporal map of disease spread over Turkey consisted of 1-year periodicity (Ak et al., 2018). The authors stated that the continuous spatio-temporal model could predict the disease spread in unmeasured regions inside Turkey in the future.

2.4.2 Periods Gathered From the Data

Although the aforementioned models were continuous and spatio-temporal and included seasonality, only one or two periodicities were employed. In many cases, the periodical component was obtained not from data but a priori knowledge or expertise. In long-term robotics, a robot has to obtain the natural periodicities of the dynamic environment from its observations, and some of them are likely out of usual human expertise. Moreover, some human-populated environments do not necessarily follow the day/week/year pattern. The flow of continuous media was modeled in the study by (Guizilini and Ramos, 2015) by applying Gaussian processes to the measured data. The algorithm used a covariance matrix formed by the spatial and temporal components. The periodical temporal components were obtained iteratively using frequency analysis over the model’s errors. The temporal components also include temporal decay. The spatial and temporal components of the covariance function are calculated separately and multiplied at the end. Nevertheless, the computational complexity of the Gaussian processes grows fast with the number of data points (Jovan et al., 2016; Senanayake et al., 2021). The extraction of multiple periodical features from the data was targeted in the study by (Tompkins and Ramos, 2018) proposing Fourier Feature Approximations for Periodic Kernels and its multidimensional variant (Tompkins and Ramos, 2020). Although it was not applied to the spatio-temporal modeling, together with formerly proposed Hilbert maps (Ramos and Ott, 2016) that were subsequently improved to be updated incrementally (Senanayake and Ramos, 2017), it should be taken into consideration.

In the study by (Krajník et al., 2019), the authors proposed a continuous spatio-temporal model based on a projection of linear time into the closed subset of higher dimensional vector space, warped hypertime. The projection has its roots in the seasonal windows, but the windows are coiled into circles. Such an approach ensures continuity of the model on the edges of a window. Projected circles form a multidimensional Clifford hyper-torus (Leonard, 2020). The seasonality is obtained iteratively from an error of the actual model. The error forms a time series that is analyzed using FreMEn. The FreMEn returns the most dominant periodicity found in error, and the periodicity forms a new circle. The authors then showed in experiments that the proposed method is equal to or better than FreMEn when applied to the robotics tasks. In the study by (Vintr et al., 2018), Warped hypertime was applied to the task of detecting anomalies. It was proved that the model learning on binary data is faster and converges to a better quality model than in other state-of-the-art methods. Later, it was applied to the detection of novelties (Rektoris, 2021) in one-dimensional time series without any trend, and it proved the similar quality of the model to the state-of-the-art regression methods while performing better in modeling time series with multimodality. Applied to a human presence prediction (Vintr et al., 2019b), it showed high memory efficiency with a slight boost to the prediction compared to the discrete methods. In the study by (Vintr et al., 2019a), the hypertime version derived from the binary version was applied to the directions of people. To avoid ambiguity caused by averaging angles, the model’s spatial part was four-dimensional—the method also modeled speeds, that is, velocities, and the resulting angles were calculated by integrating velocities over the angular intervals. It was not computationally rational to calibrate the model using a grid of aggregations similar to the previous work (Vintr et al., 2019a). Instead, the authors extended the data with “negative measurements;” they added random noise labeled as “not a human.” Two models (humans and artificial nonhumans) were learned, and the “calibration” was done similarly to the approach used for binary data (Vintr et al., 2018). Although the addition of artificial zeros is meaningful in some two-dimensional spatial cases (O’Callaghan and Ramos, 2012), generally, it is not a convenient approach—weigh how many possibilities of “not detected velocity” one has to take into consideration.

2.5 Benchmarking Spatio-Temporal Maps

The authors that propose new mapping methods apply a wide variety of quality measuring techniques. It is not uncommon to provide only a discussion about the visual quality of the map regarding the most common directions (Kucner et al., 2013, 2016), reconstructed signals (Fentanes et al., 2015), or changes of the heat map over time (Vintr et al., 2017; Nilsang and Yuangyai, 2021). Such an approach is usually used to provide insight into the proposed concept’s basic behavior.

A very popular measure of the quality of discrete or discretized maps is mean square error (Senanayake et al., 2016; Yan et al., 2017; Senanayake and Ramos, 2018; Krajník et al., 2019) and rooted mean square error (Guizilini and Ramos, 2015; Jovan et al., 2016; Zhou and Matteson, 2016; Vintr et al., 2019a; Senanayake et al., 2020). Apart from the fact that, in general, the maps not providing the frequency of measurements need to be normalized (Ak et al., 2018), the difference between maps is very small (Vintr et al., 2019a, 2020), which leads to the necessity to enhance the differences of results (Vintr et al., 2019b), and the rank of methods is dependent on the coarseness of the grid (Kubiš, 2020). Similarly, a popular measure is an average (negative) log-likelihood that can be applied to the continuous maps (McCalman et al., 2013; Zhou and Matteson, 2015, 2016; Senanayake and Ramos, 2018; Zhi et al., 2019) but is only meaningful when a probability measure can be derived. It suffers mainly because the map is tested only against detections, that is, in places with testing data points.

Many authors treat their maps as binary predictors and test their quality using measurements derived from the confusion matrix. For the predictors with a predefined threshold, we can find a ratio of true positives (O’Callaghan et al., 2011; Krajnik et al., 2014c), ratio of false positives (Molina et al., 2018), hit rate (Garrido Mejía, 2018; Pabón et al., 2020), and accuracy (Massey, 2019). Some authors do not predefine the thresholds and use measures like an area under the curve (O’Callaghan and Ramos, 2012).

We can find also unique measurements of a map quality like the Pearson correlation coefficient (Ak et al., 2018), Cramer-von-Mises criterion (Bennetts et al., 2019), Kullback–Leibler divergence (Rudenko et al., 2020), and k-NN Universal Divergence Estimator (Kucner et al., 2017). Rarely, we can find average probability density (Senanayake and Ramos, 2018; Senanayake et al., 2020) and chi-square distance (Vintr et al., 2019a; Molina et al., 2019; Stuede and Schappler, 2022).

In the robotic community, there exists also the possibility to compare the maps in simulations (Palmieri et al., 2017; Nardi and Stachniss, 2020), or simulated robotic tasks built on the real data (Krajník et al., 2014c; Krajník et al., 2015a; Krajník et al., 2017; Vintr et al., 2020). The ultimately self-evident measures of the quality of the map then come with real robot experiments (Krajník et al., 2017; Ravankar et al., 2020).

3 Generalized Natural Criterion

3.1 Genesis of Criterion

The question of the proper evaluation of spatio-temporal models for service robotics has been highlighted in previous work (Vintr et al., 2019a; Vintr et al., 2020). Some authors strongly imply that generic criteria used to quantify the success of regression methods, for example, mean squared error (MSE), are unsuitable for this task (Wang and Bovik, 2009; Vintr et al., 2019a; Kubiš, 2020). It is mentioned that these criteria struggle to differentiate between state-of-the-art methods meaningfully and are not reliable. Small changes in the hyperparameters of the testing procedures can cause significantly different results, even changing the rank of the methods. More importantly, they do not provide a useful proxy of the measure of how well the people in a robot’s environment perceive the robot’s behavior, that is, some robot acceptance cost (RA), as they generally have no connection to the application (Wang and Bovik, 2009).

In this work, we build upon a criterion called expected encounters (EE) developed in the study by (Vintr et al., 2020). First, we define it according to (Vintr et al., 2020), and then we generalize the ideas to get a universal framework for defining similar metrics for evaluating various robotic maps. Then, we define in detail two specific criteria, which we use in this study to compare methods.

The metric falls into the class of utility metrics, and its primary goal is to measure the usefulness of the learned model for the robot’s navigation in human-populated environments. The EE criterion specifically tests the method’s ability to model the phenomena of human presence in time and space. It does so by presenting a robot with a trained model and a set of navigational tasks that happen at different times. The robot is then supposed to plan its path through the environment for all these tasks minimizing the number of people it expects would cross its path. Path planning tests the method’s ability to model the phenomena in the spatial domain. Another principal idea is introduced to test the temporal domain: the servicing ratio. The robot is asked to select a specific percentage of times out of all the times presented where it will execute the navigational task, again to minimize the expected number of encounters with people. All the selected plans are then executed and compared with the positions and movement of people in the testing dataset. The testing environment calculates the encounters between the ‘blind’ robot and ‘blind’ people—the system does not provide any artificial reaction of any element involved.

To formally define the original EE criterion, we first define the service disturbance function SD(r) with the parameter r ∈ [0, 1], which we interpret as the servicing ratio, that is, the ratio of navigational tasks the robot is required to perform. The robot is given a set of navigational tasks at times {ti}i=1N, and for each one of them, it plans a path with cost ci defined by the spatio-temporal model of human presence to be evaluated. The testing dataset then, for a given trajectory, gives the number of weighted encounters ei (see Section 4.2.1) that would occur for the given planned trajectory. The service disturbance function is then given as follows:

SDr=k=1rNeπk,(1)

where π is a permutation which orders times ti so that ∀k: cπ(k)cπ(k+1), where ci corresponds to ti, as defined above.

The interpretability of the service disturbance function alone provides us with quite an interesting insight into the performance of individual models. To arrive at a single-value aggregation of this function, we adopt the interpretation where we understand this function to be the quantile function of the ordered human–robot encounters. The quantile function allows us to compute the expected value of the distribution, which we denote expected encounters, and we compute it as follows:

EE=01SDrdr.(2)

Note that the service disturbance function satisfies the necessary conditions of being cumulative and defined on the [0, 1] interval.

3.2 Generalized Definition

The criterion was explicitly developed for comparing different approaches to the spatio-temporal modeling of pedestrian flows (Vintr et al., 2020; 2019a) with the necessity of evaluating the predictions producing very different values. Consider the outputs of histograms over seasonal windows (Blanke and Schiele, 2009), CLiFF-map using different cost functions (Palmieri et al., 2017; Swaminathan et al., 2018), Time-window GMM (Kubiš, 2020) producing the values limited only from below by zero, binary-map approaches based on Frequency Map Enhancement (Krajník et al., 2017), and probabilistic STeF-map (Molina et al., 2019). However, the original criterion focuses only on one specific aspect of human-aware navigation. There are a lot of different opinions as to what criterion influences the acceptability of a robot in human society most (Talebpour et al., 2015; Kostavelis et al., 2017). Besides, the acceptability need not necessarily be the only point of view that defines the quality of performing the task (Krajník et al., 2015a; Fentanes et al., 2015; Kulich et al., 2016).

The general idea of comparing the spatio-temporal maps is applicable and helpful in comparing different robotic models predicting diverse phenomena useful in miscellaneous robotic tasks. There are two essential prerequisites needed for the application of the idea of the criterion—a predictor producing (at least) ordinal values that are tailored for the robot to decide on its task, and a measure of the impact of the robot’s decision usually denoted as a cost.

To formalize the generalized definition, we start by having a specific task for the robot to perform, during which it relies on information provided by a model and an observable measure of how expensive it was for the robot to perform its task—the true cost. This true cost can but does not have to be directly tied to the predictions of the model—a predicted cost. This task is supposed to be performed under different values of the model’s explanatory variable (e.g., time or space) {vi}i=1N and for every i, the robot acquires a predicted cost c (vi) of its hypothetical task from the predictor. Then, we define a true cost function C:{1,,N}R, which provides a true cost for every i. Finally, we define a quantile function of the distribution of the ordered true costs as follows:

Qr=k=1rNCπk,(3)

where π is a permutation, which orders indexes i so that ∀k: c (vπ(k)) ≤ c (vπ(k+1)) All interpretations like the servicing ratio hold in the generalized case as well and it is again possible to compute the expected value of the ordered true costs:

EC=01Qrdr.(4)

3.3 Methodology

We strongly disagree with applying statistical tools developed to describe or compare repeatable experiments to experiments involving people. The same applies to other uncontrollable entities, like animals, wind, or traffic. For human-aware robotics, we need to follow the general idea of natural experiments (Dunning, 2012) and apply the methods in real-world situations. However, autonomous robotics is not in the development stage in which the field robot experiments can be accomplished securely in large enough repetitions to provide comparable results. We suggest that the comparison should be performed (at least) in the simulations built on the real-world data. In these simulations, we can repeat the same real situation and apply the different methods.

The proposed generalized definition of the criterion can be applied to various robotic tasks a robot performs. We need to specify the predicted costs c (vi) and the true cost function C that provides the true cost during the robot employment in the simulated, real-data–based experiment. Using the proper definition of the true cost function, we can compare the approaches and specify which aspect of the proposed approach is better than another. Moreover, we can also elaborate on what aspects should be compared by designing new criteria following the generalized one. As the proposed criterion and its usage are derived from the general idea of natural experiments, we denote it the Generalised Natural Criterion, GNC.

The general template for applying GNC for a particular predictor then has the following steps:

1) execute or simulate the experiment with different settings of the investigated environment,

2) order the measured costs by the predictions of the method and accumulate it, as described in Eq. 3, and

3) calculate the expected value of the cost of the robot’s behaviour, as in Eq. 4.

3.4 Application of GNC

GNC and the concept described above are generally applicable to the scenarios where the robot can estimate what the cost of solving the task in different situations is. The predictor providing the estimation uses some explanatory variables as input, like a relative position of a robot to an obstacle, the time of task execution, or actual weather.

Then, we need to define a function, referred to as true cost function C, which provides a measurement of the quality of the performed task. For example, in the study by (Kostavelis et al., 2017), the quality of human-aware navigation is measured by the mean distance between the moving human and the robot, the time spent in areas associated with the personal zone, the human discomfort, and the total navigation time needed for the robot to reach the desired goal. Such true costs are directly applicable, and the different approaches to solving the problem can be compared. In the case of testing different spatio-temporal maps (Vintr et al., 2020), the authors defined the true cost function as the cost of the optimal path.

We mentioned that the predictor needs to produce at least ordinal values. The optimal predictor produces real values with the probability of obtaining identical values close to zero. The following sections discuss some scenarios where the direct application of the methodology defined above is not straightforward because the predictions are not real values. It needs some additional effort to utilize the method entirely.

3.4.1 Binary States

Many environmental models in mobile robotics are composed of independent binary states, such as the presence or absence of people, the visibility of landmarks, and the traversability of certain areas (Krajník et al., 2017). As an example, let us consider the task of traversing an environment using its time-varying topological map as quickly as possible (Fentanes et al., 2015; Nardi and Stachniss, 2020). Although the robotic methods usually provide more nuanced prediction than just 0 or 1, for example, a probability of the state being 1, it happens that a confident predictor forecasts that the traversability in more than one situation will be 0 or 1. In such a case, the ordering needed in Eq. 1 would have several different solutions. We can divide the predictions into successful (1) and unsuccessful (0) classes and understand the values of 0 and 1 as an ordinal variable. Inside those classes, the ordering can be done randomly, and the expected cost value can be calculated as an average of multiple random reorderings.

3.4.2 Ordinal Variables

When the target variable is ordinal, the ordering can be solved similar to the binary states by multiple random reordering. If available, the predicted values can also be weighted by the system’s confidence or the probability of each class. Another approach consists of applying a regressor function to predict the targeted value, as in the bachelor thesis by (Rektoris, 2021). Both approaches exploiting the confidence provide a continuous output of the prediction, and therefore, it is possible to order the costs with ease.

4 Evaluation

4.1 Human Disturbance Experiment

The assessment of how the occurring people in the environment accept the robot’s presence is not straightforward. In some robotic studies, we can see, for example, an effort of the scientists to learn a robot to evade accessing a human’s personal space (Kostavelis et al., 2017) or breaking pair-wise social relations (Okal and Arras, 2016). However, the survey on the experience of people with the long-term autonomous robot (Hebesberger et al., 2017) shows that a major disappointment is caused by robots’ inability to adapt their behavior to the general pattern of human activity. The lack of adaptation results in having to break ongoing social interactions because of a more critical task (e.g., battery charging) or awkward evasion manoeuvres during human–robot encounters in crowded areas. From our observation, the inability of the robot to adapt its activity to the temporal patterns of its workplace causes it to be perceived as unintelligent, awkward, annoying, and useless. Eventually, as a robot provides a service nobody wants at the right time, people start to push it to stay away, turn it off, or otherwise treat it as an unwanted entity.

While a robot certainly needs to adequately react to the arising situations and avoid people in a socially acceptable way, people perceive the robot better if it can schedule and plan its activities to avoid socially inappropriate situations completely.

Our primary hypothesis states that the robot that can decide when to provide a service disturbs people less than a robot without such an ability. To prove the hypothesis, we run a robot in a human-populated environment using two types of navigation systems. The first one used a traditional occupancy grid, containing static obstacles, to plan the paths, which were traversed using an industrial-grade reactive navigation system, provided by the manufacturer of the HSR robot used for the experiment; we call this Reactive navigation. The second one, named Anticipative navigation, also used the build-in navigation of the HSR robot. However, the paths and times of navigation were planned using a spatio-temporal-directional map of pedestrian flows.

We measured people’s discomfort during the experiment by counting only the strong negative reactions toward the robot, which eventually led to an intentional search for a way to complain. A human that goes and complains was, in our interpretation, so distracted that he changed his original plan and started to solve the unexpected situation—similarly to the strong negative reactions that led to pushing a robot out of society (as mentioned earlier).

4.1.1 Robotic Platform

As shown in Figure 1, a Toyota HSR robot (Yamamoto et al., 2019) was employed for experiments, which is equipped with an Xtion RGB-D camera (for obstacle avoidance only), a Hokuyo UST-20LX 2D LiDAR (for obstacle avoidance and global path planning), and other sensors that were not used in the experiment. The human-aware navigation system was deployed on a laptop with an Intel i7-7700HQ processor and 32GB RAM, wired to the robot, and carried on its back. All the software was implemented into the Robot Operating System (ROS) (Quigley et al., 2009) with high modularity using C++ and Python mixed coding, running in real time on Linux Ubuntu 18.04 LTS (64-bit) and ROS Melodic.

FIGURE 1
www.frontiersin.org

FIGURE 1. Left: Toyota HSR robot including an Xtion RGB-D camera and a Hokuyo UST-20LX 2D LiDAR. Upper right: experimental environment. Lower right: occupancy grid map for robot navigation. The red points are representative of the positions of the removable tags, and the blue points are the locations of the waypoints.

4.1.2 Experimental Setup

The real-world experiments were conducted with the HSR robot on the afternoon of the 12th of December and the morning of the 13th of December 2019 and both in the same place, the hall of the UTBM building. The experiments were designed by researchers who do not work at UTBM, and there was no advance notification to anyone involved in the experiment. In each experiment, we allocated two 40-min slots to perform 10 patrols, during which HSR had to visit three predefined waypoints. By integrating our spatio-temporal model with the HSR’s own navigation system, the robot polled three waypoints in a counterclockwise sequence while adapting its movement to the moving people using HSR’s built-in collision avoidance. If people occupy a waypoint, the robot waits until the waypoint is free.

Moreover, as shown in Figure 2, three paper sheets were placed with removable tags near the three waypoints. These sheets asked people to remove a tag if they felt that the robot was causing a nuisance by forcing them to avoid it. The idea was to count how many people were distracted by the robot that they performed an intentional operation due to the stressful situation.

FIGURE 2
www.frontiersin.org

FIGURE 2. Three paper sheets placed with removable tags near the three waypoints.

4.1.3 Results of Human Disturbance Experiment

The robot was supposed to drive through the environment 10 times in every time slot. Every run took approximately 2 min, which means that the task took up 50% of the assigned time. The reactive navigation went through the hall in uniformly distributed times, covering whole timeslots. The anticipative navigation decided on the proper times by exploiting the predictions from the spatio-temporal map of pedestrian flows (similar to FreMEn_WHyTeS_Clusters, Section 4.2.3). In Figure 3, the graph represents the prediction of the robot acceptance (RA) cost in the area, that is, the disturbance to the people caused by hypothetical execution of the patrolling task regarding the prediction of pedestrian flows (Vintr et al., 2020). A control experiment was also performed to evaluate how often people would indicate they were annoyed with the robot regardless of its behavior. The robot was removed from the vicinity of the experiment, but the recording apparatus was left in place.

FIGURE 3
www.frontiersin.org

FIGURE 3. Forecasted (8 months horizon) robot acceptance (RA) cost and timeslots allocated for the experiment. Note that the bottom of the troughs is sharp due to the model not using sinusoids. Courtesy of (Vintr et al., 2020).

The experimental results are summarized in Table 1. The column ‘People total’ describes the number of people passing through the area within the appropriate time window. The number of people in the hall while the robot was performing its task is listed in the ‘People involved’ column. The last column summarizes a number of paper tags removed by people who considered the robot’s behavior annoying.

TABLE 1
www.frontiersin.org

TABLE 1. Comparison of reactive and anticipative navigation.

The morning timeslots chosen for the experiment included more people walking through the hall than evening timeslots. The observed distribution of people was not uniform. For example, when the robot was performing its tasks, we manually counted that in the time (sub)slots 9:50–10:00, 10:00–10:15, and 16:00–16:10, there were approximately 70, 90, and 20 people passing through, respectively. It corresponds to the prediction of the RA cost, as shown in Figure 3.

While performing the control experiment, 211 people passed through the hall, and none of them recorded that the robot was annoying them. That indicates that the people passing through the hall were not distracted by the equipment so that anybody would search for a way to complain. The robot taking advantage of anticipative navigation decided to perform all the tasks during time slots 9:20–9:40 and 16:20–16:40. Incorporating the spatio-temporal model into the robot’s planning led to evading the most crowded time slots, as seen in the column ‘People involved.’ The robot incorporating only reactive navigation and performing its tasks uniformly drove through the hall even in very crowded situations when people were in a hurry. The robot’s presence inevitably affected the flow. People were distracted by replanning their trajectories, which resulted in the intentional change of their original plan from ‘to pass the hall’ to ‘to complain,’ as documented in the ‘People annoyed’ column.

We proved that the navigation system that follows human routines distracts people less than the one lacking this capability. We also showed that predictions from the spatio-temporal maps of pedestrian flows provide good enough information to evade socially inappropriate behavior and strongly support reactive navigation. The difference between the anticipative and reactive navigation was so substantial that we did not need to use subtle quantitative metrics developed for the assessment of human-aware navigation methods (Okal and Arras, 2016; Kostavelis et al., 2017).

4.2 Comparison of Spatio-Temporal Maps

4.2.1 Two Criteria for Spatio-Temporal Map Comparison

We claim that human-aware navigation needs to include spatio-temporal maps and use them for the decisions in advance of the navigational task. Therefore, we want to compare the maps in their ability to support navigation systems.

The predictions produced by approaches in our comparison (Section 4.2.3) are real values. They are interpreted as the likelihood of human presence at some position in space and time in spatio-temporal scenarios and as the likelihood of people moving with a specific velocity at some position and time in spatio-temporal-directional scenarios. We created simulated scenarios at different times, where the goal for the robot was to visit 3 distinct places in a university hall. The predictions filled a spatial grid with the predictions, and Dijkstra’s algorithm found the cheapest path considering the predictions. We let the system choose the order of the visits in each run, which lets the robot follow the predicted pedestrian flow.

Following our previous work (Vintr et al., 2020), we compare the quality of the spatio-temporal map primarily by the expected encounters EE with the associated quantile function SD(r), referred to as service disturbance. The encounters are obtained using simulated movement of the robot. The robot follows the path obtained from Dijkstra and continually recalculates people in its predefined vicinity every 10 cm. As we hypothesize that the disruption of people is highly correlated with the unexpected replanning of their movement, the contacts with people are weighted w by a mutual robot and human direction of movement and referred to as encounters:

w=1+vhvrvh||vr,(5)

where vh and vr are the velocities of a human and a robot, respectively. The weight w follows the idea of the upstream criterion (Ko et al., 2014), providing us with information about whether the given model correctly predicts the directions of pedestrian flows. The encounters represent the true costs, while the aforementioned method to obtain them represents the true cost function.

During performing the comparison, we encounter the need for the differentiation between models that force the robot to always go around the walls and the models that additionally provide information about when it is possible to choose a short path directly through the hall. Therefore, we defined a second true cost function that provided us with the distance traveled by the robot in each run. We denote the secondary measure of the quality as an expected length EL and associated quantile function as a traveled distance TD(r). It provides information on the ratio of the chosen paths predicted as ‘safe’ regarding meeting people and the ratio of safe and short paths. Such information can be exploited to estimate the robot’s ability to decide on safe and fast traversals of the environment when using a given model.

In general, the patio-temporal maps provide predictions to the navigation systems, while the reactive navigation solves the current situation a robot encounters. As such, the criteria we used in our comparison are not focused on testing specific manoeuvres like in pure human-aware navigation studies, (Okal and Arras, 2016; Kostavelis et al., 2017) but cover the similar principles directly connected to the specialized human-aware manoeuvres. If the scientist focusing on human-aware navigation recognizes the need for another, more specialized criterion to compare the predictive ability of maps, they can follow the methodology proposed in Section 3.3.

4.2.2 Dataset Collection

The dataset collection was performed in a hall of approximately 500m2 on the UTBM university campus. As shown in Figure 4, a Velodyne HDL-32E 3D LiDAR was placed in the reception near the building door to ensure safe 24-h operation. The spatial placement of the LiDAR was carefully determined to ensure maximum field-of-view (i.e., approximately 200m2) of the hall beyond the glass windows. The raw data of the LiDAR was recorded to ROS rosbags 24 h a day.

FIGURE 4
www.frontiersin.org

FIGURE 4. Left: a Velodyne HDL-32E 3D LiDAR placed in the reception near the UTBM building door. Right: the occupancy map built by a Toyota HSR robot (Yamamoto et al., 2019) with a Hokuyo UST-20LX 2D LiDAR.

Our dataset consists of 1 month, March 2019, of continuous human detection used as the training set. The testing dataset consisted of 7 days from 1 week in December. More than 6 million human detections were generated from the LiDAR recordings. They were extracted using the FLOBOT human detection and tracking system Yan et al. (2017). The false-positive detections were removed by searching for extraordinarily stable and immovable human detections. Later, we filtered out reflections of people by manual localization of places producing those reflections. Compared to the dataset used in our previous work (Vintr et al., 2020), the training dataset was twice as long, and the testing dataset did not immediately follow the training period. We also utilized our experience in filtering out the false-positive detections, which led to more effective scripts.

Due to the temporal and spatial continuity of data, the dataset reflects people’s regular activities, like students entering the building lobby at the beginning of class, leaving after class, and eating and chatting in the lobby during lunch break.

4.2.3 Approaches in Comparison

Our comparison focuses on the general principles rather than the optimization of the parameters of the methods tailored directly to the analyzed data. The methods found in the literature can be divided into a few overlapping groups of approaches. Compared to the related work section, we excluded a group of methods incorporating short-term dynamics and included a time series forecasting approach that estimates the number of people over the whole map at a specific time:

1) spatial-only models (Section 2.1) that do not take time into account (Kucner et al., 2016; Senanayake and Ramos, 2018),

2) time series forecasting methods that do not take the structure of the space into account (Vintr et al., 2018),

3) partially discrete and partially continuous models, (Section 2.3.3), which incorporate continuous models in the cells of a predefined grid (Krajnik et al., 2014a; Molina et al., 2018).

4) methods that model spatial and temporal features separately (Section 2.3.1) and understand them as independent (Bennetts et al., 2019; Kubiš, 2020),

5) continuous spatio-temporal methods (Section 2.4.2) that model the spatio-temporal phenomena together (Vintr et al., 2019b; Krajník et al., 2019), and

6) continuous spatio-temporal methods (Section 2.4.1) that model the temporal evolution of the continuous spatial model (Zhou et al., 2015; Zhou and Matteson, 2016).

We implemented various predictive spatio-temporal maps deduced from state-of-the-art principles. The names of the compared approaches are derived from the names of the original methods to make the following text as readable as possible. Our aim was not to systematize the names of the approaches but to maximize the clarity and minimize the time a reader needs to spend learning the differences between approaches’ internals. The description of the methods’ functioning is simplified, and readers who would like to implement them should follow the original proposals. Although some of the compared approaches were not published, they follow known principles, and they are not presented as newly proposed methods.

4.2.3.1 Spatial Models

As a representative of the discrete spatial models, we choose a spatial grid including the ratio of detected people within each cell to all detections, denoted as MeanGrid. We also included the OccupancyGrid model as a fundamental robotics domain way to represent a map. The occupancy grid captures the environment structure only and neglects dynamic obstacles. Such an approach results in cells with values close to 0 regardless of the number of people moving through them. The continuous spatial model is represented by an expectation–maximization algorithm for fitting a mixture of Gaussian models (Dempster et al., 1977) with its probabilistic prediction, referred to as GMM.

4.2.3.2 Time Series Forecasting

We included 3 time series forecasting methods recently applied to forecasting human presence and pedestrian flows. Those methods can be viewed as spatio-temporal models, whose spatial map is OccupancyGrid. Frequency Map Enhancement FreMEn (Krajník et al., 2017) is derived from the Fourier transform as it was initially proposed for binary data containing binary states. It had to be reimplemented for data that do not contain states but events. It should be noted that although the computational effectiveness of our implementation was greatly enhanced, the predictive ability was lowered due to the inaccuracy of the estimation of heights of amplitudes. (Krajník et al., 2019) proposed a method for time series forecasting referred to as warped hypertime. Based on the definition, we incorporated its two variants, hypertime HyT and warped hypertime WHyTe. Those methods exploit the ability of FreMEn to detect prominent periods in data. They project time into the multidimensional vector space forming a Clifford torus and apply GMM with one component to the projected data. The most prominent periods are gathered iteratively by applying FreMEn to the series of errors between reconstruction and the measurements. They differ in a metric used for the distance calculation. While Hyt uses Euclidean metric, WHyTe uses cosine metric. We also wanted to include Prophet (Taylor and Letham, 2018) as a representative of a time series forecasting method that not only can analyze time series with an unequal step between measurements but is also able to model trends. However, we faced difficulties applying Prophet on such extensive data with predictions too far into the future, and we subsequently removed it from the list of the compared methods. The only discrete forecasting method used in the comparison was histogram over the week-lengthy time window with 168 bins, each covering an hour, HistWeek.

4.2.3.3 Continuous Models in the Grid Cells

Every aforementioned forecasting method can be employed in the spatial grid forming spatio-temporal models similar to the original idea of the ‘map enhancement’ in the study by (Krajnik et al., 2014b). We included FreMEnGrid in the comparison as a representative of continuous ones in the temporal domain and HistWeekGrid as a fully discrete spatio-temporal model. We omitted HyTGrid and WHyTeGrid as their computational demand in the stage of prediction was considerably higher than that of the previous two, and the straightforward optimization of code would violate the design of the testing environment. The third not fully continuous model included is time_window_GMM (Kubiš, 2020) which expands HistWeek with GMM connected to each cell. Its prediction then consists of GMM predictions in each cell weighted by HistWeek forecast.

4.2.3.4 Independent Modeling of Spatial and Temporal Features

Modeling space independently to time can sound illogical. On the other hand, considering robotic topological maps, we can assume that different nodes will show standardized behaviour that is sometimes more relevant and sometimes almost unnoticeable. We included 7 combinations of spatial and temporal models, whose predictions are multiplications of their independently modeled components: HistWeek_X_GMM with a discrete temporal and continuous spatial model, three models including a continuous model of time and a discrete model of space, FreMEn_X_MeanGrid, HyT_X_MeanGrid, and WHyTe_X_MeanGrid, and three continuous maps, FreMEn_X_GMM, HyT_X_GMM, and WHyTe_X_GMM.

4.2.3.5 Continuous Spatio-Temporal Models

The continuous maps that model the time and space together show significant differences in the computational demand. The most demanding are spatio-temporal models based on hypertime. Although they proved their ability to model space-time effectively (Vintr et al., 2019b; a; 2020) by means of the model quality and size of the model, their use on real robots is questionable since their iterative nature consumes many recourses. We included FreMEn_HyTS_clusters derived from the HyT algorithm and FreMEn_WHyTeS_clusters derived from the WHyTe algorithm. Contrary to their time series forecasting variants HyT and WHyTe that iteratively choose the best periodicity, our implementation of those spatio-temporal variants first applies FreMEn to the data to gather the most prominent periods and then project data to the hypertime-space. Both apply GMM over the projected data to get the model regarding respective metrics. We also included ‘lightweight’ versions that apply GMM using only one component, and we denoted them as FreMEn_HyTS and FreMEn_WHyTeS, respectively.

4.2.3.6 Temporal Evolution of Continuous Spatial Model

We also included continuous spatio-temporal approaches that first fit the structure of the space and then model the temporal changes, similar to the work of (Zhou and Matteson, 2016). WHyTened_kMeans divides the space into disjunct subsets using k-means clustering algorithm and applies FreMEn_WHyTeS to every part. The second method, HyTted_GMM, apply GMM to the space, and its every component defines the time series by the measurements matched with it. Those time series are then modeled with HyT. The predictions in both methods are calculated as a multiplication of the clustering algorithm prediction and the spatio-temporal or temporal model prediction. The WHyTened_kMeans can be understood as multiple disjunct spatio-temporal models, while HyTted_GMM represent continuous spatio-temporal models where each component has its specific temporal characteristics.

4.2.4 Testing Environment Setup

The experiments were conducted in a general testing framework with a unified interface available for individual methods. The framework consisted of four stages: training, prediction, pathfinder, and simulation.

The predictors were trained over spatio-temporal and spatio-temporal-directional data during the training stage. There are approximately six million detections of people in the training data. We also included scenarios where the training dataset includes only one per mile randomly chosen detections to provide insight into how robust different methods are to data sparsity.

During the prediction stage, the framework created a spatio-temporal grid over the testing week. The week was broken into 40-s windows. For each of these windows, the area of approximately 200 m2 was broken into a grid of 0.25-m2 cells. Each spatial cell consisted of 8 directional cells. The predictors filled the directional cells with their estimations of how likely a human would be to go at that time and place in that direction.

The pathfinder applies the Dijkstra search algorithm for each time window, where the cost of a transition is determined by prediction from the tested method. The cost for Dijkstra at a specific position is calculated as an estimation of the cost of an encounter multiplied by the distance to the next state. The paths chosen in each time window are saved together with their lengths and costs. Note that the overall length of paths planned during the whole testing week was hundreds of kilometres.

The last stage of the evaluation is a self-written kinematic simulator. The simulation is done per time window for each model while saving the intermediate results for correctness verification and recording the runtime duration. The robot moves by the chosen path at a predefined speed. The simulator calculates weighted encounters with human detections on the robot’s trajectory. The sum of weighted encounters is saved together with length and path cost, which allows for criteria application.

The framework allows a parametrization of the robot’s movement and goal placement for planning. The experiments were evaluated with the following settings: the robot radius is 1 m, which covers the hypothetical robot radius together with a human radius, and the robot speed is 0.5 ms−1.

Some compared approaches also required parameter setting. The adjustment of the parameters was not part of our investigation. The number of components for algorithms applying GMM (and k-means) was set to 10 except for FreMEn_HyTS_clusters and FreMEn_WHyTeS_clusters where we set 5 components (to shorten the computational time). The number of periodical components was set to 5 in every method employing FreMEn. We used a computational (floating point) precision of 64 bits to compare and order continuous values.

4.2.5 Results of Comparison

The comparison of methods applied to spatio-temporal data can be seen in the subgraphs in Figure 5. The predictors predicted how likely the robot was to meet a person at a given space and time coordinates. In each row, we have two subfigures, with the left one depicting a graph of the dependence of the service disturbance on the servicing ratio and the right one the length of the path on the servicing ratio.

FIGURE 5
www.frontiersin.org

FIGURE 5. Comparison of different models in the spatio-temporal scenario. The left columns of graphs depict service disturbances, the quantile functions of the ordered human–robot encounters. The right columns of graphs depict traveled distances, the quantile functions of lengths of paths. The labels in graphs consist of names of models and the expected values.

In the top row of Figure 5, we compare the quality of the predictions of the spatial-only models. None of them considers time, which leads to a random ordering of the costs of the paths. Therefore, the dependence of the service disturbance on the servicing ratio grows linearly. Similarly, as the space models do not change in time, the traveled distances also grow linearly. The OccupancyGrid predicts only zeros, and therefore, its expected length of paths is the shortest possible out of all models. GMM forces the robot to go closer to the walls than MeanGrid, which leads to longer paths and lower expected encounters.

In the second-from-top row, we compare models that take only time into account, which means that those models can order the costs of the paths, but they always use the shortest path possible. Such predictions lead to linear growth of the traveled distance identical to the OccupancyGrid but non-linear growth of the service disturbance. All methods can estimate the safest 10% of the time windows to provide the service, while the most successful, HyT, can predict 50% of the safest time windows. WHyTe and FreMEn perform similarly and HistWeek is closer in performance to the HyT than to the other two models. The rank of the quality of prediction of the compared methods changes at 70% of the servicing ratio. At a servicing ratio of over 90%, FreMEn performs best.

In the third row, we compare spatio-temporal models that are fully or partially discrete. HistWeekGrid performs similar to time_window_GMM. Both models force the robot to follow the shortest paths until a servicing ratio of almost 60%. Then, their predictions start to force robots to follow a longer path, evading the most critical parts of the hall. Similar to the spatio-only models GMM and MeanGrid, time_window_GMM forces the robot to travel longer paths than HistWeekGrid. The FreMEnGrid model is better than the other two models in scheduling until more than 70% of the servicing ratio, but at higher servicing ratios, it loses its edge.

In Figure 6, the top row provides a comparison of the continuous spatio-temporal models. All of them have a linear growth of the traveled distance, and neither can provide predictions that would let the robot travel by the shortest path. Moreover, the spatio-temporal model FreMEn_WHyTeS_clusters modeling five Gaussians performs worse in expected encounters than the similar model FreMEn_WHyTeS with only one component. The loss of quality between FreMEn_HyTS_clusters and FreMEn_HyTS is not so drastic. However, the evaluation of the continuous spatio-temporal models that apply GMM over the hypertime provides us with information that the robot always follows a long path. On the other hand, FreMEn_WHyTeS provides the best expected encounters between methods already compared.

FIGURE 6
www.frontiersin.org

FIGURE 6. Comparison of different models in the spatio-temporal scenario. The left columns of graphs depict service disturbances, the quantile functions of the ordered human–robot encounters. The right columns of graphs depict traveled distances, the quantile functions of lengths of paths. The labels in graphs consist of names of models and the expected values.

The following two rows of graphs compare the spatio-temporal methods that model space and time separately as independent phenomena. Many of those methods perform surprisingly well, especially in choosing the right time to go by the shortest path. HyT_X_MeanGrid and HyT_X_GMM can lead the robot by the shortest path in 35% of the time while evading almost every encounter in 50% of the time. Other methods exchange the performance in the length of the path for safety. FreMEn_X_MeanGrid, FreMEn_X_GMM, and HistWeek_X_GMM were unable to evade encounters.

Based on the results above, we combine the good qualities of the previously tested ones. As the HyT_X_MeanGrid and HyT_X_GMM perform very well in raw combinations of spatial and temporal models and extending FreMEn_HyTS with multiple components, FreMEn_HyTS_clusters, did not result in a positive change of the quality, we combined HyT and GMM in a way that every component has its own temporal model. The method is denoted as HyTted_GMM. A similar process led us to create WHyTened_kMeans. FreMEn_WHyTeS performed quite well in the sense of expected encounters but did not find the shortest path. This behavior led to the idea of “natural” divisions of space by k-means clustering while applying the successful spatio-temporal method to the subsets. The comparison of these two models with HyT_X_GMM and FreMEn_WHyTeS can be seen in graphs in the bottom row of Figure 6. We can see that the disturbance distribution functions of HyT_X_GMM, FreMEn_WHyTeS, and HyTted_GMM are very similar. Out of these three models, HyT_X_GMM provides the best expected encounters, and FreMEn_WHyTeS the worst. WHyTened_kMeans performs much worse than others, and it did not even get the ability to provide the robot predictions that let it go through the environment with the shortest path. HyTted_GMM acquired the ability to predict short and safe paths more than 15% of the times while being a fully continuous spatio-temporal method.

We choose the three best-performing methods for the comparison in the subsequent scenarios, HyT_X_GMM, HyT_X_MeanGrid, and HyTted_GMM, together with HistWeekGrid which provided the best ability to lead the robot by the shortest path while performing exceptionally in evading encounters. On the top row of Figure 7, we provided a comparison of chosen methods in the spatio-temporal scenario when we randomly selected only one per mile of human detections from the training dataset to train the models. The HistWeekGrid lost its ability to provide predictions. In the previous scenario, predictions in each cell were calculated from approximately 2000 values, while in this scenario, they were calculated only from 2. The other three methods performed well. The HyTted_GMM is the worst of the rest of the methods in the range of 50, −,85%, but it can choose 25% of the safe and short paths, which is almost similar to the other two functional models. Moreover, HyTted_GMM and HyT_X_MeanGrid found shorter “safe” paths than HyTted_GMM, which can be deduced from different inclinations of the traveled distances.

FIGURE 7
www.frontiersin.org

FIGURE 7. Comparison of selected models under different scenarios. The left columns of graphs depict service disturbances, the quantile functions of the ordered human–robot encounters. The right columns of graphs depict traveled distances, the quantile functions of lengths of paths. The labels in graphs consist of names of models and the expected values. First row: models trained over the sparse, spatio-temporal data. Second row: models trained over the spatio-temporal-directional data. Third row: models trained over the sparse, spatio-temporal-directional data.

In the second row of graphs in Figure 7, we compare the same four methods in a spatio-temporal-directional scenario with the full amount of detections. The methods predict when to go, what path to choose, and what direction is the best to go with the flow of people. The HistWeekGrid provides us with an inferior model that can model only the most frequent parts of the spatio-temporal-directional grid. The HyT_X_GMM and HyTted_GMM perform similarly up to a servicing ratio of 70%, where HyTted_GMM chooses a more risky and shorter path to follow. After following the shortest path, the HyT_X_MeanGrid chooses the longest path out of the three well-performing models, which means it led the robot in close vicinity to walls. The best performance by means of evading people is provided by HyT_X_GMM.

In the bottom row, we can see the performance of the methods when providing predictions in the spatio-temporal-directional scenario obtaining only one per mile of samples for the training. The grid-based methods HistWeekGrid and HyT_X_MeanGrid were not able to provide a prediction. The continuous models perform similarly in expected encounters but differ mainly in the paths they choose. The HyT_X_GMM retains its behavior from the previous scenario. However, HyTted_GMM started with the shortest path in the first 10% of planned services; then, it found out encounters can emerge and reacted to that ‘hysterically,’ forcing the robot to go around the walls. At about 30% of the servicing ratio, it started to follow similar paths to HyT_X_GMM.

4.2.6 Comparison of Approaches Using Popular Methods

For the sake of comprehensiveness, we compare the approaches to spatio-temporal mapping using measures of quality that appeared in the referenced literature (Section 2.5). The most favored measures of the quality of maps are mean square error, rooted mean square error (RMSE), mean negative log-likelihood, and mean log-likelihood (MLL). We choose RMSE and MLL as their representatives in the comparison. We also included the area under a receiver operating characteristic curve (AUC) (Hanley and McNeil, 1982) as a complex representative of popular measures derived from the confusion matrix. We also included chi-Square Distance (χ2d) (Dodge, 2008), which appeared in articles in the last few years as an alternative to RMSE. Some measures of the quality of maps appeared in the literature very rarely. Many of them are hard to implement, and a few are poorly defined. We included the Pearson correlation coefficient (PCC) (Bravais, 1844) as a representative of rare measurements because we found it the most traditional and feasible to implement.

Table 2 provides the results of χ2d, AUC, RMSE, MLL, and PCC. The slight differences between the values representing the quality of the models led us to compare them with high precision representations. The best spatio-temporal map is OccupancyGrid according to χ2d, RMSE, and MLL. We interpret the result so that the detection of humans is quite a rare event. Therefore, the best predictor is the one that predicts almost zero probability everywhere. Other maps also consist of small valued predictions but higher than ‘almost zero.’ As the detection is one point in space and time, the (hypothetically correct) predictions in the vicinity of the detections raise the error of the whole model. Similarly, the output of PCC for all the approaches gave us almost zero correlation between maps and the detections. It is not reasonable to deduce any conclusions from such small values. Contrary to previous ones, the AUC provided a very reasonable ranking. We can deduce which of the approaches gave us good predictions. However, the interpretability of the outputs is very limited.

TABLE 2
www.frontiersin.org

TABLE 2. Comparison of the approaches using popular metrics.

We also included the correlation between results of all the metrics, Table 3. RMSE and MLL are highly correlated, providing almost interchangeable information. There is also a rather significant correlation between χ2d and PCC. The correlation between the AUC and other techniques is insignificant.

TABLE 3
www.frontiersin.org

TABLE 3. Correlation of the popular metrics’ results.

5 Conclusion

Derived from our experiences with long-term deployments of autonomous robots, we hypothesize that respecting essential human habits improved robot efficiency and acceptability in the long term. In this study, we narrowed down this hypothesis for the case of human-aware navigation. We showed that a mobile robot which takes into account pedestrian flows and their changes over time is considered less disturbing. Our experiments indicated that the periodic properties of the flows allow for forecasting them even months after they were learned. A mobile robot using appropriate spatio-temporal maps can plan ahead to avoid situations where its navigation would disrupt the movement of people.

Therefore, we studied spatio-temporal modeling methods and provided a comprehensive overview. As those methods came from different fields and were intended for different usages, it was impossible to compare their performance in human-aware navigation. Derived from previous works, we proposed a methodology for defining a diverse collection of criteria for evaluating spatio-temporal maps. Those maps can be compared in their ability to provide beneficial forecasts for long-term deployments of human-aware autonomous robots.

We divided known approaches in a spatio-temporal mapping suitable to support long-term human-aware navigation, defined criteria for their comparison following the proposed methodology, and compared them in a simulation built using real-world data. The results showed that time series forecasting methods could not support path planning, but they can be used to avoid peak times. The spatial-only maps allow us to construct paths that avoid potentially crowded areas, but these paths are unnecessarily long in times when people are unlikely to be present. Discrete spatio-temporal maps can provide good predictions but require a large amount of data to achieve reasonable granularity. They are also memory inefficient and not scalable enough to be deployed in large environments. Continuous spatio-temporal maps modeling space and time together suffer from high computational complexity. On the other hand, continuous maps that modeled space and time independently were scalable, computationally efficient, and provided good predictions.

In this work, we presented a methodology that can assess the ability of spatio-temporal maps to support human-aware navigation and planning of service robots. These maps represent environment dynamics induced by human activities and habits. Using such a map to plan the paths the robot is supposed to traverse allows the robot to better blend into human-populated environments and evade socially inappropriate situations. We reviewed spatio-temporal map–building approaches and discussed their ability to support human-aware navigation.

Data Availability Statement

The datasets presented in this study can be found in online repositories. The names of the repository/repositories and accession number(s) can be found below: https://git.chronorobotics.tk/papers-public-implementations/2022_human_flows_experiments.

Author Contributions

All authors, namely, TV, JB, MR, JU, TR, GB, ZY, and TK, contributed to the conception and design of the study. TV and MR collaborated on the implementation of the methods presented and their evaluations. JU worked on the theory of the models and was responsible for the experimental setup. TK and ZY performed the real-world experiments. TR implemented the comparison of the approaches using popular metrics. TV, JB, and GB worked on the interpretation of the results and wrote the manuscript with ZY submitting some sections. TK contributed with substantial revisions to the manuscript. All authors revised the manuscript and approved the submission version.

Funding

This research was funded by Czech Science Foundation grant number 20-27034J ‘ToltaTempo’, and the Toyota Partner Robot joint research project (MACPOLO) and the Bourgogne-Franche-Comté regional research project LOST-CoRoNa. The computational resources used for the research were funded by the Czech Ministry of Education by OP VVV funded project CZ.02.1.01/0.0/0.0/16 019/0000765.

Conflict of Interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Publisher’s Note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors, and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

References

Ak, Ç., Ergönül, Ö., Şencan, İ., Torunoğlu, M. A., and Gönen, M. (2018). Spatiotemporal Prediction of Infectious Diseases Using Structured Gaussian Processes with Application to Crimean-Congo Hemorrhagic Fever. PLoS Negl. Trop. Dis. 12, e0006737. doi:10.1371/journal.pntd.0006737

PubMed Abstract | CrossRef Full Text | Google Scholar

Bayisa, F. L., Ådahl, M., Rydén, P., and Cronie, O. (2020). Large-scale Modelling and Forecasting of Ambulance Calls in Northern sweden Using Spatio-Temporal Log-Gaussian Cox Processes. Spat. Stat. 39, 100471. doi:10.1016/j.spasta.2020.100471

CrossRef Full Text | Google Scholar

Blaha, J. (2020). Inferring Temporal Models of People Presence from Environment Structrure. Praha: České vysoké učení technické v Praze. Vypočetní a informační centrum. B.S. thesis.

Google Scholar

Blanke, U., and Schiele, B. (2009). “Daily Routine Recognition through Activity Spotting,” in International Symposium on Location-and Context-Awareness, 192–206. doi:10.1007/978-3-642-01721-6_12

CrossRef Full Text | Google Scholar

Bravais, A. (1844). Analyse mathématique sur les probabilités des erreurs de situation d’un point (Impr. Royale).

Google Scholar

Cadena, C., Carlone, L., Carrillo, H., Latif, Y., Scaramuzza, D., and Neira, J. (2016). Past, Present, and Future of Simultaneous Localization and Mapping: Toward the Robust-Perception Age. IEEE Trans. robotics 32, 1309–1332. doi:10.1109/tro.2016.2624754

CrossRef Full Text | Google Scholar

Calderita, L., Vega, A., Bustos, P., and Núñez, P. (2021). A New Human-Aware Robot Navigation Framework Based on Time-dependent Social Interaction Spaces: An Application to Assistive Robots in Caregiving Centers. Robotics Aut. Syst. 145, 103873. doi:10.1016/j.robot.2021.103873

CrossRef Full Text | Google Scholar

Chinellato, E., Mardia, K. V., Hogg, D. C., and Cohn, A. G. (2017). “An incremental von mises mixture framework for modelling human activity streaming data,” in Proceedings ITISE 2017.

Google Scholar

Cliff, A. D., and Ord, J. K. (1975). Model Building and the Analysis of Spatial Pattern in Human Geography. J. R. Stat. Soc. Ser. B Methodol. 37, 297–348. doi:10.1111/j.2517-6161.1975.tb01548.x

CrossRef Full Text | Google Scholar

Coşar, S., Fernandez-Carmona, M., Agrigoroaie, R., Pages, J., Ferland, F., Zhao, F., et al. (2020). Enrichme: Perception and Interaction of an Assistive Robot for the Elderly at Home. Int. J. Soc. Robotics 12, 779–805.

Google Scholar

Dempster, A. P., Laird, N. M., and Rubin, D. B. (1977). Maximum Likelihood from Incomplete Data via the Em Algorithm. J. R. Stat. Soc. Ser. B Methodol. 39, 1–22. doi:10.1111/j.2517-6161.1977.tb01600.x

CrossRef Full Text | Google Scholar

Dodge, Y. (2008). The Concise Encyclopedia of Statistics. Springer Science & Business Media. chap. Chi-Square Distance.

Google Scholar

Dunning, T. (2012). Natural Experiments in the Social Sciences: A Design-Based Approach. Cambridge University Press.

Google Scholar

Elfes, A. (1989). Using Occupancy Grids for Mobile Robot Perception and Navigation. Computer 22, 46–57. doi:10.1109/2.30720

CrossRef Full Text | Google Scholar

Fentanes, J. P., Lacerda, B., Krajník, T., Hawes, N., and Hanheide, M. (2015). “Now or Later? Predicting and Maximising Success of Navigation Actions from Long-Term Experience,” in 2015 IEEE international conference on robotics and automation (ICRA) (IEEE) (IEEE), 1112–1117.

Google Scholar

Garrido Mejía, S. H. (2018). Predicting Crime in Bogota Using Kernel Warping. Uniandes. Master’s thesis.

Google Scholar

Gilardi, A., Borgoni, R., and Mateu, J. (2021). A Spatio-Temporal Model for Events on Road Networks: an Application to Ambulance Interventions in Milan. Pref. XIX 1 Plenary Sess., 702. doi:10.48550/arXiv.2106.00457

CrossRef Full Text | Google Scholar

Guizilini, V. C., and Ramos, F. T. (2015). A Nonparametric Online Model for Air Quality Prediction. Proceedings of the Twenty-Ninth AAAI Conference on Artificial Intelligence. 651–657.

CrossRef Full Text | Google Scholar

Hanheide, M., Hebesberger, D., and Krajník, T. (2017). “The when, where, and How: An Adaptive Robotic Info-Terminal for Care Home Residents,” in Proceedings of the 2017 ACM/IEEE International Conference on Human-Robot Interaction (ACM), 341–349.

Google Scholar

Hanley, J. A., and McNeil, B. J. (1982). The Meaning and Use of the Area under a Receiver Operating Characteristic (Roc) Curve. Radiology 143, 29–36. doi:10.1148/radiology.143.1.7063747

PubMed Abstract | CrossRef Full Text | Google Scholar

Hawes, N., Burbridge, C., Jovan, F., Kunze, L., Lacerda, B., Mudrova, L., et al. (2017). The Strands Project: Long-Term Autonomy in Everyday Environments. IEEE Robotics Automation Mag. 24, 146–156. doi:10.1109/mra.2016.2636359

CrossRef Full Text | Google Scholar

Hebesberger, D., Koertner, T., Gisinger, C., and Pripfl, J. (2017). A Long-Term Autonomous Robot at a Care Hospital: A Mixed Methods Study on Social Acceptance and Experiences of Staff and Older Adults. Int. J. Soc. Robotics 9, 417–429. doi:10.1007/s12369-016-0391-6

CrossRef Full Text | Google Scholar

Hernandez Bennetts, V., Kamarudin, K., Wiedemann, T., Kucner, T. P., Somisetty, S. L., and Lilienthal, A. J. (2019). Multi-domain Airflow Modeling and Ventilation Characterization Using Mobile Robots, Stationary Sensors and Machine Learning. Sensors (Basel) 19. doi:10.3390/s19051119

CrossRef Full Text | Google Scholar

Jovan, F., Wyatt, J., Hawes, N., and Krajník, T. (2016). “A Poisson-Spectral Model for Modelling Temporal Patterns in Human Data Observed by a Robot,” in 2016 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) (IEEE), 4013–4018. doi:10.1109/iros.2016.7759591

CrossRef Full Text | Google Scholar

Ko, I., Kim, B., and Park, F. C. (2014). Randomized Path Planning on Vector Fields. Int. J. Robotics Res. 33, 1664–1682. doi:10.1177/0278364914545812

CrossRef Full Text | Google Scholar

Kollmitz, M., Hsiao, K., Gaa, J., and Burgard, W. (2015). “Time Dependent Planning on a Layered Social Cost Map for Human-Aware Robot Navigation,” in 2015 European Conference on Mobile Robots (ECMR) (IEEE), 1–6. doi:10.1109/ecmr.2015.7324184

CrossRef Full Text | Google Scholar

Kostavelis, I., Kargakos, A., Giakoumis, D., and Tzovaras, D. (2017). “Robot’s Workspace Enhancement with Dynamic Human Presence for Socially-Aware Navigation,” in international conference on computer vision systems (Springer), 279–288. doi:10.1007/978-3-319-68345-4_25

CrossRef Full Text | Google Scholar

Krajnik, T., Fentanes, J. P., Cielniak, G., Dondrup, C., and Duckett, T. (2014b). “Spectral Analysis for Long-Term Robotic Mapping,” in 2014 IEEE International Conference on Robotics and Automation (ICRA) (IEEE), 3706–3711. doi:10.1109/icra.2014.6907396

CrossRef Full Text | Google Scholar

Krajník, T., Fentanes, J. P., Mozos, O. M., Duckett, T., Ekekrantz, J., and Hanheide, M. (2014c). “Long-term Topological Localisation for Service Robots in Dynamic Environments Using Spectral Maps,” in 2014 IEEE/RSJ International Conference on Intelligent Robots and Systems (IEEE), 4537–4542. doi:10.1109/iros.2014.6943205

CrossRef Full Text | Google Scholar

Krajník, T., Fentanes, J. P., Santos, J. M., and Duckett, T. (2017). Fremen: Frequency Map Enhancement for Long-Term Mobile Robot Autonomy in Changing Environments. IEEE Trans. Robotics 33, 964–977. doi:10.1109/tro.2017.2665664

CrossRef Full Text | Google Scholar

Krajník, T., Kulich, M., Mudrová, L., Ambrus, R., and Duckett, T. (2015a). “Where’s Waldo at Time T? Using Spatio-Temporal Models for Mobile Robot Search,” in 2015 IEEE International Conference on Robotics and Automation (ICRA) (IEEE) (IEEE), 2140–2146.

Google Scholar

Krajník, T., Santos, J. M., and Duckett, T. (2015b). “Life-long Spatio-Temporal Exploration of Dynamic Environments,” in 2015 European Conference on Mobile Robots (ECMR) (IEEE), 1–8. doi:10.1109/ecmr.2015.7324052

CrossRef Full Text | Google Scholar

Krajnik, T., Santos, J., Seemann, B., and Duckett, T. (2014a). Froctomap: An Efficient Spatio-Temporal Environment Representation. Adv. Aut. Robotics Syst. 269. doi:10.1007/978-3-319-10401-0

CrossRef Full Text | Google Scholar

Krajník, T., Vintr, T., Broughton, G., Majer, F., Rouček, T., Ulrich, J., et al. (2020). “Chronorobotics: Representing the Structure of Time for Service Robots,” in Proceedings of the 2020 4th International Symposium on Computer Science and Intelligent Control, 1–8.

Google Scholar

Krajník, T., Vintr, T., Molina, S., Fentanes, J. P., Cielniak, G., Mozos, O. M., et al. (2019). Warped Hypertime Representations for Long-Term Autonomy of Mobile Robots. IEEE Robotics Automation Lett. 4, 3310–3317. doi:10.1109/lra.2019.2926682

CrossRef Full Text | Google Scholar

Kubiš, F. (2020). Application Of Spatiotemporal Modeling Used In Robotics For Demand Forecast. Praha: České vysoké učení technické v Praze. Vypočetní a informační centrum. B.S. thesis.

Google Scholar

Kucner, T., Magnusson, M., Schaffernicht, E., Hernandez Bennetts, V., and Lilienthal, A. (2016). “Tell Me about Dynamics!: Mapping Velocity Fields from Sparse Samples with Semi-wrapped Gaussian Mixture Models,” in Robotics: Science and Systems Conference (RSS 2016), Workshop: Geometry and Beyond-Representations, Physics, and Scene Understanding for Robotics, Ann Arbor, Ml, USA, June 18-22, 2016 (Ann Arbor, MI: University of Michigan).

Google Scholar

Kucner, T. P., Magnusson, M., Schaffernicht, E., Bennetts, V. H., and Lilienthal, A. J. (2017). Enabling Flow Awareness for Mobile Robots in Partially Observable Environments. IEEE Robotics Automation Lett. 2, 1093–1100. doi:10.1109/lra.2017.2660060

CrossRef Full Text | Google Scholar

Kucner, T., Saarinen, J., Magnusson, M., and Lilienthal, A. J. (2013). “Conditional Transition Maps: Learning Motion Patterns in Dynamic Environments,” in Intelligent Robots and Systems (IROS), 2013 IEEE/RSJ International Conference on (IEEE), 1196–1201. doi:10.1109/iros.2013.6696502

CrossRef Full Text | Google Scholar

Kulich, M., Krajník, T., Přeučil, L., and Duckett, T. (2016). “To Explore or to Exploit? Learning Humans’ Behaviour to Maximize Interactions with Them,” in International Workshop on Modelling and Simulation for Autonomous Systems (Springer), 48–63. doi:10.1007/978-3-319-47605-6_5

CrossRef Full Text | Google Scholar

Kunze, L., Hawes, N., Duckett, T., Hanheide, M., and Krajník, T. (2018). Artificial Intelligence for Long-Term Robot Autonomy: A Survey. IEEE Robotics Automation Lett. 3, 4023–4030. doi:10.1109/lra.2018.2860628

CrossRef Full Text | Google Scholar

Laboratory of Chronorobotics (2019). Kdynakoupit. Availableat: https://kdynakoupit.cz/(Accessed 02 02, 2022).

Google Scholar

Leonard, M. (2020). Směrové Statistiky V Predikci Kvaziperiodickỳch Časovỳch Řad. Praha: České vysoké učení technické v Praze. Vypočetní a informační centrum. B.S. thesis.

Google Scholar

Massey, E. O. (2019). Comparative Analysis of Techniques for Spatio-Temporal World Modeling. Sankt Augustin: Hochschule Bonn-Rhein-Sieg.

Google Scholar

McCalman, L., O’Callaghan, S., and Ramos, F. (2013). “Multi-modal Estimation with Kernel Embeddings for Learning Motion Models,” in 2013 Ieee International Conference On Robotics And Automation (Icra), 2845–2852. doi:10.1109/icra.2013.6630971

CrossRef Full Text | Google Scholar

Molina, S., Cielniak, G., and Duckett, T. (2019). “Go with the Flow: Exploration and Mapping of Pedestrian Flow Patterns from Partial Observations,” in 2019 International Conference on Robotics and Automation (ICRA) (IEEE), 9725–9731. doi:10.1109/icra.2019.8794434

CrossRef Full Text | Google Scholar

Molina, S., Cielniak, G., Krajník, T., and Duckett, T. (2018). “Modelling and Predicting Rhythmic Flow Patterns in Dynamic Environments,” in Annual Conference Towards Autonomous Robotic Systems (Springer), 135–146. doi:10.1007/978-3-319-96728-8_12

CrossRef Full Text | Google Scholar

Nardi, L., and Stachniss, C. (2020). “Long-term Robot Navigation in Indoor Environments Estimating Patterns in Traversability Changes,” in 2020 IEEE International Conference on Robotics and Automation (ICRA) (IEEE), 300–306. doi:10.1109/icra40945.2020.9197078

CrossRef Full Text | Google Scholar

Neubert, P., Sünderhauf, N., and Protzel, P. (2013). “Appearance Change Prediction for Long-Term Navigation across Seasons,” in 2013 European Conference on Mobile Robots (IEEE), 198–203. doi:10.1109/ecmr.2013.6698842

CrossRef Full Text | Google Scholar

Nilsang, S., and Yuangyai, C. (2021). “Activity Detection for Multi-Factors of Ambulance Demand Areas: A Case Study in Bangkok,” in AIP Conference Proceedings (Sankt Augustin: Melville: AIP Publishing LLC), 020001. doi:10.1063/5.0063773

CrossRef Full Text | Google Scholar

Nishio, T., and Niitsuma, M. (2019). “Environmental Map Building to Describe Walking Dynamics for Determination of Spatial Feature of Walking Activity,” in 2019 IEEE 28th international symposium on industrial electronics (ISIE) (IEEE), 2315–2320. doi:10.1109/isie.2019.8781155

CrossRef Full Text | Google Scholar

O’Callaghan, S. T., and Ramos, F. T. (2012). Gaussian Process Occupancy Maps. Int. J. Robotics Res. 31, 42–62.

Google Scholar

O’Callaghan, S. T., Singh, S. P. N., Alempijevic, A., and Ramos, F. T. (2011). “Learning Navigational Maps by Observing Human Motion Patterns,” in 2011 Ieee International Conference On Robotics And Automation (Icra).

Google Scholar

Okal, B., and Arras, K. O. (2016). “Learning Socially Normative Robot Navigation Behaviors with Bayesian Inverse Reinforcement Learning,” in 2016 IEEE International Conference on Robotics and Automation (ICRA) (IEEE), 2889–2895. doi:10.1109/icra.2016.7487452

CrossRef Full Text | Google Scholar

Pabón, J. S. M., Rubio, M. D., Castaño, Y., Riascos, A. J., and Díaz, P. R. (2020). “A Manifold Learning Data Enrichment Methodology for Homicide Prediction,” in 2020 7th International Conference on Behavioural and Social Computing (BESC) (IEEE), 1–4. doi:10.1109/besc51023.2020.9348295

CrossRef Full Text | Google Scholar

Palmieri, L., Andrey, R., Mainprice, J., Hanheide, M., Alahi, A., Lilienthal, A., et al. (2021). Guest Editorial: Introduction to the Special Issue on Long-Term Human Motion Prediction. IEEE Robotics Automation Lett. 6, 5613–5617. doi:10.1109/lra.2021.3077964

CrossRef Full Text | Google Scholar

Palmieri, L., Kucner, T. P., Magnusson, M., Lilienthal, A. J., and Arras, K. O. (2017). “Kinodynamic Motion Planning on Gaussian Mixture Fields,” in 2017 IEEE International Conference on Robotics and Automation (ICRA) (IEEE), 6176–6181. doi:10.1109/icra.2017.7989731

CrossRef Full Text | Google Scholar

Quigley, M., Conley, K., Gerkey, B. P., Faust, J., Foote, T., Leibs, J., et al. (2009). “ROS: an Open-Source Robot Operating System,” in ICRA Workshop on Open Source Software.

Google Scholar

Ramos, F., and Ott, L. (2016). Hilbert Maps: Scalable Continuous Occupancy Mapping with Stochastic Gradient Descent. Int. J. Robotics Res. 35, 1717–1730. doi:10.1177/0278364916684382

CrossRef Full Text | Google Scholar

Ravankar, A., Ravankar, A. A., Hoshino, Y., Watanabe, M., and Kobayashi, Y. (2020). Safe Mobile Robot Navigation in Human-Centered Environments Using a Heat Map-Based Path Planner. Artif. Life Robotics 25, 264–272. doi:10.1007/s10015-020-00591-w

CrossRef Full Text | Google Scholar

Rektoris, M. (2021). Anomaly Detection In Periodic Stochastic Phenomena. B.S. thesis. Praha: České vysoké učení technické v Praze. Vypočetní a informační centrum.

Google Scholar

Roy, A., Parui, S. K., and Roy, U. (2012). A Mixture Model of Circular-Linear Distributions for Color Image Segmentation. Int. J. Comput. Appl. 58. doi:10.5120/9308-3539

CrossRef Full Text | Google Scholar

Rudenko, A., Palmieri, L., Herman, M., Kitani, K. M., Gavrila, D. M., and Arras, K. O. (2020). Human Motion Trajectory Prediction: A Survey. Int. J. Robotics Res. 39, 895–935. doi:10.1177/0278364920917446

CrossRef Full Text | Google Scholar

Santos, J. M., Krajník, T., and Duckett, T. (2017). Spatio-temporal Exploration Strategies for Long-Term Autonomy of Mobile Robots. Robotics Aut. Syst. 88, 116–126. doi:10.1016/j.robot.2016.11.016

CrossRef Full Text | Google Scholar

Santos, J. M., Krajník, T., Fentanes, J. P., and Duckett, T. (2016). Lifelong Information-Driven Exploration to Complete and Refine 4-d Spatio-Temporal Maps. IEEE Robotics Automation Lett. 1, 684–691. doi:10.1109/lra.2016.2516594

CrossRef Full Text | Google Scholar

Senanayake, R., Hatch, K. B., Zheng, J., and Kochenderfer, M. J. (2021). 3d Radar Velocity Maps for Uncertain Dynamic Environments. arXiv preprint arXiv:2107.11039.

CrossRef Full Text | Google Scholar

Senanayake, R., and Ramos, F. (2017). “Bayesian Hilbert Maps for Dynamic Continuous Occupancy Mapping,” in Conference on Robot Learning, 458–471.

Google Scholar

Senanayake, R., and Ramos, F. (2018). “Directional Grid Maps: Modeling Multimodal Angular Uncertainty in Dynamic Environments,” in 2018 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) (IEEE), 3241–3248. doi:10.1109/iros.2018.8594041

CrossRef Full Text | Google Scholar

Senanayake, R., Simon Timothy, O., and Ramos, F. (2016). Predicting Spatio-Temporal Propagation of Seasonal Influenza Using Variational Gaussian Process Regression. AAAI, 3901–3907.

CrossRef Full Text | Google Scholar

Senanayake, R., Toyungyernsub, M., Wang, M., Kochenderfer, M. J., and Schwager, M. (2020). “Directional Primitives for Uncertainty-Aware Motion Estimation in Urban Environments,” in 2020 IEEE 23rd International Conference on Intelligent Transportation Systems (ITSC) (IEEE), 1–6. doi:10.1109/itsc45102.2020.9294288

CrossRef Full Text | Google Scholar

Shi, X., and Yeung, D.-Y. (2018). Machine Learning for Spatiotemporal Sequence Forecasting: A Survey. arXiv preprint arXiv:1808.06865.

Google Scholar

Stuede, M., and Schappler, M. (2022). Non-parametric Modeling of Spatio-Temporal Human Activity Based on Mobile Robot Observations. arXiv preprint arXiv:2203.06911.

Google Scholar

Surma, F., Kucner, T. P., and Mansouri, M. (2021). “Multiple Robots Avoid Humans to Get the Jobs Done: An Approach to Human-Aware Task Allocation,” in 2021 European Conference on Mobile Robots (ECMR) (IEEE), 1–6. doi:10.1109/ecmr50962.2021.9568843

CrossRef Full Text | Google Scholar

Swaminathan, C. S., Kucner, T. P., Magnusson, M., Palmieri, L., and Lilienthal, A. J. (2018). Down the Cliff: Flow-Aware Trajectory Planning under Motion Pattern Uncertainty. 2018 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS). IEEE, 7403–7409. doi:10.1109/iros.2018.8593905

CrossRef Full Text | Google Scholar

Talebpour, Z., Navarro, I., and Martinoli, A. (2015). “On-board Human-Aware Navigation for Indoor Resource-Constrained Robots: A Case-Study with the Ranger,” in 2015 IEEE/SICE International Symposium on System Integration (SII) (IEEE), 63–68. doi:10.1109/sii.2015.7404955

CrossRef Full Text | Google Scholar

Taylor, S. J., and Letham, B. (2018). Forecasting at Scale. Am. Statistician 72, 37–45. doi:10.1080/00031305.2017.1380080

CrossRef Full Text | Google Scholar

Tipaldi, G. D., Meyer-Delius, D., and Burgard, W. (2013). Lifelong Localization in Changing Environments. Int. J. Robotics Res. 32, 1662–1678. doi:10.1177/0278364913502830

CrossRef Full Text | Google Scholar

Tompkins, A., and Ramos, F. (2018). “Fourier Feature Approximations for Periodic Kernels in Time-Series Modelling,” in AAAI Conference on Artificial Intelligence.

CrossRef Full Text | Google Scholar

Tompkins, A., and Ramos, F. (2020). “Periodic Kernel Approximation by Index Set Fourier Series Features,” in Uncertainty In Artificial Intelligence (PMLR), 486–496.

Google Scholar

Triebel, R., Arras, K., Alami, R., Beyer, L., Breuers, S., Chatila, R., et al. (2016). “Spencer: A Socially Aware Service Robot for Passenger Guidance and Help in Busy Airports,” in Field and Service Robotics (Springer), 607–622. doi:10.1007/978-3-319-27702-8_40

CrossRef Full Text | Google Scholar

Van Laerhoven, K., Kilian, D., and Schiele, B. (2008). “Using Rhythm Awareness in Long-Term Activity Recognition,” in 12th IEEE International Symposium on Wearable Computers(ISWC) (IEEE), 63–66. doi:10.1109/iswc.2008.4911586

CrossRef Full Text | Google Scholar

Vintr, T., Eyisoy, K., Vintrová, V., Yan, Z., Ruichek, Y., and Krajník, T. (2018). “Spatiotemporal Models of Human Activity for Robotic Patrolling,” in International Conference on Modelling and Simulation for Autonomous Systesm (Springer), 54–64.

Google Scholar

Vintr, T., Molina Mellado, S., Cielniak, G., Duckett, T., and Krajnik, T. (2017). Spatiotemporal Models for Motion Planning in Human Populated Environments. lincol.ac.uk.

Google Scholar

Vintr, T., Molina, S., Senanayake, R., Broughton, G., Yan, Z., Ulrich, J., et al. (2019a). “Time-varying Pedestrian Flow Models for Service Robots,” in 2019 European Conference on Mobile Robots (ECMR) (IEEE), 1–7. doi:10.1109/ecmr.2019.8870909

CrossRef Full Text | Google Scholar

Vintr, T., Yan, Z., Duckett, T., and Krajník, T. (2019b). “Spatio-temporal Representation for Long-Term Anticipation of Human Presence in Service Robotics,” in 2019 International Conference on Robotics and Automation (ICRA) (IEEE), 2620–2626. doi:10.1109/icra.2019.8793534

CrossRef Full Text | Google Scholar

Vintr, T., Yan, Z., Eyisoy, K., Kubiš, F., Blaha, J., Ulrich, J., et al. (2020). “Natural Criteria for Comparison of Pedestrian Flow Forecasting Models,” in 2020 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) (IEEE), 11197–11204. doi:10.1109/iros45743.2020.9341672

CrossRef Full Text | Google Scholar

Wang, Z., Ambrus, R., Jensfelt, P., and Folkesson, J. (2014). “Modeling Motion Patterns of Dynamic Objectsby Iohmm,” in 2014 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS 2014), Chicago, IL, 14-18 Sept. 2014 (IEEE conference proceedings), 1832–1838. doi:10.1109/iros.2014.6942803

CrossRef Full Text | Google Scholar

Wang, Z., and Bovik, A. C. (2009). Mean Squared Error: Love it or Leave it? a New Look at Signal Fidelity Measures. IEEE signal Process. Mag. 26, 98–117. doi:10.1109/msp.2008.930649

CrossRef Full Text | Google Scholar

Yamamoto, T., Terada, K., Ochiai, A., Saito, F., Asahara, Y., and Murase, K. (2019). Development of Human Support Robot as the Research Platform of a Domestic Mobile Manipulator. ROBOMECH J. 6. doi:10.1186/s40648-019-0132-3

CrossRef Full Text | Google Scholar

Yan, H., Zhang, Z., and Zou, J. (2017). “An Online Spatio-Temporal Model for Inference and Predictions of Taxi Demand,” in 2017 IEEE International Conference on Big Data (Big Data) (IEEE), 3550–3557. doi:10.1109/bigdata.2017.8258345

CrossRef Full Text | Google Scholar

Zhang, H., and Zheng, Z. (2020). “Simulating Nonstationary Spatio-Temporal Poisson Processes Using the Inversion Method,” in 2020 Winter Simulation Conference (WSC) (IEEE), 492–503. doi:10.1109/wsc48552.2020.9384098

CrossRef Full Text | Google Scholar

Zhi, W., Senanayake, R., Ott, L., and Ramos, F. (2019). Spatiotemporal Learning of Directional Uncertainty in Urban Environments with Kernel Recurrent Mixture Density Networks. IEEE Robotics Automation Lett. 4, 4306–4313. doi:10.1109/lra.2019.2931262

CrossRef Full Text | Google Scholar

Zhou, Z., and Matteson, D. S. (2015). “Predicting Ambulance Demand: A Spatio-Temporal Kernel Approach,” in Proceedings of the 21th ACM SIGKDD international conference on knowledge discovery and data mining, 2297–2303.

Google Scholar

Zhou, Z., and Matteson, D. S. (2016). Predicting Melbourne Ambulance Demand Using Kernel Warping. Ann. Appl. Statistics 10, 1977–1996. doi:10.1214/16-aoas961

CrossRef Full Text | Google Scholar

Zhou, Z., Matteson, D. S., Woodard, D. B., Henderson, S. G., and Micheas, A. C. (2015). A Spatio-Temporal Point Process Model for Ambulance Demand. J. Am. Stat. Assoc. 110, 6–15. doi:10.1080/01621459.2014.941466

CrossRef Full Text | Google Scholar

Keywords: long-term navigation, planning, spatio-temporal modeling, human-aware navigation, scheduling, pedestrian flows

Citation: Vintr T, Blaha J, Rektoris M, Ulrich J, Rouček T, Broughton G, Yan Z and Krajník T (2022) Toward Benchmarking of Long-Term Spatio-Temporal Maps of Pedestrian Flows for Human-Aware Navigation. Front. Robot. AI 9:890013. doi: 10.3389/frobt.2022.890013

Received: 05 March 2022; Accepted: 16 May 2022;
Published: 04 July 2022.

Edited by:

Pilar Bachiller-Burgos, University of Extremadura, Spain

Reviewed by:

Pedro Núñez, University of Extremadura, Spain
Vicente Matellan, Universidad de León, Spain

Copyright © 2022 Vintr, Blaha, Rektoris, Ulrich, Rouček, Broughton, Yan and Krajník. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Tomáš Vintr, dmludHJ0b21AZmVsLmN2dXQuY3o=; Tomáš Krajník, dG9tYXMua3Jham5pa0BmZWwuY3Z1dC5jeg==

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.