paper-with-me

홈 › Papers

Finding Dataset Shortcuts with Grammar Induction

2022-10-20 · Dan Friedman, Alexander Wettig, Danqi Chen

Many NLP datasets have been found to contain shortcuts: simple decision rules that achieve surprisingly high accuracy. However, it is difficult to discover shortcuts automatically. Prior work on automatic shortcut detection has focused on enumerating features like unigrams or bigrams, which can find only low-level shortcuts, or relied on post-hoc model interpretability methods like saliency maps, which reveal qualitative patterns without a clear statistical interpretation. In this work, we propose to use probabilistic grammars to characterize and discover shortcuts in NLP datasets. Specifically, we use a context-free grammar to model patterns in sentence classification datasets and use a synchronous context-free grammar to model datasets involving sentence pairs. The resulting grammars reveal interesting shortcut features in a number of datasets, including both simple and high-level features, and automatically identify groups of test examples on which conventional classifiers fail. Finally, we show that the features we discover can be used to generate diagnostic contrast examples and incorporated into standard robust optimization methods to improve worst-group accuracy.

📄 PDF Abstract BibTeX arXiv:2210.11560

Code (1)

princeton-nlp/shortcutgrammar 공식 구현 pytorch

Tasks

DiagnosticSentenceSentence Classification

Methods 이 논문이 사용한 방법론

Test 설명 없음

Similar Papers 제목 키워드 기반

Complexity of Grammar Induction for Quantum Types

2014-04-13 · Antonin Delpeuch

Most categorical models of meaning use a functor from the syntactic category to the semantic category. When semantic information is available, the problem of grammar induction can therefore be defined as finding preimage…

valid

VLGrammar: Grounded Grammar Induction of Vision and Language

2021-03-24 · ICCV 2021 10 · Yining Hong, Qing Li, Song-Chun Zhu, Siyuan Huang

Cognitive grammar suggests that the acquisition of language grammar is grounded within visual structures. While grammar is an essential representation of natural language, it also exists ubiquitously in vision to represe…

ClusteringContrastive LearningImage RetrievalRetrieval+1

Re-evaluating the Need for Multimodal Signals in Unsupervised Grammar Induction

2022-12-20 · Boyi Li, Rodolfo Corona, Karttikeya Mangalam, Catherine Chen 외

Are multimodal inputs necessary for grammar induction? Recent work has shown that multimodal training inputs can improve grammar induction. However, these improvements are based on comparisons to weak text-only baselines…

Constituency Parsing

A Regularization-based Framework for Bilingual Grammar Induction

2019-11-01 · IJCNLP 2019 11 · Yong Jiang, Wenjuan Han, Kewei Tu

Grammar induction aims to discover syntactic structures from unannotated sentences. In this paper, we propose a framework in which the learning process of the grammar model of one language is influenced by knowledge from…

The Importance of Category Labels in Grammar Induction with Child-directed Utterances

2020-06-20 · WS 2020 7 · Lifeng Jin, William Schuler

Recent progress in grammar induction has shown that grammar induction is possible without explicit assumptions of language-specific knowledge. However, evaluation of induced grammars usually has ignored phrasal labels, a…