We first train the local scoring function without feedback from global constraints.
the local neural network model is optimized using only pair-wise relations in the first stage by minimizing crossentropy loss.