paper-with-me

Papers

Inference algorithms for pattern-based CRFs on sequence data

2012-10-01 · Rustem Takhanov, Vladimir Kolmogorov

We consider Conditional Random Fields (CRFs) with pattern-based potentials defined on a chain. In this model the energy of a string (labeling) $x_1...x_n$ is the sum of terms over intervals $[i,j]$ where each term is non-zero only if the substring $x_i...x_j$ equals a prespecified pattern $\alpha$. Such CRFs can be naturally applied to many sequence tagging problems. We present efficient algorithms for the three standard inference tasks in a CRF, namely computing (i) the partition function, (ii) marginals, and (iii) computing the MAP. Their complexities are respectively $O(n L)$, $O(n L \ell_{max})$ and $O(n L \min\{|D|,\log (\ell_{max}+1)\})$ where $L$ is the combined length of input patterns, $\ell_{max}$ is the maximum length of a pattern, and $D$ is the input alphabet. This improves on the previous algorithms of (Ye et al., 2009) whose complexities are respectively $O(n L |D|)$, $O(n |\Gamma| L^2 \ell_{max}^2)$ and $O(n L |D|)$, where $|\Gamma|$ is the number of input patterns. In addition, we give an efficient algorithm for sampling. Finally, we consider the case of non-positive weights. (Komodakis & Paragios, 2009) gave an $O(n L)$ algorithm for computing the MAP. We present a modification that has the same worst-case complexity but can beat it in the best case.

📄 PDF Abstract BibTeX arXiv:1210.0508

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Regular-pattern-sensitive CRFs for Distant Label Interactions

2024-11-19 · Sean Papay, Roman Klinger, Sebastian Pado

Linear-chain conditional random fields (CRFs) are a common model component for sequence labeling tasks when modeling the interactions between different labels is important. However, the Markov assumption limits linear-ch…

Neural Latent Dependency Model for Sequence Labeling

2020-11-10 · Yang Zhou, Yong Jiang, Zechuan Hu, Kewei Tu

Sequence labeling is a fundamental problem in machine learning, natural language processing and many other fields. A classic approach to sequence labeling is linear chain conditional random fields (CRFs). When combined w…

model

Regularized Frank-Wolfe for Dense CRFs: Generalizing Mean Field and Beyond

2021-10-27 · NeurIPS 2021 12 · Đ. Khuê Lê-Huu, Karteek Alahari

We introduce regularized Frank-Wolfe, a general and effective algorithm for inference and learning of dense conditional random fields (CRFs). The algorithm optimizes a nonconvex continuous relaxation of the CRF inference…

Semantic Segmentation

Mean Field inference of CRFs based on GAT

2022-05-29 · LingHong Xing, XiangXiang Ma, GuangSheng Luo

In this paper we propose an improved mean-field inference algorithm for the fully connected paired CRFs model. The improved method Message Passing operation is changed from the original linear convolution to the present …

Graph AttentionSemantic Segmentationtext annotation

Neural CRF transducers for sequence labeling

2018-11-04 · Kai Hu, Zhijian Ou, Min Hu, Junlan Feng

Conditional random fields (CRFs) have been shown to be one of the most successful approaches to sequence labeling. Various linear-chain neural CRFs (NCRFs) are developed to implement the non-linear node potentials in CRF…

ChunkingNERPOSPOS Tagging