For a significant fraction of cases (27% for Reddit, and 21% for Subtitles), the local margin is positive while the global margin is negative.
the ED loss for these sequences is small even though the log-probability of the correct sequence is much smaller than the logprobability of the predicted wrong sequence.