Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

A large annotated corpus for learning natural language inference

Researchers built a 570K-pair corpus that lets NLI models train at scale

  • Problem Earlier NLI datasets were either hand-labeled but tiny or large but noisy, so learned models could not be trained well. Fully automatic labels and unclear labels from event coreference also limited them.
  • Method The Stanford Natural Language Inference corpus is built by crowdsourcing sentence pairs from Flickr30k captions. Workers write one entailment, one neutral and one contradiction hypothesis per premise, and about 10% of pairs get five labels.
  • Results On the SNLI test set in 3-class classification, the lexicalized classifier reaches 78.2 and the LSTM RNN reaches 77.6.

Why existing NLI resources fall short

Earlier NLI resources were either hand-labeled but tiny or large but noisy, which limits how well learned models can be trained and compared. The RTE challenge sets have fewer than a thousand examples each, and the SICK data reaches only 4,500 training examples, with some spurious patterns introduced by its partly automatic construction. Denotation Graph contains millions of pairs but was labeled by fully automatic methods, so it is best used as supplementary training data.

A subtler problem affects even purely human-labeled corpora: when events or entities are not clearly coreferent, the correct label of a pair can change. A pair about a boat sinking in the Pacific and another about a boat sinking in the Atlantic can be labeled contradiction if both sentences describe one event, and neutral if they do not. Labeling each pair individually cannot resolve this, so one convention has to be chosen for the whole corpus, and either choice creates its own problems.

Assuming that events are coreferent produces counterintuitive labels for unrelated sentences, while refusing that assumption restricts contradictions to broad universal claims. Entity coreference raises the same issue: a tourist visiting New York and a tourist visiting the city is an entailment only if the two places are assumed to be the same.

How the corpus was collected

Workers were free to write new sentences instead of editing existing ones, which the authors found yields richer examples without sacrificing consistency. Images were not used during collection, so each label has to be recoverable from the text alone.

Data was gathered on Amazon Mechanical Turk, where each task showed one premise caption and asked for three hypotheses, one each for entailment, neutral and contradiction, so the classes stay balanced. The task instructions asked for one caption that is definitely true, one that might be true and one that is definitely false, and the accompanying FAQ was extended during collection to forbid techniques such as reusing a sentence across prompts.

About 2,500 workers contributed.

The premises are Flickr30k captions, about 160k captions for about 30k images, written by people other than the photographers, and they tend to describe scenes literally. A pilot set of about 4k pairs, whose premises come from VisualGenome, appears only in the training split and carries identifiers prefixed with vg.

The corpus contains 570,152 pairs in total, with 550,152 for training and 10,000 each for development and test. Premises average 14.1 tokens and hypotheses 8.3, and hypotheses cluster at around seven words.

Validation and gold labels

Validation covers about 10% of the data, with each pair given to four extra annotators so that every pair has five labels, including the label of the original author. An early batch showed random guessing, so those judgments were removed and the qualification was closed to about 30 trusted workers.

Placeholder pairs stay in the distribution but are excluded from training and from evaluation in the experiments reported here.

Four extra judgments were collected for 56,941 examples, and 98% of these reach a three-annotator consensus while 58% have unanimous agreement from all five annotators. Table 3 gives 56,951 validated pairs, against 56,941 in the text. Fleissκ over examples with five annotations is 0.70 overall, 0.77 for contradiction, 0.72 for entailment and 0.60 for neutral.

The authors expect these κ values to be conservative, given the large and unevenly used pool of annotators. The gold label matches the label of the original author in 91.2% of cases, and differs in 6.8%.

Baselines from the Excitement Open Platform

The Excitement Open Platform supplies a simple edit-distance system and a classifier, and the classifier is tested both bare and with its full set of lexical resources. Each algorithm is trained separately on each corpus, and for SNLI and SICK the labels are collapsed to two classes by mapping contradiction and unknown to nonentailment. The edit-distance system tunes the weights of three case-insensitive operations on the training data after stop words are removed.

On the SNLI test set the most-frequent-class baseline reaches 66%, the edit-distance system 71.9 and the bare classifier 72.2, while the classifier with lexical resources reaches 75.0. These are 2-class scores, so they are not directly comparable with the 3-class scores reported for the lexicalized and neural models.

Lexicalized classifier and feature ablations

The classifier is a simple linear model over six feature types, three unlexicalized and three lexicalized. The unlexicalized features are a BLEU score of hypothesis against premise with n-grams from 1 to 4, a real-valued length difference, and word overlap counts over all words and over content-word classes. The lexicalized features are indicators for each hypothesis unigram and bigram, cross-unigrams for word pairs sharing a POS tag, and cross-bigrams for bigram pairs whose second words share a POS tag.

In 3-class classification on the SNLI test set, the full lexicalized model reaches 78.2, while the unlexicalized model reaches 50.4. Removing the cross-bigram features and keeping only the cross-unigrams lowers test accuracy from 78.2 to 71.6. The full model reaches 99.7 on its training data, so it fits that data almost perfectly.

The authors read the cross-bigram gain as evidence that the classifier learns structures such as explicit negation and adjective modification without alignment or tree transformations. They note that a similar benefit of bigram features was reported earlier for sentiment analysis, and they expect richer models to do better while arguing that with enough data, cross-bigrams under the noisy POS overlap constraint can be effective.

Sentence embedding models with a shared classifier

Each sentence is encoded without seeing the other, so the model produces one vector for the premise and one for the hypothesis. The two 100d vectors feed a classifier made of three 200d tanh layers and a three-way softmax, trained jointly with the encoder, and the design is based on a one-layer model from Bowman et al. 2015.

The three encoders are a sum of word embeddings, a plain RNN and an LSTM RNN, each producing 100d phrase and sentence embeddings. Word embeddings start from the 300d GloVe vectors trained on 840B tokens and are fine-tuned, with an extra tanh layer mapping them into the 100d space. All encoders are trained with AdaDelta minibatch SGD until development performance stops improving.

The L2 strength is tuned separately for each model, and dropout at a fixed rate is applied to the inputs and outputs of the sentence models but not to their internal connections.

Training and test accuracy are 79.3 and 75.3 for the sum of words model, 73.1 and 72.2 for the plain RNN, and 84.8 and 77.6 for the LSTM RNN. The sum of words model trails the lexicalized classifier, which the authors tie to its lack of sensitivity to word order, even though pretrained vectors help it with rare words. The LSTM is far ahead of the plain RNN and close to the lexicalized model on the test set, where it scores 77.6 against 78.2, and its score moves by up to 0.5% between evaluation steps near the stopping point.

The lexicalized model fits its training data almost perfectly, while the train-test gap for the neural models is small, which suggests that higher-capacity versions could be worth exploring.

How training set size changes the picture

Models are trained to convergence on increasing numbers of SNLI training pairs, and the curves show that corpus size matters for both the LSTM and the lexicalized model. The y-axis starts near random chance, 33%, and the minibatch size of 64 used for the LSTM sets a lower bound on the data that model can be trained on.

With only 100 training examples, the cross-bigram classifier already beats the unlexicalized classifier, and the authors were struck by how quickly that happens. Its top-weighted features at that size tend to be high-precision entailments, such as playing implying outside and a banana implying person eating. The authors argue that because few spurious entailments receive large weights, these features boost accuracy when they fire.

At the full training size the LSTM and the lexicalized model perform similarly, but the LSTM curve is steeper, which the authors take to mean it may gain more from larger datasets.

Where the models fail

Errors common to all the models point to lexical relations, phrase-level composition, world knowledge and context-specific inference as weak spots.

A race car driver leaping from a burning car is labeled as entailing a driver escaping danger, but both the lexicalized classifier and the LSTM predict neutral, which the authors link to world knowledge. A girl throwing sand toward the ocean is wrongly predicted to entail that a girl cannot stand the ocean, which the authors attribute to distributional associations between throws and can't stand.

Hypotheses largely keep the topic and focus structure of their premises, which helps coherence but gives models a cue they can misuse, as in a soup-bowl pair that all models mishandle. A man wearing arm protection being bitten by a German shepherd dog is wrongly labeled entailment against a man biting a dog, and the authors suggest that models with explicit syntactic or semantic structure should handle such cases better.

Transfer from SNLI to SICK

The parameters of the SNLI-trained LSTM RNN initialize a new model that is trained only on the SICK training split. The softmax layer and the embeddings of words that appear in SICK but not in SNLI are initialized anew, with GloVe vectors for the latter, and the hyperparameters carry over except the L2 strength, which is retuned. The AdaDelta accumulators are transferred as well, which lowers the starting learning rates so that the model does not learn too quickly after transfer.

Under the SNLI-only regime the LSTM scores 42.0 on the SICK training split and 46.7 on the SICK test split, while training on SICK alone reaches 100.0 and 71.3. The transfer model reaches 80.8 test accuracy on SICK, with 99.9 on its training split.

The authors report that the transfer result surpasses the EOP models, which are 2-class scores, and approaches the 84.6% of Lai and Hockenmaier 2014 and an 84% level of interannotator agreement. Those figures come from a different system and an approximate ceiling, so they are not a controlled comparison with the transferred model.

Limits of transfer to RTE-3

The same transfer method was applied to the RTE-3 challenge, whose training set has 800 examples. The small set did not let the model adapt to the genre of text in that corpus, and no training configuration gave competitive performance. The authors suggest that further research on transfer learning with small data sets and neural models might improve this.

Limitations

Pairs without a gold label, about 2% of cases, are excluded from the training and evaluation reported here. The authors expect the Fleissκ agreement values to understate agreement because of the large and unevenly used annotator pool. Only models designed to scale to SNLI's size without modification were evaluated, and a fuller comparison of approaches is left to future work.

The EOP scores in Table 4 are 2-class, while the lexicalized and neural results are 3-class, so the two sets of numbers are not interchangeable. The LSTM's test scores depend on the stopping point, with variation of up to 0.5% between evaluation steps.

Paper info

Authors
Samuel R. Bowman, Gabor Angeli, Christopher Potts, Christopher D. Manning
Venue
arXiv · Preprint
First published
2015-8-21
Added
2026-11-12
Updated
2015-8-21
Version
v1
arXiv
1508.05326
Category
cs.CL
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Samuel R. Bowman, Gabor Angeli, Christopher Potts, Christopher D. Manning (2015). A large annotated corpus for learning natural language inference. arXiv:1508.05326v1. https://arxiv.org/abs/1508.05326v1

BibTeX
@misc{bowman2015large,
  title = {{A large annotated corpus for learning natural language inference}},
  author = {Samuel R. Bowman and Gabor Angeli and Christopher Potts and Christopher D. Manning},
  year = {2015},
  eprint = {1508.05326},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1508.05326v1}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up