Onboard Lightweight LLM Reasoning for Human-Aware Safe UAV Navigation
Organizations: Department of Electrical and Computer Engineering, Drexel University, USA. · GRASP Lab, University of Pennsylvania, USA.
Abstract
Aerial robots operating near people must treat a pedestrian, a parked car, and a wall differently, yet conventional perception--planning stacks reduce all of them to occupied geometry---a human-aware safety gap in which category-specific clearance is unavailable to the planner and temporary occlusions remove pedestrian-specific constraints from its map. We present a modular, fully onboard pipeline that closes this gap by turning visual observations into context-dependent safety constraints for real-time UAV navigation. A shared BLIP encoder drives scene captioning and text-conditioned segmentation, which is fused with depth to localize obstacles in 3D. Obstacle-specific risk is inferred by a lightweight LLM (Qwen-2.5-0.5B) stabilized with retrieval-augmented generation and grammar-constrained decoding that restricts its output to a planner-compatible JSON schema. The LLM reasons once per object category rather than per frame: its verdicts are cached per class, so previously seen categories are resolved without inference and new ones trigger a fresh retrieval-grounded query; detections are additionally given persistent identities and held in the map across occlusions. The perception pipeline runs at 10,Hz on a Jetson Orin NX, while fallback LLM queries take approximately 0.8,s and remain off the control-critical path. In Gazebo, low-altitude urban navigation among pedestrians and vehicles shows a roughly reduction in collision events over a geometric planner, and semantics-aware landing among moving actors raises success from 34% to 96%. The 224-pixel encoder input limits reliable small-object perception at range; conservative pedestrian margins and short-term persistence mitigate this limitation during navigation.
Figures & tables
| Pipeline | Encoder | LLM tokens | Latency |
| Qwen2-VL-2B | SigLIP-style 675M | 144 | 2.77 s |
| PaliGemma-3B | SigLIP 400M | 256 | 4.75 s |
| SmolVLM | SigLIP 400M | tiles | 7.54 s |
| LLaVA-Phi-3 | CLIP-L 304M | 576 | 7.62 s |
| BLIP + Llama-3.2-1B | ViT-B 86M | 0.88 s | |
| BLIP + Qwen-2.5-0.5B | ViT-B 86M | 0.79 s |
| Method | Open field (dyn.) | Urban | Forest |
|---|---|---|---|
| Baseline MPC | 34.0 | 28.0 | 32.0 |
| LLM–MPC (no RAG) | 6.0 | 12.0 | 6.0 |
| Ours | 96.0 | 74.0 | 80.0 |
UAV Navigation
Unmanned aerial vehicle (UAV) navigation develops methods for locating and guiding drones safely through known, unknown, and changing environments.
See all 271 papers