depth-eval
DEPTH: Discourse Education through Pre-Training Hierarchically — Bamberger et al. (2024) (arXiv:2405.07788, 2024)
What this evaluates
Evaluates the effectiveness of a hierarchically pre-trained encoder-decoder model (DEPTH) against a standard T5 baseline on discourse understanding, natural language inference, sentiment analysis, grammar checking, and instruction following.
Datasets
- MNLI — total ?; splits: test (-1)
- SST2 — total ?; splits: test (-1)
- CoLA — total ?; splits: test (-1)
- DiscoEval — total ?; splits: test (-1)
- Natural Instructions — total ?; splits: test (-1)
Metrics
accuracy (primary) — range: [0, 1]
- Standard classification accuracy: the proportion of correctly predicted labels out of the total number of instances. For instruction following tasks, exact-match accuracy is typically used.
Input / output format
Input: Text pairs or single sentences for classification tasks (MNLI, SST2, CoLA, SP, DC); instruction prompts for Natural Instructions.
Output: Class labels for classification tasks; generated text responses for Natural Instructions.
Scoring recipe
def compute_accuracy(predictions, gold_labels):
correct = sum(1 for p, g in zip(predictions, gold_labels) if p == g)
return correct / len(gold_labels)
Common pitfalls
- Evaluating intermediate checkpoints without full fine-tuning convergence may misrepresent final performance.
- Comparing From-Scratch and Continuous Pre-Training baselines requires careful accounting of pre-training token counts and initialization states.
- Example packing differences between DEPTH and T5 baselines can confound performance comparisons if not controlled.
Evidence (verbatim from paper)
We evaluate our models on natural language inference (MNLI, Williams et al. ([2018])), sentiment analysis (SST2, Socher et al. ([2013])), and grammar (CoLA, Warstadt et al. ([2019])) within the GLUE benchmark (Wang et al., [2018]). We also use the DiscoEval suite (Chen et al., [2019]) to evaluate models on their understanding of discourse. We use two tasks from DiscoEval: Sentence Permutation (SP) and Discourse Coherence (DC). SP involves identifying the correct position of a removed, while DC involves predicting whether or not a paragraph was coherent. Finally, we measure our model’s generative abilities on the Natural Instructions (NI) dataset (Mishra et al., [2022]), which measures the ability of LMs to follow instructions, and served as a benchmark for NanoT5 (Nawrot, [2023]).
Citation
@misc{bamberger2024depth,
title={DEPTH: Discourse Education through Pre-Training Hierarchically},
author={Bamberger et al. (2024)},
year={2024},
note={arXiv:2405.07788}
}
1---2name: depth-eval3description: Evaluates the effectiveness of a hierarchically pre-trained encoder-decoder model (DEPTH) against a standard T5 baseline on discourse understanding, natural language inference, sentiment analysis, grammar checking, and instruction following. Use when the user wants to benchmark on MNLI, SST2, CoLA, DiscoEval, Natural Instructions, or asks about evaluating this task. Reports accuracy.4metadata:5 source: https://skillmd.com/skills/qhjqhj00/depth-eval6 skill_kind: dataset_eval7 source_arxiv: 2405.077888 bibtex_key: bamberger2024depth9 confidence: medium10---1112# depth-eval1314> DEPTH: Discourse Education through Pre-Training Hierarchically — Bamberger et al. (2024) (arXiv:2405.07788, 2024)1516## What this evaluates1718Evaluates the effectiveness of a hierarchically pre-trained encoder-decoder model (DEPTH) against a standard T5 baseline on discourse understanding, natural language inference, sentiment analysis, grammar checking, and instruction following.1920## Datasets2122- **MNLI** — total ?; splits: test (-1)23- **SST2** — total ?; splits: test (-1)24- **CoLA** — total ?; splits: test (-1)25- **DiscoEval** — total ?; splits: test (-1)26- **Natural Instructions** — total ?; splits: test (-1)2728## Metrics2930- `accuracy` **(primary)** — range: [0, 1]31 - Standard classification accuracy: the proportion of correctly predicted labels out of the total number of instances. For instruction following tasks, exact-match accuracy is typically used.3233## Input / output format3435**Input**: Text pairs or single sentences for classification tasks (MNLI, SST2, CoLA, SP, DC); instruction prompts for Natural Instructions.3637**Output**: Class labels for classification tasks; generated text responses for Natural Instructions.3839## Scoring recipe4041```python42def compute_accuracy(predictions, gold_labels):43 correct = sum(1 for p, g in zip(predictions, gold_labels) if p == g)44 return correct / len(gold_labels)45```4647## Common pitfalls4849- Evaluating intermediate checkpoints without full fine-tuning convergence may misrepresent final performance.50- Comparing From-Scratch and Continuous Pre-Training baselines requires careful accounting of pre-training token counts and initialization states.51- Example packing differences between DEPTH and T5 baselines can confound performance comparisons if not controlled.5253## Evidence (verbatim from paper)5455> We evaluate our models on natural language inference (MNLI, Williams et al. ([2018])), sentiment analysis (SST2, Socher et al. ([2013])), and grammar (CoLA, Warstadt et al. ([2019])) within the GLUE benchmark (Wang et al., [2018]). We also use the DiscoEval suite (Chen et al., [2019]) to evaluate models on their understanding of discourse. We use two tasks from DiscoEval: Sentence Permutation (SP) and Discourse Coherence (DC). SP involves identifying the correct position of a removed, while DC involves predicting whether or not a paragraph was coherent. Finally, we measure our model’s generative abilities on the Natural Instructions (NI) dataset (Mishra et al., [2022]), which measures the ability of LMs to follow instructions, and served as a benchmark for NanoT5 (Nawrot, [2023]).5657## Citation5859```bibtex60@misc{bamberger2024depth,61 title={DEPTH: Discourse Education through Pre-Training Hierarchically},62 author={Bamberger et al. (2024)},63 year={2024},64 note={arXiv:2405.07788}65}66```6768- arXiv: 2405.07788