SOTAVerified

AnaLog: Testing Analytical and Deductive Logic Learnability in Language Models

2022-07-01*SEM (NAACL) 2022Unverified0· sign in to hype

Samuel Ryb, Mario Giulianelli, Arabella Sinclair, Raquel Fernández

Unverified — Be the first to reproduce this paper.

Reproduce

Abstract

We investigate the extent to which pre-trained language models acquire analytical and deductive logical reasoning capabilities as a side effect of learning word prediction. We present AnaLog, a natural language inference task designed to probe models for these capabilities, controlling for different invalid heuristics the models may adopt instead of learning the desired generalisations. We test four languagemodels on AnaLog, finding that they have all learned, to a different extent, to encode information that is predictive of entailment beyond shallow heuristics such as lexical overlap and grammaticality. We closely analyse the best performing language model and show that while it performs more consistently than other language models across logical connectives and reasoning domains, it still is sensitive to lexical and syntactic variations in the realisation of logical statements.

Tasks

Reproductions