Optimal Hyperparameters for Deep LSTM-Networks for Sequence Labeling Tasks

Nils Reimers, Iryna Gurevych
7/21/2017
cs.CL

Official code: UKPLab/emnlp2017-bilstm-cnn-crf (834 stars, Apache-2.0, last commit 2021-05-27).

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.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

BiLSTM-CNN-CRF architecture for sequence tagging

834256Python, DockerfileJul 13, 20175 years agoApache-2.0

Cite this paper

@article{reimers2017optimal,
  title  = {Optimal Hyperparameters for Deep LSTM-Networks for Sequence Labeling Tasks},
  author = {Nils Reimers and Iryna Gurevych},
  year   = {2017},
  eprint = {1707.06799},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1707.06799}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1707.06799.svg)](https://codeofpaper.com/paper/1707.06799)

Discussion