Skip to content
intermediatetext

PeerQA Author Answers with Evidence Passages

Answer a reviewer's question on a paper with highlighted evidence and a written answer, or mark it unanswerable. Items 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/question-answering/peerqa-author-answer-evidence
potato start config.yaml

About this dataset

PeerQA is a scientific question answering dataset built from peer reviews, by Tim Baumgartner, Ted Briscoe, and Iryna Gurevych. The paper appeared at NAACL 2025 and won an Outstanding Paper award. Questions come from reviews of a paper, and the authors of that paper answer them against the final version.

The paper's annotation task has four steps. Authors give feedback on a question, highlight the answer evidence in the final paper, write a free-form answer, or flag the question as unanswerable with a reason. The design reproduces the steps with a feedback text box, a span scheme over the paper text, an answer text box, an answerability radio, and a reason text box. The paper has only an unanswerable flag, so the explicit Answerable label is written for this design. The original interface highlights text in the PDF, and the design highlights spans in plain text. The paper's annotators are the authors of each paper, so a faithful run needs those authors. The questions and passages are illustrative and were written for the design, because the dataset questions and answers carry a CC BY-NC-SA 4.0 license.

Annotation steps
4 (question feedback, answer evidence, free-text answer, unanswerable flag)
Dataset license
CC BY-NC-SA 4.0 for questions and answers
Sample items in this design
10 illustrative questions with short passages

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
# PeerQA: paper authors answer reviewers' questions about their own paper (NAACL 2025 Outstanding Paper)
#
# Paper:   Baumgartner, Briscoe and Gurevych, "PeerQA: A Scientific Question Answering Dataset from
#          Peer Reviews", NAACL 2025, doi 10.18653/v1/2025.naacl-long.22
# Data:    https://github.com/UKPLab/peerqa and https://huggingface.co/datasets/UKPLab/PeerQA
#          (all questions and answers CC-BY-NC-SA 4.0 per paper section 3.1, so the items here are
#          invented illustrations and are not copied from it).
# Protocol (paper section 3.1 and Appendix K.2): "The annotation task comprises 4 steps: First, authors
#          can provide feedback on a question, e.g., to remove or update it. Second, the authors
#          highlight any text in the PDF of the final paper that is relevant to answering the
#          question, which we refer to as Answer Evidence. Third, the authors provide free-form text
#          that directly answers the question. Alternatively, questions can also be flagged as
#          unanswerable." The interface offers "1.2 Question Feedback", "2.1 Answer Evidence",
#          "2.2 Answer Free Text" and "3.1" unanswerable, with a "No Answer Reason Free Text".
#
# Adaptations: the paper has only an "unanswerable" flag (section 3.1) and a No Answer Reason text
#          box (Appendix K.2). The explicit "Answerable" label and the radio scheme are written for
#          this design. The paper's annotators are the authors of each paper, so a faithful run needs
#          those authors. The original interface highlights text in the camera-ready PDF. This design shows
#          the paper passage as text and highlights spans in it. Several spans can be added, as in
#          the original. Contacting authors by email and the guideline video are study design.

annotation_task_name: "PeerQA author answers with evidence"

data_files:
  - sample-data.json

item_properties:
  id_key: id
  text_key: paper_text

task_dir: .
output_annotation_dir: annotation_output
export_annotation_format: jsonl

instance_display:
  fields:
    - key: question
      type: text
      label: "Reviewer question"
    - key: paper_text
      type: text
      label: "Your paper (final version)"
      span_target: true

annotation_schemes:
  - annotation_type: text
    name: question_feedback
    description: "1.2 Question Feedback. Should the question be removed or changed? Leave empty if it is fine."
    multiline: true
    rows: 2
    cols: 60

  - annotation_type: span
    name: answer_evidence
    description: "2.1 Answer Evidence. Highlight every passage of the paper that helps answer the question."
    labels:
      - name: "Answer Evidence"
        tooltip: "Text in the final paper that is relevant to answering the question"

  - annotation_type: text
    name: answer_free_text
    description: "2.2 Answer Free Text. Write an answer that directly addresses the question."
    multiline: true
    rows: 4
    cols: 60

  - annotation_type: radio
    name: answerability
    description: "3.1 Can the question be answered from the final paper?"
    labels:
      - "Answerable"
      - "Unanswerable"
    label_requirement:
      required: true

  - annotation_type: text
    name: no_answer_reason
    description: "No Answer Reason Free Text. If unanswerable, say why (for example, the answer was only given in the rebuttal)."
    multiline: true
    rows: 2
    cols: 60

user_config:
  allow_all_users: true

annotation_instructions: |
  The question was written by a reviewer of an earlier version of your paper. Answer it from the
  final version. Highlight the evidence first, then write the answer in your own words. Mark the
  question unanswerable only if the final paper does not contain the answer.

Sample Data

json
[
  {
    "id": "pq_001",
    "question": "Which datasets were used to evaluate the retriever?",
    "paper_text": "We evaluate the retriever on two benchmarks, NewsQA and a held-out split of our own forum corpus. Both are described in Section 3. Training uses only the forum corpus."
  },
  {
    "id": "pq_002",
    "question": "How many annotators labeled each example?",
    "paper_text": "Each example was labeled by three annotators recruited through a university mailing list. Disagreements were resolved by majority vote, and ties by a fourth annotator."
  }
]

// ... and 8 more items

Dataset & paper

Baumgartner et al., NAACL 2025

Paper DOI
10.18653/v1/2025.naacl-long.22

Citation (BibTeX)

bibtex
@inproceedings{baumgartner-etal-2025-peerqa,
    title = "{P}eer{QA}: A Scientific Question Answering Dataset from Peer Reviews",
    author = {Baumg{\"a}rtner, Tim  and
      Briscoe, Ted  and
      Gurevych, Iryna},
    editor = "Chiruzzo, Luis  and
      Ritter, Alan  and
      Wang, Lu",
    booktitle = "Proceedings of the 2025 Conference of the Nations of the {A}mericas Chapter of the {A}ssociation for {C}omputational {L}inguistics: Human Language Technologies (Volume 1: Long Papers)",
    month = apr,
    year = "2025",
    address = "Albuquerque, New Mexico",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2025.naacl-long.22/",
    doi = "10.18653/v1/2025.naacl-long.22",
    pages = "508--544",
    ISBN = "979-8-89176-189-6"
}

Details

Annotation Types

textspanradio

Domain

Scientific Question AnsweringPeer ReviewScholarly Documents

Use Cases

Answer Evidence HighlightingFree-Text AnswersAnswerability Judgment

Tags

peerqapeer reviewscientific qaevidencenaacl 2025

Found an issue or want to improve this design?

Open an Issue(opens in a new tab)