Skip to main content
QUICK REVIEW

[Paper Review] Temporal FiLM: Capturing Long-Range Sequence Dependencies with Feature-Wise Modulations

Sawyer Birnbaum, Volodymyr Kuleshov|arXiv (Cornell University)|Sep 14, 2019
Music and Audio ProcessingComputer Science48 references29 citations
TL;DR

This paper introduces Temporal FiLM, a novel neural network layer that enhances feed-forward convolutional networks with recurrent modeling to capture long-range sequence dependencies. By using an RNN to adaptively modulate batch normalization parameters based on the full input sequence, TFiLM significantly improves performance on text classification and time-series super-resolution tasks, outperforming strong baselines with minimal computational overhead.

ABSTRACT

Learning representations that accurately capture long-range dependencies in sequential inputs -- including text, audio, and genomic data -- is a key problem in deep learning. Feed-forward convolutional models capture only feature interactions within finite receptive fields while recurrent architectures can be slow and difficult to train due to vanishing gradients. Here, we propose Temporal Feature-Wise Linear Modulation (TFiLM) -- a novel architectural component inspired by adaptive batch normalization and its extensions -- that uses a recurrent neural network to alter the activations of a convolutional model. This approach expands the receptive field of convolutional sequence models with minimal computational overhead. Empirically, we find that TFiLM significantly improves the learning speed and accuracy of feed-forward neural networks on a range of generative and discriminative learning tasks, including text classification and audio super-resolution

Motivation & Objective

  • To address the challenge of capturing long-range dependencies in sequential data such as text, audio, and genomic sequences.
  • To overcome the limitations of standard convolutional networks (limited receptive fields) and recurrent networks (training difficulties, vanishing gradients).
  • To develop a computationally efficient, domain-agnostic method that enhances feed-forward models with long-range context.
  • To improve performance on both discriminative (e.g., text classification) and generative (e.g., time series super-resolution) sequence modeling tasks.

Proposed method

  • TFiLM introduces a temporal adaptive normalization layer that modulates batch normalization parameters (γ, β) using a recurrent network processing the full input sequence.
  • The RNN computes dynamic scaling and shifting factors for each channel, enabling the convolutional feature maps to be adaptively normalized based on long-range context.
  • The method uses a residual connection and a pooling factor to reduce computational cost while maintaining performance.
  • The layer is integrated into a feed-forward CNN architecture, allowing for faster training and inference compared to autoregressive models.
  • The approach is applied to tasks including audio super-resolution, genomic signal reconstruction, and text sentiment classification.
  • Hyperparameters such as the number of channels (C), sequence length (T), and pooling factor are tuned for each task, with B=2 used in experiments.

Experimental results

Research questions

  • RQ1Can a feed-forward convolutional network be enhanced with recurrent context to model long-range dependencies without autoregressive inference?
  • RQ2How does adaptive modulation of batch normalization parameters improve performance on sequence modeling tasks?
  • RQ3To what extent can a single, domain-agnostic architecture outperform specialized models in time series super-resolution?
  • RQ4Does the integration of RNN-derived modulation improve training speed and accuracy in both discriminative and generative settings?

Key findings

  • TFiLM significantly improves the accuracy and learning speed of feed-forward networks on text classification tasks, outperforming standard CNN and RNN baselines.
  • In audio super-resolution, TFiLM achieves reconstruction quality equivalent to models trained on 10–20× more data, reducing the need for high-resolution inputs.
  • For genomic super-resolution, TFiLM produced signal quality equivalent to 10–20 million sequencing reads using only 1 million reads, demonstrating major cost efficiency gains.
  • The model generalizes across domains: it achieved strong performance on speech, music, and retail sales data without domain-specific feature engineering.
  • Ablation studies confirmed that both the TFiLM layer and skip connections significantly improve reconstruction accuracy, with the RNN-based modulation being the key contributor.
  • Visualization of modulation parameters revealed clustering by semantic factors (e.g., gender in audio), indicating the model learns meaningful long-range representations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.