Because I assume all the MAP inference all output 2 things: 1) energy value, 2) assignment of each variable node. Basically other outputs will not be used in structured output learning.