Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

A General-Purpose Algorithm for Constrained Sequential Inference

Daniel Deutsch, Shyam Upadhyay, Dan Roth


Abstract
Inference in structured prediction involves finding the best output structure for an input, subject to certain constraints. Many current approaches use sequential inference, which constructs the output in a left-to-right manner. However, there is no general framework to specify constraints in these approaches. We present a principled approach for incorporating constraints into sequential inference algorithms. Our approach expresses constraints using an automaton, which is traversed in lock-step during inference, guiding the search to valid outputs. We show that automata can express commonly used constraints and are easily incorporated into sequential inference. When it is more natural to represent constraints as a set of automata, our algorithm uses an active set method for demonstrably fast and efficient inference. We experimentally show the benefits of our algorithm on constituency parsing and semantic role labeling. For parsing, unlike unconstrained approaches, our algorithm always generates valid output, incurring only a small drop in performance. For semantic role labeling, imposing constraints using our algorithm corrects common errors, improving F1 by 1.5 points. These benefits increase in low-resource settings. Our active set method achieves a 5.2x relative speed-up over a naive approach.
Anthology ID:
K19-1045
Volume:
Proceedings of the 23rd Conference on Computational Natural Language Learning (CoNLL)
Month:
November
Year:
2019
Address:
Hong Kong, China
Editors:
Mohit Bansal, Aline Villavicencio
Venue:
CoNLL
SIG:
SIGNLL
Publisher:
Association for Computational Linguistics
Note:
Pages:
482–492
Language:
URL:
https://aclanthology.org/K19-1045
DOI:
10.18653/v1/K19-1045
Bibkey:
Cite (ACL):
Daniel Deutsch, Shyam Upadhyay, and Dan Roth. 2019. A General-Purpose Algorithm for Constrained Sequential Inference. In Proceedings of the 23rd Conference on Computational Natural Language Learning (CoNLL), pages 482–492, Hong Kong, China. Association for Computational Linguistics.
Cite (Informal):
A General-Purpose Algorithm for Constrained Sequential Inference (Deutsch et al., CoNLL 2019)
Copy Citation:
PDF:
https://aclanthology.org/K19-1045.pdf
Supplementary material:
 K19-1045.Supplementary_Material.zip