Prompting Language Models for Linguistic Structure
Authors:
Preprint
Abstract
Although pretrained language models (PLMs) can be prompted to perform a wide range of language tasks, it remains an open question how much this ability comes from generalizable linguistic representations versus more surface-level lexical patterns. To test this, we present a structured prompting approach that can be used to prompt for linguistic structure prediction tasks, allowing us to perform zero- and few-shot sequence tagging with autoregressive PLMs. We evaluate this approach on part-of-speech tagging, named entity recognition, and sentence chunking and demonstrate strong few-shot performance in all cases. We also find that, though the surface forms of the tags provide some signal, structured prompting can retrieve linguistic structure even with arbitrary labels, indicating that PLMs contain this knowledge in a general manner robust to label choice.Keywords
All Related Versions
This publication has 7 references indexed in Scilit:
- Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language ProcessingACM Computing Surveys, 2023
- Measuring and Narrowing the Compositionality Gap in Language Models2023
- Impact of Pretraining Term Frequencies on Few-Shot Numerical Reasoning2022
- Template-Based Named Entity Recognition Using BART2021
- Interpretability and Analysis in Neural NLP2020
- What’s in a Name? Are BERT Named Entity Representations just as Good for any other Name?2020
- The GUM corpus: creating multilayer resources in the classroomLanguage Resources and Evaluation, 2016