For optimizing HLS compiler passes, two prominent reinforcement learning algorithms have shown significant effectiveness: Policy Gradient (PG) and Deep Q-Network (DQN). Researchers leverage these algorithms to automatically discover optimal sequences of compiler passes, which is an NP-hard problem for HLS programs.