[Paper Review] Subword Encoding in Lattice LSTM for Chinese Word Segmentation
This paper proposes a lattice Long Short-Term Memory (LSTM) network with subword encoding for Chinese word segmentation, integrating character-level features with subword or word-level subsequences via gated shortcut paths. Experiments show subword encoding achieves performance comparable to word encoding without relying on external segmentors, and the lexicon contributes more than pretrained embeddings in controlled ablation studies.
We investigate a lattice LSTM network for Chinese word segmentation (CWS) to utilize words or subwords. It integrates the character sequence features with all subsequences information matched from a lexicon. The matched subsequences serve as information shortcut tunnels which link their start and end characters directly. Gated units are used to control the contribution of multiple input links. Through formula derivation and comparison, we show that the lattice LSTM is an extension of the standard LSTM with the ability to take multiple inputs. Previous lattice LSTM model takes word embeddings as the lexicon input, we prove that subword encoding can give the comparable performance and has the benefit of not relying on any external segmentor. The contribution of lattice LSTM comes from both lexicon and pretrained embeddings information, we find that the lexicon information contributes more than the pretrained embeddings information through controlled experiments. Our experiments show that the lattice structure with subword encoding gives competitive or better results with previous state-of-the-art methods on four segmentation benchmarks. Detailed analyses are conducted to compare the performance of word encoding and subword encoding in lattice LSTM. We also investigate the performance of lattice LSTM structure under different circumstances and when this model works or fails.
Motivation & Objective
- To investigate the effectiveness of subword encoding in lattice LSTM for Chinese word segmentation (CWS), avoiding reliance on external segmentors.
- To compare subword encoding with traditional word embedding-based lattice LSTM in terms of performance and robustness.
- To analyze the relative contributions of lexicon-derived information versus pretrained embeddings in lattice LSTM models.
- To evaluate the impact of subword/word coverage on model performance across diverse datasets.
- To identify failure cases and analyze the limitations of the lattice LSTM's gate control mechanism.
Proposed method
- The lattice LSTM structure extends standard LSTM by adding gated shortcut paths that link the start and end characters of matched subsequences (words or subwords) from a lexicon.
- Subword embeddings are generated using the Byte Pair Encoding (BPE) algorithm, eliminating dependency on pre-segmented corpora.
- The final hidden state is computed as a weighted sum of character LSTM outputs and all gated shortcut paths, with gates controlling contribution from each path.
- The model is trained end-to-end on character sequences, with lattice paths dynamically constructed by matching the input sentence against a subword or word lexicon.
- Controlled experiments isolate the contributions of the lexicon and pretrained embeddings by training models with and without each component.
- Case studies analyze failure modes of both word- and subword-based lattice models to evaluate the robustness of the gate mechanism.
Experimental results
Research questions
- RQ1Can subword encoding in lattice LSTM achieve performance comparable to word encoding in Chinese word segmentation?
- RQ2Does subword encoding eliminate the need for external segmentors in constructing the lexicon for lattice LSTM?
- RQ3How do the contributions of lexicon information and pretrained embeddings compare in lattice LSTM for CWS?
- RQ4To what extent does subword/word coverage influence the performance gain of lattice LSTM models?
- RQ5In which scenarios does the lattice LSTM with gate control fail, and why?
Key findings
- Subword encoding in lattice LSTM achieves state-of-the-art or competitive performance on four CWS benchmarks, matching or exceeding results from word-based models.
- The lattice LSTM with subword encoding outperforms word-based models on the MSR and Weibo datasets, despite lower word coverage, indicating subword embeddings' robustness in low-coverage settings.
- Controlled experiments show that lexicon-derived information contributes more to model performance than pretrained embeddings, highlighting the importance of domain-specific lexicons.
- Higher subword/word coverage consistently leads to greater performance improvement, with coverage above 90% on PKU/MSR datasets yielding significant error reduction.
- Case studies reveal that the gate control mechanism is effective but not infallible: word-based models fail when misled by noisy matches (e.g., '性日'), while subword models fail when critical subwords are absent or ambiguous.
- The lattice LSTM structure is most effective when both coverage and embedding quality are high, and it shows strong potential for cross-domain sequence labeling with domain-specific lexicons.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.