Hierarchical Programmatic Option Framework

Yu-An Lin, Chen-Tao Lee, Chih-Han Yang, Guanhui. Liu, Shao-Hua Sun
2/3/2026

Abstract

Deep reinforcement learning aims to learn deep neural network policies to solve large-scale decision-making problems. However, approximating policies using deep neural networks makes it difficult to interpret the learned decision-making process. To address this issue, prior works [10, 46, 74] proposed to use human-readable programs as policies to increase the interpretability of the decision-making pipeline. Nevertheless, programmatic policies generated by these methods struggle to effectively solve long and repetitive RL tasks and cannot generalize to even longer horizons during testing. To solve these problems, we propose the Hierarchical Programmatic Option framework (HIPO), which aims to solve long and repetitive RL problems with human-readable programs as options (low-level policies). Specifically, we propose a method that retrieves a set of effective, diverse, and compatible programs as options. Then, we learn a high-level policy to effectively reuse these programmatic options to solve reoccurring subtasks. Our proposed framework outperforms programmatic RL and deep RL baselines on various tasks. Ablation studies justify the effectiveness of our proposed search algorithm for retrieving a set of programmatic options.

DOISemantic Scholar

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!

Cite this paper

@article{lin2026hierarchical,
  title  = {Hierarchical Programmatic Option Framework},
  author = {Yu-An Lin and Chen-Tao Lee and Chih-Han Yang and Guanhui. Liu and Shao-Hua Sun},
  year   = {2026},
  doi    = {10.52202/079017-4024},
  url    = {https://doi.org/10.52202/079017-4024},
  journal = {NEURIPS 2024 2024}
}

Discussion