Skip to content
beginnertext

VariErr NLI Round 2 Validity Judgments

Judge whether an explanation makes sense for its NLI label with a radio scheme, beside the item's other explanations. The ten pairs are illustrative.

Try it live — no install

Boot the real Potato server in your browser (WebAssembly) and annotate with this exact config. Nothing leaves your machine.

Run live in your browser

Get This Design

View on GitHub(opens in a new tab)

Clone or download from the repository

Quick start:

bash
git clone https://github.com/davidjurgens/potato-showcase.git
cd potato-showcase/text/natural-language-inference/varierr-nli-validity-judgments
potato start config.yaml

About this dataset

VariErr NLI is a dataset from Weber-Genzel, Peng, de Marneffe, and Plank that separates annotation errors from legitimate human label variation in natural language inference. The paper is listed under SAC Awards, Resources and Evaluation at ACL 2024. Four annotators labeled 500 MNLI items taken from ChaosNLI.

The protocol has two rounds. Round 1 is the sibling design varierr-nli-label-explanations, in which annotators choose NLI labels and write an explanation for each. In Round 2, which this design reproduces, the label-explanation pairs are shown anonymously, and the annotator answers yes, no, or I don't know to whether the explanation makes sense for the label. In the paper, each judge sees all pairs for an item and the study collects 7,732 judgments. A label counts as an error only when none of its explanations is validated, which is computed after collection.

Each page here shows one pair, with the other label-explanation pairs of the item listed as context. The GitHub repository states no license, so the ten pairs were written for the showcase. A deployment could chain the rounds by writing Round 1 output into this design's data file. The design has no model_training block, because it shows labeling only.

Items
500 MNLI items from ChaosNLI
Annotators
4
Label-explanation pairs
1,933
Round 2 judgments
7,732, including 158 I don't know

Configuration File

This Potato config reproduces the annotation task. Save it as config.yaml and run potato start config.yaml to try it.

yaml
# yaml-language-server: $schema=https://potatoannotator.readthedocs.io/en/latest/schemas/potato-config.schema.json
# VariErr NLI, Round 2: does the explanation make sense for the label? (ACL 2024 SAC award, Resources and Evaluation)
#
# Paper:   Weber-Genzel, Peng, de Marneffe and Plank, "VariErr NLI: Separating Annotation Error from
#          Human Label Variation", ACL 2024, doi 10.18653/v1/2024.acl-long.123
# Data:    https://github.com/mainlp/VariErr-NLI (no licence file or licence field found on the repository)
# Protocol (paper section 3.2): "For each label-explanation pair, the annotator judges whether the
#          explanation makes sense for the NLI label, answering 'yes', 'no' or 'IDK' (I don't know)."
#          The 1,933 pairs from Round 1 are "distributed anonymously to the same four annotators",
#          and each judge sees "all label-explanation pairs annotated in Round 1" for an item.
# Multi-stage protocol: this is Round 2. Round 1, in which annotators choose NLI labels and write one
#          explanation per label, is the sibling design varierr-nli-label-explanations. In the study the
#          same four annotators do both rounds, with Round 2 pairs shown anonymously. A deployment could
#          chain the rounds by writing Round 1 output into this design's data file.
# Adaptations: one pair per item here, with the other explanations of the item listed beside it as
#          context. Anonymity and the 1,933 pairs are study design. A label counts as an error only
#          when none of its explanations is self-validated (section 4.3), which is computed after
#          collection. The items are illustrative pairs and explanations written for this design,
#          not rows of VariErr.
# Pairs with the label "I don't know" are dropped before this round (section 3.1), so none appear.

annotation_task_name: "VariErr NLI round 2: validity judgments"

data_files:
  - sample-data.json

item_properties:
  id_key: id
  text_key: explanation

task_dir: .
output_annotation_dir: annotation_output
export_annotation_format: jsonl

instance_display:
  fields:
    - key: premise
      type: text
      label: "Premise"
    - key: hypothesis
      type: text
      label: "Hypothesis"
    - key: label
      type: text
      label: "NLI label"
    - key: explanation
      type: text
      label: "Explanation"
    - key: other_pairs
      type: text
      label: "Other label-explanation pairs for this item"

annotation_schemes:
  - annotation_type: radio
    name: validity
    description: "Does the explanation make sense for the NLI label?"
    labels:
      - "Yes"
      - "No"
      - "I don't know"
    label_requirement:
      required: true

user_config:
  allow_all_users: true

annotation_instructions: |
  Judge each label-explanation pair independently. You do not have to agree with the label. Answer
  "Yes" when the explanation is a sensible reason for that label on this premise and hypothesis.

Sample Data

json
[
  {
    "id": "vv_001",
    "premise": "The museum is closed on Mondays, but the garden stays open all week.",
    "hypothesis": "Visitors can enter the garden on a Monday.",
    "label": "Entailment",
    "explanation": "The garden stays open all week, which includes Monday.",
    "other_pairs": "Neutral: Nothing says whether the garden needs a ticket."
  },
  {
    "id": "vv_002",
    "premise": "The museum is closed on Mondays, but the garden stays open all week.",
    "hypothesis": "Visitors can enter the garden on a Monday.",
    "label": "Neutral",
    "explanation": "Nothing says whether the garden needs a ticket.",
    "other_pairs": "Entailment: The garden stays open all week, which includes Monday."
  }
]

// ... and 8 more items

Dataset & paper

Weber-Genzel et al., ACL 2024

Paper DOI
10.18653/v1/2024.acl-long.123

Citation (BibTeX)

bibtex
@inproceedings{weber-genzel-etal-2024-varierr,
    title = "{V}ari{E}rr {NLI}: Separating Annotation Error from Human Label Variation",
    author = "Weber-Genzel, Leon  and
      Peng, Siyao  and
      De Marneffe, Marie-Catherine  and
      Plank, Barbara",
    editor = "Ku, Lun-Wei  and
      Martins, Andre  and
      Srikumar, Vivek",
    booktitle = "Proceedings of the 62nd Annual Meeting of the {A}ssociation for {C}omputational {L}inguistics (Volume 1: Long Papers)",
    month = aug,
    year = "2024",
    address = "Bangkok, Thailand",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2024.acl-long.123/",
    doi = "10.18653/v1/2024.acl-long.123",
    pages = "2256--2269"
}

Details

Annotation Types

radio

Domain

NLPNatural Language InferenceAnnotation Quality

Use Cases

Label VariationAnnotation Error DetectionExplanation Validation

Tags

varierrnlilabel-variationannotation-erroracl-2024sac-award

Found an issue or want to improve this design?

Open an Issue(opens in a new tab)