Abstract
Despite decades of research, existing navigation systems still face real-world challenges when deployed in the wild, e.g., in cluttered home environments or in human-occupied public spaces. To address these challenges, we present Performer-MPC, a framework that bridges the gap between classical control and deep learning by embedding a linear-attention Transformer (Performer) directly into a Model Predictive Control (MPC) framework. This allows robots to learn complex navigation behaviors and social norms from expert demonstrations while maintaining the safety and constraint-handling guarantees of traditional controllers—all running in real-time on a standard CPU.
Introduction
Navigating "in the wild"—such as cluttered homes or busy offices—remains a significant hurdle for robotics. Classical Model Predictive Control (MPC) is the industry standard for safety; it looks ahead, considers the robot's physics, and avoids obstacles. However, it relies on hand-crafted "cost functions" that are difficult to tune for social norms or complex geometries. Conversely, end-to-end imitation learning can capture these nuances but often lacks safety guarantees and struggles with system constraints in new environments.
Performer-MPC seeks a "best of both worlds" approach: a controller that is learnable from data but retains the rigorous optimization structure of MPC.
Methods
Performer-MPC features three key technical innovations:
- Learnable Cost Functions: Instead of manual engineering, the system uses a neural network to generate a quadratic cost landscape based on the robot's current visual context.
- The Performer Backbone: Standard Transformers use softmax attention, which scales quadratically ($O(L^2)$) with input size. Performer-MPC utilizes Performers, which use a low-rank approximation to achieve linear-time attention ($O(L)$). This enables real-time "pixel-to-pixel" attention on a mobile robot's CPU.
- Differentiable MPC: The entire MPC solver is treated as a differentiable layer. Using implicit differentiation, the system backpropagates the error between the robot's path and an expert's path through the optimization process, ensuring the network learns costs that result in desired behaviors.
Evaluation and Results
The model was evaluated across simulated doorway traversals, real-world cluttered obstacle courses, and social navigation scenarios involving human-driven robot demonstrations.
- Reliability: In cluttered environments, Performer-MPC achieved a >40% higher success rate in reaching goals compared to standard MPC.
- Social Compliance: In social navigation tests, such as navigating blind corners, the system scored >65% better on social metrics than baselines.
- Generalization: While pure imitation learning failed 20% of the time in "unseen" social scenarios, Performer-MPC maintained high performance by leveraging the inductive bias of the MPC framework.
- Real-Time Performance: The system processed 100x100 images in roughly 8.3ms per MPC iteration on a standard CPU.
Discussion and Future Work
By embedding attention within an MPC framework, robots can focus on critical contextual features—like the edge of a blind corner—that distance-based costs ignore. The efficiency of the Performer architecture makes this viable for real-world deployment.
Future work will explore adding temporal context to better predict human trajectories and incorporating multi-modal inputs like raw RGB video or natural language instructions. While currently assuming quadratic cost functions for stability, expanding cost expressiveness remains a goal for learning even more complex behaviors.
Summary updated