paper-with-me

홈 › Papers

Probing Natural Language Inference Models through Semantic Fragments

2019-09-16 · Kyle Richardson, Hai Hu, Lawrence S. Moss, Ashish Sabharwal

Do state-of-the-art models for language understanding already have, or can they easily learn, abilities such as boolean coordination, quantification, conditionals, comparatives, and monotonicity reasoning (i.e., reasoning about word substitutions in sentential contexts)? While such phenomena are involved in natural language inference (NLI) and go beyond basic linguistic understanding, it is unclear the extent to which they are captured in existing NLI benchmarks and effectively learned by models. To investigate this, we propose the use of semantic fragments---systematically generated datasets that each target a different semantic phenomenon---for probing, and efficiently improving, such capabilities of linguistic models. This approach to creating challenge datasets allows direct control over the semantic diversity and complexity of the targeted linguistic phenomena, and results in a more precise characterization of a model's linguistic behavior. Our experiments, using a library of 8 such semantic fragments, reveal two remarkable findings: (a) State-of-the-art models, including BERT, that are pre-trained on existing NLI benchmark datasets perform poorly on these new fragments, even though the phenomena probed here are central to the NLI task. (b) On the other hand, with only a few minutes of additional fine-tuning---with a carefully selected learning rate and a novel variation of "inoculation"---a BERT-based model can master all of these logic and monotonicity fragments while retaining its performance on established NLI benchmarks.

📄 PDF Abstract BibTeX arXiv:1909.07521

Code (3)

allenai/semantic_fragments
colinzhaoust/intrinsic_fewshot_hardness
yakazimir/semantic_fragments pytorch

Tasks

Natural Language Inference

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Weight Decay 설명 없음
Residual Connection 설명 없음
Adam 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…

Similar Papers 제목 키워드 기반

Probing Linguistic Information For Logical Inference In Pre-trained Language Models

2021-12-03 · Zeming Chen, Qiyue Gao

Progress in pre-trained language models has led to a surge of impressive results on downstream tasks for natural language understanding. Recent work on probing pre-trained language models uncovered a wide range of lingui…

Language ModelingLanguage ModellingNatural Language Understanding

Interventional Probing in High Dimensions: An NLI Case Study

2023-04-20 · Julia Rozanova, Marco Valentino, Lucas Cordeiro, Andre Freitas

Probing strategies have been shown to detect the presence of various linguistic features in large language models; in particular, semantic features intermediate to the "natural logic" fragment of the Natural Language Inf…

Natural Language InferenceVocal Bursts Intensity Prediction

Investigating semantic subspaces of Transformer sentence embeddings through linear structural probing

2023-10-18 · Dmitry Nikolaev, Sebastian Padó

The question of what kinds of linguistic information are encoded in different layers of Transformer-based language models is of considerable interest for the NLP community. Existing work, however, has overwhelmingly focu…

DecoderNatural Language InferenceSemantic Textual SimilaritySentence+1

A Multilingual Benchmark for Probing Negation-Awareness with Minimal Pairs

2021-11-01 · CoNLL (EMNLP) 2021 11 · Mareike Hartmann, Miryam de Lhoneux, Daniel Hershcovich, Yova Kementchedjhieva 외

Negation is one of the most fundamental concepts in human cognition and language, and several natural language inference (NLI) probes have been designed to investigate pretrained language models’ ability to detect and re…

Natural Language InferenceNegation

Probing Multimodal Embeddings for Linguistic Properties: the Visual-Semantic Case

2021-02-22 · COLING 2020 8 · Adam Dahlgren Lindström, Suna Bensch, Johanna Björklund, Frank Drewes

Semantic embeddings have advanced the state of the art for countless natural language processing tasks, and various extensions to multimodal domains, such as visual-semantic embeddings, have been proposed. While the powe…