paper-with-me

Papers

Compositional generalization in semantic parsing with pretrained transformers

2021-09-30 · A. Emin Orhan

Large-scale pretraining instills large amounts of knowledge in deep neural networks. This, in turn, improves the generalization behavior of these models in downstream tasks. What exactly are the limits to the generalization benefits of large-scale pretraining? Here, we report observations from some simple experiments aimed at addressing this question in the context of two semantic parsing tasks involving natural language, SCAN and COGS. We show that language models pretrained exclusively with non-English corpora, or even with programming language corpora, significantly improve out-of-distribution generalization in these benchmarks, compared with models trained from scratch, even though both benchmarks are English-based. This demonstrates the surprisingly broad transferability of pretrained representations and knowledge. Pretraining with a large-scale protein sequence prediction task, on the other hand, mostly deteriorates the generalization performance in SCAN and COGS, suggesting that pretrained representations do not transfer universally and that there are constraints on the similarity between the pretraining and downstream domains for successful transfer. Finally, we show that larger models are harder to train from scratch and their generalization accuracy is lower when trained up to convergence on the relatively small SCAN and COGS datasets, but the benefits of large-scale pretraining become much clearer with larger models.

📄 PDF Abstract BibTeX arXiv:2109.15101

Code (1)

eminorhan/parsing-transformers 공식 구현 pytorch

Tasks

Out-of-Distribution GeneralizationSemantic Parsing

Similar Papers 제목 키워드 기반

Making Transformers Solve Compositional Tasks

2021-11-16 · ACL ARR September 2021 9 · Anonymous

Several studies have reported the inability of Transformer models to generalize compositionally, a key type of generalization in many NLP tasks such as semantic parsing. In this paper we explore the design space of Trans…

Semantic Parsing

Making Transformers Solve Compositional Tasks

2021-08-09 · ACL 2022 5 · Santiago Ontañón, Joshua Ainslie, Vaclav Cvicek, Zachary Fisher

Several studies have reported the inability of Transformer models to generalize compositionally, a key type of generalization in many NLP tasks such as semantic parsing. In this paper we explore the design space of Trans…

Semantic Parsing

SEQZERO: Few-shot Compositional Semantic Parsing with Sequential Prompts and Zero-shot Models

2022-01-16 · ACL ARR January 2022 1 · Anonymous

Recent research showed promising results on combining pretrained language models (LMs) with canonical utterance for few-shot semantic parsing.The canonical utterance is often lengthy and complex due to the compositional …

Out-of-Distribution GeneralizationSemantic Parsing

Compositional Generalization in Multilingual Semantic Parsing over Wikidata

2021-08-07 · Ruixiang Cui, Rahul Aralikatte, Heather Lent, Daniel Hershcovich

Semantic parsing (SP) allows humans to leverage vast knowledge resources through natural interaction. However, parsers are mostly designed for and evaluated on English resources, such as CFQ (Keysers et al., 2020), the c…

Cross-Lingual TransferSemantic ParsingZero-Shot Cross-Lingual Transfer

Compositional Generalization for Neural Semantic Parsing via Span-level Supervised Attention

2021-06-01 · NAACL 2021 4 · Pengcheng Yin, Hao Fang, Graham Neubig, Adam Pauls 외

We describe a span-level supervised attention loss that improves compositional generalization in semantic parsers. Our approach builds on existing losses that encourage attention maps in neural sequence-to-sequence model…

Machine TranslationSemantic ParsingTranslationWord Alignment