Hostname: page-component-74656f9884-7drmj Total loading time: 0 Render date: 2026-11-05T11:22:39.496Z Has data issue: false hasContentIssue false

Transfer learning for Turkish named entity recognition on noisy text

Published online by Cambridge University Press:  28 January 2020

Emre Kağan Akkaya
Affiliation:
Department of Computer Engineering, Hacettepe University, Turkey
Burcu Can*
Affiliation:
Department of Computer Engineering, Hacettepe University, Turkey
*
*Corresponding author. E-mail: burcucan@cs.hacettepe.edu.tr
Rights & Permissions [Opens in a new window]

Abstract

In this article, we investigate using deep neural networks with different word representation techniques for named entity recognition (NER) on Turkish noisy text. We argue that valuable latent features for NER can, in fact, be learned without using any hand-crafted features and/or domain-specific resources such as gazetteers and lexicons. In this regard, we utilize character-level, character n-gram-level, morpheme-level, and orthographic character-level word representations. Since noisy data with NER annotation are scarce for Turkish, we introduce a transfer learning model in order to learn infrequent entity types as an extension to the Bi-LSTM-CRF architecture by incorporating an additional conditional random field (CRF) layer that is trained on a larger (but formal) text and a noisy text simultaneously. This allows us to learn from both formal and informal/noisy text, thus improving the performance of our model further for rarely seen entity types. We experimented on Turkish as a morphologically rich language and English as a relatively morphologically poor language. We obtained an entity-level F1 score of 67.39% on Turkish noisy data and 45.30% on English noisy data, which outperforms the current state-of-art models on noisy text. The English scores are lower compared to Turkish scores because of the intense sparsity in the data introduced by the user writing styles. The results prove that using subword information significantly contributes to learning latent features for morphologically rich languages.

Information

Type
Article
Copyright
© Cambridge University Press 2020
Figure 0

Figure 1. Character-level word embedding using CNN (Aguilar et al. 2017).

Figure 1

Figure 2. Character-level word embedding using a bidirectional LSTM.

Figure 2

Figure 3. Overview of the final word embeddings. After concatenating embeddings obtained from fasttext, word2vec, morph2vec, and character-level word embeddings, orthographic character-level embeddings, we apply dropout for better generalization.

Figure 3

Figure 4. Architecture of our baseline Bi-LSTM-CRF model. We learn latent features by using a Bi-LSTM that is fed by the combined word embeddings and then we feed the output of each Bi-LSTM state to CRF in order to predict the label sequence. Here, Word Embedding Encoders are namely word2vec (Mikolov et al. 2013), fasttext (Bojanowski et al. 2017), morph2vec (Üstün and Can 2016), character-level word embedding, and orthographic character-level embedding methods. The Turkish input sequence “29 ekimde Ankara’ya” means “To Ankara on 29th October”.

Figure 4

Figure 5. Overview of the transfer learning model that incorporates an additional CRF layer. CRF layers are alternately trained on different datasets so that the shared layers learn from both datasets and therefore learning can be transferred from the source dataset to the target dataset. The Turkish input sequence “29 ekimde Ankara’ya” means “To Ankara on 29th October”.

Figure 5

Figure 6. Overview of the extended transfer learning model that incorporates an additional CRF layer. CRF layers are alternately trained on different datasets so that the shared layers learn from both datasets and therefore learning can be transferred from the source dataset to the target dataset. The Turkish input sequence “29 ekimde Ankara’ya” means “To Ankara on 29th October”.

Figure 6

Table 1. Implementation and training details

Figure 7

Table 2. Datasets

Figure 8

Table 3. Number of entity types in Turkish noisy dataset, DS-1

Figure 9

Table 4. Number of entity types in English noisy dataset, DS-2

Figure 10

Table 5. Overview of the experimental results of the baseline models on the Turkish noisy dataset, DS-1. Baseline-2 uses extra layers in the Bi-LSTM CRF model. Fasttext (Bojanowski et al. 2017), morph2vec (Üstün et al. 2018), word2vec Mikolov et al. (2013), character-level and orthographic embeddings are denoted in the embeddings column by ft, m2v, w2v, char and ortho respectively. Acc refers to accuracy, P refers to Precision, and R refers to Recall.

Figure 11

Table 6. Experimental results of the baseline model with fasttext (Bojanowski et al. 2017), morph2vec (Üstün et al. 2018), word2vec (Mikolov et al. 2013) and orthographic character-level embeddings on Turkish noisy dataset, DS-1

Figure 12

Table 7. Overview of the experimental results of the transfer learning models on the Turkish noisy dataset, DS-1. Fasttext (Bojanowski et al. 2017), morph2vec (Üstün et al. 2018), word2vec Mikolov et al. (2013), character-level and orthographic embeddings are denoted in the embeddings column by ft, m2v, w2v, char and ortho respectively. Transfer learning - 1 represents the basic transfer learning architecture without the additional (ReLU, linear) layers between the word-level Bi-LSTM and CRF layers and transfer learning - 2 is the transfer learning model with additional ReLU and linear layers. Acc refers to accuracy, P refers to Precision, and R refers to Recall

Figure 13

Table 8. Experimental results of transfer learning model (transfer learning - 2) with fasttext (Bojanowski et al. 2017), morph2vec (Üstün et al. 2018), word2vec (Mikolov et al. 2013) and ortographic character-level embeddings on Turkish noisy dataset, DS-1

Figure 14

Table 9. Experimental results obtained from different dimensions of fasttext character n-gram-level word embeddings (Bojanowski et al. 2017)

Figure 15

Table 10. Comparison with related work on Turkish noisy dataset DS-1. All results are tested on the same noisy text and are therefore comparable with each other

Figure 16

Table 11. A list of incorrect tags in Turkish

Figure 17

Table 12. The results of the baseline model on the English noisy dataset, DS-2. Baseline-2 uses extra layers in the Bi-LSTM CRF model. Fasttext (Bojanowski et al. 2017), morph2vec (Üstün et al. 2018), word2vec (Mikolov et al. 2013), character-level and orthographic character-level embeddings are denoted in the embeddings column by ft, m2v, w2v, char and ortho respectively

Figure 18

Table 13. The results of the transfer learning model on the English noisy dataset, DS-2. Fasttext (Bojanowski et al. 2017), morph2vec (Üstün et al. 2018), word2vec (Mikolov et al. 2013), character-level and orthographic character-level embeddings are denoted in the embeddings column by ft, m2v, w2v, char and ortho respectively. Transfer learning - 1 represents the basic transfer learning architecture without the additional (ReLU, linear) layers between the word-level Bi-LSTM and CRF layers and transfer learning - 2 is the transfer learning model with additional Relu and linear layers

Figure 19

Table 14. The results of the baseline model with word2vec (Mikolov et al. 2013), and orthographic character-level embeddings on English noisy dataset, DS-2

Figure 20

Table 15. Experimental results of transfer learning model (transfer learning - 2) with word2vec (Mikolov et al. 2013) and ortographic character-level embeddings on English noisy dataset, DS-2

Figure 21

Table 16. Comparison with related work on English noisy dataset DS-2. All results are comparable with each other

Figure 22

Table 17. A list of incorrect tags in English

Supplementary material: File

Kağan Akkaya and Can Supplementary Materials

Kağan Akkaya and Can Supplementary Materials 1

Download Kağan Akkaya and Can Supplementary Materials(File)
File 35.2 KB