Compact Autoregressive Network

Di Wang, Feiqing Huang, Jingyu Zhao, Guodong Li, Guangjian Tian

Abstract

Autoregressive networks can achieve promising performance in many sequence modeling tasks with short-range dependence. However, when handling high-dimensional inputs and outputs, the massive amount of parameters in the network leads to expensive computational cost and low learning efficiency. The problem can be alleviated slightly by introducing one more narrow hidden layer to the network, but the sample size required to achieve a certain training error is still substantial. To address this challenge, we rearrange the weight matrices of a linear autoregressive network into a tensor form, and then make use of Tucker decomposition to represent low-rank structures. This leads to a novel compact autoregressive network, called Tucker AutoRegressive (TAR) net. Interestingly, the TAR net can be applied to sequences with long-range dependence since the dimension along the sequential order is reduced. Theoretical studies show that the TAR net improves the learning efficiency, and requires much fewer samples for model training. Experiments on synthetic and real-world datasets demonstrate the promising performance of the proposed compact network.

Introduction

Autoregressive (AR) models are a cornerstone of time series analysis, effectively capturing temporal dependencies in sequential data. However, as modern datasets grow in both dimensionality ($N$) and temporal lag ($P$), standard fully connected AR networks encounter the "curse of dimensionality." A typical model requires $N^2P$ parameters, leading to prohibitive computational costs and a high risk of overfitting, especially when training data is limited.

While traditional dimensionality reduction techniques like bottleneck layers (low-rank matrix factorization) offer some relief, they often fail to exploit the multi-dimensional structure inherent in time series data. Specifically, they treat spatial (inter-sequence) and temporal (sequential) dimensions as a single flattened entity. This paper introduces the Tucker AutoRegressive (TAR) net, a compact architecture designed to overcome these limitations by leveraging tensor decomposition.

The Tucker AutoRegressive (TAR) Net

The core innovation of the TAR net is the transformation of weight matrices into a higher-order structure. Instead of maintaining $P$ separate $N \times N$ weight matrices, the model stacks them into a third-order tensor $\mathcal{W} \in \mathbb{R}^{N \times N \times P}$.

Tensorization of weight matrices into a 3D tensor.

By applying Tucker decomposition to this tensor, the weights are represented by a small core tensor $\mathcal{G}$ and three factor matrices ($U_1, U_2, U_3$). This decomposition effectively captures low-rank structures across three distinct modes: the output dimension, the input dimension, and the temporal lag dimension.

One of the most compelling aspects of this mathematical approach is its direct mapping to a multi-layer Convolutional Neural Network (CNN) architecture. The factor matrices $U_2$ and $U_3$ function as encoders, performing $N \times 1$ and $1 \times P$ convolutions respectively, while $U_1$ acts as a decoder to produce the final output.

The TAR net architecture mapped to a multi-layer CNN.

This structure results in a "deeper but thinner" network. While it adds layers compared to a standard AR model, it drastically reduces the total number of trainable parameters. To further enhance flexibility, the authors propose a TAR-2 variant, which processes spatial and temporal features in parallel lanes to account for different feature extraction orders.

Theoretical Efficiency and Sample Complexity

Beyond parameter reduction, the TAR net is theoretically grounded in its improved learning efficiency. The authors provide a rigorous Sample Complexity Analysis, proving that the number of samples required for training is proportional to the reduced Tucker rank rather than the full dimensions of the weight tensor. This makes the TAR net particularly valuable in domains like macroeconomics or environmental science, where high-dimensional data is common but long historical records are scarce.

Experimental Evaluation

The model was evaluated across diverse datasets, including synthetic data for theoretical verification and three real-world benchmarks: US Macroeconomic variables (USME), Greenhouse Gas tracers (GHG), and road occupancy rates (Traffic).

Key Results

  • Predictive Accuracy: The TAR and TAR-2 nets consistently achieved the lowest $L_2$ error, RMSE, and MAE across all real-world datasets.
  • Comparison with Recurrent Models: Notably, the compact TAR net outperformed fine-tuned RNNs and LSTMs. While LSTMs are powerful, their performance often degrades in high-dimensional settings due to overfitting as hidden layer sizes increase—a pitfall the TAR net avoids through its structural constraints.
  • Robustness: In synthetic tests, the TAR net demonstrated remarkable stability as the ratio of variables to samples increased, whereas standard OLS and low-rank matrix methods experienced exploding error rates.

Conclusion

The Tucker AutoRegressive (TAR) net offers a principled approach to high-dimensional sequence modeling. By treating temporal lags as a distinct tensor mode and applying Tucker decomposition, it achieves significant parameter compression and superior sample efficiency. Its natural mapping to a CNN architecture makes it both theoretically sound and practically efficient, outperforming traditional deep learning models like LSTMs in data-constrained, high-dimensional environments.

Summary updated

BibTeX
@inproceedings{wang2020compact,
  author = {Di Wang and Feiqing Huang and Jingyu Zhao and Guodong Li and Guangjian Tian},
  title = {{Compact Autoregressive Network}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  url = {https://openreview.net/forum?id=6cAlUtoBb3},
}
Figure