Structurally Diverse Sampling for Sample-Efficient Training and Comprehensive Evaluation

Shivanshu Gupta, Sameer Singh, Matt Gardner
3/16/2022
cs.CL

Official code: Shivanshu-Gupta/structural-diversity (1 star, Jupyter Notebook, last commit 2022-12-01).

Abstract

A growing body of research has demonstrated the inability of NLP models to generalize compositionally and has tried to alleviate it through specialized architectures, training schemes, and data augmentation, among other approaches. In this work, we study a different approach: training on instances with diverse structures.

Show full abstract

We propose a model-agnostic algorithm for subsampling such sets of instances from a labeled instance pool with structured outputs. Evaluating on both compositional template splits and traditional IID splits of 5 semantic parsing datasets of varying complexity, we show that structurally diverse training using our algorithm leads to comparable or better generalization than prior algorithms in 9 out of 10 dataset-split type pairs. In general, we find structural diversity to consistently improve sample efficiency compared to random train sets. Moreover, we show that structurally diverse sampling yields comprehensive test sets that are a lot more challenging than IID test sets. Finally, we provide two explanations for improved generalization from diverse train sets: 1) improved coverage of output substructures, and 2) a reduction in spurious correlations between these substructures.

View on arXivView PDF

Code Implementations(1)

10Jupyter Notebook, PythonOct 20, 20224 years ago

Similar Papers

Cite this paper

@article{gupta2022structurally,
  title  = {Structurally Diverse Sampling for Sample-Efficient Training and Comprehensive Evaluation},
  author = {Shivanshu Gupta and Sameer Singh and Matt Gardner},
  year   = {2022},
  eprint = {2203.08445},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.08445}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2203.08445.svg)](https://codeofpaper.com/paper/2203.08445)

Discussion