Given a group of bags with the same relation label, we assign higher weights to those bags which are close to other bags in this group.
the representation of bag group g can be formulated as where g k is the k-th row of the matrix G ∈ R h×3dc in Fig.