DeepNav: Learning to Navigate Large Cities

Samarth Brahmbhatt, James Hays

Abstract

Autonomous navigation in complex urban environments typically relies on GPS and high-fidelity maps. However, in "GPS-denied" scenarios, agents must rely on visual cues. DeepNav introduces a supervised learning approach using Convolutional Neural Networks (CNNs) to navigate cities using only local street-view imagery. By training on over a million images with automated supervision from an A* search "oracle," the system learns to exploit the inherent structural logic of cities. Experimental results across ten major US cities demonstrate that DeepNav significantly outperforms random search and traditional feature-based methods, successfully generalizing to unseen urban layouts.

Introduction

When navigating a new city, humans don't move randomly; we look for visual landmarks, commercial signage, and architectural patterns that signal our proximity to a goal. In contrast, traditional robotic navigation often breaks down when GPS signals are blocked by "urban canyons" or when pre-loaded maps are unavailable. While Reinforcement Learning (RL) is a common alternative, it struggles with the "sparse reward" problem at city-scale—finding a single destination among hundreds of thousands of nodes is statistically improbable for a random agent.

DeepNav addresses this by teaching an agent the "language" of urban structure. Instead of trial-and-error, it uses supervised learning to predict optimal actions based on visual context, effectively learning that certain visual features (like high-density commercial zones) are correlated with specific destination types like gas stations or restaurants.

Dataset and Graph Representation

To train and evaluate the model, the researchers constructed a massive benchmark consisting of over 1 million street-view images from 10 major US cities. The environment is modeled as a directed graph where nodes represent locations and edges represent traversable paths.

The navigation environment is represented as a directed graph of street-view images, where the agent moves between nodes based on visual input.

The dataset focuses on five ubiquitous destination types: Bank of America, churches, gas stations, high schools, and McDonald’s. To test generalization, the model was trained on six cities and evaluated on four entirely unseen cities (Dallas, New York, Phoenix, and San Francisco).

Methodology: Learning from an Oracle

The core innovation of DeepNav is the use of an "oracle"—an A* search algorithm running on the known city graph—to generate ground-truth labels for training. This bypasses the sparse reward problem of RL by providing the optimal path for every image in the dataset.

The researchers explored three CNN architectures based on the VGG-16 model:

  1. DeepNav-distance: A regression model predicting the straight-line distance to the goal.
  2. DeepNav-direction: A classification model predicting the optimal discrete action (Forward, Left, Right, or Backward).
  3. DeepNav-pair: A Siamese network that takes two images from the same intersection and decides which one points toward a more favorable path.
At each intersection, the agent can "look around" by processing views from multiple cardinal directions (North, South, East, West) to make an informed decision.

A Geographically Weighted Loss Function was implemented to prioritize accuracy as the agent approaches the destination. Errors made far from the goal are penalized less than mistakes made in the final blocks, where a wrong turn is more critical.

Key Insights and Results

The DeepNav-pair architecture emerged as the top performer. This suggests that navigation is most effective when an agent can compare multiple directions—mimicking how a human or animal scans their surroundings—rather than evaluating a single view in isolation.

The model demonstrated a "Universal Urban Logic," successfully navigating cities it had never encountered during training. It learned, for instance, that gas stations are typically located near large intersections with high traffic visibility, and McDonald's are found in dense commercial districts. Furthermore, the network's "confidence" (measured by the variance in output scores) was observed to increase as it approached a destination, indicating that visual cues become more distinct near the goal.

In performance benchmarks, DeepNav-pair achieved a success rate of approximately 60% from a starting distance of 470m, outperforming both a random walk (~40%) and a previous state-of-the-art baseline using hand-crafted HOG features (~55%).

Conclusion and Future Work

DeepNav proves that deep learning can extract a functional "mental map" of urban environments from raw pixels alone. While currently limited to discrete movements on a grid and static imagery, the work provides a foundation for more robust, map-less autonomous navigation. Future iterations could incorporate temporal memory (e.g., LSTMs) to prevent looping and handle more abstract navigation goals beyond specific commercial landmarks.

Summary updated

BibTeX
@inproceedings{brahmbhatt2017deepnav,
  author = {Samarth Brahmbhatt and James Hays},
  title = {{DeepNav: Learning to Navigate Large Cities}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  doi = {10.1109/cvpr.2017.329},
}
Figure