Prompting Language Models for Linguistic Structure
Terra Blevins, Hila Gonen, Luke Zettlemoyer
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 understanding versus surface-level lexical patterns. To test this, we present a structured prompting approach for linguistic structured 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, demonstrating strong few-shot performance in all cases. We also find that while PLMs contain significant prior knowledge of task labels due to task leakage into the pretraining corpus, structured prompting can also retrieve linguistic structure with arbitrary labels. These findings indicate that the in-context learning ability and linguistic knowledge of PLMs generalizes beyond memorization of their training data.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
10 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- GoLLIE: Annotation Guidelines improve Zero-Shot Information-Extraction cites Language Models are Few-Shot Learners
- Least-to-Most Prompting Enables Complex Reasoning in Large Language Models cites Language Models are Few-Shot Learners
- Rethinking the Role of Demonstrations: What Makes In-Context Learning Work? cites Language Models are Few-Shot Learners
- Extracting Linguistic Information from Large Language Models: Syntactic Relations and Derivational Knowledge cites Language Models are Few-Shot Learners
- Task Contamination: Language Models May Not Be Few-Shot Anymore cites Language Models are Few-Shot Learners
- GPT-RE: In-context Learning for Relation Extraction using Large Language Models cites Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?
Cited by top-tier papers10
- GoLLIE: Annotation Guidelines improve Zero-Shot Information-ExtractionOscar Sainz, Iker García-Ferrero, Rodrigo Agerri, Oier Lopez de Lacalle et al.ICLR 2024 · 168 citations
- Task Contamination: Language Models May Not Be Few-Shot AnymoreChangmao Li, Jeffrey FlaniganAAAI 2024 · 138 citations
- GPT-RE: In-context Learning for Relation Extraction using Large Language ModelsZhen Wan, Fei Cheng, Zhuoyuan Mao, Qianying Liu et al.EMNLP 2023 · 132 citations
- When Language Models Lose Their Mind: The Consequences of Brain MisalignmentGabriele Merlin, Mariya TonevaICLR 2026 · 3 citations
- Extracting Linguistic Information from Large Language Models: Syntactic Relations and Derivational KnowledgeTsedeniya Kinfe Temesgen, Marion Di Marco, Alexander FraserEMNLP 2025 · 2 citations
Builds on8
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?Sewon Min, Xinxi Lyu, Ari Holtzman, Mikel Artetxe et al.EMNLP 2022 · 634 citations
- Template-Based Named Entity Recognition Using BARTLeyang Cui, Yu Wu, Jian Liu, Sen Yang et al.ACL Findings 2021 · 342 citations
- Least-to-Most Prompting Enables Complex Reasoning in Large Language ModelsDenny Zhou, Nathanael Schärli, Le Hou, Jason Wei et al.ICLR 2023 · 318 citations
- Measuring and Narrowing the Compositionality Gap in Language ModelsOfir Press, Muru Zhang, Sewon Min, Ludwig Schmidt et al.EMNLP Findings 2023 · 296 citations
Related papers
- Pre-trained Language Models Can be Fully Zero-Shot LearnersXuandong Zhao, Siqi Ouyang, Zhiguo Yu, Ming Wu et al.ACL 2023 · 22 citations
- AdaPrompt: Adaptive Model Training for Prompt-based NLPYulong Chen, Yang Liu, Li Dong, Shuohang Wang et al.EMNLP Findings 2022 · 44 citations
- Prompt-learning for Fine-grained Entity TypingNing Ding, Yulin Chen, Xu Han, Guangwei Xu et al.EMNLP Findings 2022 · 139 citations
- Zero-Shot Slot Filling with Slot-Prefix Prompting and Attention Relationship DescriptorQiaoyang Luo, Lingqiao LiuAAAI 2023 · 10 citations
- Designing Informative Metrics for Few-Shot Example SelectionRishabh Adiga, Lakshmi Subramanian, Varun ChandrasekaranACL Findings 2024 · 5 citations
