This can be framed as the softmax output if taking a probabilistic treatment: In this way, the model only sees and learns headattaching decisions for each individual words.
the model is unaware of the global tree structures and may assign probabilities to non-tree cyclic structures, which are illegal outputs for dependency parsing.