(1) We avoid dynamic programming for inference in the gain calculation with a mean-field approximation, removing the dependence among states.
(we transform the gain from a sequence problem to a token classification problem.