Promptly Predicting Structures: The Return of Inference
Mehta, Maitrey, Pyatkin, Valentina, Srikumar, Vivek
–arXiv.org Artificial Intelligence
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.
arXiv.org Artificial Intelligence
Jan-12-2024
- Country:
- Oceania > Australia (0.04)
- North America
- Dominican Republic (0.04)
- United States
- Utah (0.04)
- Maryland > Baltimore (0.04)
- Oregon > Multnomah County
- Portland (0.04)
- Massachusetts > Suffolk County
- Boston (0.04)
- California > San Francisco County
- San Francisco (0.14)
- Canada
- Europe
- Germany (0.04)
- Portugal > Lisbon
- Lisbon (0.04)
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- Iceland > Capital Region
- Reykjavik (0.04)
- Croatia > Dubrovnik-Neretva County
- Dubrovnik (0.04)
- Asia
- South Korea (0.04)
- Singapore (0.04)
- China > Hong Kong (0.04)
- Middle East > UAE
- Abu Dhabi Emirate > Abu Dhabi (0.04)
- Genre:
- Research Report > New Finding (0.68)
- Industry:
- Education (0.46)
- Technology: