SOTAVerified

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

2022-09-11Code Available0· sign in to hype

Pangbo Ban, Yifan Jiang, Tianran Liu, Shane Steinert-Threlkeld

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

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.

Tasks

Reproductions