Evaluating the Impact of Model Scale for Compositional Generalization in Semantic Parsing
By Linlu Qiu, Peter Shaw, Panupong Pasupat, Tianze Shi, Jonathan Herzig, Emily Pitler, Fei Sha, Kristina Toutanova. 2022
60 citations recorded by the source corpus.
Despite their strong performance on many tasks, pre-trained language models have been shown to struggle on out-of-distribution compositional generalization. Meanwhile, recent work has shown considerable improvements on many NLP tasks from model scaling. Can scaling up model size also improve compositional generalization in semantic parsing? We evaluate encoder-decoder models up to 11B parameters and decoder-only models up to 540B parameters, and compare model scaling curves for three different methods for applying a pre-trained language model to a new task: fine-tuning all parameters, prompt tuning, and in-context learning. We observe that fine-tuning generally has flat or negative scaling curves on out-of-distribution compositional generalization in semantic parsing evaluations. In-context learning has positive scaling curves, but is generally outperformed by much smaller fine-tuned models. Prompt-tuning can outperform fine-tuning, suggesting further potential improvements from scaling as it exhibits a more positive scaling curve. Additionally, we identify several error trends that vary with model scale. For example, larger models are generally better at modeling the syntax of the output space, but are also more prone to certain types of overfitting. Overall, our study highlights limitations of current techniques for effectively leveraging model scale for compositional generalization, while our analysis also suggests promising directions for future work.
Subfields: Artificial Intelligence, Natural Language Processing, Information Extraction
How researchers see this paper
The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.
In Artificial Intelligence
- Denny Zhou
- Xinyun Chen
- Yang Liu
- Percy Liang
- Dilek Z. Hakkani-Tür
- Nathanael Scharli
- Nathan Scales
- Siva Reddy
In Natural Language Processing
- Denny Zhou
- Xinyun Chen
- Yang Liu
- Dilek Z. Hakkani-Tür
- Siva Reddy
- Nathan Scales
- Prakhar Gupta
- Nicholas Meade
In Information Extraction
Citations in the corpus
- Using In-Context Learning to Improve Dialogue Safety (2023, background): “In-context learning (Brown et al., 2020; Du et al., 2021; Rae et al., 2022) has proven effective in many NLP tasks (Hu et al., 2022; Lampinen et al., 2022; Qiu et al., 2022).”
- Retrieval-Augmented Generation for AI-Generated Content: A Survey (2024, unknown): “A possible explanation is that diversity in retrieval results may also be necessary for prompt construction [370].”
- Compositional Semantic Parsing with Large Language Models (2022, methodology): “While COGS proves to be quite challenging for generic ML architectures, the best specialized models achieve 99.7% accuracy (Qiu et al., 2022a).”