dX_t = \left[ f(X_t, t) - g(t)^2 \nabla_x \log q(X_t, t) \right] dt + g(t) d\bar{W}_t