Abstract
Reliable obstacle detection and tracking (ODT) are fundamental for the safety of autonomous mobile robots and self-driving vehicles. While LiDAR-based systems offer high precision, their cost and complexity often limit widespread deployment. Stereo camera-based solutions provide a cost-effective alternative but traditionally struggle with generalization across different camera configurations and high computational demands for real-time tracking. This paper presents ODTFormer, a unified Transformer-based architecture that performs joint obstacle detection and tracking. By utilizing deformable cross-attention to construct geometry-aware 3D cost volumes and employing a sparse voxel-matching strategy for tracking, ODTFormer achieves state-of-the-art accuracy while being 10–20 times more computationally efficient than traditional scene-flow methods.
Introduction
In the realm of autonomous navigation, understanding the spatial environment involves two critical tasks: identifying where obstacles are (detection) and predicting where they are moving (tracking). While deep learning has significantly advanced stereo-based 3D perception, two primary challenges remain. First, many existing models are sensitive to camera intrinsic parameters; a model trained on one camera setup often fails when deployed on a different robot without extensive retraining. Second, tracking is frequently approached through dense "scene flow" estimation, which calculates motion for every pixel in a scene—a computationally expensive process that is often redundant for obstacle avoidance.
ODTFormer addresses these challenges by shifting the perception task into a 3D voxel space and leveraging the flexibility of Transformers to decouple geometric reasoning from specific image-space features.
Methodology
1. Feature Extraction and Geometry-Aware Cost Volumes
The ODTFormer pipeline begins with a lightweight EfficientNet-B0 backbone and a Feature Pyramid Network (FPN) to extract multi-scale 2D features from the left and right stereo images.
To bridge the gap between 2D images and 3D space, the model employs a Transformer-based decoder. Instead of building a rigid, memory-intensive cost volume, ODTFormer uses 3D voxel queries. These queries utilize deformable cross-attention to sample relevant features from the 2D image planes. Because this sampling process is guided by explicit geometric projections (using camera intrinsics), the model can adapt to different resolutions and focal lengths dynamically. This design ensures that the model learns the underlying 3D structure of the environment rather than memorizing specific pixel patterns.
2. Occupancy Decoding
The resulting 3D cost volume is processed by a 3D U-Net, which performs coarse-to-fine refinement to generate a voxel occupancy grid. This grid identifies which 3D "cubes" (voxels) are occupied by obstacles. By focusing on occupancy rather than dense depth maps, the model prioritizes the information most relevant to navigation.
3. Efficient Voxel Tracking
Rather than calculating dense scene flow for the entire image, ODTFormer introduces a "Voxel Tracking by Matching" module. The model identifies occupied voxels in the current frame and searches for their counterparts in the previous frame within a constrained 3D search window. This window, or "volumetric bound," is defined based on the maximum plausible velocity of obstacles in the scene. This sparse matching strategy significantly reduces the search space and computational overhead compared to pixel-wise motion estimation.
Experimental Results
Detection Performance
The model was rigorously evaluated on the DrivingStereo dataset, a large-scale benchmark containing over 180,000 stereo pairs. ODTFormer achieved a significant performance leap, reaching an Intersection over Union (IoU) of 85.25% at a 15m range. This outperforms the previous state-of-the-art model, StereoVoxelNet, which achieved 80.07% under similar conditions.
Tracking and Efficiency
On the KITTI 2015 benchmark, ODTFormer demonstrated tracking accuracy comparable to high-end models like RAFT-3D. However, the efficiency gains were stark: ODTFormer required 20 times fewer Multiply-Accumulate operations (MACs) than RAFT-3D.
Real-Time Deployment
For practical robotics applications, latency is critical. ODTFormer achieves a processing speed of 20 FPS on an NVIDIA RTX A5000 GPU at KITTI resolutions. This frame rate is sufficient for real-time obstacle avoidance and navigation in dynamic environments.
Discussion and Limitations
While ODTFormer represents a significant step forward in efficient stereo perception, certain limitations exist. The current tracking implementation assumes that obstacles move primarily on a 2D ground plane to optimize computation. While this holds for most automotive and ground-robot scenarios, it may require adjustment for platforms like drones that experience significant vertical motion. Additionally, the voxel resolution (currently 0.375m at the finest level) presents a trade-off; while efficient, extremely thin or small obstacles might fall between the grid lines, necessitating future work in adaptive voxel scaling.
Conclusion
ODTFormer demonstrates that by combining the geometric flexibility of Transformers with sparse voxel-based tracking, it is possible to achieve high-performance 3D perception without the prohibitive costs of LiDAR or the computational burden of dense scene flow. Its ability to generalize across camera parameters and run in real-time makes it a highly viable solution for the next generation of autonomous mobile robots.
Summary updated