An Empirical Evaluation of Generic Convolutional and Recurrent Networks for Sequence Modeling

Shaojie Bai, J. Zico Kolter, Vladlen Koltun
3/4/2018
cs.LGcs.AIcs.CL

Official code: locuslab/TCN (4,569 stars, MIT, last commit 2022-03-28).

Abstract

For most deep learning practitioners, sequence modeling is synonymous with recurrent networks. Yet recent results indicate that convolutional architectures can outperform recurrent networks on tasks such as audio synthesis and machine translation. Given a new sequence modeling task or dataset, which architecture should one use? We conduct a systematic evaluation of generic convolutional and recurrent architectures for sequence modeling. The models are evaluated across a broad range of standard tasks that are commonly used to benchmark recurrent networks. Our results indicate that a simple convolutional architecture outperforms canonical recurrent networks such as LSTMs across a diverse range of tasks and datasets, while demonstrating longer effective memory. We conclude that the common association between sequence modeling and recurrent networks should be reconsidered, and convolutional networks should be regarded as a natural starting point for sequence modeling tasks. To assist related work, we have made code available at http://github.com/locuslab/TCN .

View on arXivView PDF

Code Implementations(1)

locuslab/TCNOfficial100%
MIT

Sequence modeling benchmarks and temporal convolutional networks

4,569892PythonMar 2, 20184 years agoMIT

Similar Papers

Cite this paper

@article{bai2018empirical,
  title  = {An Empirical Evaluation of Generic Convolutional and Recurrent Networks for Sequence Modeling},
  author = {Shaojie Bai and J. Zico Kolter and Vladlen Koltun},
  year   = {2018},
  eprint = {1803.01271},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1803.01271}
}

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/1803.01271.svg)](https://codeofpaper.com/paper/1803.01271)

Discussion