Skip to main content
QUICK REVIEW

[Paper Review] A Character-Word Compositional Neural Language Model for Finnish

Matti Lankinen, Hannes Heikinheimo|arXiv (Cornell University)|Dec 10, 2016
Natural Language Processing TechniquesComputer Science16 references4 citations
TL;DR

This paper proposes a Character-to-Word-to-Character (C2W2C) neural language model for Finnish that combines character-level input with word-level internal representations and character-level output, enabling effective modeling of morphologically rich language. The model achieves strong performance on out-of-vocabulary words and generates grammatically and semantically correct Finnish sentences character by character, outperforming word-level models in handling inflectional morphology despite slightly higher perplexity.

ABSTRACT

Inspired by recent research, we explore ways to model the highly morphological Finnish language at the level of characters while maintaining the performance of word-level models. We propose a new Character-to-Word-to-Character (C2W2C) compositional language model that uses characters as input and output while still internally processing word level embeddings. Our preliminary experiments, using the Finnish Europarl V7 corpus, indicate that C2W2C can respond well to the challenges of morphologically rich languages such as high out of vocabulary rates, the prediction of novel words, and growing vocabulary size. Notably, the model is able to correctly score inflectional forms that are not present in the training data and sample grammatically and semantically correct Finnish sentences character by character.

Motivation & Objective

  • To address the challenges of modeling highly inflectional Finnish, which suffers from high out-of-vocabulary rates and large vocabulary growth.
  • To develop a neural language model that processes input and output at the character level while maintaining word-level representations internally for better performance.
  • To evaluate whether a character-level model can effectively learn Finnish morphology and generate correct inflectional forms not seen during training.
  • To compare the C2W2C model’s performance against traditional word-level LSTM language models in terms of perplexity, generalization, and text generation quality.

Proposed method

  • The C2W2C model uses a three-stage architecture: a Character-to-Word (C2W) encoder based on bidirectional LSTMs to generate word embeddings from character sequences.
  • It employs a standard LSTM language model to process the word-level embeddings and predict the next word in context.
  • A Word-to-Character (W2C) decoder, inspired by Cho et al. [5], generates output characters based on the predicted word embeddings.
  • The model is trained in a single pass without prior subword tokenization or word classification, enabling end-to-end training.
  • The architecture allows independent training of each component and supports both autoregressive scoring and text generation.
  • Text generation is performed using beam search with a k=20 word beam and a k=10 sentence beam, improving fluency and grammatical correctness.

Experimental results

Research questions

  • RQ1Can a character-level language model effectively handle the morphological complexity of Finnish without relying on word-level vocabularies?
  • RQ2How does the C2W2C model perform on out-of-vocabulary inflectional forms not present in the training data?
  • RQ3Does the model assign significantly lower scores to grammatically incorrect sentences compared to correct ones, even when the inflectional forms are novel?
  • RQ4Can the model generate fluent, semantically coherent Finnish text when sampling character by character?
  • RQ5How does the C2W2C model compare to a standard word-level LSTM model in terms of perplexity and convergence speed?

Key findings

  • The C2W2C model successfully assigns lower scores to grammatically correct Finnish sentences than to incorrect variants, even when the inflectional forms are not in the training data.
  • The model can generate semantically and grammatically correct Finnish sentences character by character, with beam search yielding significantly more fluent outputs than stochastic sampling.
  • Despite slightly higher perplexity and slower convergence than the word-level baseline, C2W2C effectively handles out-of-vocabulary words and generalizes to unseen inflectional forms.
  • The model assigns better scores to correct semantic roles (e.g., agents before verbs) and penalizes incorrect word order and part-of-speech substitutions.
  • Punctuation handling remains a challenge, with the model favoring periods over question marks even in interrogative contexts.
  • The model demonstrates that character-level modeling with internal word-level representations is viable for morphologically rich languages like Finnish, reducing parameter count while preserving linguistic generalization.

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.