Constraining Linear-chain CRFs to Regular Languages

06/14/2021
by   Sean Papay, et al.
0

In structured prediction, a major challenge for models is to represent the interdependencies within their output structures. For the common case where outputs are structured as a sequence, linear-chain conditional random fields (CRFs) are a widely used model class which can learn local dependencies in output sequences. However, the CRF's Markov assumption makes it impossible for these models to capture nonlocal dependencies, and standard CRFs are unable to respect nonlocal constraints of the data (such as global arity constraints on output labels). We present a generalization of CRFs that can enforce a broad class of constraints, including nonlocal ones, by specifying the space of possible output structures as a regular language ℒ. The resulting regular-constrained CRF (RegCCRF) has the same formal properties as a standard CRF, but assigns zero probability to all label sequences not in ℒ. Notably, RegCCRFs can incorporate their constraints during training, while related models only enforce constraints during decoding. We prove that constrained training is never worse than constrained decoding, and show using synthetic data that it can be substantially better in practice. Additionally, we demonstrate a practical benefit on downstream tasks by incorporating a RegCCRF into a deep neural model for semantic role labeling, exceeding state-of-the-art results on a standard dataset.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/28/2018

Embedded-State Latent Conditional Random Fields for Sequence Labeling

Complex textual information extraction tasks are often posed as sequence...
research
12/19/2020

Uncertainty-Aware Label Refinement for Sequence Labeling

Conditional random fields (CRF) for label decoding has become ubiquitous...
research
11/04/2018

Neural CRF transducers for sequence labeling

Conditional random fields (CRFs) have been shown to be one of the most s...
research
09/17/2020

Fast and Accurate Sequence Labeling with Approximate Inference Network

The linear-chain Conditional Random Field (CRF) model is one of the most...
research
05/01/2020

Structured Tuning for Semantic Role Labeling

Recent neural network-driven semantic role labeling (SRL) systems have s...
research
05/01/2020

Low Resource Multi-Task Sequence Tagging – Revisiting Dynamic Conditional Random Fields

We compare different models for low resource multi-task sequence tagging...
research
05/21/2017

Large-Scale Classification of Structured Objects using a CRF with Deep Class Embedding

This paper presents a novel deep learning architecture to classify struc...

Please sign up or login with your details

Forgot password? Click here to reset