Skip to content
Back to skills

Natural Instructions Eval

ASecurity

Evaluates a model's ability to generalize to unseen NLP tasks by leveraging crowdsourced natural language instructions alongside training data. It measures how well instruction-based learning transfers across different task categories, datasets, and individual tasks compared to data-only training. Use when the user wants to benchmark on Natural Instructions, or asks about evaluating this task. Reports ROUGE-L.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 11, 2026
researchpythongogitperformance

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill natural-instructions-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Natural Instructions Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Natural Instructions Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-natural-instructions-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-natural-instructions-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: natural-instructions-eval
description: Evaluates a model's ability to generalize to unseen NLP tasks by leveraging crowdsourced natural language instructions alongside training data. It measures how well instruction-based learning transfers across different task categories, datasets, and individual tasks compared to data-only training. Use when the user wants to benchmark on Natural Instructions, or asks about evaluating this task. Reports ROUGE-L.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2104.08773
  bibtex_key: [REDACTED]
  confidence: high
---

# natural-instructions-eval

> Cross-Task Generalization via Natural Language Crowdsourcing Instructions — Mishra et al. (2021) (arXiv:2104.08773, 2021)

## What this evaluates

Evaluates a model's ability to generalize to unseen NLP tasks by leveraging crowdsourced natural language instructions alongside training data. It measures how well instruction-based learning transfers across different task categories, datasets, and individual tasks compared to data-only training.

## Datasets

- **Natural Instructions** — total 193000; splits: train (-1), test (-1); repo https://github.com/allenai/natural-instructions-v1

## Metrics

- `ROUGE-L` **(primary)** — range: [0, 1]
  - Automated evaluation metric for text generation that computes the longest common subsequence between predicted and reference outputs. The paper treats all 61 tasks as text generation problems and uses this metric to score generated outputs.

## Input / output format

**Input**: A natural language instruction (potentially containing definition, prompt, positive examples, and negative examples) concatenated with the task-specific input instance.

**Output**: A generated text sequence corresponding to the input instance (e.g., answer, question, or classification label). For GPT3, outputs are limited to a maximum of 16 tokens with a stop condition of 2 newline tokens.

## Scoring recipe

```python
def compute_rouge_l(predictions, references):
    scores = []
    for pred, ref in zip(predictions, references):
        # Compute ROUGE-L F1 score between reference and prediction
        score = rouge_l_score(ref, pred)
        scores.append(score)
    return sum(scores) / len(scores)
```

## Common pitfalls

- Negative examples in instructions often degrade model performance, contrary to human intuition and prior assumptions about their utility.
- ROUGE-L is applied uniformly across all 61 tasks (including classification and verification), which may not capture task-specific correctness accurately.
- Task splits are defined at the task level (not instance level), so improper shuffling can cause data leakage between train and test sets.

## Evidence (verbatim from paper)

> We treat all of our tasks as text generation problems and evaluate them with automated evaluation metrics for text generation. In particular, we use ROUGE-L*Lin ([2004](#bib.bib18 ""))* to automatically evaluate the generated outputs.777Our experiments show that other metrics, e.g. BLEURT*Sellam et al. ([2020](#bib.bib31 ""))* are also correlated with ROUGE-L, which has also been used in generative QA tasks.

## Citation

```bibtex
@misc{mishra2021naturalinstructions,
  title={Cross-Task Generalization via Natural Language Crowdsourcing Instructions},
  author={Mishra et al. (2021)},
  year={2021},
  note={arXiv:2104.08773}
}
```

- arXiv: 2104.08773

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.