English

FLEX: Unifying Evaluation for Few-Shot NLP

Computation and Language 2021-11-09 v2 Machine Learning

Abstract

Few-shot NLP research is highly active, yet conducted in disjoint research threads with evaluation suites that lack challenging-yet-realistic testing setups and fail to employ careful experimental design. Consequently, the community does not know which techniques perform best or even if they outperform simple baselines. In response, we formulate the FLEX Principles, a set of requirements and best practices for unified, rigorous, valid, and cost-sensitive few-shot NLP evaluation. These principles include Sample Size Design, a novel approach to benchmark design that optimizes statistical accuracy and precision while keeping evaluation costs manageable. Following the principles, we release the FLEX benchmark, which includes four few-shot transfer settings, zero-shot evaluation, and a public leaderboard that covers diverse NLP tasks. In addition, we present UniFew, a prompt-based model for few-shot learning that unifies pretraining and finetuning prompt formats, eschewing complex machinery of recent prompt-based approaches in adapting downstream task formats to language model pretraining objectives. We demonstrate that despite simplicity, UniFew achieves results competitive with both popular meta-learning and prompt-based approaches.

Keywords

Cite

@article{arxiv.2107.07170,
  title  = {FLEX: Unifying Evaluation for Few-Shot NLP},
  author = {Jonathan Bragg and Arman Cohan and Kyle Lo and Iz Beltagy},
  journal= {arXiv preprint arXiv:2107.07170},
  year   = {2021}
}

Comments

NeurIPS 2021. First two authors contributed equally. Code and leaderboard available at: https://github.com/allenai/flex

R2 v1 2026-06-24T04:13:11.494Z