Skip to main content
QUICK REVIEW

[Paper Review] DAG-based Long Short-Term Memory for Neural Word Segmentation

Chen Xin-chi, Zhan Shi|arXiv (Cornell University)|Jul 2, 2017
Natural Language Processing TechniquesComputer Science23 references8 citations
TL;DR

This paper proposes DAG-LSTM, a novel neural architecture that integrates word-level information into character-based sequence labeling for Chinese word segmentation by constructing a directed acyclic graph (DAG) over a vocabulary. The model enhances performance through joint character and word embeddings in a DAG-structured LSTM, achieving state-of-the-art results on three benchmarks, especially benefiting from external vocabularies even with out-of-vocabulary words.

ABSTRACT

Neural word segmentation has attracted more and more research interests for its ability to alleviate the effort of feature engineering and utilize the external resource by the pre-trained character or word embeddings. In this paper, we propose a new neural model to incorporate the word-level information for Chinese word segmentation. Unlike the previous word-based models, our model still adopts the framework of character-based sequence labeling, which has advantages on both effectiveness and efficiency at the inference stage. To utilize the word-level information, we also propose a new long short-term memory (LSTM) architecture over directed acyclic graph (DAG). Experimental results demonstrate that our model leads to better performances than the baseline models.

Motivation & Objective

  • To improve character-based neural word segmentation by incorporating word-level information without abandoning the efficient sequence labeling framework.
  • To address the limitations of beam-search and word-length constraints in existing word-based models by enabling exact inference through DAG structure.
  • To develop a robust dropout strategy for in-vocabulary words that enhances generalization to out-of-vocabulary terms.
  • To enable effective use of external dictionaries in low-resource or domain-specific settings, such as medical or patent texts.
  • To achieve better segmentation accuracy than baseline models while maintaining inference efficiency.

Proposed method

  • Construct a directed acyclic graph (DAG) where each edge represents a word from a predefined vocabulary, covering a subsequence of characters.
  • Design a DAG-structured long short-term memory (DAG-LSTM) network that processes inputs at each position using both character embeddings and word embeddings from incoming edges in the DAG.
  • Introduce an in-vocabulary (IV) word dropout strategy during training to improve robustness to out-of-vocabulary (OOV) words and enhance generalization.
  • Use the DAG-LSTM to model contextual dependencies across characters and words simultaneously, allowing joint learning of character and word-level representations.
  • Apply the model to sequence labeling with standard tags (B, M, E, S) for word boundary detection, maintaining efficiency of character-level inference.
  • Train the model end-to-end using cross-entropy loss, leveraging pre-trained character embeddings and word embeddings from external corpora.

Experimental results

Research questions

  • RQ1Can word-level information be effectively integrated into a character-based sequence labeling framework for Chinese word segmentation without sacrificing inference efficiency?
  • RQ2How does the DAG-LSTM architecture compare to standard LSTM and bi-gram models in terms of segmentation accuracy and robustness to OOV words?
  • RQ3To what extent can an external vocabulary improve model performance, especially in domain-specific texts with rare or specialized terms?
  • RQ4Does the proposed IV word dropout strategy enhance generalization to out-of-vocabulary words without requiring their embeddings?
  • RQ5Can the DAG-LSTM achieve better performance than existing word-based models while avoiding the inexact inference of beam-search and word-length constraints?

Key findings

  • The DAG-LSTM model achieves a macro-F1 score of 96.47 on the MSRA dataset, outperforming the bi-gram baseline (95.71) and unigram baseline (94.14).
  • When using the full vocabulary, the model reaches 96.47 F1 on MSRA, 96.31 F1 on CTB, and 95.89 F1 on PKU, demonstrating consistent gains across datasets.
  • The model with max word length 4 achieves 96.26 F1 on MSRA, showing that longer words contribute significantly to performance when properly modeled.
  • The case study confirms that the model correctly segments both in-vocabulary words (e.g., 'adulthood') and OOV terms (e.g., 'subsidy rate') when the test vocabulary is used to build the DAG.
  • The IV word dropout strategy enables the model to achieve 68.54% F1 on OOV words when using the full vocabulary, indicating strong generalization to rare terms.
  • The performance improves monotonically with the inclusion of more words in the vocabulary, peaking at 96.47 F1 when all words are used.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.