Can we learn to navigate a terrain effectively by just looking at its map? Our paper describes Neural Weighted A*, a deep learning architecture that accurately predicts, from the image of the navigation area, the costs of traversing local regions and a global heuristic function for reaching the destination. This repository contains the source code of the experiments involved in the paper.
Neural Weighted A* is a differentiable planner able to learn graph costs and heuristic functions from planning examples. It arises from the recent trend of incorporating differentiable combinatorial solvers into deep learning pipelines to ease the learning procedure for combinatorial data. Most recent works are able to learn either cost functions or heuristic functions, but not both. To the best of our knowledge, Neural Weighted A* is the first architecture able to learn graph costs and heuristic functions, aware of the admissibility constraint. Training occurs end-to-end on raw images with direct supervision on planning examples, thanks to a differentiable A* solver integrated into the architecture, built upon black-box differentiation and Neural A*.
- torch
- numpy
- ray
- cv2
- scipy
- yapt (https://github.com/marcociccone/yapt)
The experiments involved two tile-based navigation datasets, available here.