TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Constraining Linear-chain CRFs to Regular Languages

Constraining Linear-chain CRFs to Regular Languages

Sean Papay, Roman Klinger, Sebastian Padó

2021-06-14ICLR 2022 4Structured PredictionSemantic Role Labeling
PaperPDFCode(official)

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 \textit{local} dependencies in the output. However, the CRF's Markov assumption makes it impossible for CRFs to represent distributions with \textit{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 $\mathcal{L}$. 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 $\mathcal{L}$. 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.

Results

TaskDatasetMetricValueModel
Semantic Role LabelingOntoNotesF187.51RoBERTa+RegCCRF
Semantic Role LabelingOntoNotesF187.27RoBERTa+CRF

Related Papers

Identifying economic narratives in large text corpora -- An integrated approach using Large Language Models2025-06-18Learning Distributions over Permutations and Rankings with Factorized Representations2025-05-30Nested Named Entity Recognition as Single-Pass Sequence Labeling2025-05-22Multi-domain Multilingual Sentiment Analysis in Industry: Predicting Aspect-based Opinion Quadruples2025-05-15Structured Prediction with Abstention via the Lovász Hinge2025-05-09FRASE: Structured Representations for Generalizable SPARQL Query Generation2025-03-28Active Data Sampling and Generation for Bias Remediation2025-03-26Predicting Through Generation: Why Generation Is Better for Prediction2025-02-25