Semantic matching is a mainstream paradigm of zero-shot relation extraction, which matches a given input with a corresponding label description.
The entities in the input should exactly match their hypernyms in the description, while the irrelevant contexts should be ignored when matching.
However, general matching methods lack explicit modeling of the above matching pattern.
In this work, we propose a fine-grained semantic matching method tailored for zero-shot relation extraction. Guided by the above matching pattern, we decompose the sentence-level similarity score into the entity matching score and context matching score. Considering that not all contextual words contribute equally to the relation semantics, we design a context distillation module to reduce the negative impact of irrelevant components on context matching. Experimental results show that our method achieves higher matching accuracy and more than 10 times faster inference speed, compared with the state-of-the-art methods.