Introduction
Object localization is a fundamental task in robotics, requiring the estimation of an agent's state from noisy sensor observations and motion commands. While traditional non-parametric methods like Particle Filters (PF) offer robustness in non-Gaussian environments, they often suffer from high computational costs as the number of particles increases. Recent efforts to integrate PFs with Deep Learning, such as the Particle Filter Recurrent Neural Network (PFRNN), have shown promise but face significant scalability issues. Specifically, reliance on Convolutional Neural Networks (CNNs) to encode environment maps leads to a parameter explosion as the workspace grows. This paper presents mePFRNN (Memory-Efficient PFRNN), a hybrid architecture designed to maintain a constant parameter footprint while improving localization accuracy in complex, symmetric environments.
The mePFRNN Architecture
The primary innovation of mePFRNN is its voxel-independent encoding. Unlike its predecessors that use CNNs to process explicit 2D maps, mePFRNN treats environmental constraints implicitly. By embedding motion and measurement vectors into a high-dimensional latent space using linear layers and non-linear activations, the model decouples its parameter count from the physical dimensions of the environment.
As shown in the cell diagram, the architecture incorporates a reparameterization trick and batch normalization within the recurrent loop. This structure allows the network to learn the "map" implicitly through its weights during training on specific trajectories, rather than requiring an external map input at inference time. This approach ensures that the model maintains exactly 28,802 parameters regardless of the environment's scale.
Training Innovations: Soft Resampling and Heading Loss
To ensure the end-to-end differentiability of the particle filter logic, the researchers implemented a Soft Resampling procedure. Standard stochastic resampling introduces non-differentiable operations that lead to "dead gradients," hindering backpropagation. Soft resampling approximates this process, allowing the model to learn how to effectively weight and redistribute particles through standard gradient descent.
Furthermore, the authors addressed the limitations of standard Mean Squared Error (MSE) for angular data. Because $0$ and $2\pi$ represent the same heading but are numerically distant, a custom Heading Loss was developed. By comparing the sines and cosines of the predicted and ground-truth headings, the loss function correctly accounts for the circular geometry of the state space, preventing the model from being penalized for wrap-around errors.
Experimental Evaluation
The model was rigorously tested across several synthetic 2D environments, including a complex Labyrinth and various symmetric grid worlds (10x10, 18x18, and 27x27). Symmetric environments are particularly challenging for localization because multiple distinct locations produce identical sensor readings, often causing filters to converge on incorrect hypotheses.
The researchers generated extensive datasets for each environment, comprising 8,000 training trajectories and 10,000 test trajectories to ensure statistical significance. The 27x27 symmetric world served as the "final boss" for testing, as it maximizes the potential for sensor ambiguity.
Key Results and Performance
The experimental results demonstrate that mePFRNN significantly outperforms both classical Particle Filters and the baseline PFRNN. In the largest 27x27 symmetric world, mePFRNN achieved a coordinate MSE ($MSE_c$) of 61.94, compared to 68.28 for PFRNN and 181.75 for standard PFs.
Beyond accuracy, the efficiency gains are substantial. While the baseline PFRNN's memory requirements grew to 7.1 Mb for the 27x27 world, mePFRNN maintained a constant size of 0.46 Mb (approximately 1/16th the memory). Furthermore, the model maintains a fast inference time of approximately 1.0 ms per step, making it highly suitable for real-time robotics applications where computational resources are limited.
Conclusion and Future Work
mePFRNN represents a significant step toward scalable, robust neural localization. By moving away from explicit map encoding and adopting differentiable resampling, the model achieves superior performance with a fraction of the memory. While currently limited to simulated 2D environments, future research will focus on extending this approach to dynamic 3D environments and exploring the integration of memory-efficient Transformer architectures to further enhance sequence modeling capabilities.
Summary updated