HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

Seq-U-Net: A One-Dimensional Causal U-Net for Efficient Sequence Modelling

Daniel Stoller; Mi Tian; Sebastian Ewert; Simon Dixon

Seq-U-Net: A One-Dimensional Causal U-Net for Efficient Sequence Modelling

Abstract

Convolutional neural networks (CNNs) with dilated filters such as the Wavenet or the Temporal Convolutional Network (TCN) have shown good results in a variety of sequence modelling tasks. However, efficiently modelling long-term dependencies in these sequences is still challenging. Although the receptive field of these models grows exponentially with the number of layers, computing the convolutions over very long sequences of features in each layer is time and memory-intensive, prohibiting the use of longer receptive fields in practice. To increase efficiency, we make use of the "slow feature" hypothesis stating that many features of interest are slowly varying over time. For this, we use a U-Net architecture that computes features at multiple time-scales and adapt it to our auto-regressive scenario by making convolutions causal. We apply our model ("Seq-U-Net") to a variety of tasks including language and audio generation. In comparison to TCN and Wavenet, our network consistently saves memory and computation time, with speed-ups for training and inference of over 4x in the audio generation experiment in particular, while achieving a comparable performance in all tasks.

Code Repositories

f90/Seq-U-Net
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
language-modelling-on-penn-treebank-characterTCN
Bit per Character (BPC): 1.31
Number of params: 5.9M
language-modelling-on-penn-treebank-characterSeq-U-Net
Bit per Character (BPC): 1.3
Number of params: 5.9M
language-modelling-on-penn-treebank-wordTCN
Params: 14.7M
Test perplexity: 108.47
language-modelling-on-penn-treebank-wordSeq-U-Net
Params: 14.9M
Test perplexity: 107.95
music-modeling-on-jsb-choralesTCN
NLL: 8.154
Parameters: 534K
music-modeling-on-jsb-choralesSeq-U-Net
NLL: 8.173
Parameters: 522K
music-modeling-on-nottinghamSeq-U-Net
NLL: 2.97
Parameters: 1.7M
music-modeling-on-nottinghamTCN
NLL: 2.783
Parameters: 1.7M

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp