Reclaiming the Source of Programmatic Policies: Programmatic versus Latent Spaces

Tales H. Carvalho, Kenneth Tjhia, Levi Lelis
10/1/2024

No confident code implementation found for this paper.

Abstract

Recent works have introduced LEAPS and HPRL, systems that learn latent spaces of domain-specific languages, which are used to define programmatic policies for partially observable Markov decision processes (POMDPs). These systems induce a latent space while optimizing losses such as the behavior loss, which aim to achieve locality in program behavior, meaning that vectors close in the latent space should correspond to similarly behaving programs. In this paper, we show that the programmatic space, induced by the domain-specific language and requiring no training, presents values for the behavior loss similar to those observed in latent spaces presented in previous work. Moreover, algorithms searching in the programmatic space significantly outperform those in LEAPS and HPRL. To explain our results, we measured the"friendliness"of the two spaces to local search algorithms. We discovered that algorithms are more likely to stop at local maxima when searching in the latent space than when searching in the programmatic space. This implies that the optimization topology of the programmatic space, induced by the reward function in conjunction with the neighborhood function, is more conducive to search than that of the latent space. This result provides an explanation for the superior performance in the programmatic space.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{carvalho2024reclaiming,
  title  = {Reclaiming the Source of Programmatic Policies: Programmatic versus Latent Spaces},
  author = {Tales H. Carvalho and Kenneth Tjhia and Levi Lelis},
  year   = {2024},
  eprint = {2410.12166},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2410.12166},
  journal = {ICLR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.12166.svg)](https://codeofpaper.com/paper/2410.12166)

Discussion