The feature vector g n ∈ R 2d×1 is the concatenation of N(n 1 ) and N(n 2 ): Words between the noun pair contribute to classifying the relation, and one of the most common ways to incorporate an arbitrary number of words is treating them as a bag of words.
word order information is lost for bag-of-words features such as averaged word embeddings.