Effective Spoken Language Labeling with Deep Recurrent Neural Networks

06/20/2017 ∙ by Marco Dinarelli, et al. ∙ Cole Normale Suprieure 0

Understanding spoken language is a highly complex problem, which can be decomposed into several simpler tasks. In this paper, we focus on Spoken Language Understanding (SLU), the module of spoken dialog systems responsible for extracting a semantic interpretation from the user utterance. The task is treated as a labeling problem. In the past, SLU has been performed with a wide variety of probabilistic models. The rise of neural networks, in the last couple of years, has opened new interesting research directions in this domain. Recurrent Neural Networks (RNNs) in particular are able not only to represent several pieces of information as embeddings but also, thanks to their recurrent architecture, to encode as embeddings relatively long contexts. Such long contexts are in general out of reach for models previously used for SLU. In this paper we propose novel RNNs architectures for SLU which outperform previous ones. Starting from a published idea as base block, we design new deep RNNs achieving state-of-the-art results on two widely used corpora for SLU: ATIS (Air Traveling Information System), in English, and MEDIA (Hotel information and reservation in France), in French.



There are no comments yet.


page 1

page 2

page 3

page 4

This week in AI

Get the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.

1 Introduction

One of the most important step towards building intelligent machines is allowing humans and computers to interact using spoken language. This task is very hard. As a first approximation thus, spoken dialog system applications have been designed where humans can interact with computers on a specific domain. In this context, effective human computer interactions depend on the Spoken Language Understanding (SLU) module of a spoken dialog system [De Mori et al.2008], which is responsible for extracting a semantic interpretation from the user utterance. A correct interpretation is crucial, as it allows the system to correctly understand the user will, to correctly generate the next dialog turn and in turn to achieve a more human-like interaction. In the past, SLU modules have been designed with a wide variety of probabilistic models [Gupta et al.2006, Raymond and Riccardi2007, Hahn et al.2010, Dinarelli et al.2011]. The rise of neural networks, in the last couple of years, has opened new interesting research directions in this domain [Mesnil et al.2013, Vukotic et al.2015, Vukotic et al.2016]. Recurrent Neural Networks [Jordan1989, Werbos1990, Cho et al.2014, He et al.2015] seem particularly adapted to this task. They allow not only to represent several pieces of information as embeddings but also, thanks to their recurrent architecture, to encode as embeddings relatively long contexts. This is a very important feature in spoken dialog systems, as the correct interpretation of a dialog turn may depend on the information extracted from previous turns. Such long contexts are in general out of reach for models previously used for SLU.

We propose novel deep Recurrent Neural Networks for SLU, treated as a sequence labeling problem. In this kind of tasks, effective models can be designed by learning label dependencies. For this reason, we start from the idea of I-RNN in [Dinarelli and Tellier2016b], which uses label embeddings together with word embeddings to learn label dependencies. Output labels are converted into label indexes and given back as inputs to the network, they are thus mapped into embeddings the same way as words. Ideally, this kind of RNN can be seen as an extension of the simple Jordan model [Jordan1989], where the recurrent connection is a loop from the output to the input layer. A high level schema of these networks is shown in figure 1.

In this paper we capitalize from previous work described in [Dinarelli and Tellier2016b, Dinarelli and Tellier2016a, Dupont et al.2017]. We use the I-RNN of [Dinarelli and Tellier2016b] as base block to design more effective, deep RNNs. We propose in particular two new architectures. In the first one, the simple ReLU hidden layer is replaced by a GRU hidden layer [Cho et al.2014], which has proved to be able to learn long contexts. In the second one, we take advantage of deep networks, by using two different hidden layers: (i) the first level is split into different hidden layers, one for each type of input information (words, labels and others) in order to learn independent internal representations for each input type; (ii) the second level takes the concatenation of all the previous hidden layers as input, and outputs a new internal representation which is finally used at the output layer to predict the next label.

In particular our deep architecture, can be compared to hybrid LSTM+CRF architectures proposed in the last years in a couple of papers [Huang et al.2015, Lample et al.2016, Ma and Hovy2016]. Such models replace the traditional local decision function of RNNs (the softmax) by a CRF neural layer in order to deal with sequence labeling problems. Our intuition is that, if RNNs are able to remember arbitrary long contexts, by using label information as context they are able to predict correct label sequences without the need of adding the complexity of a neural CRF layer. In this paper we simply use label embeddings to encode a large label context. While we don’t compare our models on the same tasks as those used in [Huang et al.2015, Lample et al.2016, Ma and Hovy2016]111Since we don’t have a graphic card, our networks are still relatively expensive to train on corpora like the Penn Treebank., we compare to LSTM, GRU and traditional CRF models heavily tuned on the same tasks as those we use for evaluation. Such comparison provides evidence that our solution is a good alternative to complex models like the bidirectional LSTM+CRF architecture of [Lample et al.2016], as it achieves outstanding performances while being much simpler. Still the two solutions are not mutually exclusive, and their combination could possibly lead to even more sophisticated models.

We evaluate all our models on two SLU tasks: ATIS [Dahl et al.1994], in English, and MEDIA [Bonneau-Maynard et al.2006], in French. By combining the use of label embeddings for learning label dependencies, and deep layers for learning internal sophisticated features, our models achieve state-of-the-art results on both tasks, outperforming strong published models.

In the rest of the paper, we describe in more details our models and we motivate our choices for RNNs (section 2). We then describe the tasks used for evaluation, experimental settings and results (section 3). We end the paper with some conclusions.

2 Recurrent Neural Networks

In this work we use as base block the I-RNN proposed in [Dinarelli and Tellier2016b]. A similar idea has been proposed in [Bonadiman et al.2016]. In this RNN labels are mapped into embeddings via a look-up table, the same way as words, as described in [Collobert and Weston2008]. The network uses a matrix for word embeddings, and a matrix for label embeddings, of size and , respectively, where is the size of the word dictionary, is the size chosen for embeddings, while is the number of labels, which corresponds to the size of the output layer.

In order to effectively learn word interactions and label dependencies, a wide context is used on both input types, respectively of size for words, and for labels. We define the embedding of any word . The input on the word-side at time step is then computed as:


is the concatenation of vectors (or matrices in the following sections). Similarly,

is the embedding of any predicted label , and the label-level input at time is:

which is the concatenation of the vectors representing the previous predicted labels.

The hidden layer activities are computed as:

is an activation function, which is the

Rectified Linear Function in the basic version of I-RNN [Dinarelli and Tellier2016b] (here and in the following equations we omit biases to keep equations lighter). The output of the network is computed with a function:

is the predicted label at the processing time step .

A detailed architecture of the I-RNN variant used in this work is shown in figure 2. Thanks to the use of label embeddings and to their combination in the hidden layer, the I-RNN variant learns very effectively label dependencies.

(a) Jordan
(b) I-RNN variant
Figure 1: Jordan RNN and I-RNN variant used in this paper.
Figure 2: Details of the I-RNN variant used in this paper

2.1 Deep RNNs

In this paper we propose two deep RNNs for SLU, which are based on the I-RNN variant.

In the first variant, the ReLU hidden layer is replaced by a Gated Recurrent Units (GRU) hidden layer [Cho et al.2014], an improved version of the LSTM layer, which proved to be able to learn relatively long contexts. The architecture of this deep network is the same as the one shown in figure 2, the only difference is that we use a GRU hidden layer.

A detailed schema of the GRU hidden layer is shown in figure 3. and gate units are used to control how past and present information affect the current network prediction. In particular the gate learns how to reset past information, making the current decision depends only on current information. The gate learns which importance has to be given to current input information. Combining the two gates and the intermediate value , the GRU layer can implement the memory cell used in LSTM, which can keep context information for a very long time. All these steps are computed as follows:

where is the element-wise multiplication. In the GRU layer, is often the sigmoid function222defined as , while is the hyperbolic tangent.333defined as

Figure 3: GRU hidden layer, a variant of the LSTM hidden layer.

The second deep RNN proposed in this paper takes advantage of several layers of internal representations. Deep learning for signal and image processing has shown that several hidden layers allow to learn more and more abstract features

[Hinton et al.2012, He et al.2015]. Such features provide models with a very general representation of information. While multiple hidden layers have been used also in NLP applications (e.g. [Lample et al.2016] uses an additional hidden layer on top of a LSTM layer), as long as only words are used as inputs, it is hard to find an intuitive motivation for using them beyond the empirical evidence that results improve.

Since the networks described in this paper use in any case at least two different inputs (words and labels), the need to learn multiple layers of representations is more clearly justified. We thus designed a deep RNN architecture where each type of input is connected to its own hidden layer. In the simplest case, we have one hidden layer for word embeddings and one for label embeddings ( and described above). The outputs of both layers are concatenated and given as input to a second global hidden layer. The output of this second layer is finally processed by the output layer the same way as in the architectures described previously. A schema of this deep architecture is shown in figure 4.

Figure 4: Deep I-RNN proposed in this paper.

When other inputs are given to the network (e.g. character-level convolution as described later on), in this architecture each of them have its own hidden layer, whose outputs are concatenated and given as input to the second hidden layer.

The motivation behind this architecture is that the network learns a different internal representation for each type of input separately in the first hidden layers. Then, in the second hidden layer, the network uses its entire modeling capacity to learn interactions between the different inputs. With a single hidden layer, the network has to learn both a global internal representation of all inputs and their interactions at the same time, which is much harder.

2.2 Character-level Convolution Layer

Even if word embeddings provide a fine encoding of word features, several works such like [Lample et al.2016, Ma and Hovy2016] have shown that more effective models can be obtained using a convolution layer over the characters of the words. Character-level information is indeed very useful to allow a model to generalize over rare inflected surface forms and even out-of-vocabulary words in the test phase. Word embeddings are much less effective in such cases. Convolution over word characters is even more general, as it can be applied to different languages, allowing to re-use the same system on different languages and tasks.

In this paper we focus on a convolution layer similar to the one used in [Collobert et al.2011] for words. For any word of length , we define the embedding of the -th character of the word . We define

the matrix of parameters for the linear transformation applied by the convolution (once again we omit the associated vector of biases). We compute a convolution of window size

over characters of a word as follows:


function is the so-called max-pooling

[Collobert et al.2011]

. While it is not strictly necessary to map characters into embeddings, it would be probably less interesting applying the convolution on discrete representations. The matrix

is made of the concatenation of the vectors returned by the application of the linear transformation. Its size is , where is the size of the convolution layer. The max-pooling computes the maxima over the word-length direction, thus the final output has size , which is independent from the word length.

can be interpreted as a distributional representation of the word

encoding the information at ’s character level. This is a complementary information with respect to word embeddings (which encode inter-word information) and provide the model with an information similar to what is usually brought by discrete lexical features like word prefixes, suffixes, capitalization information etc. and, more in general, with information on the morphology of a language.

2.3 RNNs Learning

We learn all the networks by minimizing the cross-entropy between the expected label and the predicted label at position in the sequence, plus a regularization term:

is a hyper-parameter to be tuned, stands for all the parameters of the network, which depend on the variant used. is the one-hot representation of the expected label. Since

above is the probability distribution over the label set computed by the softmax, we can see the output of the network as the probability

 , where and are the inputs of the network (both words and labels), is the index of one of the labels defined in the task at hand.

We can thus associate to the I-RNN model the following decision function:

Note that this is a local decision function, as the probability of each label is normalized at each position of a sequence. Despite this, the use of label-embeddings as context allows the I-RNN to effectively model label dependencies. In contrast, traditional RNNs don’t use label embeddings, most of them don’t use labels at all, their decision function can thus be defined as:

which can lead to incoherent predicted label sequences.

We use the traditional back-propagation algorithm with momentum to learn our networks [Bengio2012]. Given the recurrent nature of the networks, the Back-Propagation Through Time (BPTT) is often used [Werbos1990]. This algorithm consists in unfolding the RNN for previous steps, being a parameter to choose, and thus using the previous inputs and hidden states to update the model’s parameters. The traditional back-propagation algorithm is then applied. This is similar to learning a feed-froward network of depth N. The BPTT algorithm is supposed to allow the network to learn long contexts. However [Mikolov et al.2011] has shown that RNNs for language modeling learn best with only previous steps. This can be due to the fact that a longer context does not necessarily lead to better performances, as a longer context is also more noisy.

In this paper we use instead the same strategy as [Mesnil et al.2013]: we use a wide context of both words and labels, and the traditional back-propagation algorithm. From the definition of BPTT given above, our solution can be seen as an approximation of the BPTT algorithm.

2.4 Forward, Backward and Bidirectional Networks

The RNNs introduced in this paper are proposed in forward, backward and bidirectional variants [Schuster and Paliwal1997]. The forward model is what has been described so far. The architecture of the backward model is exactly the same, the only difference being that the backward model processes sequences from the end to the begin. Labels and hidden layers computed by the backward model can thus be used as future context in a bidirectional model.

Bidirectional models are described in details in [Schuster and Paliwal1997]

. In this paper we use the variant building separate forward and backward models, and then computing the final output as the geometric mean of the two models:

where and are the output of the forward and backward models, respectively.

3 Evaluation

3.1 Tasks for Spoken Language Understanding

We evaluated our models on two widely used tasks of Spoken Language Understanding (SLU) [De Mori et al.2008].

The ATIS corpus (Air Travel Information System) [Dahl et al.1994] was collected for building a spoken dialog system able to provide US flights information.

ATIS is a simple task dating from . The training set is made of sentences chosen among dependency-free sentences in the ATIS-2 and ATIS-3 corpora. The test set is made of sentences taken from the ATIS-3 NOV93 and DEC94 data. Since there is no official development set, we took a part of the training set for this purpose. Word and label dictionaries contain and items, respectively. We use the version of the corpus published in [Raymond and Riccardi2007], where some word classes are available as additional model features, such as city names, airport names, time expressions etc.

An example of sentence taken from this corpus is “I want all the flights from Boston to Philadelphia today”. The words Boston, Philadelphia and today are associated to the concepts DEPARTURE.CITY, ARRIVAL.CITY and DEPARTURE.DATE, respectively. All the other words don’t belong to any concept and are associated to the void concept O (for Outside). This example shows the simplicity of this task: the annotation is sparse, only words of the sentence are associated to a non-void concept; there is no segmentation problem, as each concept is associated to exactly one word.

The French corpus MEDIA [Bonneau-Maynard et al.2006] was collected to create and evaluate spoken dialog systems providing touristic information about hotels in France. This corpus is made of dialogs which have been manually transcribed and annotated following a rich concept ontology. Simple semantic components can be combined to create complex semantic structures. For example the component localization can be combined with other components like city, relative-distance, generic-relative-location, street etc. The MEDIA task is a much more challenging task than ATIS: the rich semantic annotation is a source of difficulties, and so is also the annotation of coreference phenomena. Some words cannot be correctly annotated without taking into account a relatively long context, often going beyond a single dialog turn. For example in the sentence “Yes, the one which price is less than 50 Euros per night”, the one is a mention of a hotel previously introduced in the dialog. Moreover labels are segmented over multiple words, creating possibly long label dependencies.

These characteristics, together with the small size of the training data, make MEDIA a much more suitable task for evaluating models for sequence labeling. Statistics on the corpus MEDIA are shown in table 2.

The MEDIA task can be modeled as sequence labeling by chunking the concepts over several words using the traditional BIO notation [Ramshaw and Marcus1995]. A comparative example of annotation, also showing the word classes available for the two tasks, is shown in the table 1.

The goal of the SLU module is to correctly extract concepts and their normalized values from the surface forms. The semantic representation used is concise, allowing an automatic spoken dialog system to easily represent the user will. In this paper we focus on concept labeling. The extraction of normalized values from these concepts can be easily performed with deterministic modules based on rules [Hahn et al.2010].

Words Classes Labels Words Classes Labels
Oui - Answer-B i’d - O
l’ - BDObject-B like - O
hotel - BDObject-I to - O
le - Object-B fly - O
prix - Object-I Delta airline airline-name
à - Comp.-payment-B between - O
moins relative Comp.-payment-I Boston city fromloc.city
cinquante tens Paym.-amount-B and - O
cinq units Paym.-amount-I Chicago city toloc.city
euros currency Paym.-currency-B
Table 1: An example of annotated sentence taken from MEDIA (left) and ATIS (right). The translation of the sentence in French is “Yes, the one which price is less than 50 Euros per night”
Training Dev. Test # Sentences 12,908 1,259 3,005 words concepts words concepts words concepts # tokens 94,466 43,078 10,849 4,705 25,606 11,383 # vocab. 2,210 99 838 66 1,276 78 # OOV% 1.33 0.02 1.39 0.04
Table 2: Statistics of the corpus MEDIA. # tokens is the number of tokens, # vocab. is the vocabulary size, # OOV is the number of Out-of-Vocabulary words.

3.2 Settings

All RNNs based on the I-RNN are implemented in Octave444https://www.gnu.org/software/octave/; Our code is described at http://www.marcodinarelli.it/software.php and available upon request using OpenBLAS for fast computations..555http://www.openblas.net; This library allows a speed-up of roughly on a single matrix-matrix multiplication using cores.

Our RNN models are trained with the following procedure:

  • Neural Network Language Models (NNLM), like the one described in [Bengio et al.2003], are trained for words and labels to generate the embeddings (separately).

  • Forward and backward models are trained using the word and label embeddings trained at the previous step.

  • The bidirectional model is trained using as starting point the forward and backward models trained at the previous step.

The first step is optional, as embeddings can be initialized randomly, or using externally trained embeddings. Indeed we ran also some experiments using embeddings trained with word2vec [Mikolov et al.2013]. The results obtained are not significantly different from those obtained following the procedure described above, these results will thus not be given in the following sections

All hyper-parameters and layer sizes of our version of the I-RNN variant have been moderately optimized on the development data of the corresponding task.666Without a graphic card, a full optimization is still relatively expensive. The deep RNNs proposed in this paper have been run using the same parameters. We provide the best values found for the two tasks.

The number of training epochs for both tasks is

for the token-lavel NNLM, for the label-level NNLM, for forward and backward taggers, and for the bidirectional tagger. Since the latter is initialized with the forward and backward models, it is very close to the optimum since the first iteration, it doesn’t need thus a lot of learning epochs. At the end of the training phase, we keep the model giving the best prediction accuracy on the development data.

We initialize all the weights with the Xavier initialization [Bengio2012], theoretically motivated in [He et al.2015]. The initial learning rate is , it is linearly decreased during the training phase (Learing Rate decay). We combine dropout and regularization [Bengio2012], the best value for the dropout probability is at the hidden layer, at the embedding layer on ATIS, on MEDIA. The best coefficient () for the regularization is for all the models, except for the bidirectional model where the best value is .

The size of the embeddings and of the hidden layer is always , except when all information is used as input (words, labels, classes, character convolution), in which case the hidden layer size is . The size of character embeddings is always , the size of the convolution layer is on ATIS, on MEDIA. The best size of the convolution window is always , meaning that characters are used individually as input to the convolution.

The best size for word and label contexts are and on ATIS, respectively. means words on the left of the current position of the sequence, on the right, plus the current word, while for the label context means previous predicted labels. On MEDIA the best sizes are and respectively.

3.3 Results

Model F1 measure
forward backward bidirectional
[Vukotic et al.2016] lstm 95.12 95.23
[Vukotic et al.2016] gru 95.43 95.53
[Dinarelli and Tellier2016a] E-rnn 94.73 93.61 94.71
[Dinarelli and Tellier2016a] J-rnn 94.94 94.80 94.89
[Dinarelli and Tellier2016a] I-rnn 95.21 94.64 94.75
I- Words 93.58 93.81 93.83
I- Words 94.31 94.32 94.47
I- Words+Classes 95.37 95.44 95.56
I- Words+Classes+CC 95.40 95.39 95.46
I- Words 94.47 94.29 94.52
I- Words+Classes 95.67 95.54 95.60
I- Words+Classes+CC 95.56 95.39 95.53
Table 3: Comparison of our results on the ATIS task with the literature, in terms of F1 measure.
Model F1 measure / Concept Error Rate (CER)
forward backward bidirectional
[Vukotic et al.2015] CRF 86.00 / –
[Hahn et al.2010] CRF – / 10.6
[Hahn et al.2010] ROVER – / 10.2
[Vukotic et al.2015] E-rnn 81.94 / – – / – – / –
[Vukotic et al.2015] J-rnn 83.25 / – – / – – / –
[Vukotic et al.2016] lstm 81.54 / – – / – 83.07 / –
[Vukotic et al.2016] gru 83.18 / – – / – 83.63 / –
[Dinarelli and Tellier2016a] E-rnn 82.64 / – 82.61 / – 83.13 / –
[Dinarelli and Tellier2016a] J-rnn 83.06 / – 83.74 / – 84.29 / –
[Dinarelli and Tellier2016a] I-rnn 84.91 / – 86.28 / – 86.71 / –
I- Words 84.50 / 13.56 85.87 / 11.92 86.33 / 11.38
I- Words 85.36 / 12.55 86.51 / 11.17 86.98 / 10.68
I- Words+Classes 85.34 / 12.34 86.55 / 10.85 87.07 / 10.35
I- Words+Classes+CC 85.47 / 12.23 86.70 / 10.69 87.17 / 10.19
I- Words 85.93 / 11.84 86.80 / 10.50 87.24 / 10.03
I- Words+Classes 85.63 / 11.87 86.64 / 10.41 87.30 / 9.83
I- Words+Classes+CC 85.73 / 11.81 86.83 / 10.33 87.43 / 9.80
Table 4: Comparison of our results on the MEDIA task with the literature, in terms of F1 measure and Concept Error Rate.

All results shown in this section are averages over runs. Word and label embeddings were learned once for all experiments, for each task.

We provide results obtained with incremental information given as input to the models and made of: i) Only words (previous labels are always given as input), indicated with Words in the tables; ii) words and classes Words+Classes; iii) words, classes and character convolution Words+Classes+CC. Our implementation of the I-RNN variant is indicated in the tables with I-. The version using a GRU hidden layer is indicated with I-, while I- is the version using two hidden layers, as shown in figure 4. E-rnn and J-rnn are the Elman and Jordan RNNs, respectively, while CRF is the Conditional Random Field model [Lafferty et al.2001], which is the best individual model for sequence labeling.

Results obtained on the ATIS task are shown in table 3. On this task we compare with lstm and gru models of [Vukotic et al.2016], and with RNNs of [Dinarelli and Tellier2016a]. Results in bold are those equal or better than the state-of-the-art, which is the F1 of [Vukotic et al.2016]. Note that some works report F1 results over on the ATIS task, e.g. [Mesnil et al.2015]. However they are obtained on a modified version of the ATIS corpus which makes the task easier.777This version of the data is associated to the tutorial available at http://deeplearning.net/tutorial/rnnslu.html. Since all published works on this task report either F1 measure, or both F1 measure and Concept Error Rate (CER), in order to save space we only show results in terms of F1. We report that the best CER reached with our models is , obtained with the forward model I- Words. To the best of our knowledge this is the best result in terms of CER on this task.

As can be seen in table 3, all models obtain good results on this task. As a matter of fact, as mentioned above, this task is relatively simple. Beyond this, our I- network systematically outperforms the other networks, achieving state-of-the-art performances. Note that, on this task, adding the character-level convolution doesn’t improve the results. We explain this with the fact that word classes available for this task already provide the model with most of the information needed to predict the label. Indeed, results improve by more than one F1 point when using classes compared to those obtained using only words, which are already over . Adding more information as input forces the model to use part of its modeling capacity for associations between character convolution and labels, which may replace correct with wrong associations.

Results obtained on the MEDIA task are shown in table 4. For this task we compare our results with those of [Vukotic et al.2015, Vukotic et al.2016, Dinarelli and Tellier2016a, Hahn et al.2010]. The former obtains the best results in terms of F1, while the latter has, since , the best results in terms of CER. Those results are obtained with a combination of individual models by ROVER [Fiscus1997], which is indicated in the table with ROVER.

As mentioned above, this task is much more difficult than ATIS, results in terms of F1 measure are indeed - points lower. This difficulty is introduced not only by the much richer semantic annotation, but also by the relatively long label dependencies introduced by the segmentation of labels over multiple words. Not surprisingly thus, the CRF model of [Vukotic et al.2015] achieves much better performances than traditional RNNs (E-rnn, J-rnn, lstm and gru). The only model able to outperform CRF is the I-RNN of [Dinarelli and Tellier2016a]. All our RNNs are based on this model, which uses label embeddings the same way as word embeddings. Label embeddings are pre-trained on reference sequences of labels taken from the training data, and than refined during the training phase of the task at hand. This allows, in general, to learn first general label dependencies and interactions, based only on their co-occurrences. In the learning phase then, label embeddings are refined integrating information about their interactions with words. We observed however, that on small tasks like ATIS and MEDIA, pre-training embeddings doesn’t really provide significant improvements. On larger tasks however, learning embeddings increase the performances. We thus keep the pre-training phase as a step of our general learning procedure. The ability of our variant to learn label-word interactions, together with the ability of RNNs to encode large contexts as embeddings, makes I-RNN a very effective model for sequence labeling and thus for SLU. Our basic version of I-RNN uses a ReLU hidden layer and the dropout regularization, in contrast with the I-RNN of [Dinarelli and Tellier2016a] which uses a sigmoid and only regularization. This makes our implementation much more effective, as shown in table 4.

As can be seen in table 4, most of our results obtained with the bidirectional models are state-of-the-art (highlighted in bold) in terms of both F1 measure and CER. This is even more impressive as the best CER result in the literature is ROVER which is a combination of individual models.

Some of our results on the test set may seem not significantly better than others, e.g. I- Words+Classes compared to I- Words+Classes+CC in terms of CER. However, we optimize our models on development data, where the I- Words+Classes+CC model obtains a significantly better result ( vs. ). This slight lack of generalization on the test set may suggest that more fine parameter optimizations may lead to even better results.

Results in the tables show that the I- model is less effective than the other variants proposed in the paper. This outcome is similar to the one of [Vukotic et al.2016], which obtains worse results than the other RNNs on MEDIA. Compared to that work, adding label embeddings in our variant allows to reach higher performances. In contrast to [Vukotic et al.2016], our results on ATIS are particularly low even considering that we don’t use classes. An analyses on the training phase revealed that the GRU hidden layer is a very strong learner: this network’s best learning rate is lower than the one of other RNNs ( vs. ), but the final cost function on the training set is much lower than the one reached by the other variants. Since we could not solve this overfitting problem even changing activation function and regularization parameters, we conclude that this hidden layer is less effective on these particular tasks. In future work we will further investigate this direction on different tasks.

Beyond quantitative results, a shallow analysis of the model’s output shows that I- networks are really able to learn label dependencies. The superiority of this model on the MEDIA task in particular, is due to the fact that this model never makes segmentation mistakes, that is BIO errors. Since I- still makes mistakes, this means that once a label annotation starts at a given position in a sequence, even if the label is not the correct one, the same label is kept at following positions. I-rnn tends to be coherent with previous labeling decisions. This behavior is due to the use of a local decision function which definitely relies on the label embedding context. This doesn’t prevent the model from being very effective. Interestingly, this behavior also suggests that I- could still benefit from a CRF neural layer like those used in [Lample et al.2016, Ma and Hovy2016]. We leave this as future work.

4 Conclusions

In this paper we tackle the Spoken Language Understanding problem with recurrent neural networks. We use as basic block for our networks a variant of RNN taking advantage of several label embeddings as output-side context. The decision functions in our models are still local, but this limitation is overcome by the use of label embeddings, which proves very effective at learning label dependencies. We introduced two new task-oriented architectures of deep RNN for SLU: one using a GRU hidden layer in place of the simple ReLU. The other, Deep, using two hidden layers: the first learns separate internal representations of different input information; the second learns interactions between different pieces of such information. The evaluation on two widely used tasks of SLU proves the effectiveness of our idea. In particular the Deep network achieves state-of-the-art results on both tasks.


  • [Bengio et al.2003] Y. Bengio, R. Ducharme, P. Vincent, and C. Jauvin. A neural probabilistic language model.

    Journal of Machine Learning Research

    , 3:1137–1155, 2003.
  • [Bengio2012] Y. Bengio. Practical recommendations for gradient-based training of deep architectures. CoRR, 2012.
  • [Bonadiman et al.2016] D. Bonadiman, A. Severyn, and A. Moschitti. Recurrent context window networks for italian named entity recognizer. Italian Journal of Computational Linguistics, 2, 2016.
  • [Bonneau-Maynard et al.2006] H. Bonneau-Maynard, C. Ayache, F. Bechet, A. Denis, A. Kuhn, F. Lefèvre, D. Mostefa, M. Qugnard, S. Rosset, and J. Servan, S. Vilaneau. Results of the french evalda-media evaluation campaign for literal understanding. In LREC, pages 2054–2059, Genoa, Italy, May 2006.
  • [Cho et al.2014] K. Cho, B. van Merrienboer, Ç. Gülçehre, F. Bougares, H. Schwenk, and Y. Bengio. Learning phrase representations using RNN encoder-decoder for statistical machine translation. CoRR, 2014.
  • [Collobert and Weston2008] R. Collobert and J. Weston.

    A unified architecture for natural language processing: Deep neural networks with multitask learning.

    In Proceedings ICML, pages 160–167. ACM, 2008.
  • [Collobert et al.2011] Ronan Collobert, Jason Weston, Leon Bottou, Michael Karlen, Koray Kavukcuoglu, and Pavel Kuksa. Natural language processing (almost) from scratch. J. Mach. Learn. Res., 12:2493–2537, November 2011.
  • [Dahl et al.1994] D. A. Dahl, M. Bates, M. Brown, W. Fisher, K. Hunicke-Smith, D. Pallett, C. Pao, A. Rudnicky, and E. Shriberg. Expanding the scope of the atis task: The atis-3 corpus. In Proceedings of HLT Workshop. ACL, 1994.
  • [De Mori et al.2008] R. De Mori, F. Bechet, D. Hakkani-Tur, M. McTear, G. Riccardi, and G. Tur. Spoken language understanding: A survey. IEEE Signal Processing Magazine, 2008.
  • [Dinarelli and Tellier2016a] Marco Dinarelli and Isabelle Tellier. Improving recurrent neural networks for sequence labelling. CoRR, 2016.
  • [Dinarelli and Tellier2016b] Marco Dinarelli and Isabelle Tellier. New recurrent neural network variants for sequence labeling. In Proceedings of the 17th International Conference on Intelligent Text Processing and Computational Linguistics, Konya, Turkey, Avril 2016. Lecture Notes in Computer Science (Springer).
  • [Dinarelli et al.2011] M. Dinarelli, A. Moschitti, and G. Riccardi. Discriminative reranking for spoken language understanding. IEEE TASLP, 20:526–539, 2011.
  • [Dupont et al.2017] Yoann Dupont, Marco Dinarelli, and Isabelle Tellier. Label-dependencies aware recurrent neural networks. In Proceedings of the 18th International Conference on Computational Linguistics and Intelligent Text Processing, Budapest, Hungary, April 2017. Lecture Notes in Computer Science (Springer).
  • [Fiscus1997] J. G. Fiscus. A post-processing system to yield reduced word error rates: Recogniser output voting error reduction (ROVER). In Proceedings of ASRU Workshop, pages 347–352, December 1997.
  • [Gupta et al.2006] N. Gupta, G. Tur, D. Hakkani-Tur, S. Bangalore, G. Riccardi, and M. Gilbert. The att spoken language understanding system. IEEE TASLP, 14(1):213–222, 2006.
  • [Hahn et al.2010] S. Hahn, M. Dinarelli, C. Raymond, F. Lefèvre, P. Lehen, R. De Mori, A. Moschitti, H. Ney, and G. Riccardi. Comparing stochastic approaches to spoken language understanding in multiple languages. IEEE TASLP, 99, 2010.
  • [He et al.2015] K. He, X. Zhang, S. Ren, and J. Sun.

    Delving deep into rectifiers: Surpassing human-level performance on imagenet classification.

    In IEEE ICCV, pages 1026–1034, 2015.
  • [Hinton et al.2012] G. Hinton, L. Deng, D. Yu, A. Mohamed, N. Jaitly, A. Senior, V. Vanhoucke, P. Nguyen, T. S. G. Dahl, and B. Kingsbury. Deep neural networks for acoustic modeling in speech recognition. IEEE Signal Processing Magazine, 29(6):82–97, 2012.
  • [Huang et al.2015] Zhiheng Huang, Wei Xu, and Kai Yu. Bidirectional lstm-crf models for sequence tagging. arXiv preprint arXiv:1508.01991, 2015.
  • [Jordan1989] M. I. Jordan. Serial order: A parallel, distributed processing approach. In Advances in Connectionist Theory: Speech. Erlbaum, 1989.
  • [Lafferty et al.2001] J. Lafferty, A. McCallum, and F. Pereira. Conditional random fields: Probabilistic models for segmenting and labeling sequence data. In Proceedings of ICML, pages 282–289, 2001.
  • [Lample et al.2016] G. Lample, M. Ballesteros, S. Subramanian, K. Kawakami, and C. Dyer.

    Neural architectures for named entity recognition.

    arXiv preprint, 2016.
  • [Ma and Hovy2016] Xuezhe Ma and Eduard Hovy. End-to-end sequence labeling via bi-directional lstm-cnns-crf. In Proceedings of the 54th Annual Meeting of the Association for Computational Linguistics, ACL 2016, 2016.
  • [Mesnil et al.2013] Grégoire Mesnil, Xiaodong He, Li Deng, and Yoshua Bengio. Investigation of recurrent-neural-network architectures and learning methods for spoken language understanding. In Interspeech 2013, August 2013.
  • [Mesnil et al.2015] Grégoire Mesnil, Yann Dauphin, Kaisheng Yao, Yoshua Bengio, Li Deng, Dilek Hakkani-Tur, Xiaodong He, Larry Heck, Gokhan Tur, Dong Yu, and Geoffrey Zweig. Using recurrent neural networks for slot filling in spoken language understanding. IEEE/ACM Transactions on Audio, Speech, and Language Processing, March 2015.
  • [Mikolov et al.2011] Tomas Mikolov, Stefan Kombrink, Lukas Burget, Jan Cernocky, and Sanjeev Khudanpur. Extensions of recurrent neural network language model. In ICASSP, pages 5528–5531. IEEE, 2011.
  • [Mikolov et al.2013] Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean. Efficient estimation of word representations in vector space. CoRR, abs/1301.3781, 2013.
  • [Ramshaw and Marcus1995] Lance Ramshaw and Mitchell Marcus. Text chunking using transformation-based learning. In Proceedings of the 3rd Workshop on Very Large Corpora, pages 84–94, Cambridge, MA, USA, June 1995.
  • [Raymond and Riccardi2007] Christian Raymond and Giuseppe Riccardi. Generative and discriminative algorithms for spoken language understanding. In Proceedings of the International Conference of the Speech Communication Assosiation (Interspeech), pages 1605–1608, Antwerp, Belgium, August 2007.
  • [Schuster and Paliwal1997] M. Schuster and K.K. Paliwal. Bidirectional recurrent neural networks. Trans. Sig. Proc., 45(11):2673–2681, nov 1997.
  • [Vukotic et al.2015] Vedran Vukotic, Christian Raymond, and Guillaume Gravier. Is it time to switch to word embedding and recurrent neural networks for spoken language understanding? In InterSpeech, Dresde, Germany, September 2015.
  • [Vukotic et al.2016] Vedran Vukotic, Christian Raymond, and Guillaume Gravier. A step beyond local observations with a dialog aware bidirectional GRU network for Spoken Language Understanding. In Interspeech, San Francisco, United States, September 2016.
  • [Werbos1990] P. Werbos. Backpropagation through time: what does it do and how to do it. In Proceedings of IEEE, volume 78, pages 1550–1560, 1990.