betaFeedback

WorksMathematics

Improved Forecasting for Multivariate Time Series using GNAR models with General Inverse Distance Weights

Abstract

Many multivariate time series arise on networks where relationships between variables depend on physical or more general distances. Standard vector autoregressive models struggle in such settings due to their quadratic parameter growth, while generalised network autoregressive (GNAR) models offer a parsimonious alternative by explicitly incorporating network structures. Existing GNAR formulations assume fixed weights, typically uniform or reciprocal distances, which may not reflect the true influence of distance in real systems. We introduce a novel model with general inverse distance weights (GNARID) that extends GNAR by introducing a tunable exponent parameter that controls the strength of distance penalisation. We establish theoretical results on the consistency and asymptotic normality of new GNARID estimators, including an extension to the setting where the number of nodes grows. We analyse the effect of misspecifying the exponent on forecasting error, which helps assess how much GNAR models could be improved by our tunable weights. Simulation studies confirm the theoretical properties and show measurable benefits from correct weight specification. Using the Brumadinho ground displacement dataset, we show that proper tuning of the weight exponent improves predictive performance, highlighting the practical value of flexible distance-based weighting in network time series models.

GNARID_main_rev2.pdf

Introduction

Multivariate time series data arise in many domains, from traffic flows in transportation networks and epidemiological spread over regions to financial interactions among industries. Vector autoregressions (VAR) [35] are a popular choice for modelling multivariate time series, which assume linear dependencies between current and past variates. A key drawback of VAR models is the quadratic growth in the number of parameters with respect to the number of time series, often leading to overfitting even with reasonable sample sizes. Different methods have been proposed to mitigate this problem, such as the Lasso-regularised VAR [40], the factor-augmented VAR [4], or the Bayesian VAR [39].

Suppose that an NN-dimensional time series is accompanied by a network G\mathcal{G} with NN vertices (nodes). Inspired by earlier work on network time series [14, 15, 32], over the last decade a concise yet effective alternative to VAR models has been developed: the Generalised Network Autoregressive (GNAR) model of [20, 21]. See also [47] for a closely related Network Vector Autoregressive (NAR) model. The GNAR model structures dependencies explicitly through a known network topology rather than imposing generic sparsity through shrinkage or arbitrary zero restrictions, leading to fewer parameters, clearer interpretability, and better scalability to large and complicated systems.

The network time series literature has also developed in several other directions. A general nonlinear NAR framework is developed in [1], while a special case, the Poisson network autoregressive (PNAR) model in [2], is designed for count-valued network time series. The GNARI and NGNAR models in [25] accommodate count data through thinning operations and nonlinear response functions, respectively, while the FCNAR model in [45] introduces spline-based functional coefficients. Network dependence has also been incorporated into conditional volatility models [33, 46]. Further extensions include edge-valued network time series [27], long-memory network processes [5], community-specific GNAR models [30], and matrix- and tensor-valued network autoregressive models with latent group structures [36, 37]. Sometimes the time series is not accompanied by a specific network, but random networks can be used to great effect, particularly when, e.g., forecasting; see [23, 29]. Another strand treats the network itself as the time series rather than a supporting structure. Time-varying binary adjacency matrices can be modelled by allowing each edge to evolve according to edge-specific transition probabilities; see [17]. This framework is reparameterised in [16] using two node-specific parameters to capture heterogeneity in tie formation and persistence. A further development in [8] allows the transition probabilities of an edge to depend on the histories of other edges. Taken together, these works show how network structure can be incorporated into a wide range of time series models. The present work addresses an unresolved issue in network time series modelling: even when the network topology is available, the connection weights governing the relative influence of neighbouring nodes may still be unknown and require estimation.

The GNAR model uses a weight matrix that specifies the relative importance of edges in the network. However, such weights are sometimes unavailable in practice, while a distance matrix, derived from geographical distances, travel times, or any dissimilarity measure applied to exogenous variables of the nodes, is often accessible. This naturally raises the question of how to determine appropriate weights given the available distances. Let wn,mw_{n,m} and dn,md_{n,m} denote the weight and ‘distance’ of the edge (n,m)(n,m) respectively. Weights were proposed in [20, 21] to be constructed using reciprocal distances, that is

wn,m=dn,m−1/∑qdn,q−1,(1)w_{n,m}=d_{n,m}^{-1}/\sum_q d_{n,q}^{-1}, \tag*{(1)}

where the sum is taken over the relevant neighbours qq of node nn. We introduce a more flexible weighting scheme using general inverse distance weights [26, 38] given by

wn,m=dn,m−λ/∑qdn,q−λ,λ≥0,(2)w_{n,m}=d_{n,m}^{-\lambda}/\sum_q d_{n,q}^{-\lambda},\quad\lambda\ge0, \tag*{(2)}

where λ\lambda is called the exponent in [38]. The term ‘inverse distance weights’ was used in [15] and [20] to refer to the λ=1\lambda=1 situation, but the name is usually associated with the more general case of some λ≥0\lambda\ge0. General inverse distance weights with parameter λ\lambda have been used in many other contexts, but to the best of our knowledge, this is the first work to estimate distance-based weights from the data for the class of network autoregressive processes such as GNAR, rather than predefining them as fixed forms such as reciprocal or uniform weights.

Inverse distance weights generalise the reciprocal distance weighting by introducing a hyperparameter λ\lambda that controls the strength of penalisation for larger or smaller distances. Another widely used approach for weight construction is negative exponential weighting (or inverse softmax),

wn,m∝exp⁡(−λdn,m),λ≥0,(3)w_{n,m} \propto\exp(-\lambda d_{n,m}), \qquad\lambda\ge0, \tag*{(3)}

which arises from the multinomial logit model [28]. These are essentially the same as inverse distance weights, if we first transform the distances exponentially.

The inclusion of a single modest additional hyperparameter λ\lambda allows the influence of distance to be tuned more precisely. While this added flexibility increases the complexity of model fitting, such as making the target function non-convex, we will show that λ\lambda can still be estimated consistently and efficiently.

Naturally, there are a wide variety of possible different weight functions that could be used. Our inverse distance weighting scheme is one instance from the more general form wn,m=f(dn,m)w_{n,m}=f(d_{n,m}) where ff is a monotonically decreasing function in dn,md_{n,m}. We now proceed to explain our method using general inverse-distance weights and next establish notation.

Notation

We use Ai,jA_{i,j} to denote the (i,j)(i,j)-th entry of any matrix A\mathbf{A}, Ai,:A_{i,:} to denote the ii-th row, A:,jA_{:,j} to denote the jj-th column. Let INI_N denote the identity matrix in RN×N\mathbb{R}^{N \times N}. Let cc and CC denote arbitrary constants which can vary for each occurrence. Let ∥x∥\lVert x\rVert denote the 2-norm of a vector xx. Let ∥A∥q\lVert A\rVert_q, ∥A∥\lVert A\rVert and ∥A∥F\lVert A\rVert_F denote the induced qq-norm, induced 2-norm and the Frobenius norm of a matrix AA respectively. Define ρmax⁡(A)\rho_{\max}(A) and ρmin⁡(A)\rho_{\min}(A) to be the largest and smallest absolute eigenvalues of AA respectively. We use ⊗\otimes to denote the Kronecker product of matrices. A≻(⪰)0A \succ(\succeq)0 means that AA is positive definite (positive semi-definite). The Loewner partial order A≻(⪰)BA \succ(\succeq)B means that A−B≻(⪰)0A-B \succ(\succeq)0. A≻(⪰)cA \succ(\succeq)c means A≻(⪰)cIA \succ(\succeq)cI. Let (fT)(f_T) and (gT)(g_T) be real-valued sequences, and write fT=O(gT)f_T=O(g_T) if there exist constants C>0C>0 and T0T_0 such that ∣fT∣≤C∣gT∣\lvert f_T\rvert\le C\lvert g_T\rvert for all T≥T0T \ge T_0. Then fT=Θ(gT)⟺fT=O(gT)f_T=\Theta(g_T) \Longleftrightarrow f_T=O(g_T) and gT=O(fT)g_T=O(f_T), which means that fT,gTf_T,g_T grow at the same rate up to constant factors.

GNAR with General Inverse Distance Weights

We define our multivariate time series by Xi,tX_{i,t}, where there are i=1,…,Ni=1,\ldots,N time series collected over t=1,…,Tt=1,\ldots,T time points. The multivariate time series is a network time series if it is associated with a graph/network with NN nodes and {Xi,t}t=1T\{X_{i,t}\}_{t=1}^T is associated with vertex/node i=1,…,Ni=1,\ldots,N of the graph. A GNAR time series model is a network time series model that models the dependence of Xi,tX_{i,t} on past values of Xi,sX_{i,s} for s<ts<t and past values of the neighbours of Xi,tX_{i,t}, where the neighbourhood is defined in some way by the graph structure. The way in which neighbours affect nodes is controlled by connection weights, which are often related to distances between vertices (if they exist) or some other analogous measure. The purpose of connection weights is to permit the parametrisation of the statistical GNAR model not to depend on, e.g. inter-vertex distances, and permits the parametrisation to remain parsimonious, see § 2.1 of [21]. In the standard GNAR setting these weights are fixed in advance. In this section we extend this construction by allowing the weights to depend on distances through an exponent parameter.

Let X=(Xt,G)\mathcal{X}=(\mathbf{X}_t,\mathcal{G}) be a network time series of length TT, where (Xt)t=1T(\mathbf{X}_t)_{t=1}^T is an NN-dimensional multivariate time series with Xt=(Xt,1,…,Xt,N)\mathbf{X}_t=(X_{t,1},\ldots,X_{t,N}) and G\mathcal{G} is a network with NN vertices. Let K={1,…,N}\mathcal{K}=\{1,\ldots,N\} be the set of all vertices (time series variables) of GG. We write i↔ji \leftrightarrow j if i,ji,j are connected by an edge. Let A⊂KA \subset\mathcal{K} be a subset of vertices. Define the neighbours of vertices in AA by N(A)={j∈K\A:j↔i, i∈A}\mathcal{N}(A)=\{j\in\mathcal{K}\backslash A:j\leftrightarrow i,\ i\in A\}. As in [20, 21] we define the rr-stage neighbour sets {N(r)(n)}r≥1\left\{\mathcal{N}^{(r)}(n)\right\}_{r\geq1} by

N(r)(n)=N({N(r−1)(n)}\[{⋃q=1r−1N(q)(n)}∪{n}]),(4)\mathcal{N}^{(r)}(n)=\mathcal{N}\left(\left\{\mathcal{N}^{(r-1)}(n)\right\}\backslash\left[\left\{\bigcup_{q=1}^{r-1}\mathcal{N}^{(q)}(n)\right\}\cup\{n\}\right]\right), \tag*{(4)}

for r=2,3,…r=2,3,\ldots and N(1)(n)=N({n})\mathcal{N}^{(1)}(n)=\mathcal{N}(\{n\}), where n∈Kn\in\mathcal{K}. Hence, N(r)(n)\mathcal{N}^{(r)}(n) is the set of vertices connected to any element of N(r−1)(n)\mathcal{N}^{(r-1)}(n) by an edge that has not appeared in any previous neighbour set. In other words, the first stage neighbours are N(1)(n)\mathcal{N}^{(1)}(n), which are the vertices excluding nn directly connected to nn by an edge. The second stage neighbours, N(2)(n)\mathcal{N}^{(2)}(n), are any vertices, not already in N(1)(n)\mathcal{N}^{(1)}(n) nor nn itself, connected by an edge to any vertex in N(1)(n)\mathcal{N}^{(1)}(n), and so on.

Given two vertices in the network (equivalently two time series variables) n,m∈Kn,m\in\mathcal{K} we are also supplied with finite strictly positive distances (or dissimilarities) dn,md_{n,m}. If n,mn,m are connected by an edge, then dn,md_{n,m} could be the dissimilarity or distance conveyed by that edge. If the vertices are not directly connected then the dissimilarities might be multipath distances; see [20] for more details on how these might be calculated.

For the inverse distance weight exponent λ≥0\lambda\geq0, for a node n∈Kn\in\mathcal{K} and a stage r>0r>0, when N(r)(n)≠∅\mathcal{N}^{(r)}(n)\neq\varnothing, for m∈N(r)(n)m\in\mathcal{N}^{(r)}(n), we introduce our general inverse distance (connection) weights wn,m(λ)w_{n,m}(\lambda) by

wn,m(λ)=dn,m−λ∑q∈N(r)(n)dn,q−λ.(5)w_{n,m}(\lambda)=\frac{d_{n,m}^{-\lambda}}{\sum_{q\in\mathcal{N}^{(r)}(n)}d_{n,q}^{-\lambda}}. \tag*{(5)}

References

  1. [1]Hayashi, F. (2000) Econometrics. Princeton University Press, Princeton, NJ.
  2. [2]Klimko, L. A. & Nelson, P. I. (1978) On Conditional Least Squares Estimation for Stochastic Processes. Ann. Statist., 6(3), 629 – 642.DOI
  3. [3]Panaretos, V. M. & Zemel, Y. (2019) Statistical Aspects of Wasserstein Distances. Annual Review of Statistics and Its Application, 6, 405–431.DOI
  4. [4]Tjøstheim, D. (1986) Estimation in nonlinear time series models. Stoch. Process. Appl., 21(2), 251–273.DOI

Paper details

vlnc:W_nge7w5f9
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 8

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents