Skip to main content
QUICK REVIEW

[Paper Review] Unsupervised Word Discovery with Segmental Neural Language Models.

Kazuya Kawakami, Chris Dyer|arXiv (Cornell University)|Sep 27, 2018
Natural Language Processing TechniquesComputer Science10 references11 citations
TL;DR

This paper introduces a segmental neural language model that discovers word-like units from unsegmented character sequences by combining neural networks with Bayesian nonparametric priors. It achieves better predictive performance than LSTM language models and produces segmentations competitive with state-of-the-art word discovery methods, using a differentiable regularizer to prevent over-reliance on lexical memory.

ABSTRACT

We propose a segmental neural language model that combines the representational power of neural networks and the structure learning mechanism of Bayesian nonparametrics, and show that it learns to discover semantically meaningful units (e.g., morphemes and words) from unsegmented character sequences. The model generates text as a sequence of segments, where each segment is generated either character-by-character from a sequence model or as a single draw from a lexical memory that stores multi-character units. Its parameters are fit to maximize the marginal likelihood of the training data, summing over all segmentations of the input, and its hyperparameters are likewise set to optimize held-out marginal likelihood. To prevent the model from overusing the lexical memory, which leads to poor generalization and bad segmentation, we introduce a differentiable regularizer that penalizes based on the expected length of each segment. To our knowledge, this is the first demonstration of neural networks that have predictive distributions better than LSTM language models and also infer a segmentation into word-like units that are competitive with the best existing word discovery models.

Motivation & Objective

  • To develop a neural language model that discovers meaningful linguistic units such as morphemes and words from unsegmented character sequences.
  • To combine the representational power of neural networks with the structural learning of Bayesian nonparametrics for improved segmentation and generalization.
  • To optimize model parameters and hyperparameters by maximizing marginal likelihood over all possible segmentations of the training data.
  • To prevent overuse of lexical memory—leading to poor generalization—by introducing a differentiable regularizer penalizing long segments.
  • To demonstrate that the model achieves better predictive performance than LSTM language models while producing competitive word-like segmentations.

Proposed method

  • The model generates text as a sequence of segments, where each segment is either generated character-by-character via a recurrent sequence model or drawn as a whole from a lexical memory storing multi-character units.
  • Model parameters are trained to maximize the marginal likelihood over all possible segmentations of the input sequence, integrating out segmentation uncertainty.
  • Hyperparameters are tuned to optimize held-out marginal likelihood, enabling automatic model selection.
  • A differentiable regularizer is introduced that penalizes the expected length of segments, discouraging overuse of the lexical memory and improving generalization.
  • The model uses Bayesian nonparametric priors to allow flexible, data-driven discovery of the number of distinct units without pre-specifying vocabulary size.
  • The architecture enables end-to-end training with gradient-based optimization, despite the discrete nature of segmentation and lexical units.

Experimental results

Research questions

  • RQ1Can a neural language model jointly learn segment boundaries and meaningful linguistic units from raw character sequences?
  • RQ2Does combining neural networks with Bayesian nonparametric priors improve both predictive performance and segmentation quality compared to standard models?
  • RQ3Can a differentiable regularizer effectively control over-reliance on lexical memory and enhance generalization in unsupervised word discovery?
  • RQ4How does the model's predictive performance compare to that of LSTM language models on unsegmented text?
  • RQ5To what extent do the discovered segments correspond to semantically meaningful units like morphemes and words?

Key findings

  • The model achieves better predictive performance on held-out test data than a standard LSTM language model, demonstrating improved language modeling capacity.
  • The model discovers segmentations that are competitive with the best existing unsupervised word discovery models in terms of segmentation quality.
  • The differentiable regularizer successfully reduces overuse of the lexical memory, leading to better generalization and more robust segmentation.
  • The model learns to represent linguistic units such as morphemes and words directly from unsegmented character sequences without any prior segmentation.
  • Marginal likelihood optimization over all segmentations enables the model to learn both structure and parameters in a principled, end-to-end manner.
  • The approach represents the first demonstration of a neural network model that outperforms LSTMs in predictive performance while simultaneously discovering word-like units.

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.