>grad</span><span class='op'>[</span><span class='va'>vimco</span><span class='op'>]</span> <span class='op'>-</span> <span class='va'>variance_reducing_term</span>
</pre>

<p>where,</p><pre>variance_reducing_term = Sum{ grad[log q(h[i] | x)] * (vimco - f(log Avg{h[j;i] : j=0,...,m-1})) #' : i=0, ..., m-1 }
h[j;i] =  u[j]  for j!=i,  GeometricAverage{ u[k] : k!=i} for j==i
</pre>

<p>(We omitted <code>stop_gradient</code> for brevity. See implementation for more details.)
The <code>Avg{h[j;i] : j}</code> te