Trellis Networks for Sequence Modeling

ICLR 2019  ·  Shaojie Bai, J. Zico Kolter, Vladlen Koltun ·

We present trellis networks, a new architecture for sequence modeling. On the one hand, a trellis network is a temporal convolutional network with special structure, characterized by weight tying across depth and direct injection of the input into deep layers. On the other hand, we show that truncated recurrent networks are equivalent to trellis networks with special sparsity structure in their weight matrices. Thus trellis networks with general weight matrices generalize truncated recurrent networks. We leverage these connections to design high-performing trellis networks that absorb structural and algorithmic elements from both recurrent and convolutional models. Experiments demonstrate that trellis networks outperform the current state of the art methods on a variety of challenging benchmarks, including word-level language modeling and character-level language modeling tasks, and stress tests designed to evaluate long-term memory retention. The code is available at https://github.com/locuslab/trellisnet .

PDF Abstract ICLR 2019 PDF ICLR 2019 Abstract
Task Dataset Model Metric Name Metric Value Global Rank Result Benchmark
Language Modelling Penn Treebank (Character Level) Trellis Network Bit per Character (BPC) 1.158 # 4
Number of params 13.4M # 11
Language Modelling Penn Treebank (Word Level) Trellis Network Test perplexity 54.19 # 19
Sequential Image Classification Sequential CIFAR-10 Trellis Network Unpermuted Accuracy 73.42% # 8
Language Modelling WikiText-103 Trellis Network Test perplexity 29.19 # 67

Methods