Forward and Inverse Approximation Theory for Linear Temporal Convolutional Networks

Haotian Jiang, Qianxiao Li

TL;DR

This paper introduces a theoretical framework for understanding how well linear temporal convolutional neural networks (CNNs) can approximate sequential data. They provide both "forward" (Jackson-type) and "inverse" (Bernstein-type) approximation theorems, offering a complete characterization of which sequential relationships these networks can efficiently model. This work refines existing complexity measures and introduces a new inverse approximation theorem, crucial for guiding model selection in sequence modeling tasks.

What Problem Does This Paper Address?

Modeling temporal sequences is a fundamental task in machine learning, with applications ranging from speech recognition to time series forecasting. While recurrent neural networks (RNNs) have traditionally dominated this area, convolutional neural networks (CNNs), particularly dilated CNNs like WaveNet, have emerged as powerful alternatives due to their ability to capture long-range dependencies efficiently. However, a deep theoretical understanding of what kind of sequential relationships these CNNs can effectively learn has been lacking. Specifically, existing work provided some insights into how well CNNs can approximate sequences (approximation rates), but lacked a converse understanding: if a sequence can be well approximated, what does that tell us about its inherent properties? This paper aims to bridge this gap by providing a comprehensive theoretical analysis, including both forward and inverse approximation results, to fully characterize the approximation capabilities of linear temporal CNNs.

Methods

The authors extend the theory of function approximation to the domain of temporal sequence modeling using linear CNNs. Their approach involves:

  • Mathematical Formulation: Defining temporal sequences as functions mapping indices to real vectors and temporal CNNs as a specific class of functional mappings.
  • Complexity Measures: Introducing refined measures to quantify the "complexity" of a target sequence. These measures, denoted as $C_1^{(g)}$ and $C_2^{(f)}$, are based on the spectrum of the target's representation and its tail decay, respectively. These are crucial for relating the sequence's properties to the CNN's approximation capabilities.
  • Jackson-type Approximation Theorem: Proving a "forward" result that establishes an upper bound on the approximation error. This theorem shows that the error decreases as the CNN's depth (K) and width (M) increase, and importantly, the rate of decrease is directly tied to the sequence's complexity as measured by $C_1^{(g)}$ and $C_2^{(f)}$. This result improves upon prior work by using a more refined complexity measure and providing a tighter error bound.
  • Bernstein-type Approximation Theorem: Proving a novel "inverse" result. This theorem establishes a lower bound on the approximation error, showing that if a sequence can be well approximated by a CNN, then its complexity (as measured by $C_1^{(g)}$ and $C_2^{(f)}$) must be small. This provides a converse to the Jackson-type theorem.
  • Tensor Structure Analysis: Leveraging tensor decomposition techniques (specifically HOSVD) to analyze the structure of dilated CNNs and their relationship to the target sequences.

Datasets

Not discussed in the paper. The paper focuses on theoretical analysis rather than empirical evaluation on specific datasets.

Key Insights and Ideas

  • Comprehensive Characterization: The combination of Jackson-type (forward) and Bernstein-type (inverse) approximation theorems provides a complete theoretical understanding of what sequential relationships linear temporal CNNs can efficiently model.
  • Complexity is Key: The approximation quality is directly linked to the inherent complexity of the target sequence, quantified by spectral decay ($C_1^{(g)}$) and memory decay ($C_2^{(f)}$).
  • Refined Complexity Measures: The paper introduces improved complexity measures that are more naturally adapted to the structure of dilated CNNs, leading to tighter approximation bounds.
  • New Inverse Result: The introduction of the Bernstein-type theorem is a significant contribution, providing a crucial converse that helps determine if a given sequence is amenable to approximation by CNNs.
  • Model Selection Guidance: These theoretical results offer valuable insights for practitioners, helping them select appropriate CNN architectures (depth K, width M) based on the expected complexity of the sequential data they aim to model, thereby improving efficiency and effectiveness.

Key Results

  • Jackson-type Theorem: For any target sequence $H$ with complexity $C^{(g)}(H)$ and $C_2^{(f)}(H)$, the approximation error using a linear temporal CNN with $K$ layers and $M$ channels is bounded by $C^{(g)}(H)g(M) + C_2^{(f)}(H)f(l^K)$, where $g$ and $f$ are non-increasing functions. This bound improves upon previous results by decoupling the dependence on $K$ and $M$.
  • Bernstein-type Theorem: If a target sequence $H$ can be approximated by a linear temporal CNN with error bounded by $Ag(M) + Bf(l^K)$, then its complexity measures satisfy $C_1^{(g)}(H) \le A$ and $C_2^{(f)}(H) \le B$. This implies that efficient approximation requires small spectral and memory decay.
  • Combined Implication: A target sequence can be efficiently approximated by linear temporal CNNs if and only if it exhibits fast decaying spectrum and memory.

Limitations and Future Work

  • Linearity Assumption: The analysis is primarily focused on linear temporal CNNs (i.e., linear activation functions). The authors acknowledge that real-world CNNs often use non-linear activations, and extending the theory to non-linear cases would be a valuable future direction.
  • Specific Architectures: While the theory applies to dilated CNNs, further work could explore its applicability to other CNN variants or hybrid architectures.
  • Empirical Validation: The paper is theoretical. Future work could involve extensive empirical studies to validate these theoretical findings on real-world datasets and demonstrate their practical utility in model selection.
  • Complexity of Target: The theorems rely on the target sequence having a "small" complexity. Defining what constitutes "small" in practice and how to estimate these complexity measures for unknown targets remains an area for further investigation.

Summary updated

BibTeX
@inproceedings{jiang2021forward,
  author = {Haotian Jiang and Qianxiao Li},
  title = {{Forward and Inverse Approximation Theory for Linear Temporal Convolutional Networks}},
  booktitle = {GSI},
  year = {2021},
  url = {https://openreview.net/forum?id=K0dNBYoO8g},
}
Figure