Testing Pre-trained Language Models' Understanding of Distributivity via Causal Mediation Analysis

09/11/2022
by   Pangbo Ban, et al.
0

To what extent do pre-trained language models grasp semantic knowledge regarding the phenomenon of distributivity? In this paper, we introduce DistNLI, a new diagnostic dataset for natural language inference that targets the semantic difference arising from distributivity, and employ the causal mediation analysis framework to quantify the model behavior and explore the underlying mechanism in this semantically-related task. We find that the extent of models' understanding is associated with model size and vocabulary size. We also provide insights into how models encode such high-level semantic knowledge.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset