Abstract
A static world assumption is often used when considering the simultaneous localization and mapping (SLAM) problem. In reality, especially when long-term autonomy is the objective, this is not a valid assumption. This paper studies a scenario where landmarks can occupy multiple discrete positions at different points in time, where each possible position is added to a multi-hypothesis map representation. A selector-mixture distribution is introduced and used in the observation model. Each landmark position hypothesis is associated with one component in the mixture. The landmark movements are modeled by a discrete Markov chain and the Monte Carlo tree search algorithm is suggested to be used as component selector. The non-static environment model is further incorporated into the factor graph formulation of the SLAM problem and is solved by iterating between estimating discrete variables with a component selector and optimizing continuous variables with an efficient state-of-the-art nonlinear least squares SLAM solver. The proposed non-static SLAM system is validated in numerical simulation and with a publicly available dataset by showing that a non-static environment can successfully be navigated.
Keywords
1. Introduction
In the field of robotics and autonomous driving, spacial awareness of the environment is crucial for the robot to safely and efficiently complete its task. For some applications the robot is given a, more or less precise, map of the operation area, constructed with some external dedicated mapping system (Artan et al., 2011). In other cases the robot is responsible of creating its own map while operating and at the same time localize itself within the map. This procedure is often referred to as simultatenous localization and mapping (SLAM). While both of these approaches have been successfully implemented, there are limitations in long-term operation since a static world assumption is often made. When life-long operation is the target, changes in the environment is inevitable and the problem of building adaptive maps has been mentioned as an important remaining challenge in this field (Cadena et al., 2016; Bresson et al., 2017).
Changes in an environment can be categorized into two main categories (Nielsen and Hendeby, 2022b): • Dynamic changes, with objects moving relatively fast so that the perception of the object changes while the object is in field-of-view. • Non-static changes (sometimes also referred to as semi-static changes (Rosen et al., 2016)), that are much slower and typically not captured by sensors in real time, but rather discovered when an area is revisited.
Dynamic changes are typically handled by filtering out measurements originating from moving objects (Hahnel et al., 2003; Wang et al., 2003), or in more sophisticated systems, track the moving obstacles (Dai et al., 2021; Wang et al., 2007). Either way, it is undesirable to update a more long-term map with these changes. This paper considers SLAM in an environment subject to non-static changes where landmarks move between different discrete positions. In the real world this has applications in indoor localization where objects such as furniture discretely change their positions, or doors are opened or closed. Also outdoor scenarios have possible applications where construction works can temporarily alter the environment or parking lots can be occupied or not. In Nielsen and Hendeby (2022b) it also described how this type of changes have high relevance in an underground mine environment, and it is shown that it is beneficial to somehow incorporate this type non-static changes into the SLAM model. This paper uses, the map representation presented in Nielsen and Hendeby (2022a), and further developed in Nielsen and Hendeby (2022b), where each landmark is modeled by discrete modes where only one can be true at each time instance. The movement of the landmarks are modeled by a discrete Markov chain.
The SLAM problem can be solved with Monte Carlo based methods such as FastSLAM 2.0 (Montemerlo et al., 2003), but in recent years optimization based SLAM solvers have become the de facto standard for solving SLAM problems (Agarwal et al., 2022; Kaess et al., 2012; Kümmerle et al., 2011). The problem is stated as factors in a graph, solved by optimizing the underlying nonlinear least squares problem. This paper introduces a selector-mixture distribution where only one of the components in a mixture is locally active. By using this distribution for landmark position representation, allowing different components to be active at different points in time, the Markov property in the landmark movements are combined with the modern graph-based SLAM framework. The optimization problem is by this approach divided into a discrete and a continuous part where the continuous part is solved by the graph-based SLAM solver, and the discrete part is optimized through component selection in the mixture distribution. A component selector operator based on the Monte Carlo tree search (MCTS) algorithm (Browne et al., 2012) is suggested and evaluated in experiments on real data. The properties of MCTS are shown to be beneficial for not getting stuck in local minima during the optimization process. The presented multi-hypotheses SLAM framework have the possibility to online provide both a position estimate and information about the current state of the environment. A prior map might be available or not, but the framework can in either case model changes of the environment not included in the map.
The main contributions of this paper are: • The introduction of a selector-mixture distribution with the simplicity of a single Gaussian but with increased flexibility. • Incorporation of the non-static environment model into the nonlinear least squares formulation of the SLAM problem. • Introduction of MCTS as a selector strategy to solve the discrete part of the resulting non-static SLAM formulation. • Validation of the proposed method on a publicly available dataset.
The paper is structured as follows. First, in Section 2 related work in literature is presented, then, the feature based multi-hypothesis SLAM problem is introduced in Section 3. The selector-mixture distribution is presented in Section 4 followed by suggestions on component selection strategies, where MCTS is one of them, in Section 5. Section 6 elaborates on effects of non-perfect sensors and negative information and how this can be included in the factor optimization, and Section 7 further discusses important implementation aspects. The proposed methods are evaluated in simulations and with real data in Section 8, and finally, concluding remarks are given in Section 9.
2. Related work
Long-term autonomy in SLAM applications have in the literature previously been addressed by introducing some sort of memory decay (Berrio et al., 2019b). In Rosen et al. (2016) landmark existence is estimated with a persistence filter, designed to run in parallel with a SLAM solver. Each landmark in the map has an associated probability of existence that decays over time according to a given model taking observations into account. In Nobre et al. (2018) the persistence filter is used but with the extension of modeling correlations between the landmarks. Also in Pitschl and Pryor (2019) a persistence model is used in an adaptive map maintenance technique. In Berrio et al. (2019a) each feature is scored as a function of times it has been observed. Low score features can then be disregarded not considered robust for localization.
Earlier works introducing multiple hypotheses more direct into factor graph representations have been developed mainly with the focus of handling uncertain data associations, for example, in (Chong, 2012). The adding of uncertain constraints in the factor graph are in (Latif et al., 2013) delayed until several new constraints agrees. They are then added as a batch of new constraints with a proposed algorithm called realizing, reversing, recovering (RRR). Others introduce a discrete variable in the factor graph to represent the uncertain data association, similar to the solution proposed in this paper where the discrete variable represents a position of a landmark. Various strategies have been proposed for solving such graphs. In Sünderhauf and Protzel (2012a, 2012b) switchable constraints are introduced where loop closure factors in practice can be activated or deactivated as part of the optimization process. A max-mixture distribution is introduced in Olson and Agarwal (2013) allowing for a more flexible representation of the measurement model. This is indeed a special case of the selector mixture proposed in this paper, but with the Markov property in the landmark movements the max-mixture representation has a risk of getting stuck in local minima. In Lu et al. (2021) discrete hypotheses modes represent ambiguities in observations. Each hypothesis is represented by a component in a Gaussian max-mixture model, and instead of a local search, consensus of pose hypotheses are used to re-initialize feature positions and guide the optimization towards global optimum. This works when the ambiguity is caused by observations not capturing all degrees of freedom in the landmark poses or similar-looking surroundings, but is incapable when landmarks are truly moved. The multi-hypothesis algorithm based on iSAM2 (MH-iSAM2) developed in (Hsiao and Kaess, 2019), is more general in the types of ambiguities that can be modeled but lacks the possibility to model the modes as a Markov chain.
In Segal and Reid (2014) a method based on message passing on a junction tree is presented. For the Gaussian case, this becomes equivalent to solving the factor graph based SLAM problem. In the presence of discrete variables, they provide an algorithm that iteratively estimates first the discrete variables then the continuous ones. This is in practice very similar to how the discrete variables are estimated in this paper. Also the work in Pfingsthorn and Birk (2013) is mixing discrete and continuous variables with discrete variables representing components in a mixture-distribution. However, they are focusing on observation ambiguities and the methods for finding the discrete variables do not model landmark movements. This iterative approach for solving the mixed discrete/continuous optimization problem for SLAM applications has recently been formalized and generalized in the method called discrete-continuous smoothing and mapping (DC-SAM) (Doherty et al., 2022). DC-SAM relies on that discrete variables conditioned on the continuous assignment admit a factorization into small subsets. These subsets can then be optimized separately with techniques suitable for that particular structure. This paper presents a method that is in spirit similar to DC-SAM, and the developed method could be fitted into the more general framework of DC-SAM as a special case to solve a specific structure of the discrete variables. Having a good initialization is important not to get stuck in local minima during the optimization. As pointed out in (Doherty et al., 2022), this is even more pronounced when mixing discrete and continuous variables, but the choice of method for optimizing the discrete variables also affects the risk of getting stuck in a local minimum.
The discrete part of the underlying optimization problem can be represented by an exponentially growing tree of hypotheses. This representation has similarities to how the data association problem is formulated and solved with the joint compatibility branch and bound (JCBB) method (Neira and Tardos 2001). JCBB exploits correlations between individual measurement innovations to efficiently search the hypotheses tree. In this paper, the features are allowed to move independently of each other and the problem is formulated such that the position of each feature can be treated separately. With that formulation of the optimization problem, JCBB is not directly applicable. To become applicable, the structure of the optimization problem would have to be rearranged, which, at least without further modifications, would make the method significantly more computationally expensive.
In our previous work multiple hypotheses in the map representation are introduced and the exponential growth in the number of hypotheses is limited by taking decisions based on statistical tests (Nielsen and Hendeby, 2022b). This however results in a somewhat overwhelming book-keeping of old hypotheses and a solution that does not scale well in the number of hypotheses since each hypothesis requires a dedicated SLAM solver. Here, the hypotheses are efficiently incorporated into the graph-based SLAM framework where modern nonlinear least-squares solvers can be utilized.
3. Feature based SLAM with non-static landmarks
The feature based SLAM problem can be defined as the joint inference of robot poses
With a static world assumption the SLAM problem consists of estimating
Under an assumption of Gaussian noise models this can be formulated as a nonlinear least squares problem. Due to an inherently sparse structure, the problem can then be solved efficiently with specialized state-of-the-art solvers like g2o (Kümmerle et al., 2011), ceres (Agarwal et al., 2022), or the iSAM2 algorithm (Kaess et al., 2012) implemented in gtsam (Dellaert and GTSAM Contributors, 2022). They all use iterative solvers such as Gauss-Newton or Levenberg-Marquardt.
3.1. Multi-hypothesis map representation
This paper targets a non-static environment by allowing true feature positions to change between discrete positions modeled as multiple hypotheses. The feature based multi-hypothesis map representation from Nielsen and Hendeby (2022a) is in short defined by,
3.2. Hypothesis Markov model
Assume the hypotheses are independent among different landmark groups, that is, landmarks change positions independently of each other, and that the transition between modes can be modeled by a Markov chain. Each mode indicator is distributed as,
The joint probability of a sequence of hypothesis for a specific landmark can be formulated as
3.3. Multi-hypothesis SLAM
The MAP estimation of the multi-hypothesis SLAM problem can be formulated as,
Using Bayes rule and exploiting independence between X,
Assume measurements are independent and let ϕ(xt−1, x
t
) represent odometry factors not affected by the hypothesis choice. This gives,
Due to mutual independence among the different landmark groups, the hypothesis probability can be moved inside the product over the landmarks. By also using (6), the MAP estimate can be factorized as
3.4. Hypotheses in a factor graph
The mode indicators, as defined in (3), can be added as discrete variables in a factor graph. The factor graph for one landmark with two possible modes, observed from three consecutive states is presented in Figure 1. Each factor ϕ(·) in the graph represents a factor in the MAP estimate (10). The factor nodes Factor graph for three consecutive states where one landmark with two possible modes is observed in each state. Factor graph for three consecutive states where two landmarks with two possible modes are observed in each state. Each filled black dot represents one factor.

There are two issues with the factor graph formulation of the MAP inference in (10) that must be addressed. First, state-of-the-art graph-SLAM solvers cannot efficiently combine discrete and continuous variables (Sünderhauf and Protzel, 2012b). In Segal and Reid (2014) a method based on message passing in a junction tree is presented to handle uncertain loop closures. In the presence of discrete variables, they provide an iterative algorithm that first estimates the discrete variables then optimize continuous ones. This strategy is adopted in this paper and is further described in Section 5. Second, the Markov property on the feature dynamics prevents each mode indicator to be independently estimated without risking to get stuck in local minima and obtain sub-optimal solutions. This problem is addressed by introducing a selector-mixture distribution. By describing the measurement likelihoods as such distributions, the estimation of discrete values modeled by a Markov chain can be mathematically described.
4. Selector-mixture distribution
In Olson and Agarwal (2013), the max-mixture distribution is introduced as a way to represent multiple hypotheses within the SLAM framework. Unlike the sum-mixture, commonly used to represent multi-modal distributions, the max-mixture is suitable for optimization in least-square graph based SLAM applications. A sum-mixture might also give infeasible results in “either-or” situations, whereas selecting only one out of many components will always provide a feasible solution. The weighted mean of a number of feasible robot positions might end up, for example, inside a wall. It might be better to update the position with the “wrong” hypothesis and later switch when you know better, than to obtain a weighted mean that was never valid. However, the max-mixture only gives locally optimal solutions and with a Markov property present, it is even more important to not get stuck in a local minima at an early stage. This section introduces a generalization of the max-mixture distribution, the selector-mixture distribution.
Consider a mixture of Gaussian components, where only one component in the mixture is selected given some criterion specified by a general component selector operator, σ
k
(·). This is a unary operator and applied on the factors in the factor graph yields,
Using the max-operator as the component selector operator would result in a max-mixture,
Figure 3 shows how a multi-modal distribution would be represented by a sum-mixture and a max-mixture. The discontinuity in the derivative that appears in the intersection points in the max-mixture will appear with any component selector operator and is solved by locally using only the selected component. As a consequence, only local optimality is obtained and good initial values are important. Conceptual comparison of sum-mixture and max-mixture distributions.
However, the generalized selector criterion allows for incorporating the Markov model of the landmark movements into the mixture. Considering the multi-mode formulation where each component in the mixture originates from one mode of a landmark, the selector mixture can be expressed as,
The responsibility of the selector operator boils down to selecting a sequence of mode indicators for each landmark. Next section gives the criterion for how to perform such selection in the feature based SLAM problem.
For a mixture to be a proper distribution it has to integrate to one. For the sum-mixture this is achieved with the constraint that the component weights should sum to one, but for selector-mixtures normalization is in general more difficult to achieve. However, as argued in Olson and Agarwal (2013), the normalization constant has no effect in the ML inference and is therefore unnecessary to compute in this application.
5. SLAM with component selector
This section formulates the SLAM problem with selector-mixture distributions in the observation model. The criterion for selection is derived and the component selectors evaluated in this paper is presented.
5.1. Mixture SLAM
With the max-product algorithm (Abdi and Ristaniemi 2020), the MAP problem (7) can be rewritten as,
Following the steps in Section 3.3 yields,
The selector problem is to find the mode indicator sequence by solving
Formulated with a selector-mixture with a component selector operator
Solving (19) is by no means trivial and typically it also must be done in, at least close to, real time. A presentation of three different component selectors evaluated in this paper now follows. First, a naive nearest neighbor (NN) approach is introduced, completely neglecting the Markov property in the modes, in essence this is the max-mixture approach but with an added iterative re-linearization and with utilization of negative information. This selector is mostly included as a reference. Then, a variant based on ideas from the expectation maximization (EM) algorithm is presented. This approach provides a natural way of separating the optimization of the discrete and continuous variables in the factor graph that is adopted also for the other component selectors. The last version of a component selector utilizes Monte Carlo Tree Search (MCTS), which with the inherent randomness mitigates the risk of getting stuck in local minima.
5.2. NN as component selector
A component selector neglecting the Markov property in the mode switches can be constructed through an NN approach. The component with the maximum observation likelihood is selected locally in each time instance,
This component selector might perform poorly in noisy, heavy cluttered scenarios, where the selector will jump back and forth between modes based on single observations. So far, this is exactly equal to the max-mixture method presented in Olson and Agarwal (2013). However, the NN method used in the experiments section is boosted with the iterative re-linearization described in the next section and with utilization of negative information obtained from the probability of detection of each landmark, see section 6.
5.3. EM as component selector
The EM algorithm is an ML approach to get an estimate of a parameter X given some observations Z and hidden variables θ. The complete-data likelihood p(Z, θ|X) is inaccessible due to the hidden variable and knowledge about the latent variables in θ is only given through the posterior distribution p(θ|Z, X). The EM algorithm consists of iterating between two steps: 1. The 2. the
The iteration are continued until convergence, according to some criterion (Bishop, 2006).
This iterative approach is in practice similar to what is described in (Segal and Reid, 2014) for discrete/continuous variable optimization in junction trees. Applied to the mixture SLAM problem described in (21) the sequence of mode indicator vectors
Taking the expected value of a discrete random variable (23) in general gives a non-integer value, resulting in an undefined mode selection. Also, the expected value assumes the discrete variable are in some sense ordered. A value closer to the expected value should be more likely than a value far away, which is not the case for the feature position hypotheses. They are given a number just for identification. Instead the “winner take all”-variant of the EM algorithm as described in (Neal and Hinton, 1998) is used. That is, the mode that maximizes (23) with X and
This procedure is in practice similar to what is described as the outer EM loop in (Pfeifer and Protzel, 2019), where the EM-algorithm is computed only once per time step. Here, the EM-algorithm is iterated until the mode vector does not change, but since no actual expectation is taken in the E-step, the convergence guarantees of the original EM-algorithm is lost and convergence has to be achieved over time. In Pfeifer and Protzel (2019) it is discussed and also shown in experiments that for SLAM and localization problems it is in practice possible to attain convergence. The main argument is that the algorithm is solved iteratively, and every time step starts close to the minimum that the previous one found. Still, there is always a risk, due to the structure and nonlinearity in a particular estimation problem, to get stuck in a local minimum.
5.4. MCTS as component selector
MCTS is a stochastic search algorithm for finding optimal actions in decision processes. This algorithm is often used in combination with deep neural nets to train autonomous agents to play complex games (Silver et al., 2016; Schrittwieser et al., 2020). A search tree is iteratively built, guided by results from previous explorations of the tree, until a predefined computational budget is reached. Four steps are executed in each iteration; selection, expansion, simulation, and backpropagation (Browne et al., 2012). See Figure 4 for an illustration of the MCTS algorithm. The steps are realized by two policies: 1. Tree policy: Selects an existing node and expand it with a new leaf. 2. Rollout policy: Performs a play-out (simulation) from a given node to produce a value estimate which is some kind of measure of the expected future performance. Overview of the MCTS algorithm. Figure from (Boström-Rost et al., 2021).

The estimated value is used to update node statistics in the backpropagation step for visited nodes all the way back to the root.
Given a prior
The tree policy used to select a node for expansion is implemented by the upper confidence bound for trees (UCT) policy (Kocsis and Szepesvári, 2006). Starting at the root node, a child is selected and the tree traversed until a node is reached that has unvisited children. A child i is selected according to,
When the computational budget is reached, the child with highest visit count is selected as next mode (Browne et al., 2012). The iterative approach of estimating the discrete mode indicators followed by optimizing variables, is adopted also with this component selector.
For the experiments conducted in this paper, the parallel MCTS algorithm in Chaslot et al. (2008) implemented in Strandmark (2020), is used as a base, but has been modified with the normalization in (26).
6. Non-perfect sensors and negative information
In practice, sensors and feature extraction methods are never perfect. Features/landmarks that should have been observed is not, and false positives might occur in the data. In target tracking theory this is modeled by a probability of detection, P D , and a false alarm distribution (Bar-Shalom et al., 2011). In the presented multi-hypothesis SLAM framework a false alarm will result in a new hypothesis that anyway soon will become very unlikely. The probability of detection is in target tracking often chosen as a constant determined by the sensor and feature extraction method. However, introducing P D as a function of landmarks and robot positions, into the SLAM problem allows utilizing negative information into the factor graph.
6.1. Probability of detection
Considering non-perfect feature detectors, the likelihood of an observation is the likelihood obtained from the selected Gaussian component multiplied by
6.2. Negative information as a factor
To utilize negative information, the factors connected to landmark observations (20) can be written as
7. Implementation aspects
This section contains practical considerations for implementation of the proposed selector-mixture SLAM formulation and associated component selectors. It is explained how new feature modes are created and how the probability of a landmark being in FOV can be computed. Methods suggested here are not the only options and suitable methods may vary between different applications and requirements. However, this is how the evaluation in the experiment section is implemented.
7.1. Gating and mode creation
Incoming observations will not match the known position if a landmark has moved, and a new mode of a landmark is created if a measurement does not gate with any known mode. The gating is performed through a Mahalanobis distance based on the projected estimation uncertainty, similar to the individual compatibility (IC) matching technique for data association (Kaess and Dellaert, 2009).
A predicted measurement is given by the measurement model,
where d is the dimension of the measurement and α is the desired confidence level. The projected uncertainty is approximated through (Kaess and Dellaert, 2009),
The confidence level α is a tuning parameter that should be small enough for hypotheses to be created for small landmark movements, but still high enough to not trigger hypotheses caused by measurement noise.
7.2. Negative information and probability of detection
For negative information representation, the factor in (28) is used. In theory, this would require a well defined Jacobian of the function. However, by only using the missed detection information in the estimation of the discrete mode selectors, and only utilizing actual measurements in the nonlinear least square optimization, this is in practice not needed. This practicality is indeed an approximation, but it significantly reduces the complexity in the optimization since many of the factors can be omitted.
The probability of detection P
D
(x, m) is modeled by a constant factor and a function depending on the FOV sector,
The probability of FOV function, PFOV(x, m), is approximated by modeling predicted range r, and bearing b, as Gaussian distributions according to (29) and then estimated by PFOV(x, m) ≈ P(r < γ r )P(|b| < γ b ).
8. Experiments and results
The evaluation of the proposed multi-hypothesis SLAM formulation has two objectives; compare the different component selectors and elaborate about their pros and cons, and verify the usefulness of creating and maintaining multiple hypotheses by successfully navigating a non-static environment. Due to the lack of datasets with naturally occurring non-static changes, the procedure of imposing changes of varying degree, as done in Nobre et al. (2018), is used. The performance of the suggested method is assessed through a 2D SLAM system in which odometry and range and bearing measurements are added to a factor graph, and the iSAM2 (Kaess et al., 2012) solver, implemented by modifications of gt-sam (Dellaert and GTSAM Contributors, 2022), is used to solve the nonlinear least squares problem. The modifications mainly constitute changes in the bookkeeping of variables and factors, to allow for a factor to switch its dependency to a different variable according to the mode indicator.
First, the component selectors are compared in a simulated experiment where the performance of the actual selector is isolated from other affecting properties occurring in a complex system. Then, the complete system is evaluated on a real dataset, where it is also compared to the max-mixture algorithm.
8.1. Simulated selector comparison
In a simulated open environment, a robot is placed at the origo and landmark measurements are simulated as x, y-coordinates with added white Gaussian noise, The robot is placed at origo and measurements are simulated for three possible modes of one particular landmark, each represented by green, purple, or yellow color. The measurements originating from a landmark mode is marked with crosses of the same color. This particular realization is done with the measurement noise level r = 0.2. For different measurement noises, the average ratio of wrong mode selections during the total 30 timesteps are estimated with 100 MC realizations.

Figure 7 show the performance of the same scenario but with a complete SLAM solver executed. The Cartesian x, y coordinates together with the heading, constitutes the 2D state vector and a process noise of Q = diag(0.012, 0.012, 0.0012), is used. It is clear that the erroneous data associations that the wrongly selected modes caused with the NN selector, degrades the accuracy in the position estimates. Combined RMSE of the final robot position and final landmark position after all measurements have been processed. 100 MC realizations for each r, R = diag(r, r).
8.2. Real data experiment
This section contains experiments on recorded data.
8.2.1. The dataset
The UTIAS dataset (Leung et al., 2011) is used for validation. The dataset consists of odometry and range/bearing observations of 2D point features, and comes with ground-truth trajectories with accuracy in the order of 1 mm. The landmarks are visually detected, and each landmark is uniquely identified with a barcode. Since there are no non-static landmarks in the dataset, changes are imposed as proposed in (Nobre et al., 2018), that is, landmarks likely to have correlated position are identified and then moved together as a group in incremental steps in the x-direction. In each execution, the SLAM solver is initially given landmark positions according to the ground truth, plus possible delta change in the x-direction, with provided uncertainty. The result is evaluated as root mean square error (RMSE) towards the ground truth trajectory and landmark positions. The dataset includes a number of setups and runs where the three first are used for evaluation in this paper. Figure 8 shows the ground truth data for these three dataset and depicts the moved landmarks in each of them. Ground truth (GT) trajectories for three of the datasets together with estimated trajectories with the MCTS method and max-mixture method. Filled circles marks the landmarks and the orange are moved with varying distance in the x-direction. A cross marks the start of the trajectory. For dataset 1 and 3, the trajectories are created with a delta displacement of 1.0 m and for dataset 2 with 2.1 m. In dataset 2 the red part of the trajectory is of special interest since there is a long period without landmarks in field-of-view.
By inspection of the ground truth data and the measurement it is seen that the measurement noise is not uniform within the sensors FOV for this dataset, especially not close to the borders of FOV. Therefore, all measurement with ranges exceeding 5 m and with bearing outside ± 0.4 rad are disregarded. The odometry is sampled with d
t
= 0.02 s and the process noise for the odometry is set to
The proposed component selection method is compared to the max-mixture method presented in (Olson and Agarwal, 2013). Existing implementations of this method are focused on the odometry factors and ambiguous loop-closures. Therefore, our own implementation is used for the max-mixture method, which is re-using parts of the NN implementation. Utilizing similar implementations also give a fair relative comparison in terms of execution time.
8.2.2. Parameter settings
For reproducability, all parameter values not stated elsewhere is presented here.
The measurement noise covariance, Γ is assumed diagonal with 0.112 in bearing and 0.22 in range. The confidence level in the gating threshold is set to α = 0.95. The constant part of the probability of detection is P D = 0.6 due to the rather low detection rate in the data, and in the probability of FOV function the thresholds are set to γ r = 5.0 and γ b = 0.4, to reflect the data.
The Markov chain in the modes is modeled by a constant probability of changing mode as 0.0001 for all landmarks. The elements in each
The iterative re-linearization is run until no modes are changed or a maximum of 10 iterations is reached. Usually it only requires a few iterations, but using MCTS as component selector sometimes get stuck in a loop, where a mode changes back and forth between iterations. In case the maximum number is reached, a full optimization is performed. This can be computationally costly when it occurs.
The gating threshold α and the transition probability in the Markov model are the main tuning parameters for this experiments. They have to be tuned so that modes are created for true changes but not triggered by measurement noise. This is further elaborated upon in section 8.2.4. All other parameters are set according to specification and analyses of this particular dataset.
8.2.3. Results
In Figure 9 the RMSE for three evaluated setups are presented. The tree component selectors, MCTS, EM, and NN, are compared to the max-mixture method (Olson and Agarwal, 2013), and a “NOHYP” execution, which follows a standard SLAM algorithm where each observations is associated according to its identifier, independently of distance from the known landmark. MCTS and NN are created from 12 Monte Carlo (MC) realizations, MCTS has its inherent randomness and NN randomly chooses a mode if the value of (28) are equal, this can typically be the case if the landmark is far away from being in FOV. The resulting RMSE for the three datasets shown in Figure 8. Dashed lines are RMSE in the landmark position and the solid lines are robot pose RMSE.
Results from dataset 1 and 3 show how the RMSE first increases when the landmarks are moved a short distance to then improve when the distance is large enough for hypotheses to be created. It is also visible that the selectors gives more similar results in estimating the robot position while MCTS and EM outperforms NN and max-mixture in estimating landmark positions. This suggests that all selectors are fairly good in selecting the correct mode when a landmark is in FOV, but the Markov property utilized in MCTS and EM adds value in retaining a good landmark position estimate. Both dataset 1 and dataset 3 are run with the same values of all tuning parameters, still, in dataset 1 the benefits of the multi-hypothesis approach can be seen already at landmark movements of 0.3 m while for dataset 3 it takes almost 0.9 m change before it takes full effect. This difference can be explained by how the gating depends on the currently estimated uncertainties. The confidence threshold for gating could be lowered to earlier create hypotheses also for dataset 3. This however, comes with the risk of creating lots of hypotheses caused by measurement noise that will degrade the computational speed. It is hard to quantify the delta change needed for hypothesis to be created in terms of uncertainty inputs to the system, since the environment setup and trajectory plays a big role here. Depending on how observations of non-moved landmarks have already been used and the shape of the already traveled trajectory, the current uncertainties can vary a lot causing observations from moved landmarks to be gated or not.
In dataset 2 the RMSE for the component selection methods is larger than for the NOHYP and max-mixture method just before the delta change is large enough to be fully discovered. This is an effect of the tuning trade-off in the gating threshold. The small change in the landmarks alters the robot position estimate just enough for measurements with large noise realizations to erroneously create hypotheses. If the gating threshold is increased to match these observations with the existing landmark position, the delta change needed for truly moved landmarks to be discovered is also increased, as is the case for dataset 3.
Dataset 2 highlights an interesting property due to the large chunk of the trajectory where no landmark is in FOV, the part marked with red in Figure 8. To get the optimization to converge after this part of the trajectory, also with zero landmark movement, the process noise is increased to
8.2.4. EM vs. MCTS
In the experiments presented in Figure 9 EM and MCTS as component selectors have very similar results. The difference between these two selectors is not visible until the selection becomes more complex. The two most important tuning parameters for the performance of the component selectors are the gating threshold α, and the probability of changing mode in the Markov model. There is a trade-off in creating too many unnecessary modes of landmarks that have not moved, and in potentially not creating modes of landmarks that have truly moved. This experiment is executed on dataset 1, with the transition probability significantly increased to 0.1 and the gating threshold lowered to α = 0.8 to create a lot more hypotheses. Results for MCTS and EM are seen in Figure 10. Now it is evident that MCTS copes with this situation a lot better. The EM method gets stuck in local minima for modes on landmarks that does not even move and therefore the result is very similar for all delta displacements. Also, when looking at the estimated positions in Figure 11, EM creates a lot more false modes. Resulting RMSE for dataset 1, when parameters are adjusted so that significantly more modes are created. Resulting trajectories for dataset 1, when parameters are adjusted so that significantly more modes are created. The orange stars marks all modes of all landmark created by the EM method, and the blue triangles marks all landmarks created by the MCTS method. These trajectories are created with a delta displacement of 1.0 m.

8.3. Computational cost
Average Execution Times for the experiments in section 8.2. The Times are given in Seconds and frames per second (FPS) for the Different Datasets (DS). The Right-most Columns are From the experiments in section 8.2.4 on Dataset 1 Where Significantly more Modes are Created.
Worth noting in this comparison is that no specific effort has been put into optimizing the code since the focus of this experiment is on validation of the capabilities of the proposed methods. Although there are implementation aspects that could be considered. For example, a sliding window can be introduced in the mode selection phase. Executing with a sliding window of 40 s will reduce the average execution time of MCTS on dataset 2 from 608.8 s to 124.3 s, without any major loss in accuracy. Of course, reducing the size of the sliding window will eventually impact the accuracy and this trade-off has to be considered in accordance with the specific dataset and application requirements. To further optimize for speed, the roll-outs in the MCTS algorithm could be executed in parallel, which is not done in the current implementation. For all methods, the lion’s share of the execution time is for the small delta displacements. When a landmark movement is clearly detected, the re-linearization only executes once, and hence does not add much computational cost.
9. Conclusions
When aiming for long-term autonomy of mobile robots, changes in the environment are inevitable. Changes might cause erroneous data associations or false loop-closures that can have severe negative effects on the performance of a localization system. This paper have presented a system where a multi-hypothesis feature based map representation, capable of modeling discrete changes in landmark positions, is incorporated into a graph-based SLAM formulation to allow for continuous map updates during operation. A selector-mixture distribution have been proposed where a single component of a Gaussian mixture is selected for each time step, according to a selection criterion. By modeling the hypotheses of possible landmark positions as components in such a selector-mixture distribution, the simplicity of optimizing over a single Gaussian is preserved.
The selection criterion, given by the factor representation of the SLAM problem, consists of selecting a discrete mode of a landmark position in each time instance. This results in a factor graph with mixed discrete and continuous variables. An iterative optimization procedure have been suggested where the discrete variables are first estimated with the MCTS algorithm followed by a nonlinear least squares optimization on the continuous ones. Using MCTS for hypothesis selection reduces the risk of getting stuck in a local minimum. Experiments on both simulated and real data have shown that a non-static environment can successfully be navigated with the proposed method.
For these kinds of SLAM systems, real time execution is desirable. More effort needs to be put into optimizing and investigating the computational scalability. Also, the experiments in this paper utilize the assumption that all landmarks are uniquely identifiable. To increase applicability, it will be further investigated how the presented methods can be extended to allow for uncertainty in the landmark identities.
Footnotes
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was partially supported by the Wallenberg AI, Autonomous Systems and Software Program (WASP) funded by the Knut and Alice Wallenberg Foundation.
