EMPNet: Neural Localisation and Mapping using Embedded Memory Points

  • 2019-07-31 01:04:13
  • Gil Avraham, Yan Zuo, Thanuja Dharmasiri, Tom Drummond
  • 15

Abstract

Continuously estimating an agent's state space and a representation of itssurroundings has proven vital towards full autonomy. A shared common groundamong systems which successfully achieve this feat is the integration ofpreviously encountered observations into the current state being estimated.This necessitates the use of a memory module for incorporating previouslyvisited states whilst simultaneously offering an internal representation of theobserved environment. In this work we develop a memory module which containsrigidly aligned point-embeddings that represent a coherent scene structureacquired from an RGB-D sequence of observations. The point-embeddings areextracted using modern convolutional neural network architectures, andalignment is performed by computing a dense correspondence matrix between a newobservation and the current embeddings residing in the memory module. The wholeframework is end-to-end trainable, resulting in a recurrent joint optimisationof the point-embeddings contained in the memory. This process amplifies theshared information across states, providing increased robustness and accuracy.We show significant improvement of our method across a set of experimentsperformed on the synthetic VIZDoom environment and a real world Active VisionDataset.

 

Quick Read (beta)

EMPNet: Neural Localisation and Mapping using Embedded Memory Points

Gil Avraham    Yan Zuo    Thanuja Dharmasiri    Tom Drummond
ARC Centre of Excellence for Robotic Vision, Monash University, Australia
{gil.avraham, yan.zuo, thanuja.dharmasiri, tom.drummond}@monash.edu
Abstract

Continuously estimating an agent’s state space and a representation of its surroundings has proven vital towards full autonomy. A shared common ground among systems which successfully achieve this feat is the integration of previously encountered observations into the current state being estimated. This necessitates the use of a memory module for incorporating previously visited states whilst simultaneously offering an internal representation of the observed environment. In this work we develop a memory module which contains rigidly aligned point-embeddings that represent a coherent scene structure acquired from an RGB-D sequence of observations. The point-embeddings are extracted using modern convolutional neural network architectures, and alignment is performed by computing a dense correspondence matrix between a new observation and the current embeddings residing in the memory module. The whole framework is end-to-end trainable, resulting in a recurrent joint optimisation of the point-embeddings contained in the memory. This process amplifies the shared information across states, providing increased robustness and accuracy. We show significant improvement of our method across a set of experiments performed on the synthetic VIZDoom environment and a real world Active Vision Dataset.

\captionof

figureEMP-Net maintains an internal representation which corresponds to a real world environment. This internal spatial memory is continuously updated through a dense matching algorithm, allowing an autonomous agent to localise and model the world through sequences of observations.

1 Introduction

In recent times, there has been a large surge in interest towards developing agents which are fully autonomous. A core aspect of full autonomy lies in the spatial awareness of an agent about its surrounding environment [9]; this understanding would enable the extension towards other useful applications including navigation [10] as well as human-robot interaction [7]. Although performance in image understanding challenges such as segmentation [26, 16, 4], depth estimation [12, 40, 37], video prediction [27, 43], object classification [25, 36, 18] and detection [13, 34] has seen vast improvement with the aid of deep learning, this level of success has yet to translate towards the intersection between spatial awareness and scene understanding. Currently, this is an active area of research [19, 14, 33], with the vision community realising its potential towards merging intelligent agents seamlessly and safely into real world environments.

Fundamentally, an autonomous agent is required to maintain an internal representation of the observed scene structure that may be accessed for performing tasks such as navigation, planning, object interaction and manipulation [14]. Traditional SLAM methods [9, 29] maintain an internal representation via keyframes, stored in a graph-like structure which provides an efficient approach for large-scale navigation tasks. Although, in order to distil the local structural information of a scene, dense representations [31] are often better suited for the given task. Incidentally, this dense representation is also more applicable for modern deep learning approaches.

Given this, we identify an important relationship between the representation of a scene structure and the geometric formulation of the problem. Nowadays, the increased popularity of cameras with depth sensors mounted on robotic platforms means that RGB-D information of the scene is readily available. For an agent navigating an environment whilst simultaneously collecting colour and depth information, a natural representation is a 3D point entity which can capture the spatial neighbourhood information of its surroundings. The alignment of such representations has been heavily explored in the literature [38].

In this work, we reformulate the task of finding 3D point correspondences as a cross-entropy optimisation problem. By having access to depth sensory and the agent’s pose information in the data collection stage, a ground-truth correspondence matrix can be constructed between two consecutive frames such that 3D points which match are assigned a probability of ‘1’, and non-matches assigned a ‘0’. Using a Convolutional Neural Network (CNN), we extract feature embeddings from an acquired observation, which are then assigned to projected depth points. Collectively, we refer to these embedding-coordinate pairs as point-embeddings. This allows for end-to-end optimisation on the correspondences between closest point-embeddings (Fig. EMPNet: Neural Localisation and Mapping using Embedded Memory Points).

By iteratively repeating this process, extracted point embeddings stored from previously seen observations are jointly optimised within a processed sequence of frames, forming a recurrent memory mechanism. The point-embeddings along with their 3D location are stored within a memory component which we refer to as the Short-term Spatial Memory Module (SSMM). Through continuously inferring a correspondence matrix between point-embeddings in the SSMM and newly extracted point-embeddings, we obtain the relative pose between the incoming frame and a local coordinate frame of the SSMM. The result is a SSMM which contains point-embeddings which are structurally aligned to their original structure in the real world.

We evaluate our method on two datasets: a synthetic environment from the Doom video-game, and a real environment captured from a robotic platform from the Active Vision Dataset. In both datasets, we show that our method significantly outperforms baselines on localisation tasks.

The rest of this paper is organised as follows: in Section 2, we give a brief review of related work. In Section 3, we provide details of our proposed method. In Section 4, we show experimental results and discuss possible extensions to our method in Section 5.

2 Related Work

The related literature to our work can be organised into three categories.

Frame-based

Prior to the introduction of memory based models for localisation and mapping tasks, frame-by-frame methods [23, 8] and more recently [11, 28], explored the exploitation of geometric constraints for reducing the search space when optimising Convolutional Neural Networks (CNN). The pioneering work of [23] applied direct pose regression for inferring the relative pose between two views. The work by [8] enhanced the information provided to the regression network by including the optical flow between two consecutive frames. A natural extension was explored by [11] which simultaneously estimated a depth map along with a latent optical flow constraint for regressing the pose between consecutive frames. CodeSLAM [3] optimises an encoder-decoder setup to efficiently represent depth frames as latent codes. These latent codes are optimised so that pose information can be used to transform one latent code to another. Most recently, [28] combined a photometric loss with depth estimation and additionally used the inferred depth for minimising the residual error of 3D iterative closest point [15] loss. In our work, we similarly minimise a closest point loss, though we minimise the direct closest point errors between an internally modelled environment and an incoming observation.

Sequence-based

The importance of maintaining an internal representation of previously seen observations was initially explored in DeepVO [39] and VINet [6]. Both works process sequential information by extracting features using a CNN, which are inputted to an LSTM [20] for fusing past observations while regressing the relative pose between two consecutive frames. DeepTAM [42] reformulated the Dense Tracking and Mapping (DTAM) approach of [31] as a learning problem. Similar to DeepVO, DeepTAM regresses the pose directly and in addition, estimates an expensive cost volume for mapping the environment. An elegant extension to the above approaches by [5] exploits bidirectional LSTMs for obtaining temporally smooth pose estimates (however this bidirectional property introduces an inference lag). Similarly, we maintain a consistent spatial temporal representation of the environment, although our short-term memory recall is more verbose and engineered to have more explicit meaning of localising against previously seen observations.

Figure 1: The proposed architecture of EMP-Net. Incoming observations are processed to extract point-embeddings and localise against a short-term memory module. The memory module is updated with the new set of point-embeddings after aligning them to the memory’s coordinate frame using the inferred pose.

Map-based

Incorporating a more explicit map representation of an agents previously visited states was explored by Reinforcement Learning based approaches [41, 33, 14] where optimising towards a goal which forces an agent to model the environment was found beneficial. Both Neural SLAM [41] and Neural Map [33] have a fixed latent map size, with a 2D top-down map representation. However, both of these works only assess their models on synthetic mazes and toy tasks. [14] extended upon this with the introduction the Cognitive Mapper and Planner (CMP). CMP integrated navigation into the pipeline and also changed the global map representation to an egocentric latent map representation. [19] focused on extending the mapping aspect of [14] through the introduction of MapNet, which learns a ground-projection allocentric latent map of the explored environment. MapNet performs a brute-force localisation process at every time step; by doing so, temporal information is lost and irrelevant areas in the map are considered as viable localisation options. In contrast, our work uses this temporal information as a prior for localisation and updating the internal map.

3 Embedded Memory Points Network

In Fig. 1, a illustrative overview of our system is shown and a brief descriptive summary of our method is provided in the next subsection. Following this, we describe in more detail each core step of our framework. For the remainder of the paper, we use non-bold subscripts to represent matrices or scalars (depending on the context, i.e. R), bold subscripts to represent vectors (i.e. 𝒒) and indexing into both is done using brackets (i.e. A[i,j] or 𝒒[i]). Additionally, we refer to the central memory unit of our system, the Short-term Spatial Memory Module (SSMM), as two components, denoted as f and c which indicates the respective stored embeddings and their corresponding 3D points in the SSMM.

3.1 System Overview

An incoming RGB-D observation at time t, xth×w×4 of height h and width w, is processed by a CNN (Section 3.2) to produce the embeddings ht,fNr×n. Each embedding’s corresponding locations in egocentric camera coordinates ht,cNr×3 is obtained through projecting the depth information using the camera intrinsic matrix K. ht,f and ht,c represent the collectively generated point-embeddings. Nr is the number point-embeddings generated and n indicates the number of embedding channels.

Computing pairwise distances between embeddings ht,f and t-1,fNrb×n, produces the distance map 𝒟t,fNrb×Nr (Section 3.3); with b denoting the buffer size of . The distance map 𝒟t,f is converted into a Confidence Map t,fNrb×Nr by applying a column-wise softmax operation and obtains the weight vector 𝝎tNr. This allows the system to optimise for the relative pose Tt𝕊𝔼(3), between the downsampled point cloud ht,c and their corresponding matches in t,cNrb×3 in a weighted least squares formulation (Section 3.4).

Finally, an update step is performed by populating t-1,f with ht,f and transforming the downsampled point cloud ht,c in egocentric coordinate frame to t-1,c’s coordinate frame by applying the estimated pose Tt on ht,c and populating t-1,cNrb×3, resulting in an updated t,f and t,c. For the rest of the paper, for reducing clutter the time subscript t will be omitted unless specified otherwise.

3.2 Extracting Point Embeddings

To extract point-embeddings from observations, we use a CNN architecture which receives an RGB-D input xh×w×4 and produces a tensor xh×w×n where h<h,w<w, and n is the channel length of each embedding. At this stage, we need to associate an embedding in 𝐱[i,j,.] with the 3D point it represents. This is accomplished in the following manner: first, the given depth map Dh×w is resized to Dh×w such that it matches the spatial dimensions of x. In this case, a traditional bilinear downsampling approach was found to be sufficient. Next, we compute the 3D location of each entry in D[i,j] in egocentric camera coordinates using the known camera intrinsic matrix K and the downsampled depth map D as shown below:

Pc[i,j,k]=D[i,j]K-1[i,j,1] (1)

where Pch×w×3. An entry in Pc[i,j,k] is a 3D point in an egocentric camera coordinate frame corresponding to the depth map entry D[i,j]. Rearranging xh×w×n to hfNr×n with Nr=hw and similarly Pc to hcNr×3 yields two initial inputs to the next component, which localises both hf, hc against f,c that contains previously stored embeddings and 3D points in c’s coordinate frame.

3.3 Short-term Spatial Memory Localisation

We require the output of the CNN, hf, to endow the framework with embeddings that can coherently match another set of point embeddings contained in f. For this, we develop a loss function stemming from the ICP algorithm [2]. Finding the relative pose between two sets of point clouds requires finding the matching correspondences between them. Typically, two key difficulties emerge from this task: points not having any correspondences (due to partial overlaps), and points having correspondences which have more certainty than others. Here, we formulate the optimisation problem to address both issues using a unified weighting approach.

Figure 2: The confidence matrix is constructed by densely computing a distance between embedded points of a current observation and the stored embedded memory points in the Short-term Spatial Memory Module. A darker colour indicates a higher confidence value in the confidence matrix.

For an incoming observation x, we extract point-embeddings hf in the manner described in Section 3.2. We define the following operation as taking pairwise distances between the embeddings f and hf:

𝒟f[i,j]=dϕ(𝓜f[i,.],𝒉f[j,.]) (2)

Where 𝓜f[i,.],𝒉f[j,.]n are embedding row vectors, 𝒟fNrb×Nr is the pairwise distances matrix for the embeddings and dϕ is a distance metric on the embedding space. Reformulating 𝒟f by applying the softmax operation yields:

f[i,j]=e-𝒟f[i,j]i=1Nrbe-𝒟f[i,j] (3)

Where fNrb×Nr is the confidence matrix between embeddings in f and hf. Note that a single column vector f[.,j] is a confidence vector between the point 𝒉c[j,.] and the entire set of points in c (Fig. 2 illustrates this operation).

For optimising the confidence matrix f towards a ground-truth confidence matrix gt, we define our loss function as the cross-entropy loss:

lossc=-1Nrj=1Nri=1Nrbgt[i,j]logf[i,j] (4)

The ground-truth confidence matrix gtNrb×Nr is computed using a procedure similar to the one outlined above; more explicitly, we define gtNrb×3 to be a sequence of point clouds, aligned using the ground-truth poses to a shared coordinate frame. For an incoming ground-truth aligned point cloud hgt=Tgthc at time t which follows point sequences stored in gt, the ground-truth pairwise distances are computed as follows:

𝒟gt[i,j]=𝓜gt[i,.]-𝒉gt[j,.]2 (5)

Where 𝓜gt[i,.],𝒉gt[j,.]3 are row vectors. A property of 𝒟gt is that points which are close enough will have a small distance value whilst points which do not have a match (i.e. are in a non-overlapping region) will have a large distance. This can be exploited in a way which will amplify both matching and non-matching cases, where a probability ‘1’ is assigned to matches and a ‘0’ to non-matches. Similar to Eq. 3, we reformulate matrix 𝒟gt:

gt[i,j]=e-τ𝒟gt[i,j]i=1Nrbe-τ𝒟gt[i,j] (6)

The temperature coefficient τ controls the amplification of distance correspondences and is a hyper-parameter. Finally, we note the operations discussed in this section are naturally parallelised and can be computed efficiently using modern GPU architectures.

3.4 Best-fitting of Weighted Correspondences

In the previous sections, we formulated a loss which optimises the embeddings hf to follow the 3D closest point criteria. This allows for the recovery of a matrix f, which contains confidence values between a point in hc and c. These confidence values represent weights that can be used for applying a weighted best-fit algorithm. The weights are obtained as follows:

ω[j]=maxif[i,j] (7)

and respectively, the point index in c corresponding to point hc[j,.]:

c[j]=argmaxif[i,j] (8)

Where 𝒄Nr is the indexing vector for aligning the correspondences in c to those in hc. The weights in vector 𝝎Nr are the respective confidences for those matches. Computing the relative-pose between the point cloud hc in egocentric coordinates and the points in c, with its respective coordinate frame, can be estimated using a weighted best-fit approach.

Weighted Best-fitting

Given two sets of point clouds pM×3, their correspondences qM×3 and weight vector 𝝎M. The rigid-transform can be computed in a closed form and is optimal in a weighted least-squares sense (proof in [15]). Formally, we solve:

R,𝐭=argminRSO(3),𝐭3=1Mω[]𝐪[,.]-(R𝐩[,.]-𝐭)2 (9)

For obtaining R,𝐭 we initially compute:

𝐩¯==1Mω[]𝐩[,.]=1Mω[],𝐪¯==1Mω[]𝐪[,.]=1Mω[] (10)

With 𝐩¯,𝐪¯3 being the weighted average centroids of p,q respectively. By subtracting each weighted centroid from its respective point cloud we get:

𝐩^[,.]=𝐩[,.]-𝐩¯,𝐪^[,.]=𝐪[,.]-𝐪¯ (11)

Finally, by defining Ω=diag(ω) and applying SVD decomposition such that: UΣV=p^Ωq^ , the rotation matrix R is computed as:

R=Vdiag(1,1,det(VU))U (12)

and the translation vector 𝐭:

𝐭=𝐪¯-R𝐩¯ (13)

By performing the weighted best-fit procedure outlined above, we obtain the relative pose T between hc in egocentric coordinate frame and c in its respective coordinate frame. In the last step of our framework, hc is transformed using the estimated pose yielding hc=Thc, where populating c with hc and f with hf need not be in a particular order, as both are unstructured.

A straight-forward extension to this approach is imposing pose regularisation on the loss developed in Section 3.3. This is achieved through projecting c onto the confidence matrix f:

¯c=fc (14)

with ¯cNr×3 being the correspondences of hc. The best-fit approach (without weights 𝝎) from Eq. 9 is applied to obtain the rotation matrix R and translation vector 𝐭. This alternative formulation also makes our method fully differentiable. Finally, we modify the loss given in Eq. 4 by adding two regularisation terms:

Loss=lossc+λRlossR+λtlosst (15)

both lossR and losst are formulated as in [23]. In summary, both approaches formulated differ by how the confidence matrix f is used to compute the pose (Eq. 4 and Eq. 15).

4 Experiments

To compare our models qualitatively and quantitatively, we perform experiments on two challenging benchmarks: a synthetic environment (VIZDoom [22]) and a real world indoor environment (Active Vision Dataset [1]). We evaluate two variants of our model: EMP-Net which optimises Eq. 4 and EMP-Net-Pose which optimises Eq. 15. For the Doom dataset, we compared our framework against DeepVO [39] and MapNet [19], both which maintain an internal representation of previously seen observations. Additionally, we compared our models against a recent state-of-the-art frame-to-frame approach ENG [11]. For the AVD dataset, we also compare with a mature classic SLAM baseline, an RGB-D implementation of ORB-SLAM2 [29].

Network Architecture

For extracting feature embeddings, we employ a U-Net architecture [35]. We initialised our network weights using the initialisation scheme detailed in [17]. The U-Net uses an encoder-decoder setup where the encoder consists of three encoder blocks separated by max pooling layers and the decoder consists of two decoder blocks. Each block in the encoder consists of two sequences of convolution layers comprising of 3×3 filters, followed by Batch Normalisation [21] and ReLU Activation [30]. Each block in the decoder consists of a transposed convolution layer followed by Batch Normalisation [21], ReLU Activation [30] followed by a convolution layer. The transposed convolution layer upsamples the input using a stride 2 deconvolution, the output of which is concatenated to its matching output from the encoder block.

Training Settings

For both synthetic and real experiments, our EMP-Net model is trained with a batch size of 16, where every instance within a batch is a sequence of 5 consecutive frames resized to 120×160. The RGB and depth data were scaled to between [0,1]. The buffer size of the SSMM is b=4 and the number of extracted point-embeddings is Nr=4800. The temperature parameter was tested with values between τ=[103,106], where we found the model to be fairly invariant to this value. In all of the experiments shown τ=105. The embedding distance function is defined as the L2 distance, dϕ=a-b2. λt=0.02 and λR=5 are chosen to maintain the same ratio as in [23]. We use the ADAM optimiser [24], using the default first and second moment terms of 0.9 and 0.999 values respectively. We use a learning rate of 10-3 and train for 10 epochs.

Error Metrics

Across both datasets, we quantitatively benchmark against baselines using two error metrics. We measure the Average Position Error (APE), which denotes the average Euclidean distance between predicted position of the agent and a corresponding ground-truth position. Additionally, we inspect the Average Trajectory Error (ATE) which describes the minimum RMS error in position between a translated and rotated predicted trajectory w.r.t a ground-truth trajectory. Thus, for longer sequences the APE will naturally be worse as it does not correct for drifts occurring over time. Similar to [19], we measure both short-term APE over 5 observation frames (APE-5) as well as long term APE (APE-50) and ATE (ATE-50) over 50 observation frames.

4.1 Synthetic 3D Data

We used VIZDoom to record human players performing 4 speed-runs of the game with in-game sprites and enemies turned off. Despite VIZDoom being a synthetic environment it provides rich and complex visual scenarios that emulate the difficulties encountered in real world settings. The captured recordings include RGB-D and camera pose data, which correspond to 120k sequences. Training sequences are composed of 5 frames, sampled every second frame of recorded video. For testing, we randomly select sequences of 50 consecutive frames and remove those from the training set construction.

Figure 3: Average Positional Error (APE) over different sequence lengths (5-50 frames) on the Doom dataset
\theadDoom data [22] \theadAPE-5 \theadAPE-50 \theadATE-50
DeepVO [39] 19.56 277.4 111
MapNet [19] 21.98 206.6 76
ENG [11] 23.71 225.9 105
EMP-Net (Ours) 10.10 168.3 68
EMP-Net-Pose (Ours) 10.45 160.9 59
Table 1: Average Position Error (APE) and Absolute Trajectory Error (ATE) on VIZDoom dataset.

Quantitative Results

We measure APE across the test sequences on all the above mentioned models (Fig. 3). Increasing the sequence length beyond a sequence length of 5 examines its ability to generalise beyond the length of the training sequences. Both DeepVO[39] and ENG[11] lack an internal map representation to localise against and similarly both methods suffer from a larger accumulated drift towards the end of the sequence. MapNet[19] fairs better, although suffers from inaccuracies due to cell quantisation and false pose modalities which appear over longer periods of time. We note that both our non-regularised and regularised methods (EMP-Net and EMP-Net-Pose) significantly outperform the compared baselines across all sequence lengths. The two variants are similar in their performance, with a marginal improvement that is gained by the additional pose regularisation. This minor improvement is explained from the nature of the data. VIZDoom provides noiseless depth and pose information which correspond perfectly to each other, as both are obtained directly from the game engine. In other words, the provided ground-truth labels for regressing the confidence matrix contain all the necessary information regarding the pose. In Table 1, we show the APE across observation sequences of 5 frames and 50 frames, as well as the ATE across a 50 observation sequence.

(a)
(b)
Figure 4: Qualitative results of Section 4.2. (a): Observations corresponding to the embedded memory points stored in EMP-Net’s memory module. (b): Incoming observations which are processed and localised against the stored embedded memory. For distinguishable landmarks (i.e. stairs and corridor entrance) confidence values are higher. In later frames, areas that are not visible in the past observations are correctly receiving near zero confidence.

4.2 Confidence Matrix Interpretation

In this section, we provide additional insight about the inferred confidence matrix in EMP-Net. We run an experiment which allows the system to process test sequences and store point-embeddings up to the size of the buffer (i.e four observation frames). Beyond this point, we discontinue storing point embeddings but continue to process the sequence by localising against the existing embeddings within the SSMM. This allows for simulation of large camera motions and assesses the robustness of the estimated confidence matrix across increasingly larger camera motions. The top figure in Fig. 5 shows the APE of EMP-Net as the camera baseline grows. For reference, we plot the APE for a standard ICP [15] point-to-point implementation. Note that while the APE value increases as we shift further away from the baseline, EMP-Net is demonstrably more robust to larger shifts in the camera baseline. The reduced performance on APE correlates with lower confidence of the system as evidenced by the bottom figure in Fig. 5.

In Fig. (b)b, we show confidence heat maps along with their corresponding observation frames computed against a fixed memory from observations in Fig. (a)a. These confidence heat maps are obtained by reshaping the confidence weight vector 𝝎 to the size of the downsampled observation frame (60×80). Note that higher confidence is assigned towards landmarks with distinguishable features (e.g. stairs, corridor entrance, etc.), whilst lower confidence is assigned to low texture landmarks (e.g. walls and floor). For frames with little overlap, the system assigns high confidence to landmarks that it is able to locate in its memory buffer (i.e. visible in “fixed memory” frames). At times, these confidences may be overestimated due to a lack of better correspondences from its memory.

Figure 5: Top: APE measured over increasing camera baselines on the Doom dataset. For reference we compare to traditional ICP algorithm[15]. Bottom: Percentage of low confidence matches over increasing baselines. In this case, low confidence indicates a confidence of less than 0.05. As the baseline increases, the agent becomes increasingly less confident.
Figure 6: Inspecting the point embedding values provides insight of the underlying operation of EMP-Net. Left: The ground-truth alignment of a sequence of 5 frames. Right: The corresponding downsampled point cloud in the SSMM. The colors define cluster centers of the embeddings. We observe a mixture of spatial and semantic segmentation that is learned without explicit supervision.

4.3 Real World Data

For our real world data experiments, we use the Active Vision Dataset (AVD) [1]. This dataset consists of RGB-D images across 19 indoor scenes. Images are captured by a robotic platform which traverses a 2D grid with translation steps size of 30cm and 30° in rotation. For generating robot navigation trajectories, the captured images can be arbitrarily combined. Similar to [19], for training, we sampled 200,000 random trajectories, each consisting of 5 frames, where the trajectory was chosen using the shortest path between 2 randomly selected locations from 18 out of the 19 provided scenes. For testing, we sampled 50 random trajectories, each consisting of 50 frames, where the trajectory was chosen from the unseen test scene.

Quantitative and Qualitative Results

We measure APE across the test sequences and show results in Fig. 7. Once again, we increase the sequence length for testing to sequences beyond 5 observation frames to evaluate the ability to generalise beyond training sequence length. Both the non-regularised and regularised methods of EMP-Net significantly outperform the compared baselines across all sequence lengths. In this case, unlike the VIZDoom environment, the use of real world data is accompanied with noisy sensory measurements. Consequently, EMP-Net-Pose is observably more robust than its non-regularised version. In Table 2, we show the APE across observation sequences of 5 frames and 50 frames, as well as the ATE across a 50 observation sequence for the test AVD dataset.
In Fig. 6 we provide additional insight on interpreting the information contained in the learned embeddings of EMP-Net. A snapshot of the SSMM can be seen in Fig. 6 (Right), where we show a downsampled point cloud stored in the SSMM with the inferred aligning. Each point in the SSMM has a corresponding embedding vector. The colour assigned to each point is a cluster centroid colour code that was obtained by performing a k-means clustering over the embeddings. A mixture of spatial and semantic segmentation can be observed. For reference, Fig. 6 (Left) is the ground-truth alignment of the point clouds obtained at the original resolution with their corresponding RGB values. For additional qualitative results on the AVD dataset, please refer to our supplementary video material.

Figure 7: Average Positonal Error (APE) over different sequence lengths (5-50 frames) on the Active Vision Dataset
\theadAVD data [1] \theadAPE-5 \theadAPE-50 \theadATE-50
ORB-SLAM2 (RGB-D) [29] 432 3090 794
DeepVO [39] 220.0 1690 741
MapNet [19] 312.3 1680 601
ENG [11] 234.3 1582 757
EMP-Net (Ours) 181.6 1201 381
EMP-Net-Pose (Ours) 171.8 1150 360
Table 2: Average Position Error (APE) and Absolute Trajectory Error (ATE) on the Active Vision Dataset.

5 Future Work

In future work, we look towards extending EMP-Net to larger navigation problems by addressing the linear complexity growth of computing the correspondence matrix (i.e. large buffer sizes). Extensions worth pursuing for reducing this complexity are non-dense methods for generating correspondences by using approximate nearest neighbour search like methods or formulating the vocabulary tree [32] so it can be integrated within modern deep learning frameworks.

References

  • [1] P. Ammirato, P. Poirson, E. Park, J. Košecká, and A. C. Berg. A dataset for developing and benchmarking active vision. In 2017 IEEE International Conference on Robotics and Automation (ICRA), pages 1378–1385. IEEE, 2017.
  • [2] K. S. Arun, T. S. Huang, and S. D. Blostein. Least-squares fitting of two 3-d point sets. IEEE Transactions on pattern analysis and machine intelligence, (5):698–700, 1987.
  • [3] M. Bloesch, J. Czarnowski, R. Clark, S. Leutenegger, and A. J. Davison. Codeslam—learning a compact, optimisable representation for dense visual slam. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 2560–2568, 2018.
  • [4] L.-C. Chen, G. Papandreou, I. Kokkinos, K. Murphy, and A. L. Yuille. Deeplab: Semantic image segmentation with deep convolutional nets, atrous convolution, and fully connected crfs. IEEE transactions on pattern analysis and machine intelligence, 40(4):834–848, 2018.
  • [5] R. Clark, S. Wang, A. Markham, N. Trigoni, and H. Wen. Vidloc: A deep spatio-temporal model for 6-dof video-clip relocalization. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 6856–6864, 2017.
  • [6] R. Clark, S. Wang, H. Wen, A. Markham, and N. Trigoni. Vinet: Visual-inertial odometry as a sequence-to-sequence learning problem. In Thirty-First AAAI Conference on Artificial Intelligence, 2017.
  • [7] P. I. Corke. Visual control of robot manipulators–a review. In Visual Servoing: Real-Time Control of Robot Manipulators Based on Visual Sensory Feedback, pages 1–31. World Scientific, 1993.
  • [8] G. Costante, M. Mancini, P. Valigi, and T. A. Ciarfuglia. Exploring representation learning with cnns for frame-to-frame ego-motion estimation. IEEE robotics and automation letters, 1(1):18–25, 2016.
  • [9] A. J. Davison. Real-time simultaneous localisation and mapping with a single camera. In null, page 1403. IEEE, 2003.
  • [10] A. J. Davison, I. D. Reid, N. D. Molton, and O. Stasse. Monoslam: Real-time single camera slam. IEEE Transactions on Pattern Analysis & Machine Intelligence, (6):1052–1067, 2007.
  • [11] T. Dharmasiri, A. Spek, and T. Drummond. Eng: End-to-end neural geometry for robust depth and pose estimation using cnns. arXiv preprint arXiv:1807.05705, 2018.
  • [12] D. Eigen, C. Puhrsch, and R. Fergus. Depth map prediction from a single image using a multi-scale deep network. In Advances in neural information processing systems, pages 2366–2374, 2014.
  • [13] R. Girshick. Fast r-cnn. In Proceedings of the IEEE international conference on computer vision, pages 1440–1448, 2015.
  • [14] S. Gupta, J. Davidson, S. Levine, R. Sukthankar, and J. Malik. Cognitive mapping and planning for visual navigation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 2616–2625, 2017.
  • [15] R. Hartley and A. Zisserman. Multiple view geometry in computer vision. Cambridge university press, 2003.
  • [16] K. He, G. Gkioxari, P. Dollár, and R. Girshick. Mask r-cnn. In Proceedings of the IEEE international conference on computer vision, pages 2961–2969, 2017.
  • [17] K. He, X. Zhang, S. Ren, and J. Sun. Delving deep into rectifiers: Surpassing human-level performance on imagenet classification. In Proceedings of the IEEE international conference on computer vision, pages 1026–1034, 2015.
  • [18] K. He, X. Zhang, S. Ren, and J. Sun. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 770–778, 2016.
  • [19] J. F. Henriques and A. Vedaldi. Mapnet: An allocentric spatial memory for mapping environments. In proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 8476–8484, 2018.
  • [20] S. Hochreiter and J. Schmidhuber. Long short-term memory. Neural computation, 9(8):1735–1780, 1997.
  • [21] S. Ioffe and C. Szegedy. Batch normalization: Accelerating deep network training by reducing internal covariate shift. arXiv preprint arXiv:1502.03167, 2015.
  • [22] M. Kempka, M. Wydmuch, G. Runc, J. Toczek, and W. Jaśkowski. Vizdoom: A doom-based ai research platform for visual reinforcement learning. In 2016 IEEE Conference on Computational Intelligence and Games (CIG), pages 1–8. IEEE, 2016.
  • [23] A. Kendall, M. Grimes, and R. Cipolla. Posenet: A convolutional network for real-time 6-dof camera relocalization. In Proceedings of the IEEE international conference on computer vision, pages 2938–2946, 2015.
  • [24] D. Kingma and J. Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
  • [25] A. Krizhevsky, I. Sutskever, and G. E. Hinton. Imagenet classification with deep convolutional neural networks. In Advances in neural information processing systems, pages 1097–1105, 2012.
  • [26] J. Long, E. Shelhamer, and T. Darrell. Fully convolutional networks for semantic segmentation. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 3431–3440, 2015.
  • [27] W. Lotter, G. Kreiman, and D. Cox. Deep predictive coding networks for video prediction and unsupervised learning. arXiv preprint arXiv:1605.08104, 2016.
  • [28] R. Mahjourian, M. Wicke, and A. Angelova. Unsupervised learning of depth and ego-motion from monocular video using 3d geometric constraints. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 5667–5675, 2018.
  • [29] R. Mur-Artal, J. M. M. Montiel, and J. D. Tardos. Orb-slam: a versatile and accurate monocular slam system. IEEE transactions on robotics, 31(5):1147–1163, 2015.
  • [30] V. Nair and G. E. Hinton. Rectified linear units improve restricted boltzmann machines. In Proceedings of the 27th international conference on machine learning (ICML-10), pages 807–814, 2010.
  • [31] R. A. Newcombe, S. J. Lovegrove, and A. J. Davison. Dtam: Dense tracking and mapping in real-time. In 2011 international conference on computer vision, pages 2320–2327. IEEE, 2011.
  • [32] D. Nister and H. Stewenius. Scalable recognition with a vocabulary tree. In 2006 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR’06), volume 2, pages 2161–2168. Ieee, 2006.
  • [33] E. Parisotto and R. Salakhutdinov. Neural map: Structured memory for deep reinforcement learning. arXiv preprint arXiv:1702.08360, 2017.
  • [34] S. Ren, K. He, R. Girshick, and J. Sun. Faster r-cnn: Towards real-time object detection with region proposal networks. In Advances in neural information processing systems, pages 91–99, 2015.
  • [35] O. Ronneberger, P. Fischer, and T. Brox. U-net: Convolutional networks for biomedical image segmentation. In International Conference on Medical image computing and computer-assisted intervention, pages 234–241. Springer, 2015.
  • [36] K. Simonyan and A. Zisserman. Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556, 2014.
  • [37] A. Spek, T. Dharmasiri, and T. Drummond. Cream: Condensed real-time models for depth prediction using convolutional neural networks. In 2018 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pages 540–547. IEEE, 2018.
  • [38] G. K. Tam, Z.-Q. Cheng, Y.-K. Lai, F. C. Langbein, Y. Liu, D. Marshall, R. R. Martin, X.-F. Sun, and P. L. Rosin. Registration of 3d point clouds and meshes: a survey from rigid to nonrigid. IEEE transactions on visualization and computer graphics, 19(7):1199–1217, 2013.
  • [39] S. Wang, R. Clark, H. Wen, and N. Trigoni. Deepvo: Towards end-to-end visual odometry with deep recurrent convolutional neural networks. In 2017 IEEE International Conference on Robotics and Automation (ICRA), pages 2043–2050. IEEE, 2017.
  • [40] C. S. Weerasekera, T. Dharmasiri, R. Garg, T. Drummond, and I. Reid. Just-in-time reconstruction: Inpainting sparse maps using single view depth predictors as priors. In 2018 IEEE International Conference on Robotics and Automation (ICRA), pages 1–9. IEEE, 2018.
  • [41] J. Zhang, L. Tai, J. Boedecker, W. Burgard, and M. Liu. Neural slam: Learning to explore with external memory. arXiv preprint arXiv:1706.09520, 2017.
  • [42] H. Zhou, B. Ummenhofer, and T. Brox. Deeptam: Deep tracking and mapping. In Proceedings of the European Conference on Computer Vision (ECCV), pages 822–838, 2018.
  • [43] Y. Zuo, G. Avraham, and T. Drummond. Traversing latent space using decision ferns. In Asian Conference on Computer Vision, pages 593–608. Springer, 2018.