On the Design of a Heuristic based on Artificial Neural Networks for the Near Optimal Solving of the (N2–1)-puzzle
Vojtěch Cahlík, Pavel Surynek
2019
Abstract
This paper addresses optimal and near-optimal solving of the (N2–1)-puzzle using the A* search algorithm. We develop a novel heuristic based on artificial neural networks (ANNs) called ANN-distance that attempts to estimate the minimum number of moves necessary to reach the goal configuration of the puzzle. With a well trained ANN-distance heuristic, whose inputs are just the positions of the pebbles, we are able to achieve better accuracy of predictions than with conventional heuristics such as those derived from the Manhattan distance or pattern database heuristics. Though we cannot guarantee admissibility of ANN-distance, an experimental evaluation on random 15-puzzles shows that in most cases ANN-distance calculates the true minimum distance from the goal, and furthermore, A* search with the ANN-distance heuristic usually finds an optimal solution or a solution that is very close to the optimum. Moreover, the underlying neural network in ANN-distance consumes much less memory than a comparable pattern database.
DownloadPaper Citation
in Harvard Style
Cahlík V. and Surynek P. (2019). On the Design of a Heuristic based on Artificial Neural Networks for the Near Optimal Solving of the (N2–1)-puzzle. In Proceedings of the 11th International Joint Conference on Computational Intelligence (IJCCI 2019) - Volume 1: NCTA; ISBN 978-989-758-384-1, SciTePress, pages 473-478. DOI: 10.5220/0008163104730478
in Bibtex Style
@conference{ncta19,
author={Vojtěch Cahlík and Pavel Surynek},
title={On the Design of a Heuristic based on Artificial Neural Networks for the Near Optimal Solving of the (N2–1)-puzzle},
booktitle={Proceedings of the 11th International Joint Conference on Computational Intelligence (IJCCI 2019) - Volume 1: NCTA},
year={2019},
pages={473-478},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0008163104730478},
isbn={978-989-758-384-1},
}
in EndNote Style
TY - CONF
JO - Proceedings of the 11th International Joint Conference on Computational Intelligence (IJCCI 2019) - Volume 1: NCTA
TI - On the Design of a Heuristic based on Artificial Neural Networks for the Near Optimal Solving of the (N2–1)-puzzle
SN - 978-989-758-384-1
AU - Cahlík V.
AU - Surynek P.
PY - 2019
SP - 473
EP - 478
DO - 10.5220/0008163104730478
PB - SciTePress