Proceedings

An Expected-Cost Analysis of Backtracking and Non-Backtracking Algorithms

Download BibTeX Cite

Proceedings of the Twelfth International Joint Conference on Artificial Intelligence. Automated Reasoning. Pages 172-176.

© 1991 International Joint Conferences on Artificial Intelligence

Abstract

Consider an infinite binary search tree in which the branches have independent random costs. Suppose that we must find an optimal (cheapest) or nearly optimal path from the root to a node at depth n. Karp and Pearl [1983] show that a bounded-lookahead backtracking algorithm A2 usually finds a nearly optimal path in linear expected time (when the costs take only the values 0 or 1). From this successful performance one might conclude that similar heuristics should be of more general use. But we find here equal success for a simpler non-backtracking bounded-lookahead algorithm, so the search model cannot support this conclusion. If, however, the search tree is generated by a branching process so that there is a possibility of nodes having no sons (or branches having prohibitive costs), then the non-backtracking algorithm is hopeless while the backtracking algorithm still performs very well. These results suggest the general guideline that backtracking becomes attractive when there is the possibility of "dead-ends" or prohibitively costly outcomes.

  1. [Athreya and Ney, 1972] K.B. Athreya and P.E. Ney. Branching Processes. Springer-Verlag, Berlin, 1972.
  2. [Bitner and Reingold, 1975] J. R. Bitner and E. M. Reingold. Backtrack programming techniques. Communications of the ACM, 18:651-655, 1975.
  3. [Bramson, 1978] M.D. Bramson. Minimal displacement of branching random walk. Z. W ahrsch. Varw. Ga- biete, 45:89-108, 1978.
  4. [Brown and P. W. Purdom, 1981] C. A. Brown and P. W. Purdom, Jr .. An average case analysis of backtracking. SIAM J. Computing, 10 (3):583-593, 1981.
  5. [Brown and P. W. Purdom, 1982] C. A. Brown and P. W. Purdom, Jr.. An empirical comparison of backtracking algorithms. IEEE Trans. PAM!, 4, 1982.
  6. [Crump and Mode, 1968] K.S . Crump and C.J. Mode. A general age-dependent branching process. Jour- nal of Mathematical Analysis and Applications, 24, 1968.
  7. [de Kleer, 1984] J. de Kleer. Choices without backtrack- ing. Proc. AAAI, 79-85, 1984.
  8. [Dechter, 1990] R. Dechter. Enhancement Schemes for Constraint Processing: Backjumping, Learning and Cutset Decomposition. Artificial Intelligence, 41(3) :273-312, 1990.
  9. [Dechter and Meiri, 1989] R. Dechter and I. Meiri. Ex- perimental Evaluation of Preprocessing Techniques in Constraint Satisfaction. In Proc. IJCAI, 271- 276, 1989.
  10. [Hammersley, 1974] J. M. Hammersley. Postulates for subadditive processes. Annals of Probability, 2:652- 680, 1974.
  11. [Haralick and Elliott, 1980] R. M. Haralick and G. L. Elliott. Increasing tree search efficiency for con- straint satisfaction problems. Artificial Intelligence, 14:263-313, 1980. IJCAI
  12. [Harris, 1963] T. E. Harris. The Theory of Branching Processes. Springer-Verlag, Berlin, 1963.
  13. [Karp, 1976] R. M. Karp. The probabilistic analysis of some combinatorial search algorithms. In J. F. Traub, editor, Algorithms and Complexity, pages 1- 19, Academic Press, 1976.
  14. [Karp and Pearl, 1983] R. M. Karp and J. Pearl. Searching for an optimal path in a tree with ran- dom costs. Artificial Intelligence, 21:99-116, 1983.
  15. [Kingman, 1975] J.F.C. • Kingman. The First Birth Problem for an Age-Dependent Branching Process. Annals of Probability, 3:790-801, 1975.
  16. [Knuth, 1975] D. E. Knuth. Estimating the efficiency of backtrack programs. Mathematics of Computation, 29:121-136, 1975.
  17. [McDiarmid, 1990] C.J .H. McDiarmid. Probabilistic Analysis of Tree Search. In G.R. Gummett and D.J .A. Welsh, editors, Disorder in Physical Sys- tems, pages 249-260, Oxford Science Publications, 1990.
  18. [Nudel, 1983] B. Nudel. Consistent labeling problems and their algorithms: expected complexities and theory-based heuristics. 21:135-178, 1983. Artificial Intelligence , [Provan, 1985]
  19. G. M. Provan. A Probabilistic Analysis of Search Algorithms in Uniform Trees. Mathemat- ical Institute, University of Oxford, Unpublished D. Phil. qualifying dissertation, 1985.
  20. P. W . Purdom, 1983} Jr. P. W . Purdom. Search re- arrangement backtracking and polynomial average time. Artificial Intelligence, 21:117-133 , 1983.
  21. [Stone and Stone, 1986] H. Stone and J. Stone. Effi- cient Search Techniques: An Empirical Study of the N-Queens Problem. Technical Report TR TC 12057 ( #54343) , IBM T .J . Watson Research Center, 1986.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards