Manuscript Offprint
arXiv:2610.06630Inverse Cross-spectral Neural Networks for Multivariate Time Series
Lorenzo Marinucci*, Leonardo Di Nino†, Gabriele D'Acunto†,
Paolo Di Lorenzo†, Sergio Barbarossa†
*Statistical Sciences Dept., Sapienza University of Rome, Italy
†DIET Dept., Sapienza University of Rome, Italy
{1.marinucci, leonardo.dinino, gabriele.dacunto, paolo.dilorenzo, sergio.barbarossa}@uniroma1.it
Abstract—CoVariance Neural Networks and their extensions have emerged as effective tools for processing multivariate data, deriving graph shift operators directly from second-order statistics. These architectures, however, are designed for independent and identically distributed observations and do not fully capture the joint structure of temporal and cross-variable dependencies in multivariate time series. In this work, we introduce Inverse Cross-Spectral Neural Networks (iCSNNs), a class of graph neural networks for stationary multivariate time series whose shift operators are the inverse cross-spectral density (iCSD) matrices. These operators encode frequency-specific conditional relationships among variables, exploiting the decomposition provided by the spectral representation theorem. Leveraging spectral smoothness, frequencies are grouped into bands sharing a single iCSD operator, yielding a compact parametrisation that retains the frequency-dependent structure of the process. We further propose a joint learning procedure to estimate both the Fourier-domain dependence structure and the iCSNN parameters, adapting the iCSD operators to the downstream task. When tested on synthetic data, iCSNN outperforms baselines from different methodological families.
I. INTRODUCTION
Learning from multivariate time series data is central in many applications, including neuroscience, finance and climate science, where the goal is often to predict labels, continuous responses, or future trajectories from multiple interacting signals [1], [2], [3]. A large amount of work has therefore developed effective predictive models for classification, regression, and forecasting, ranging from distance-based and feature-based methods to convolutional-kernel and graph neural networks (GNNs) [4], [5], [6]. In particular, GNNs extract representations by propagating and combining information across variables according to an underlying graph.
In many applications, however, the graph topology is not known a priori and must be learned from data. A first approach addresses this problem by extracting the graph directly from the statistical description of the data. The GNN shift operator is set to the sample covariance matrix, and the method is known as CoVariance Neural Network (VNN). This construction inherits the expressive power and transferability of polynomial graph filters and recovers the representational space of Principal Component Analysis (PCA) . Pushing in the same direction, Precision Neural Networks (PNNs) replace the covariance with the precision matrix. In this way, PNNs operate on conditional rather than marginal dependence, exploiting the sparsity of the precision.
Despite these developments, existing covariance-based methods do not explicitly model cross-temporal dependencies. An extension for time series forecasting is provided by Spatiotemporal Covariance Neural Networks (STVNNs), which combine covariance-based graph filters with temporal convolutions and update both the covariance estimate and the network parameters online [10]. Although temporal convolutions account for past observations, the graph operator remains an estimate of the lag-zero covariance matrix and therefore describes only marginal, contemporaneous relationships among variables. For stationary time series, a complete description of the second-order structure at all temporal lags is provided by the cross-spectral density (CSD) matrices, the Fourier transform of the autocovariance sequence [11]. Additionally, their inverses, the inverse cross-spectral density (iCSD) matrices, encode frequency-specific conditional dependence, in analogy with the precision matrices in the i.i.d. setting [12]. A broad literature addresses their estimation from finite records [13], [14], and the resulting family of operators admits a graphical representation in terms of multi-frequency partial correlation graphs [15].
Contribution. In this work we introduce Inverse Cross-Spectral Neural Networks (iCSNNs), a class of GNNs for stationary multivariate time series whose shift operators are the iCSD matrices. This architecture builds on the spectral representation, where the statistical dependence factorizes into a collection of frequency-specific interactions among the component series. Exploiting the smoothness of the spectral density, the frequencies are grouped into bands over which a single iCSD operator is retained, so that the process is described by a small number of band-wise operators. This substantially reduces parameters while preserving the dependence structure of the original process. We further propose a joint learning procedure to estimate both the dependence structure in the Fourier domain and the iCSNN parameters. The statistical component of the objective builds on established sparse spectral estimation methods, which recover the iCSD matrices from
The work was supported by the SNS JU project 6G-GOALS under the EU's Horizon program Grant Agreement No 101139232, by Huawei Technology France SASU under Grant N. Tg20250616041, and by the European Union under the Italian National Recovery and Resilience Plan of NextGenerationEU, partnership on Telecommunications of the Future (PE00000001- program RESTART).
finite records through a penalised Whittle likelihood [14], while the supervised term makes the estimated operators aware of the downstream task. This is particularly relevant in limited-data regimes, where iCSD estimates may exhibit high variance and the supervised term guides the learning process toward the representations most relevant for prediction. Synthetic experiments on a classification task show that iCSNNs outperform baselines drawn from different families, namely covariance-based architectures [9], convolutional-kernel classifiers [5], distance-based methods and marginal spectral features [4], as well as a disjoint ablation in which the operators are estimated from the likelihood alone in low data regime.
depends only on the lag . We further assume that .
Cross-spectral density. Under these assumptions, for each frequency , the cross-spectral density (CSD) matrix is defined as the Fourier transform of the autocovariance sequence,
We assume that is nonsingular for every and define the inverse cross-spectral density (iCSD) matrix as . By the spectral representation theorem, admits a frequency-domain representation in terms of orthogonal spectral increments [11]. Under this representation, second-order dependencies are factorized over frequencies, with the CSD matrix describing marginal dependencies at frequency , and the iCSD matrix encoding the corresponding conditional dependence structure. This allows the linear dependence structure of the process to be analyzed frequency by frequency. Since , both and are Hermitian for every . Additionally, because the process is real-valued, and , so that it suffices to consider .
Partial correlation graphs. The family plays, for stationary multivariate processes, a role analogous to the precision matrix in the i.i.d. multivariate setting. In particular, for , the component processes and are conditionally uncorrelated given the remaining ones if and only if , for all [12]. However, we retain a frequency-band resolution of these relations. Following [15], let be a partition of into contiguous intervals. Note that, under the stated assumptions, the mapping is continuous [11]. Hence, for a sufficiently narrow partition, we assume to be approximately constant over each band . Consequently, for , we define a band-specific partial correlation graph (PCG) , as

Figure 1: The pipeline of the iCSNN.
where is a representative frequency.
III. INVERSE CROSS-SPECTRAL NEURAL NETWORKS
We consider a supervised learning task in which a multivariate time series , containing observations of a zero-mean weakly stationary process, is associated with a target . We introduce the Inverse Cross-Spectral Neural Network (iCSNN), which maps to a prediction by processing its spectral representation in parallel across frequency bands. Applying the one-sided DFT along the temporal dimension yields , where .
Frequency grouping. The frequencies are partitioned into contiguous bands of equal size , and we denote by the Fourier coefficients falling in band . Consistently with the smoothness of the spectral density, we assume the iCSD to be approximately constant within each band, so that a single iCSD matrix , with , models the conditional second-order dependence over the band. With a slight abuse of notation, we denote the representative iCSD matrix by . This reduces the number of iCSD matrices from to .
iCSD filtering. Each band is processed by an independent branch that uses as a GNN shift operator of the band-specific PCG . A branch stacks L layers, each applying a polynomial filter followed by a complex nonlinearity:
with complex coefficients , filter order , and the modReLU nonlinearity. Since the filter is a polynomial in , it acts on the eigenvalues of , learning a complex response along its eigen-directions.
Remark 1. This parallels covariance-based filtering, where covariance operators allow to recover PCA-type processing along principal directions [7]. Moreover, the sparsity of yields efficient filtering, by restricting the propagation to the edges of the band-specific PCG , in analogy with the PNN approach [9].
Readout and prediction. After L layers, each branch is reduced to a real, band-level feature vector. A learnable readout
, with , projects over the node dimension, giving
and a Bartlett-weighted power average over the band produces
where the fixed weights , shared across bands, follow a triangular (Bartlett) profile, , , peaked at the band centre [11]. This produces real-valued, band-specific features that summarize the filtered spectral power within each band. Finally, a shared MLP maps the concatenated band features to the output:
where denotes the trainable parameters of the MLP. Overall, the iCSNN defines a map , that depends on the bandwise iCSD matrices , and the trainable parameters, i.e. the filter coefficients, the readouts, and the MLP weights, .
IV. PROBLEM FORMULATION
The iCSNN architecture requires the band-level iCSD matrices , which act as the shift operators over its GNN components. These are rarely known a priori and must be estimated from data. We are given realizations , where each contains samples of the process and is the associated label, and we denote by the band- Fourier coefficients of the -th realization. We propose a joint problem formulation which couples statistical estimation of the matrices by spectral likelihood and the supervised objective, in analogy with the PNN training of [9].
Likelihood objective. A common approach in literature for estimating the iCSD matrices is to leverage the Whittle approximation [16], [14]. For each band, the negative Whittle pseudo log-likelihood is defined as
where is the empirical spectral covariance over band . Note that averaging across frequencies is justified by the assumption that , and hence , is approximately constant within each band. Consistently with the conditional-independence structure of the PCGs, we add a sparse-group lasso penalty. Denoting by the entries of a given pair across bands, the penalized loss reads
where sets the regularization strength and balances band-wise sparsity against edges vanishing across all bands.
Joint formulation. The iCSD operators are learned together with the network parameters, so that the estimated structure is aware of the downstream task. Denoting by the prediction loss of the supervised task, this yields the coupled problem
where balances the prediction objective against the statistical fit, and the constraint ensures that each operator remains a valid iCSD matrix.
Problem (P1) is challenging to address directly. The positive-definiteness constraint is natural for the likelihood term, which is convex in , but is impractical to enforce within the prediction loss. We therefore introduce a relaxed version of the problem, in which we use a set of auxiliary matrices to decouple the two losses:
Here, controls the consistency between the two sets of matrices, and as the constraint is enforced exactly, recovering (P1).
V. PROBLEM SOLUTION
We address parameter estimation of the iCSNN by block coordinate descent, exploiting the decoupled problem (P2). Since both the operators and the GNN parameters are complex-valued, their gradient-based updates are computed through Wirtinger calculus [17]. For iterations, the three sets of variables are optimized in turn, according to the following update rules.
Likelihood update ( ). With fixed, the auxiliary matrices solve the penalized spectral likelihood problem augmented with the coupling term,
This problem is convex and can be solved following a similar approach to [14]. In practice, we optimize it by ADMM for iterations, alternating between a likelihood step and a sparse-group lasso proximal step, available in closed form. The consistency term only adds a further quadratic contribution to the likelihood step, which is still solved in closed form, along the same lines as [14].
Operator update ( ). With H and fixed, the operators entering the network are refined in the supervised problem, subject to the coupling term,

Figure 2: Macro-averaged F1 scores of the jointly trained iCSNN, its Disjoint ablation and baseline methods, averaged over 20 synthetic datasets. The red dashed line represents the chance-level score of 0.20 for five balanced classes.
This subproblem is unconstrained, and, for large enough, the quadratic term makes it locally strongly convex, which we exploit by L-BFGS optimization for iterations [18].
Network update (H). Finally, with the operators fixed, the network parameters minimize the prediction loss alone,
which is solved by stochastic gradient descent for iterations.
VI. NUMERICAL RESULTS
We evaluate iCSNNs on a synthetic multivariate time-series classification task.
Data generation. A dataset consists of finite-length realizations from distinct stationary processes, corresponding to five classes. Each realization is a multivariate time series with channels and length . We generate 1000 independent realizations for each process, yielding a total of 5000 samples. For , class corresponds to a latent state that determines the dynamics of an informative component, which is combined with a state-independent component:
where is a random orthogonal mixing matrix, with . The latent component is a class-specific zero-mean Gaussian VAR(3) process on channels and contains the discriminative information, whereas is a zero-mean Gaussian VAR(3) process on the remaining 7 channels, with parameters shared across classes, and acts as shared noise. Hence, the classes differ only through the second-order structure of a low-dimensional latent component, which is mixed with a higher-dimensional class-independent process. To assess performance under different data availability regimes, we consider train/validation/test splits in , , , corresponding to low-, medium-, and large-data settings, respectively.
Baselines. We compare iCSNN against five baselines from different families of methods. The first, denoted Disjoint, is an ablation of our method in which the iCSD matrices are estimated beforehand from the spectral likelihood alone. This isolates the contribution of the task-driven refinement of the operators. To compare against existing covariance-based architectures, we consider STVNN [10], which uses the marginal covariance as graph shift operator. Since STVNNs were originally designed for online forecasting, we adapt them to classification by using a covariance shift operator estimated once from the training set, and by replacing the forecasting head with a graph-level classification readout followed by an MLP. The comparison is not entirely on equal terms, as STVNNs were developed for online optimization and forecasting rather than classification. Nevertheless, we include this baseline as the closest covariance-based approach to our method. The graph filtering architecture is otherwise unchanged. We further include Linear Discriminant Analysis (LDA) on per-node log-periodogram features,
which captures marginal spectral information without cross-node dependencies. Finally, we include MultiRocket [5], a state-of-the-art time-series classifier, which extracts features from fixed random convolutional kernels, and a 1-nearest-neighbour classifier with Dynamic Time Warping distance as a distance-based reference [4].
Training. We train an iCSNN composed of branches, each a GNN with two iCSD filtering layers of order , followed by an MLP head with hidden sizes . The architecture is trained by solving (P2) with regularization and block regularization strengths and , respectively, balancing the prediction and likelihood objectives, and the consistency term . The hyperparameters and learning rates of all methods are selected on a tuning dataset with the Optuna optimization module [19]. We instantiate the algorithm of Section V with outer iterations. The likelihood and network updates are run for iterations each, whereas the operator update requires only , since L-BFGS is expected to converge in few iterations in a locally strongly convex setting.
Results. We evaluate iCSNN and the considered baselines over 20 datasets, randomly generated according to the described setting. We evaluate performance using the macro-averaged F1 score,
where and denote the precision and recall of class , respectively. Fig. 2 reports the mean macro-F1 score across the 20 simulations, together with 95% confidence intervals. Both iCSNN variants consistently outperform the remaining baselines across all data regimes. In the low-data setting, the jointly trained iCSNN achieves the highest mean F1 score, improving over its Disjoint ablation. As the amount of training data increases, the performance of both variants improves and the gap between them progressively vanishes, with nearly identical results in the large-data regime. MultiRocket also benefits substantially from additional training data, but remains below the iCSNN variants throughout. LDA and STVNN exhibit a marked improvement from the low- to the large-data regime, although their performance remains considerably lower, whereas DTW 1-NN stays close to the chance-level score of 0.20 across all settings.
The results reflect the design of the synthetic task, where class information is encoded in the second-order temporal and cross-variable dependence structure. LDA uses only marginal spectral features, MultiRocket does not explicitly model conditional cross-node structure, and DTW 1-NN ignores the spectral dependence representation. Similarly, STVNN relies on a static covariance operator, which marginalizes temporal information and does not explicitly encode the frequency-specific structures separating the classes. Its performance should also be viewed in light of its adaptation from online forecasting to offline classification. In contrast, iCSNN and Disjoint exploit bandwise iCSD operators, accounting for temporal correlations through the frequency-domain representation and for cross-channel conditional dependencies through the spectral precision operators. The gain of iCSNN over Disjoint further suggests that task-driven refinement of the iCSD is beneficial in the low-data regime, where likelihood-based estimates can be highly variable and may induce less stable representation spaces.
VII. Conclusions
In this work, we introduced Inverse Cross-Spectral Neural Networks (iCSNNs), a class of GNNs that extends covariance-based graph neural networks for multivariate time-series analysis. Under stationarity, iCSNNs exploit the spectral representation to factorize second-order dependencies across frequencies, with bandwise iCSD operators encoding frequency-specific conditional dependencies among variables. This yields a compact architecture that preserves the process dependence structure with a parsimonious parametrization. We also proposed a joint learning procedure that combines spectral likelihood-based estimation with task-driven refinement of the iCSD operators and training of the network parameters. Numerical experiments on a synthetic classification task, in which class information is encoded in the second-order cross-spectral structure, show that iCSNNs outperform baselines from different families of methods across considered data regimes. The jointly trained iCSNN further improves over a two-stage variant in which the iCSD operators are estimated from the spectral likelihood alone in the low-data regime, indicating that task-aware learning of the operators is most beneficial when likelihood-based spectral estimates are highly variable.
A promising research direction is to investigate whether iCSNNs trained on time series of length T can generalize to sequences of different lengths (length-transferability). This is motivated by the fact that their spectral filtering operators describe second-order properties of the underlying stationary process rather than a specific observation horizon. This could support predictions that remain consistent across recording lengths in tasks where the target reflects properties of the generating process, with longer observations primarily improving prediction reliability. Finally, we will assess the proposed architecture on real-world multivariate time-series datasets, where interpretable modeling of cross-variable dependencies is an important requirement.
REFERENCES
[1] E. Bullmore and O. Sporns. Complex brain networks: Graph theoretical analysis of structural and functional systems. Nature Reviews Neuroscience, 10(3):186–198, 2009.
[2] R. S. Tsay. Multivariate Time Series Analysis: With R and Financial Applications. John Wiley & Sons, Hoboken, NJ, 2013.
[3] J. Runge, S. Bathiany, E. Bollt, G. Camps-Valls, D. Coumou, E. Deyle, C. Glymour, M. Kretschmer, M. D. Mahecha, J. Muñoz-Marí, and Others. Inferring causation from time series in earth system sciences. Nature Communications, 10(2553), 2019.
[4] H. Ding, G. Trajcevski, P. Scheuermann, X. Wang, and E. Keogh. Querying and mining of time series data: Experimental comparison of representations and distance measures. Proceedings of the VLDB Endowment, 1(2):1542–1552, 2008.
[5] C. W. Tan, A. Dempster, C. Bergmeir, and G. I. Webb. MultiRocket: Multiple pooling operators and transformations for fast and effective time series classification. Data Mining and Knowledge Discovery, 36(5):1623–1646, 2022.
[6] M. Jin, H. Y. Koh, Q. Wen, D. Zambon, C. Alippi, G. I. Webb, I. King, and S. Pan. A Survey on Graph Neural Networks for Time Series: Forecasting, Classification, Imputation, and Anomaly Detection. IEEE Transactions on Pattern Analysis & Machine Intelligence, 46(12):10466–10485, December 2024.
[7] S. Sihag, G. Mateos, C. McMillan, and A. Ribeiro. covariance neural networks. In S. Koyejo, S. Mohamed, A. Agarwal, D. Belgrave, K. Cho, and A. Oh, editors, Advances in Neural Information Processing Systems, volume 35, pages 17003–17016. Curran Associates, Inc., 2022.
[8] S. Sihag, G. Mateos, C. McMillan, and A. Ribeiro. Transferability of covariance neural networks. IEEE Journal of Selected Topics in Signal Processing, 18(2):199–215, 2024.
[9] A. Cavallo, S. Rey, A. G. Marques, and E. Isufi. Precision neural networks: Joint graph and relational learning. In Proc. IEEE Int. Conf. Acoust., Speech, Signal Process. (ICASSP), Barcelona, Spain, 2026.
[10] A. Cavallo, M. Sabbaqi, and E. Isufi. Spatiotemporal Covariance Neural Networks, page 18–34. Springer Nature Switzerland, 2024.
[11] P. J. Brockwell and R. A. Davis. Time Series: Theory and Methods. Springer, 2 edition, 1991.
[12] R. Dahlhaus. Graphical interaction models for multivariate time series. Metrika, 51:157–172, 2000.
[13] F.R. Bach and M.I. Jordan. Learning graphical models for stationary time series. IEEE Transactions on Signal Processing, 52(8):2189–2199, 2004.
[14] J. K. Tugnait. On sparse high-dimensional graphical model learning for dependent time series. Signal Processing, 197:108539, 2022.
[15] G. D'Acunto, P. Di Lorenzo, F. Bonchi, S. Sardellitti, and S. Barbarossa. Learning multi-frequency partial correlation graphs. IEEE Transactions on Signal Processing, 72:2953–2969, 2024.
[16] P. Whittle. Hypothesis Testing in Time Series Analysis. Almqvist & Wiksell, Uppsala, 1951.
[17] P. J. Schreier and L. L. Scharf. Statistical signal processing of complex-valued data: the theory of improper and noncircular signals. Cambridge University Press, 2010.
[18] S. Boyd and L. Vandenberghe. Convex optimization. Cambridge University Press, 2004.
[19] T. Akiba, S. Sano, T. Yanase, T. Ohta, and M. Koyama. Optuna: A next-generation hyperparameter optimization framework. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pages 2623–2631, 2019.