$$\begin{align*} \phi(x, \pi_\theta(x)) := \begin{cases} \pi_\theta(x) & V(x) \geq \epsilon \\\ \pi_{\text{safe}}(x) & \text{otherwise} \end{cases} \quad \text{(Least ...