Constraining Linear-chain CRFs to Regular Languages
Sean Papay, Roman Klinger, Sebastian Padó
Abstract
A major challenge in structured prediction is to represent the interdependencies within output structures. When outputs are structured as sequences, linear-chain conditional random fields (CRFs) are a widely used model class which can learn local dependencies in the output. However, the CRF's Markov assumption makes it impossible for CRFs to represent distributions with 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 empirically 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.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers2
- A Fast and Sound Tagging Method for Discontinuous Named-Entity RecognitionCaio CorroEMNLP 2024 · 1 citation
- PathCRF: Ball-Free Soccer Event Detection via Possession Path Inference from Player TrajectoriesHyunsung Kim, Kunhee Lee, Sangwoo Seo, Sang-Ki Ko et al.KDD 2026
Related papers
- Frame Semantic Role Labeling Using Arbitrary-Order Conditional Random FieldsChaoyi Ai, Kewei TuAAAI 2024 · 3 citations
- Structured Tuning for Semantic Role LabelingTao Li, Parth Anand Jawale, Martha Palmer, Vivek SrikumarACL 2020 · 2 citations
- Semantic Role Labeling as Syntactic Dependency ParsingTianze Shi, Igor Malioutov, Ozan IrsoyEMNLP 2020 · 15 citations
- Boosting the Performance of Generic Deep Neural Network Frameworks with Log-supermodular CRFsHao Xiong, Yangxiao Lu, Nicholas RuozziNeurIPS 2022
- Compositional Generalization without Trees using Multiset Tagging and Latent PermutationsMatthias Lindemann, Alexander Koller, Ivan TitovACL 2023
