Proceedings

Levin Tree Search with Context Models

Download BibTeX Cite

Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence. Main Track. Pages 5622-5630.

https://doi.org/10.24963/ijcai.2023/624

Abstract

Levin Tree Search (LTS) is a search algorithm that makes use of a policy (a probability distribution over actions)

and comes with a theoretical guarantee on the number of expansions before reaching a goal node, depending on the quality of the policy.

This guarantee can be used as a loss function, which we call the LTS loss, to optimize neural networks representing the policy (LTS+NN).

In this work we show that the neural network can be substituted with parameterized context models originating from the online compression literature (LTS+CM).

We show that the LTS loss is convex under this new model,

which allows for using standard convex optimization tools,

and obtain convergence guarantees to the optimal parameters in an online setting for a given set of solution trajectories --- guarantees that cannot be provided for neural networks.

The new LTS+CM algorithm compares favorably against LTS+NN on several benchmarks: Sokoban (Boxoban), The Witness, and the 24-Sliding Tile puzzle (STP). The difference is particularly large on STP, where LTS+NN fails to solve most of the test instances while LTS+CM solves each test instance in a fraction of a second.

Furthermore, we show that LTS+CM is able to learn a policy that solves the Rubik's cube in only a few hundred expansions, which considerably improves upon previous machine learning techniques.

  1. [Abel et al., 2020] Zachary Abel, Jeffrey Bosboom, Michael J. Coulombe, Erik D. Demaine, Linus Hamil- ton, Adam Hesterberg, Justin Kopinsky, Jayson Lynch, Mikhail Rudoy, and Clemens Thielen. Who witnesses the witness? finding witnesses in the witness is hard and sometimes impossible. Theor. Comput. Sci., 839:41-102, 2020.
  2. [Agostinelli et al., 2019] Forest Agostinelli, Stephen McAleer, Alexander Shmakov, and Pierre Baldi. Solving the rubik's cube with deep reinforcement learning and search. Nature Machine Intelligence, 1, 07 2019.
  3. [Agostinelli et al., 2021] Forest Agostinelli, Alexander Shmakov, Stephen McAleer, Roy Fox, and Pierre Baldi. A* search without expansions: Learning heuristic functions with deep q-networks, 2021. arXiv 2102.04518.
  4. [Allen et al., 2021] Cameron Allen, Michael Katz, Tim Klinger, George Konidaris, Matthew Riemer, and Gerald Tesauro. Efficient black-box planning using macro-actions with focused effects. In Proceedings of the Thirtieth Inter- national Joint Conference on Artificial Intelligence, pages 4024-4031, 2021. IJCAI
  5. [Boyd and Vandenberghe, 2004] Stephen Boyd and Lieven Vandenberghe. Convex Optimization. Cambridge Univer- sity Press, Cambridge, England, 2004.
  6. [Budden et al., 2020] David Budden, Adam Marblestone, Eren Sezener, Tor Lattimore, Gregory Wayne, and Joel Veness. Gaussian gated linear networks. In Advances in Neural Information Processing Systems, volume 33, pages 16508-16519.
  7. Curran Associates, Inc., 2020.
  8. [Cesa-Bianchi and Lugosi, 2006] Nicolo Cesa-Bianchi and Gabor Lugosi. Prediction, Learning, and Games. Cam- bridge University Press, New York, NY, USA, 2006.
  9. [Culberson and Schaeffer, 1998] Joseph C. Culberson and Jonathan Schaeffer. Pattern databases. Computational In- telligence, 14(3):318-334, 1998.
  10. [Culberson, 1999] Joseph C. Culberson. Sokoban is PSPACE-Complete. In Fun With Algorithms, pages 65- 76, 1999.
  11. [Duchi et al., 2011] John Duchi, Elad Hazan, and Yoram Singer. Adaptive subgradient methods for online learning and stochastic optimization. Journal of Machine Learning Research, 12(61):2121-2159, 2011.
  12. [Guez et al., 2018] Arthur Guez, Mehdi Mirza, Karol Gre- gor, Rishabh Kabra, Sebastien Racaniere, Theophane Weber, David Raposo, Adam Santoro, Laurent Orseau, Tom Eccles, Greg Wayne, David Silver, Timothy Lilli- crap, and Victor Valdes. An investigation of model-free planning: boxoban levels. https://github.com/deepmind/ boxoban-levels/, 2018. Accessed: 2023-05-01. Link
  13. [Guez et al., 2019] Arthur Guez, Mehdi Mirza, Karol Gre- gor, Rishabh Kabra, Sebastien Racaniere, Theophane We- ber, David Raposo, Adam Santoro, Laurent Orseau, Tom Eccles, Greg Wayne, David Silver, and Timothy Lillicrap. An investigation of model-free planning. In Proceedings of the 36th International Conference on Machine Learn- ing, volume 97 of Proceedings of Machine Learning Re- search, pages 2464-2473. PMLR, 2019.
  14. [Hazan, 2016] Elad Hazan. Introduction to online convex optimization. Foundations and Trends® in Optimization, 2(3-4):157-325, 2016.
  15. [Hinton, 2002] Geoffrey E. Hinton. Training Products of Ex- perts by Minimizing Contrastive Divergence. Neural Com- putation, 14(8):1771-1800, 08 2002.
  16. [Jabbari Arfaee et al., 2011] S. Jabbari Arfaee, S. Zilles, and R. C. Holte. Learning heuristic functions for large state spaces. Artificial Intelligence, 175(16-17):2075-2098, 2011.
  17. [Joulani et al., 2013] Pooria Joulani, Andras Gyorgy, and Csaba Szepesvari. Online learning under delayed feed- back. In Proceedings of the 30th International Confer- ence on Machine Learning, volume 28(3) of Proceedings of Machine Learning Research, pages 1453-1461. PMLR, 2013.
  18. [Korf, 1997] Richard E. Korf. Finding optimal solutions to rubik's cube using pattern databases. In Proceedings of the Fourteenth National Conference on Artificial Intelli- gence and Ninth Conference on Innovative Applications of Artificial Intelligence, AAAI'97/IAAI'97, page 700-705. AAAI Press, 1997.
  19. [Mattern, 2013] Christopher Mattern. Linear and geometric mixtures -analysis. Proceedings of the Data Compression Conference, pages 301-310, 02 2013.
  20. [Mattern, 2016] Christopher Mattern. On Statistical Data Compression. PhD thesis, Technische Universität Ilmenau, Fakultät für Informatik und Automatisierung, Feb 2016.
  21. [Matthew, 2005] V Mahoney Matthew. Adaptive weighing of context models for lossless data compression. Florida Institute of Technology CS Dept, Technical Report CS- 2005-16, https://www. cs. fit. edu/Projects/tech reports/cs- 2005-16. pdf, 2005. Link
  22. [Mittal et al., 2022] Dixant Mittal, Siddharth Aravindan, and Wee Sun Lee. Expose: Combining state-based explo- ration with gradient-based online search, 2022. arXiv 2202.01461.
  23. [Orseau and Lelis, 2021] Laurent Orseau and Levi H. S. Lelis. Policy-guided heuristic search with guarantees. Pro- ceedings of the AAAI Conference on Artificial Intelligence, 35(14):12382-12390, May 2021.
  24. [Orseau et al., 2018] Laurent Orseau, Levi Lelis, Tor Latti- more, and Theophane Weber. Single-agent policy tree search with guarantees. In S. Bengio, H. Wallach, H. Larochelle, K. Grauman, N. Cesa-Bianchi, and R. Gar- nett, editors, Advances in Neural Information Processing Systems, volume 31.
  25. Curran Associates, Inc., 2018.
  26. [Pearl, 1984] Judea Pearl. Heuristics: Intelligent Search Strategies for Computer Problem Solving. Addison- Wesley Longman Publishing Co., Inc., USA, 1984.
  27. [Ratner and Warmuth, 1986] Daniel Ratner and Manfred Warmuth. Finding a shortest solution for the nxn exten- sion of the 15-puzzle is intractable. In Proceedings of the Fifth AAAI National Conference on Artificial Intelligence, AAAI'86, page 168-172. AAAI Press, 1986.
  28. [Rissanen, 1983] J. Rissanen. A universal data compres- sion system. IEEE Transactions on Information Theory, 29(5):656-664, 1983.
  29. [Shalev-Shwartz, 2007] Shai Shalev-Shwartz. Online learn- ing: Theory, algorithms, and applications. PhD thesis, Hebrew University, Jerusalem, 2007.
  30. [Veness et al., 2017] Joel Veness, Tor Lattimore, Avishkar Bhoopchand, Agnieszka Grabska-Barwinska, Christopher Mattern, and Peter Toth. Online learning with gated linear networks, 2017. arXiv 1712.01897.
  31. [Veness et al., 2021] Joel Veness, Tor Lattimore, David Bud- den, Avishkar Bhoopchand, Christopher Mattern, Ag- nieszka Grabska-Barwinska, Eren Sezener, Jianan Wang, Peter Toth, Simon Schmitt, and Marcus Hutter. Gated lin- ear networks. Proceedings of the AAAI Conference on Ar- tificial Intelligence, 35(11):10015-10023, May 2021.
  32. [Willems et al., 1995] Frans M. J. Willems, Yuri M. Shtarkov, and Tjalling J. Tjalkens. The context tree weighting method: Basic properties. IEEE Transactions on Information Theory, 41:653-664, 1995.
  33. [Zinkevich, 2003] Martin Zinkevich. Online convex pro- gramming and generalized infinitesimal gradient ascent. In Proceedings of the Twentieth International Conference on Machine Learning, pages 928-935, 2003.

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

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