Pathfinding Neural Cellular Automata

01/17/2023
by   Sam Earle, et al.
7

Pathfinding makes up an important sub-component of a broad range of complex tasks in AI, such as robot path planning, transport routing, and game playing. While classical algorithms can efficiently compute shortest paths, neural networks could be better suited to adapting these sub-routines to more complex and intractable tasks. As a step toward developing such networks, we hand-code and learn models for Breadth-First Search (BFS), i.e. shortest path finding, using the unified architectural framework of Neural Cellular Automata, which are iterative neural networks with equal-size inputs and outputs. Similarly, we present a neural implementation of Depth-First Search (DFS), and outline how it can be combined with neural BFS to produce an NCA for computing diameter of a graph. We experiment with architectural modifications inspired by these hand-coded NCAs, training networks from scratch to solve the diameter problem on grid mazes while exhibiting strong generalization ability. Finally, we introduce a scheme in which data points are mutated adversarially during training. We find that adversarially evolving mazes leads to increased generalization on out-of-distribution examples, while at the same time generating data-sets with significantly more complex solutions for reasoning tasks.

READ FULL TEXT

page 3

page 13

research
12/14/2017

Cellular Automata Applications in Shortest Path Problem

Cellular Automata (CAs) are computational models that can capture the es...
research
03/27/2021

Generalization over different cellular automata rules learned by a deep feed-forward neural network

To test generalization ability of a class of deep neural networks, we ra...
research
06/08/2022

On the quick search for the shortest paths in an unweighted dynamic graph by its projections in brief

For the first time proposed: a method for representing the projections o...
research
08/05/2020

Performance Improvement of Path Planning algorithms with Deep Learning Encoder Model

Currently, path planning algorithms are used in many daily tasks. They a...
research
11/26/2021

μNCA: Texture Generation with Ultra-Compact Neural Cellular Automata

We study the problem of example-based procedural texture synthesis using...
research
07/02/2022

Neural Networks for Path Planning

The scientific community is able to present a new set of solutions to pr...

Please sign up or login with your details

Forgot password? Click here to reset