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/Fast and Accurate Neural CRF Constituency Parsing

Fast and Accurate Neural CRF Constituency Parsing

Yu Zhang, Houquan Zhou, Zhenghua Li

2020-08-09IJCAI 2020 7Constituency ParsingDependency Parsing
PaperPDFCode(official)Code

Abstract

Estimating probability distribution is one of the core issues in the NLP field. However, in both deep learning (DL) and pre-DL eras, unlike the vast applications of linear-chain CRF in sequence labeling tasks, very few works have applied tree-structure CRF to constituency parsing, mainly due to the complexity and inefficiency of the inside-outside algorithm. This work presents a fast and accurate neural CRF constituency parser. The key idea is to batchify the inside algorithm for loss computation by direct large tensor operations on GPU, and meanwhile avoid the outside algorithm for gradient computation via efficient back-propagation. We also propose a simple two-stage bracketing-then-labeling parsing approach to improve efficiency further. To improve the parsing performance, inspired by recent progress in dependency parsing, we introduce a new scoring architecture based on boundary representation and biaffine attention, and a beneficial dropout strategy. Experiments on PTB, CTB5.1, and CTB7 show that our two-stage CRF parser achieves new state-of-the-art performance on both settings of w/o and w/ BERT, and can parse over 1,000 sentences per second. We release our code at https://github.com/yzhangcs/crfpar.

Results

TaskDatasetMetricValueModel
Constituency ParsingCTB7F1 score91.92CRF Parser + Electra
Constituency ParsingCTB7F1 score91.55CRF Parser + BERT
Constituency ParsingCTB7F1 score88.6CRF Parser
Constituency ParsingCTB5F1 score92.27CRF Parser + BERT
Constituency ParsingCTB5F1 score89.8CRF Parser
Constituency ParsingPenn TreebankF1 score96.32CRF Parser + RoBERTa
Constituency ParsingPenn TreebankF1 score95.69CRF Parser + BERT
Constituency ParsingPenn TreebankF1 score94.12CRF Parser

Related Papers

Automatic Extraction of Clausal Embedding Based on Large-Scale English Text Data2025-06-16Step-by-step Instructions and a Simple Tabular Output Format Improve the Dependency Parsing Accuracy of LLMs2025-06-11UD-KSL Treebank v1.3: A semi-automated framework for aligning XPOS-extracted units with UPOS tags2025-06-10LKD-KGC: Domain-Specific KG Construction via LLM-driven Knowledge Dependency Parsing2025-05-30Dependency Parsing is More Parameter-Efficient with Normalization2025-05-26FiLLM -- A Filipino-optimized Large Language Model based on Southeast Asia Large Language Model (SEALLM)2025-05-25CrosGrpsABS: Cross-Attention over Syntactic and Semantic Graphs for Aspect-Based Sentiment Analysis in a Low-Resource Language2025-05-25Semantic-based Unsupervised Framing Analysis (SUFA): A Novel Approach for Computational Framing Analysis2025-05-21