DocumentCode
619825
Title
Prolog with best first search
Author
Benjie Lu ; Zhingging Liu
Author_Institution
Comput. Go Res. Inst., Beijing Univ. of Posts & Telecommun., Beijing, China
fYear
2013
fDate
25-27 May 2013
Firstpage
917
Lastpage
922
Abstract
Prolog is a logic programming language with an engine that can search a knowledge base with respect to a query automatically. To satisfy a query of a knowledge base, the Prolog engine always try to use the top-most clause and search the left-most sub query, which is fundamentally a depth first search (DFS). While generally usable, DFS is less effective in many circumstances, and may even fail to discover solutions in some extreme cases. This paper presents an alternative best first search (BFS) for the Prolog engine. Our BFD search strategy employes a heuristics function based on an extended measurement of UCB1, which is a machine learning algorithm for a Markovian Decision Process (MDP). This heuristics function can balance exploitation and exploration during the search process of the Prolog engine, adjust its search path dynamically for the best chance to satisfy its query based on its accumulated knowledge of the knowledge base. Compared with DFS Prolog, BFD Prolog not only improves its search efficiency, but also guarantees theoretically to discover its solutions if they exist. Unlike DFS Prolog, BFS Prolog is completely declarative as knowledge orders are irrelevant.
Keywords
Markov processes; PROLOG; learning (artificial intelligence); query processing; tree searching; BFD Prolog; BFS Prolog; MDP; Markovian decision process; best first search; depth first search; heuristics function; knowledge base; knowledge order; logic programming language; machine learning algorithm; query processing; Decision support systems; Hafnium compounds; Best-First Search; UCB; algorithm convergence; and-or tree; heuristic function;
fLanguage
English
Publisher
ieee
Conference_Titel
Control and Decision Conference (CCDC), 2013 25th Chinese
Conference_Location
Guiyang
Print_ISBN
978-1-4673-5533-9
Type
conf
DOI
10.1109/CCDC.2013.6561054
Filename
6561054
Link To Document