TL;DR
Autonomous machines need robust and efficient localization, but no single algorithm works for all environments. This paper introduces EUDOXUS, a unified software-hardware framework that adapts to diverse scenarios by fusing core localization primitives. EUDOXUS achieves significant speedups and energy reductions by co-designing a flexible hardware accelerator that targets common computational bottlenecks.
What Problem Does This Paper Address?
Developing autonomous machines like self-driving cars and logistic robots presents a critical challenge: accurate and efficient localization. This means precisely determining the machine's position and orientation within its environment. Current localization systems often rely on specialized algorithms, each suited for specific conditions (e.g., Visual-Inertial Odometry for outdoor environments with GPS, Simultaneous Localization and Mapping for unknown indoor spaces). However, real-world deployments require machines to navigate a variety of environments, from mapped indoor warehouses to unmapped outdoor areas. Simply combining multiple specialized algorithms leads to complex software stacks, increased costs, and higher power consumption. The paper addresses the need for a flexible, unified localization framework that can adapt to these diverse scenarios while being amenable to hardware acceleration.
Methods
The core of EUDOXUS is a unified localization framework that fuses three primitive localization algorithms: Registration, Visual-Inertial Odometry (VIO), and Simultaneous Localization and Mapping (SLAM). This framework is designed with a decoupled architecture, featuring a shared vision frontend (responsible for feature extraction, spatial, and temporal matching) and a backend optimization phase that dynamically activates one of the three modes based on the operating environment.
The novelty lies in:
- Algorithmic Primitives Fusion: Instead of separate algorithms, EUDOXUS identifies and shares common building blocks across Registration, VIO, and SLAM, reducing redundancy.
- Software-Hardware Co-design: The paper characterizes the software framework to identify critical kernels contributing to latency and latency variation. This characterization guides the design of a flexible hardware accelerator.
- Frontend Acceleration: The vision frontend, which is always active, is accelerated by exploiting task-level parallelisms (e.g., processing left and right camera streams concurrently) and by designing specialized on-chip memory structures (Stencil Buffers, FIFOs, Scratchpad Memory) to capture data locality and reduce DRAM access.
- Backend Acceleration: The backend, which exhibits high latency variation, is accelerated by a unified architecture that supports common matrix operations (multiplication, decomposition, inverse, etc.) used across the different backend kernels.
- Runtime Scheduler: A lightweight scheduler is employed to intelligently offload backend kernels to the accelerator only when it provides a net latency benefit, considering data transfer overheads.
Datasets
The paper utilizes a combination of datasets for evaluation:
- KITTI Odometry dataset [38]: Primarily used for outdoor scenarios.
- EuRoC dataset [20]: Primarily used for indoor scenarios, particularly for drone evaluations.
- In-house dataset: Collected by the authors to cover a broader range of real-world environments, including indoor scenes without maps, indoor scenes with maps, and outdoor scenes. This dataset is crucial for demonstrating the adaptability of EUDOXUS across the four identified operating scenarios.
Key Insights and Ideas
- "One Algorithm Does Not Fit All": The paper rigorously demonstrates through empirical data that different operating environments (defined by map availability and GPS signal) necessitate different localization algorithms for optimal accuracy and performance. This strongly motivates the need for adaptive systems.
- Frontend Bottleneck: The vision frontend, despite being shared, consistently contributes a significant portion (55-83%) of the total end-to-end latency across all operating modes. This makes it a prime candidate for acceleration, yielding universal performance improvements.
- Latency Variation is Critical: Beyond average latency, latency variation is crucial for the safety and predictability of autonomous machines. The paper highlights that backend operations, particularly marginalization in SLAM and Kalman gain computation in VIO, are significant contributors to this variation.
- Common Building Blocks: The key insight for the backend is that the computationally intensive kernels responsible for latency and variation share fundamental matrix operations. This allows for a unified hardware architecture that can efficiently accelerate all three backend modes.
- Strategic Offloading: Not all backend computations benefit from hardware acceleration due to transfer overheads. A smart runtime scheduler is essential to maximize speedup by only offloading when beneficial.
Key Results
EUDOXUS demonstrates significant improvements over baseline implementations on general-purpose platforms:
- Speedup: Achieves approximately 2x speedup overall for self-driving cars (EDX-CAR) and 1.9x speedup for drones (EDX-DRONE). Specific mode speedups range from 1.8x to 2.5x.
- Latency Variation Reduction: Reduces standard deviation (SD) of latency by 58.4% for EDX-CAR and 42.7% for EDX-DRONE.
- Energy Reduction: Achieves 47% to 74% energy reduction per frame. EDX-CAR shows a 73.7% reduction, while EDX-DRONE shows a 47.4% reduction.
- Throughput: Increases throughput to 17.2 FPS (or 31.9 FPS with frontend/backend pipelining) for EDX-CAR, and 22.4 FPS for EDX-DRONE.
- Resource Efficiency: The unified architecture significantly reduces hypothetical resource consumption compared to stacking individual accelerators, demonstrating over 2x resource savings.
Limitations and Future Work
- Limitations:
- The paper acknowledges that while EUDOXUS achieves good performance, its speedup might be lower than highly specialized ASIC accelerators for specific algorithms.
- The comparison with GPU and DSP implementations is limited due to space constraints and the lack of widely-used GPU implementations for end-to-end SLAM/VIO systems.
- The EDX-DRONE's energy saving is lower than EDX-CAR because the FPGA's static power is more prominent on the smaller drone platform.
- Future Work:
- The authors suggest that the "one algorithm does not fit all" observation likely applies to other autonomous machine tasks like planning and control, opening avenues for future software-hardware co-design.
- They envision EUDOXUS as a foundation for promoting open software stacks and hardware platforms for autonomous machines.
- Further exploration of optimizing the runtime scheduler and exploring more advanced FPGA platforms for even higher performance are implied.
Summary updated