English

Optimal Hyperparameters for Deep LSTM-Networks for Sequence Labeling Tasks

Computation and Language 2017-08-17 v2

Abstract

Selecting optimal parameters for a neural network architecture can often make the difference between mediocre and state-of-the-art performance. However, little is published which parameters and design choices should be evaluated or selected making the correct hyperparameter optimization often a "black art that requires expert experiences" (Snoek et al., 2012). In this paper, we evaluate the importance of different network design choices and hyperparameters for five common linguistic sequence tagging tasks (POS, Chunking, NER, Entity Recognition, and Event Detection). We evaluated over 50.000 different setups and found, that some parameters, like the pre-trained word embeddings or the last layer of the network, have a large impact on the performance, while other parameters, for example the number of LSTM layers or the number of recurrent units, are of minor importance. We give a recommendation on a configuration that performs well among different tasks.

Keywords

Cite

@article{arxiv.1707.06799,
  title  = {Optimal Hyperparameters for Deep LSTM-Networks for Sequence Labeling Tasks},
  author = {Nils Reimers and Iryna Gurevych},
  journal= {arXiv preprint arXiv:1707.06799},
  year   = {2017}
}

Comments

34 pages. 9 page version of this paper published at EMNLP 2017

R2 v1 2026-06-22T20:53:42.699Z