Promptly Predicting Structures: The Return of Inference

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Mehta, Maitrey, Pyatkin, Valentina, Srikumar, Vivek
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866911819912708096
author Mehta, Maitrey
Pyatkin, Valentina
Srikumar, Vivek
author_facet Mehta, Maitrey
Pyatkin, Valentina
Srikumar, Vivek
contents Prompt-based methods have been used extensively across NLP to build zero- and few-shot label predictors. Many NLP tasks are naturally structured: that is, their outputs consist of multiple labels which constrain each other. Annotating data for such tasks can be cumbersome. Can the promise of the prompt-based paradigm be extended to such structured outputs? In this paper, we present a framework for constructing zero- and few-shot linguistic structure predictors. Our key insight is that we can use structural constraints -- and combinatorial inference derived from them -- to filter out inconsistent structures predicted by large language models. We instantiated this framework on two structured prediction tasks, and five datasets. Across all cases, our results show that enforcing consistency not only constructs structurally valid outputs, but also improves performance over the unconstrained variants.
format Preprint
id arxiv_https___arxiv_org_abs_2401_06877
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Promptly Predicting Structures: The Return of Inference
Mehta, Maitrey
Pyatkin, Valentina
Srikumar, Vivek
Computation and Language
Prompt-based methods have been used extensively across NLP to build zero- and few-shot label predictors. Many NLP tasks are naturally structured: that is, their outputs consist of multiple labels which constrain each other. Annotating data for such tasks can be cumbersome. Can the promise of the prompt-based paradigm be extended to such structured outputs? In this paper, we present a framework for constructing zero- and few-shot linguistic structure predictors. Our key insight is that we can use structural constraints -- and combinatorial inference derived from them -- to filter out inconsistent structures predicted by large language models. We instantiated this framework on two structured prediction tasks, and five datasets. Across all cases, our results show that enforcing consistency not only constructs structurally valid outputs, but also improves performance over the unconstrained variants.
title Promptly Predicting Structures: The Return of Inference
topic Computation and Language
url https://arxiv.org/abs/2401.06877