Abstract
Many studies in heuristic search suggest that the accuracy of the heuristic used has a positive impact on improving the performance of the search. In another direction, historical research perceives that the performance of heuristic search algorithms, such as A* and IDA*, can be improved by requiring the heuristics to be consistent – a property satisfied by any perfect heuristic. However, a few recent studies show that inconsistent heuristics can also be used to achieve a large improvement in these heuristic search algorithms. These results raise a natural question: which property of heuristics, accuracy or consistency/inconsistency, should we focus on when building heuristics?
In this article, we investigate the relationship between the inconsistency and the accuracy of heuristics with A* search. Our analytical result reveals a correlation between these two properties. We then run experiments on the domain for the Knapsack problem with a family of practical heuristics. Our empirical results show that in many cases, the more accurate heuristics also have higher level of inconsistency and result in fewer node expansions by A*.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Dinh, H., Russell, A., Su, Y.: On the value of good advice: The complexity of A* with accurate heuristics. In: Proceedings of the Twenty-Second Conference on Artificial Intelligence (AAAI 2007), pp. 1140–1145 (2007)
Dinh, H., Dinh, H., Michel, L., Russell, A.: The time complexity of A* with approximate heuristics on multiple-solution search spaces. Journal of Artificial Intelligence Research 45, 685–729 (2012)
Felner, A., Zahavi, U., Schaeffer, J., Holte, R.C.: Dual lookups in pattern databases. In: Proceedings of the 19th International Joint Conference on Artificial Intelligence, IJCAI 2005, pp. 103–108. Morgan Kaufmann Publishers Inc., San Francisco (2005)
Felner, A., Zahavi, U., Holte, R., Schaeffer, J., Sturtevant, N., Zhang, Z.: Inconsistent heuristics in theory and practice. Artificial Intelligence 175(9-10), 1570–1603 (2011)
Gaschnig, J.: Performance measurement and analysis of certain search algorithms. PhD thesis, Carnegie-Mellon University, Pittsburgh, PA (1979)
Hart, P., Nilson, N., Raphael, B.: A formal basis for the heuristic determination of minimum cost paths. IEEE Transactions on Systems Science and Cybernetics SCC-4(2), 100–107 (1968)
Helmert, M., Röger, G.: How good is almost perfect? In: Proceedings of AAAI 2008 (2008)
Ibarra, O.H., Kim, C.E.: Fast approximation algorithms for the knapsack and sum of subset problems. Journal of the ACM 22(4), 463–468 (1975) ISSN 0004-5411
Korf, R., Reid, M.: Complexity analysis of admissible heuristic search. In: Proceedings of the National Conference on Artificial Intelligence (AAAI 1998), pp. 305–310 (1998)
Korf, R., Reid, M., Edelkamp, S.: Time complexity of iterative-deepening-A*. Artificial Intelligence 129(1-2), 199–218 (2001)
Korf, R.E.: Iterative-deepening-a: an optimal admissible tree search. In: Proceedings of the 9th International Joint Conference on Artificial Intelligence, IJCAI 1985, vol. 2, pp. 1034–1036. Morgan Kaufmann Publishers Inc., San Francisco (1985)
Korf, R.E.: Recent progress in the design and analysis of admissible heuristic functions. In: Proceedings of the 17th National Conference on Artificial Intelligence (AAAI 2000), pp. 1165–1170. AAAI Press / The MIT Press (2000) ISBN 0-262-51112-6
Huyn, J.P.N., Dechter, R.: Probabilistic analysis of the complexity of A*. Artificial Intelligence 15, 241–254 (1980)
Pearl, J.: Heuristics: Intelligent Search Strategies for Computer Problem Solving. Addison-Wesley, MA (1984)
Pisinger, D.: Where are the hard knapsack problems? Computers and Operations Research 32, 2271–2284 (2005) ISSN 0305-0548
Pohl, I.: Practical and theoretical considerations in heuristic search algorithms. In: Elcock, W., Michie, D. (eds.) Machine Intelligence, vol. 8, pp. 55–72. Ellis Horwood, Chichester (1977)
Sen, A.K., Bagchi, A., Zhang, W.: Average-case analysis of best-first search in two representative directed acyclic graphs. Artif. Intell. 155(1-2), 183–206 (2004)
Vazirani, V.: Approximation Algorithms. Springer (2001)
Zahavi, U., Felner, A., Schaeffer, J., Sturtevant, N.: Inconsistent heuristics. In: Proceedings of AAAI 2007, pp. 1211–1216 (2007)
Zahavi, U., Felner, A., Burch, N., Holte, R.C.: Predicting the performance of IDA* using conditional distributions. J. Artif. Int. Res. 37(1), 41–84 (2010), http://dl.acm.org/citation.cfm?id=1861751.1861753 ISSN 1076-9757
Zhang, Z., Sturtevant, N.R., Holte, R., Schaeffer, J., Felner, A.: A* search with inconsistent heuristics. In: Proceedings of the 21st International Joint Conference on Artificial Intelligence, IJCAI 2009, pp. 634–639. Morgan Kaufmann Publishers Inc., San Francisco (2009)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2014 Springer International Publishing Switzerland
About this paper
Cite this paper
Dinh, H. (2014). Inconsistency versus Accuracy of Heuristics. In: Sokolova, M., van Beek, P. (eds) Advances in Artificial Intelligence. Canadian AI 2014. Lecture Notes in Computer Science(), vol 8436. Springer, Cham. https://doi.org/10.1007/978-3-319-06483-3_7
Download citation
DOI: https://doi.org/10.1007/978-3-319-06483-3_7
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-06482-6
Online ISBN: 978-3-319-06483-3
eBook Packages: Computer ScienceComputer Science (R0)