ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 1404.5475
44
1

Combining pattern-based CRFs and weighted context-free grammars

22 April 2014
Rustem Takhanov
V. Kolmogorov
ArXivPDFHTML
Abstract

We consider two models for the sequence labeling (tagging) problem. The first one is a {\em Pattern-Based Conditional Random Field }(\PB), in which the energy of a string (chain labeling) x=x1…xn∈Dnx=x_1\ldots x_n\in D^nx=x1​…xn​∈Dn is a sum of terms over intervals [i,j][i,j][i,j] where each term is non-zero only if the substring xi…xjx_i\ldots x_jxi​…xj​ equals a prespecified word w∈Λw\in \Lambdaw∈Λ. The second model is a {\em Weighted Context-Free Grammar }(\WCFG) frequently used for natural language processing. \PB and \WCFG encode local and non-local interactions respectively, and thus can be viewed as complementary. We propose a {\em Grammatical Pattern-Based CRF model }(\GPB) that combines the two in a natural way. We argue that it has certain advantages over existing approaches such as the {\em Hybrid model} of Bened{\í} and Sanchez that combines {\em \mbox{N-grams}} and \WCFGs. The focus of this paper is to analyze the complexity of inference tasks in a \GPB such as computing MAP. We present a polynomial-time algorithm for general \GPBs and a faster version for a special case that we call {\em Interaction Grammars}.

View on arXiv
Comments on this paper