[1]} used intra-bag and inter-bag attention networks in a multi-instance setting for relation extraction. Their intra-bag attention is similar to the attention used by [2]}. Additionally, they used inter-bag attention to address the noisy bag problem. They divide the bags belonging to a relation into multiple groups. The attention score for each bag in a group is obtained based on the similarity of the bags to each other within the group. This inter-bag attention is used only during training as we do not know the relations during testing.
