---
title: "Learning Tag Dependencies for Sequence Tagging"
authors:
  - "Yuan Zhang"
  - "Hongshen Chen"
  - "Yihong Zhao"
  - "Qun Liu"
  - "Dawei Yin"
doi: "10.24963/ijcai.2018/637"
url: "https://ijcai.org/proceedings/2018/637"
pdf: "https://ijcai.org/proceedings/2018/0637.pdf"
venue: "Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence"
year: 2018
pages: "4581-4587"
track: "Main track"
keywords:
  - "Natural Language Processing: Phonology, Morphology, and word segmentation"
  - "Natural Language Processing: Named Entities"
  - "Natural Language Processing: Tagging, chunking, and parsing"
---

# Learning Tag Dependencies for Sequence Tagging

Yuan Zhang, Hongshen Chen, Yihong Zhao, Qun Liu, Dawei Yin

*Proceedings of the Twenty-Seventh International Joint Conference on Artificial Intelligence*, pages 4581-4587. DOI: [10.24963/ijcai.2018/637](https://doi.org/10.24963/ijcai.2018/637)

## Abstract

Sequence tagging is the basis for multiple applications in natural language processing. Despite successes in learning long term token sequence dependencies with neural network, tag dependencies are rarely considered previously. Sequence tagging actually possesses complex dependencies and interactions among the input tokens and the output tags. We propose a novel multi-channel model, which handles different ranges of token-tag dependencies and their interactions simultaneously. A tag LSTM is augmented to manage the output tag dependencies and word-tag interactions, while three mechanisms are presented to efficiently incorporate token context representation and tag dependency. Extensive experiments on part-of-speech tagging and named entity recognition tasks show that  the proposed model outperforms the BiLSTM-CRF baseline by effectively incorporating the tag dependency feature.

## Full text

## 1 Introduction

Sequence tagging problems have obtained much attention especially in the natural language processing community. Given a sequence of words, sequence tagging aims to predict a linguistic tag for each word such as the part-of-speech tag. Many natural language processing tasks can be cast into this problem, which include part-of-speech (POS) tagging, text chunking, and named entity recognition (NER) etc.

Among various frameworks, neural network based approaches prevail in these years, which take the benefits of representation learning and achieve state-of-the-art performance without massive hand-crafted feature engineering. [Collobert et al., 2011] first introduced neural network for sequence tagging: a context window takes the sequences as input, then followed by a feed-forward neural network. When inferring teractions. Then three different mechanisms are explored to incorporate the tag dependency feature: shared tag LSTM through integrating both features and isolated tag LSTM through feature integrated prediction or joint tagging decision.

∗Work done when the first author was an intern at Data Science Lab, JD.com.

To sum up, our contributions are as follows:

- We identify the problems of different ranges of tag dependencies and word-tag sequence interactions in sequence tagging tasks.
- A novel multi-channel model is proposed to manage the longer ranges of tag dependencies and the interactions between tag sequence and word sequence.
- Extensive experiments on three datasets verify the effectiveness of the proposed multi-channel model.

## 2 Background

Given a sentence x = w1,w2, ...,wN, the aim of sequence tagging is to figure out the ground truth of tag sequence y = t1, t2, ..., tN. For example, in POS tagging, the input tokens are words, and each word is annotated with a POS tag, while in named entity recognition, the allocated tag for each word indicates if a word is part of a named entity.

BiLSTM-CRF model prevails in recent years and achieves state-of-the-art performance on sequence tagging [Chen et al., 2015; Lample et al., 2016; Zhang et al., 2015; Ma and Hovy, 2016; Chen et al., 2016]. We will use BiLSTM-CRF model as our baseline. The model consists of mainly three layers:

- Embedding layer maps a word into embeddings, a distributed representation of words;
- Word LSTM layer, namely a bi-directional LSTM [Graves and Schmidhuber, 2005], utilizes a left-to-right and a right-to-left LSTM layer to extract word context representations;
- Inference layer employs a CRF structure to infer the most likely label for each word.

## 2.1 Embedding Layer

The embedding layer converts the one-hot encoding of each word wi into a vector representation ewi through an embedding lookup table and a character level LSTM [Lample et al., 2016].

## 2.2 Word LSTMLayer

Word LSTM layer sequentially extract word context representation hi for each word wi. Long Short-term Memory Networks (LSTM) have been shown to capture long-range dependencies, incorporating with a memory-cell to keep track of information and several gates to control the interaction (input, forget, and output) with the memory cell. We choose the standard implementation[Hochreiter and Schmidhuber, 1997] with both the left-to-right order and the right-to-left order. It generates a left context vector --→ hwi and a right context vector ←-- hwi for word wi. With both the left and the right context vector, word context representation hi is obtained by concatenating them together: hword i = [--→ hwi , ←-- hwi ].

## 2.3 Inference Layer

Typically, a Conditional Random Field (CRF) [Lafferty et al., 2001] is employed as inference layer to infer a tag ti for each word wi given the word context representation sequence hword 1 , ..., hword N . It learns the strong dependencies across output labels [Lample et al., 2016] instead of making independent tagging decisions for each output. In particular, a transition scores matrix A is introduced. Ai,j models the transition score from tag i to tag j. Thus, the score of a tag sequence y given an input sentence x is defined as:

<!-- formula-not-decoded -->

where P is the scores matrix computed by a softmax over all possible tags given word context representation sequence hseq 1 , ..., hseq N .

Then the probability for the tag sequence y is computed by a softmax over all possible tag sequences:

<!-- formula-not-decoded -->

where Y denotes all possible tag sequences for sentence x. When training, [Collobert et al., 2011] maximize the logprobability of the golden tag sequence:

<!-- formula-not-decoded -->

where the latter term can be computed in linear time taking advantage of the associativity and distributivity on the semiring.

Note that the transition score matrix A is position independent. It only models bigram interactions between two successive tags [Lample et al., 2016; Pei et al., 2014]. Longer ranges of tag dependencies and the interactions between word sequence and tag sequences are still not well managed.

## 3 Multi-channel Model

In this part, we describe a multi-channel model to address different ranges of tag dependencies and word-tag sequence interactions. BiLSTM-CRF constructs feature representation through a word LSTM. We refer it as single-channel model, as word LSTM is the only feature learning channel for making tagging decisions, whereas the multi-channel model leverage both word context representation and tag dependency feature together.

As mentioned previously, transition score matrix in BiLSTM-CRF model partially breaks independent tagging assumption within two consecutive tags. However, tag dependencies also exist in longer ranges as shown in figure 1. Although a simple higher order matrix can handle longer tag dependencies, it not only takes high computation cost, but also suffers from data sparsity. Therefore, in multi-channel model, we employ a tag LSTM to naturally handle different ranges of tag dependencies, add another feature learning channel, and further interact with word context. The model infers each tag based on both the word context representation

![Image](https://ijcai.org/proceedings/2018/fulltext/637/image_000000_b190fd947d79a9ddfafa1bc5998c82190e3429c7118f2f38edf8be62f986442f.png)

(a) Shared Tag LSTM (Model I)

![Image](https://ijcai.org/proceedings/2018/fulltext/637/image_000001_961c0ec4da6582fa924140f100dd1a40fb5c4e2a553a0f7a2ba182178c08698a.png)

(b) Isolated Tag LSTM (Model II &amp; III)

Figure 2: Multi-channel Models. The red blocks are LSTM layers, while the green ones are softmax layers. The yellow circles denote the embedding layer. The yellow information flow is the information channel.

and the tag dependency feature. In particular, for each word wi, the corresponding tag is chosen based on both the word feature and the previous predicted tags. The tag sequence probability over the word sequence is then formulated as:

<!-- formula-not-decoded -->

To incorporate the tag LSTM into the model, two methodsa shared tag LSTM and an isolated LSTM-are introduced in the follow sections.

## 3.1 Model I: Shared Tag LSTM

In multi-channel model, the tagging decision is made sequentially in a left-to-right order with respect to the word context and tagging history. Motivated by the text generation of neural translation model [Cho et al., 2014; Sutskever et al., 2014], we directly convert the chosen tag ti of each word into a tag embedding eti , and then inject eti into a tag LSTM. As tag dependency feature and word context representation flow together sharing a single LSTM, we name it shared tag LSTM. Figure 2a illustrates the multi-channel model using shared tag LSTM. A bi-directional LSTM is also employed to learn the word context representation hi.

Tagging inference is made independently based on the shared tag LSTM output hshared i . The probability of tag ti is computed by a softmax over all tag sets T based on hshared i :

<!-- formula-not-decoded -->

where (·) is an affine transformation.

## 3.2 Isolated Tag LSTM

Shared tag LSTM is able to learn long term tag dependencies theoretically. However, in shared tag LSTM, the word context representation and tag dependency feature are jointly conveyed via a single channel. As a result, they might interfere with each other. Intuitively, word context representation plays a major role in tagging decision, and tag dependencies provides an auxiliary effect. With the shared tag LSTM scheme, the minor factor-tag dependencies-might be dominated by the major factor-word context. Consequently, tag dependencies cannot be modeled appropriately.

Hence, we design an isolated tag LSTM to separate both feature learning channels as shown in figure 2b. Word context representation and tag dependency feature are learned independently. With an isolated tag LSTM, we have two mechanisms to incorporate tag dependency features: one is feature integrated prediction, where both features are integrated before making tagging decision; the other is joint tagging decision, where each feature outputs tagging probabilities and then votes to make final tagging inference.

## Model II: Feature Integrated Prediction

For isolated tag LSTM, it takes in the concatenation of tag embedding and word embedding [eti , ewi ] for each word wi, resulting with a tag dependency feature hiso i , which enables tag LSTM to handle different ranges of tag dependencies and word-tag interactions purely.

One straightforward way to utilizing hiso i andword context representation hword i is to integrate them before prediction, so called feature integrated prediction (FIP) ( figure 3 ):

<!-- formula-not-decoded -->

The tag probability is computed through a softmax over hi.

## Model III: Joint Tagging Decision

Inspired by ensemble averaging, to further enhance the learning of different ranges of tag dependencies, we explore another approach to sufficiently utilize word context representation and tag dependency feature, where both features make independent tagging probability estimations. Then those two probabilities are merged by a weighted average to make the final joint tagging decision (JTD). The tagging probability is defined as:

<!-- formula-not-decoded -->

where λ is the probability controlling the importance of each tagging estimation, and (·) is affine transformation. p(ti|x) is the tagging probability computed by word LSTM output hword i and p(ti|t&lt;i) is tagging probability based on tag dependency feature hiso i . In this formulation, when the gate λ

Figure 3: Model II: Feature Integrated Prediction.

![Image](https://ijcai.org/proceedings/2018/fulltext/637/image_000002_eaa0d85722adbd5aa61c47d4fce5d602845008049edb3051abe0f75eefd50f07.png)

Table 1: Data statistics.

| Corpus   | Data           | Sentences           | Tokens                     | NEs                  |
|----------|----------------|---------------------|----------------------------|----------------------|
| PD       | train dev test | 96,750 1,000 20,336 | 5,958,471 60,147 1,240,171 | 282,851 2,944 57,298 |
| CoNLL03  | train dev test | 14,987 3,466 3,684  | 204,567 51,578 46,666      | 23,376 5,906 5,620   |
| WSJ      | train dev test | 38,219 5,527 5,462  | 912,344 131,768 129,654    | - - -                |

is close 1, the prediction probability is forced to ignore the tag LSTM and tagging decision is made entirely on word LSTM. While when λ is near to 0, the prediction probability approximates p(ti|t&lt;i), tag LSTM plays a primary role.

The gate λ learns to effectively balance the involvement of tag LSTM and word LSTM when making the final tagging decision according to different scenarios. It is dynamically computed according to hiso i and hword i :

<!-- formula-not-decoded -->

where σ is logistic sigmoid function, (·) is affine transformation. When hword i fails to capture enough word context information and the gate λ is lower than 0.5, the model can rely more on the probability estimation from tag dependency feature hiso i . What's more, similar to ensemble averaging method, the model variance can be reduced theoretically. In figure 4, hiso i and hword i first computes λ as prediction confidence and the tagging probabilities. Then, the final tagging probability is computed through an weighted average between p(ti|x) and p(ti|t&lt;i).

Although tag LSTM and word LSTM are relatively independent, the two components are actually combined softly by λ, thus they can be trained jointly with respect to p(ti|x, t&lt;i).

Tag LSTM extends in a left-to-right order and lacks the right context information. To enhance its prediction ability, we concatenate the right context vector ←-- hwi ( generated by word LSTM ) with the tag LSTM output when computing the tagging probability. In particular, p(ti|t&lt;i) is modified as:

<!-- formula-not-decoded -->

Figure 4: Model III: Joint Tagging Decision (JTD).

![Image](https://ijcai.org/proceedings/2018/fulltext/637/image_000003_cd5e21a82c773ff68db2d35f0b47421ded4bf2246290d28783ec1ce503421834.png)

## 4 Experiments

## 4.1 Data Sets

We study the tag dependencies mainly on two tagging tasks. One is part-of-speech (POS) tagging, where each word is allocated with a POS tag. The other is named entity recognition (NER), a classical task in the field of natural language processing, where each word is assigned a tag indicating if it belongs to part of a NE and which kind of NE. Table 1 list the data statistics of different corpus.

## Part-of-Speech Tagging

We use the Wall Street Journal (WSJ) portion of Penn Treebank [Marcus et al., 1993] for POS tagging task. We adopt the standard data set splits: section 0-18 as training data, 1921 as development data and section 22-24 as test data.

## Named Entity Recognition

We also conduct NER experiments on two corpora, a Chinese corpus, People's Daily (PD) 1 and an English corpus, CoNLL 2003 corpus. For People's Daily, the data set is divided as 96750 sentences for training, 1000 sentences for validation, and 20336 sentences for test. CoNLL 2003 2 is a collection of news wire articles from the Reuters Corpus. We use the standard dataset split. The datasets contain four different types of named entities: locations, persons, organizations, and miscellaneous entities. A significant difference to POS tagging is that the number of NE tags are much less than POS tags. Another difference is that, in a sentence, most words are not belong to any named entities, leading NER a challenge task for learning tag dependencies. Following [Collobert et al., 2011], we use the BIOES (Beginning, Inside, Outside, End, Singleton) tagging scheme. NE label represents PER (Person), ORG (Organization), etc. For a word, B-label denotes the beginning of a NE, I-label indicates that it is inside a NE but not the beginning, O means that it is not a part of a NE, E-label denotes the end of a NE, and S-label means singleton.

## 4.2 Experimental Settings

We use unigram character embedding as input of character level LSTM to learn the word representation, then the learned word representation together with the unigram word embedding are take as input of word LSTM for POS tagging and NER. The dimensionality of word embeddings is 100 for Chinese, and 300 for English. We adopt golden segmentation and random embedding initialization for Chinese. None of other

1 http://icl.pku.edu.cn/icl groups/corpustagging.asp

2 https://www.clips.uantwerpen.be/conll2003/ner/

![Image](https://ijcai.org/proceedings/2018/fulltext/637/image_000004_7d7e16b1cc9f15b0645fde0d37f60f225ab1168e7e964774f5c2d33e1fd4b259.png)

![Image](https://ijcai.org/proceedings/2018/fulltext/637/image_000005_473c53601b13fede850b5fe82375fbd45a10f84c7cfface5bb9303e40ac91750.png)

&lt;5

5-10

&gt;10

(b) NE on CoNLL 2003

Figure 5: Performances on Different Lengths

| Corpus   | Model                                                                                                                                                                                                                                                                                                                         |   F-score |
|----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------|
| PD       | BiLSTM-CRF Model I                                                                                                                                                                                                                                                                                                            |     88.17 |
| PD       | Model II (FIP)                                                                                                                                                                                                                                                                                                                |     89.83 |
| PD       |                                                                                                                                                                                                                                                                                                                               |     90.47 |
| PD       | Model III (JTD)                                                                                                                                                                                                                                                                                                               |     90.79 |
| CoNLL03  | [Collobert et al., 2011] [Lin and Wu, 2009] [Lin and Wu, 2009]* [Passos et al., 2014] [Passos et al., 2014]* [Luo et al., 2015]*+gaz [Luo et al., [Chiu and Nichols, 2015] [Chiu and Nichols, 2015]* [Lample et al., 2016] [Ma and Hovy, 2016] BiLSTM-CRF Model I Model II (FIP) Model III (JTD) BiLSTM-CRF+char Model I+char |     89.59 |
| CoNLL03  |                                                                                                                                                                                                                                                                                                                               |     83.78 |
| CoNLL03  |                                                                                                                                                                                                                                                                                                                               |     90.90 |
| CoNLL03  |                                                                                                                                                                                                                                                                                                                               |     90.05 |
| CoNLL03  |                                                                                                                                                                                                                                                                                                                               |     90.90 |
| CoNLL03  |                                                                                                                                                                                                                                                                                                                               |     89.90 |
| CoNLL03  | 2015]*+gaz+linking                                                                                                                                                                                                                                                                                                            |     91.20 |
| CoNLL03  |                                                                                                                                                                                                                                                                                                                               |     90.69 |
| CoNLL03  |                                                                                                                                                                                                                                                                                                                               |     90.70 |
| CoNLL03  |                                                                                                                                                                                                                                                                                                                               |     90.94 |
| CoNLL03  |                                                                                                                                                                                                                                                                                                                               |     91.21 |
| CoNLL03  |                                                                                                                                                                                                                                                                                                                               |     88.83 |
| CoNLL03  |                                                                                                                                                                                                                                                                                                                               |     89.16 |
| CoNLL03  |                                                                                                                                                                                                                                                                                                                               |     89.38 |
| CoNLL03  |                                                                                                                                                                                                                                                                                                                               |     90.20 |
| CoNLL03  |                                                                                                                                                                                                                                                                                                                               |     90.94 |
| CoNLL03  |                                                                                                                                                                                                                                                                                                                               |     90.57 |
| CoNLL03  | Model II+char (FIP)                                                                                                                                                                                                                                                                                                           |     90.62 |
| CoNLL03  | Model III+char (JTD)                                                                                                                                                                                                                                                                                                          |     91.22 |

Table 2: F-score for Named Entity Recognition. * indicates the usage of external labeled data.

manual features, like bi-gram or tri-gram word features are included. To avoid over-fitting, we adopt dropout strategy on the embedding layer with a rate of 0.5. The size of LSTM hidden state is set to 100. Training is done on every sample through stochastic gradient descent (SGD) with a learning rate of 0.005. To avoid gradient explosion problem, we set a gradient clipping strategy with a threshold of 1.0. For the proposed multi-channel models, we use the negative log likelihood objective function for training. When testing, we use beam-search to inference the best tag sequence and the beam size is set to 20.

## 4.3 Experimental Results

## Main Performance

For NER, we report standard F-score to measure the performance. Table 2 presents performances for NER on both English and Chinese. Note that we don't leverage any external resources. We achieved a performance better than most previous published works and comparable with the model of [Luo et al., 2015], where NER and entity linking tasks are jointly modeled, and a lot of hand-engineered features are incorporated including spelling features, WordNet clusters, Brown clusters, POS tags, chunks tags, as well as stemming and external knowledge bases like Freebase and Wikipedia.

Both shared tag LSTM and isolated tag LSTM outperform BiLSTM-CRF baseline without leveraging character information. In general, isolated tag LSTM (model II&amp;III) achieves better performances, compared with the shared tag LSTM (model I). It confirms that isolated LSTM is able to capture long term tag dependencies better than shared LSTM. In shared one, the word context representation and tag dependency representation are conveyed through a single channel, where the two factors might interfere with each other.

Table 3: POS Tagging Accuracy on WSJ.

| Model                        |   Accuracy |
|------------------------------|------------|
| [Gim´enez and Marquez, 2004] |      97.16 |
| [Toutanova et al., 2003]     |      97.27 |
| [Manning, 2011]              |      97.28 |
| [Collobert et al., 2011]     |      97.29 |
| [Santos and Zadrozny, 2014]  |      97.32 |
| [Shen et al., 2007]          |      97.33 |
| [Sun, 2014]                  |      97.36 |
| [Søgaard, 2011]              |      97.50 |
| [Ma and Hovy, 2016]          |      97.55 |
| BiLSTM-CRF                   |      97.52 |
| Model I                      |      97.34 |
| Model II (FIP)               |      97.53 |
| Model III (JTD)              |      97.59 |

For POS tagging, Table 3 lists tagging accuracies of different systems. Both variants of isolated tag LSTM (model II&amp;III) of multi-channel model perform better than BiLSTMCRF baseline while shared tag LSTM (model I) is a bit lower. The gains on POS tagging is less than on NER. One possible difference lies in the NE tag sparsity, which lead NER more difficult than POS tagging. According to statistics in our corpus, only 7.4% words belong to named entities for Chinese NE and 21.2% for English NE. It is more difficult for the baseline system to capture long range discontinuous NE tag dependencies, but the discontinuous NE tag dependencies can be handled well by our proposed model. However, for POS tagging, the continuous POS tag dependencies are already captured by the transition matrix in CRF layer. The larger improvements on NER just verify the ability of our model in learning discontinuous NE dependencies.

## Performance on Different Lengths

We further analyze the performance with respect to the different length of sequences. Figure 5 show the results. For NER, all three variants of multi-channel model consistently surpass BiLSTM-CRF model on short sentences (sentence length less than 10 on PD, length less than 5 on CoNLL2003). It indicates that the improvement of the proposed model over BiLSTM-CRF on short sentences is much larger than those on very long sentences. The NE tag dependencies, with short distances between two discontinuous tags, are captured very well by our proposed models but simply neglected by

![Image](https://ijcai.org/proceedings/2018/fulltext/637/image_000006_f85821ef5ddab5be03620ac0402f0a3dbf0e69e47ba642ffea7f381253f01027.png)

(c) POS Tagging on WSJ

Figure 6: Scores Distribution. Dashed lines indicate quartiles.

![Image](https://ijcai.org/proceedings/2018/fulltext/637/image_000007_c6cad4bb4afab81be34273fc86602ee63fc124403127d5888723d3c09e1f99b4.png)

Table 4: Qualitative Analysis.

| Sent Tag λ   | Retailer NN 0.97                                            | Sees VBZ 0.99                                               | Pitfalls In Environmental Push NNS IN JJ NN 0.87 0.98 0.99 0.82   |
|--------------|-------------------------------------------------------------|-------------------------------------------------------------|-------------------------------------------------------------------|
| Sent         | Elderly JJ                                                  | Maintain                                                    | Their Independence PRP$ NN 0.96                                   |
| λ            | 0.96 Italy S O                                              | Marcello PER B                                              | 0.58                                                              |
| Tag          | More                                                        |                                                             |                                                                   |
|              | JJR                                                         | VBP                                                         |                                                                   |
|              | 0.98                                                        | 0.95                                                        | 0.86                                                              |
| Sent         |                                                             | recalled                                                    | Cuttitta                                                          |
| Tag          | LOC                                                         |                                                             | PER E                                                             |
| λ            | 1.00                                                        | 0.91 1.00                                                   |                                                                   |
| Sent         | one-day cricket international betweenPakistan andNewZealand | one-day cricket international betweenPakistan andNewZealand | one-day cricket international betweenPakistan andNewZealand       |
| Tag          | O                                                           | O O                                                         | O LOC S O LOC BLOC E                                              |
| λ            | 0.71 0.86                                                   |                                                             | 1.00 0.99 1.00 0.98 1.00 0.96                                     |

BiLSTM-CRF, while for those dependencies with very long neighboring NE distances, capturing tag dependencies is also challenging for our models. For POS tagging, performances of different length are relatively comparable, while the isolated tag LSTM performs better than the shared one.

For shared tag LSTM and isolated tag LSTM, the latter one performs more stable and better than the former one on all lengths. We conjecture that under isolated LSTM setting, the feature spaces of two LSTMs are relatively independent and would not interfere with each other. Specifically, model III is relatively better than feature integration.

## Qualitative Analysis

The weight λ in joint tagging decision of isolated tag LSTM actually indicates the confidence and balance between word LSTM tagging probability and tag LSTM prediction probability. If λ &gt; 0.5, the final tagging decision relies more on word LSTM prediction ability, otherwise, the tag LSTM play a more important role. As shown in table 4, λ varies along the sentence, showing the effectiveness of both probabilities.

## Score Distribution

To further verify the advantage of multi-channel model in comparison with BiLSTM-CRF model, we draw the scores distribution following [Reimers and Gurevych, 2017]. Figure 6 depicts that the quartiles of our model are above those of the BiLSTM-CRF model on all tasks, which suggests that the performance benefits from modeling tag dependencies.

## 5 RelatedWork

Traditional sequence tagging models are mostly linear statistical models, including Hidden Markov Models, Conditional Random Fields[Passos et al., 2014; Cuong et al., 2014; Luo et al., 2015] and perceptron [Collins, 2002], which rely heavily on manual features and task specific resources. For instance, orthographic features and external resources such as gazetteers are widely used in NER [Ma and Hovy, 2016]. Due to the high cost of task-specific knowledge [Ma and Xia, 2014], these models are hardly to transfer to other tasks.

Recent years, non-linear neural networks are widely and successfully applied to sequence tagging, with the benefit of distributed word representations and rich feature representation learning. [Collobert et al., 2011] used a simple feed-forward neural network with a sliding context window over the input sequence embeddings, and infers the tag sequence with a CRF layer. A tag transition matrix is used for inference, which makes the model effective. Most subsequent work on neural segmentation followed this method, improving the extraction of emission features by using more complex neural network structures. [Zheng et al., 2013] applied this structure in word segmentation and POS tagging to get rid of the hand-crafted features. [Chen et al., 2015] used a LSTM-CRF model to capture long-range sequence dependencies for word segmentation. [Chiu and Nichols, 2015] proposed to use BiLSTM to model word information in NER.[Lample et al., 2016] used BiLSTM-CRF in NER. [Ma and Hovy, 2016] applied a similar structure. Most of the previous works utilize a CRF layer to restrict neighboring tag dependencies, leaving behind longer ranges of tag dependencies. Whereas we use tag LSTM to handle different ranges of tag dependencies. [Pei et al., 2014] used a tensor neural network to model complicated interactions between context and tags for word segmentation, which is in spirit similar to us. They added the single previous one tag in the model without considering a longer history of all previous tags, while we handle all the predicted tag sequence and model the tag and context interactions along the tag prediction.

## 6 Conclusion

We study the tag dependencies in sequence tagging and identify the problems of the long range tag dependencies and tagword sequence interactions. Novel multi-channel models are introduced to exploit different ranges of word and tag dependencies and their interactions. Experiments show that our specifically designed variants effectively handle the tag dependency, especially the discontinuous NE tag dependencies, and achieve significant improvements over the baselines.

## Acknowledgements

The corresponding author is Hongshen Chen. We thank the anonymous reviewers for their constructive comments.

## References

1. [Chen et al., 2015] Xinchi Chen, Xipeng Qiu, Chenxi Zhu, Pengfei Liu, and Xuanjing Huang. Long short-term mem- ory neural networks for chinese word segmentation. In EMNLP, pages 1197-1206, 2015.
2. [Chen et al., 2016] Hongshen Chen, Yue Zhang, and Qun Liu. Neural network for heterogeneous annotations. In EMNLP, pages 731-741, 2016.
3. [Chiu and Nichols, 2015] Jason PC Chiu and Eric Nichols. Named entity recognition with bidirectional lstm-cnns. arXiv preprint arXiv:1511.08308, 2015.
4. [Cho et al., 2014] Kyunghyun Cho, Bart van Merrienboer, Caglar Gulcehre, Dzmitry Bahdanau, Fethi Bougares, Holger Schwenk, and Yoshua Bengio. Learning phrase representations using rnn encoder-decoder for statistical machine translation. In EMNLP, pages 1724-1734, 2014.
5. [Collins, 2002] Michael Collins. Discriminative training methods for hidden markov models: Theory and experi- ments with perceptron algorithms. In EMNLP, 2002.
6. [Collobert et al., 2011] Ronan Collobert, Jason Weston, Léon Bottou, Michael Karlen, Koray Kavukcuoglu, and Pavel Kuksa. Natural language processing (almost) from scratch. JMLR, 12(Aug):2493-2537, 2011.
7. [Cuong et al., 2014] Nguyen Viet Cuong, Nan Ye, Wee Sun Lee, and Hai Leong Chieu. Conditional random field with high-order dependencies for sequence labeling and seg- mentation. JMLR, 15(1):981-1009, 2014.
8. [Giménez and Marquez, 2004] Jesús Giménez and Lluis Marquez. Svmtool: A general pos tagger generator based on support vector machines. In ICLR, 2004.
9. [Graves and Schmidhuber, 2005] Alex Graves and Jürgen Schmidhuber. Framewise phoneme classification with bidirectional lstm networks. In IJCNN, 2005.
10. [Hochreiter and Schmidhuber, 1997] Sepp Hochreiter and Jürgen Schmidhuber. Long short-term memory. Neural computation, 9(8):1735-1780, 1997.
11. [Lafferty et al., 2001] John Lafferty, Andrew McCallum, and Fernando CN Pereira. Conditional random fields: Probabilistic models for segmenting and labeling sequence data. 2001.
12. [Lample et al., 2016] Guillaume Lample, Miguel Balles- teros, Sandeep Subramanian, Kazuya Kawakami, and Chris Dyer. Neural architectures for named entity recog- nition. In NAACL, pages 260-270, 2016.
13. [Lin and Wu, 2009] Dekang Lin and Xiaoyun Wu. Phrase clustering for discriminative learning. In ACL, 2009.
14. [Liu et al., 2016] Pengfei Liu, Xipeng Qiu, and Xuanjing Huang. Recurrent neural network for text classification with multi-task learning. In IJCAI, 2016.
15. [Luo et al., 2015] Gang Luo, Xiaojiang Huang, Chin-Yew Lin, and Zaiqing Nie. Joint named entity recognition and disambiguation. In EMNLP, 2015.
16. [Ma and Hovy, 2016] Xuezhe Ma and Eduard Hovy. End-to- end sequence labeling via bi-directional lstm-cnns-crf. In ACL, pages 1064-1074, 2016.
17. [Ma and Xia, 2014] Xuezhe Ma and Fei Xia. Unsupervised dependency parsing with transferring distribution via par- allel guidance and entropy regularization. In ACL, 2014.
18. [Manning, 2011] Christopher D Manning. Part-of-speech tagging from 97% to 100%: is it time for some linguis- tics? In Cicling, pages 171-189, 2011.
19. [Marcus et al., 1993] Mitchell P Marcus, Mary Ann Marcinkiewicz, and Beatrice Santorini. Building a large annotated corpus of english: The penn treebank. Computational linguistics, 19(2):313-330, 1993.
20. [Passos et al., 2014] Alexandre Passos, Vineet Kumar, and Andrew McCallum. Lexicon infused phrase embeddings for named entity resolution. arXiv:1404.5367, 2014.
21. [Pei et al., 2014] Wenzhe Pei, Tao Ge, and Baobao Chang. Max-margin tensor neural network for chinese word seg- mentation. In ACL, pages 293-303, 2014.
22. [Reimers and Gurevych, 2017] Nils Reimers and Iryna Gurevych. Reporting score distributions makes a differ- ence: Performance study of lstm-networks for sequence tagging. In EMNLP, pages 338-348, 2017.
23. [Santos and Zadrozny, 2014] Cicero D Santos and Bianca Zadrozny. Learning character-level representations for part-of-speech tagging. In ICML, pages 1818-1826, 2014.
24. [Shen et al., 2007] Libin Shen, Giorgio Satta, and Aravind Joshi. Guided learning for bidirectional sequence classifi- cation. In ACL, volume 7, pages 760-767, 2007.
25. [Søgaard, 2011] Anders Søgaard. Semisupervised con- densed nearest neighbor for part-of-speech tagging. In ACL, pages 48-52, 2011.
26. [Sun, 2014] Xu Sun. Structure regularization for structured prediction. In NIPS, pages 2402-2410, 2014.
27. [Sutskever et al., 2014] Ilya Sutskever, Oriol Vinyals, and Quoc V Le. Sequence to sequence learning with neural networks. In NIPS, pages 3104-3112, 2014.
28. [Toutanova et al., 2003] Kristina Toutanova, Dan Klein, Christopher D Manning, and Yoram Singer. Feature-rich part-of-speech tagging with a cyclic dependency network. In NAACL, pages 173-180, 2003.
29. [Vaswani et al., 2016] Ashish Vaswani, Yonatan Bisk, Kenji Sagae, and Ryan Musa. Supertagging with lstms. In NAACL, 2016.
30. [Zhang et al., 2015] Meishan Zhang, Yue Zhang, and Duy- Tin Vo. Neural networks for open domain targeted senti- ment. In EMNLP, pages 612-621, 2015.
31. [Zheng et al., 2013] Xiaoqing Zheng, Hanyang Chen, and Tianyu Xu. Deep learning for chinese word segmentation and pos tagging. In EMNLP, pages 647-657, 2013.
32. [Zheng et al., 2017] Suncong Zheng, Feng Wang, Hongyun Bao, Yuexing Hao, Peng Zhou, and Bo Xu. Joint ex- traction of entities and relations based on a novel tagging scheme. In ACL, 2017.
