cost node의 estimate gradients를 얻기 위해서 Schulman은 다음과 같은 surrogate loss를 제안했습니다.
$$ {SL}(\Theta,\mathcal{S}) = \sum_{w\in\mathcal{S}}\log p(w|\mathrm{DEPS}_w)\hat{Q}_w + \sum_{c\in\mathcal{C}}c(\mathrm{DEPS}_c)$$
$$ \hat{Q}_w$$는
SL은 한번 미분됐을 때, 다음과 같은 gradient estimator로 표현 가능합니다.
$$ \nabla_{\theta}\mathcal{L} = \mathbb{E}[\nabla_{\theta}\mathrm{SL}(\Theta,\mathcal{S})]$$
이 때, $$\hat{Q}w$$는 SL안에서 고정된 sample로 취급되므로,($$\theta$$에 대해 영향을 받지 않습니다.) 이는 기존 SCG에서의 의존성이 분리됩니다. 이렇게되면, SL의 1차 gradient가 $$\log(p)\nabla{\theta}Q$$의 form을 포함하지 않고도 score function estimator가 됩니다.
맨 위의

