Specifying Goals to Deep Neural Networks with Answer Set ProgrammingDownload PDF

Published: 01 May 2023, Last Modified: 05 Aug 2023HAXP 2023Readers: Everyone
Keywords: Goal specification, answer set programming, deep learning, reinforcement learning, heuristic search
TL;DR: We formalize a method to specify goals to deep neural networks using answer set programming as well as achieve those goals without any need for re-training the deep neural network.
Abstract: The ability to easily and unambiguously specify a goal to a planner is fundamental to human-AI collaboration and knowledge discovery. Recently, deep reinforcement learning has been used to train deep neural networks (DNNs) as heuristic functions for planning problems. While DNNs can be powerful function approximators that, combined with reinforcement learning, require little to no domain-specific knowledge to learn, there is no formal way to specify goals to DNNs. We introduce a method of training DNN heuristic functions to estimate the distance between a given state and a goal, where a goal is represented as a set of atoms in first-order logic. We then use answer set programming to specify goals, where a set of atoms representing a goal is obtained from the stable model of an answer set program. The DNN heuristic function is then combined with search to reach goals. In our experiments with the Rubik's cube and Sokoban, we show that we can specify and reach a variety of different goals without any need to re-train the DNN. Furthermore, since the specification language is first-order logic, one can specify a goal without having to know what states meet that specification, beforehand. Therefore, our approach can also be used to discover states that meet a given specification.
0 Replies

Loading