                           HyperIMTS: Hypergraph Neural Network for Irregular Multivariate Time Series Forecasting


Table 1. Experimental results on five irregular multivariate time series datasets evaluated by MSE (mean ± std). The best and second-best
results are indicated in bold and underlined, respectively. We employ four decimal places to better demonstrate standard deviations in
results.

                              Algorithm                   MIMIC-III       MIMIC-IV             PhysioNet’12           Human Activity           USHCN
                           higp                       0.9726 ± 0.0001   0.6616 ± 0.0001      0.5025 ± 0.0179         0.2670 ± 0.0198      0.2330 ± 0.0003
                           MOIRAI                     0.8655 ± 0.0000   0.4293 ± 0.0000      0.4924 ± 0.0000         0.1079 ± 0.0000      1.2320 ± 0.0000
                           FEDformer                  0.7675 ± 0.0019   0.8008 ± 0.0270      0.4150 ± 0.0002         0.1619 ± 0.0006      0.3237 ± 0.0150
                           Ada-MSHyper                0.6680 ± 0.0038   0.4217 ± 0.0012      0.4143 ± 0.0008         0.1480 ± 0.0039      0.2406 ± 0.0189
                           Autoformer                 0.7082 ± 0.0077   0.5963 ± 0.0158      0.4137 ± 0.0040         0.0983 ± 0.0065      0.4367 ± 0.0452
                           TimesNet                   0.6515 ± 0.0052   0.4355 ± 0.0015      0.4076 ± 0.0006         0.1206 ± 0.0025      0.2402 ± 0.0116
                           iTransformer               0.7160 ± 0.0081   0.5083 ± 0.0095      0.3975 ± 0.0023         0.0906 ± 0.0020      0.4288 ± 0.0634
              Regular




                           FourierGNN                 0.7066 ± 0.0069   0.4580 ± 0.0024      0.3946 ± 0.0027         0.2822 ± 0.0100      0.4244 ± 0.0655
                           Mamba                      0.6853 ± 0.0014   0.6102 ± 0.0051      0.3906 ± 0.0012         0.1253 ± 0.0006      0.2100 ± 0.0026
                           TSMixer                    0.6127 ± 0.0011   0.3566 ± 0.0021      0.3817 ± 0.0007         0.1635 ± 0.0028      0.2152 ± 0.0144
                           PatchTST                   0.6403 ± 0.0019   0.2939 ± 0.0009      0.3781 ± 0.0009         0.0763 ± 0.0001      0.2830 ± 0.0754
                           Leddam                     0.5935 ± 0.0054   0.3697 ± 0.0019      0.3754 ± 0.0025         0.0913 ± 0.0006      0.2887 ± 0.0259
                           BigST                      0.5855 ± 0.0008   0.3579 ± 0.0023      0.3425 ± 0.0010         0.1671 ± 0.0147      0.2019 ± 0.0014
                           Reformer                   0.5677 ± 0.0007   0.3894 ± 0.0023      0.3573 ± 0.0003         0.0982 ± 0.0013      0.2058 ± 0.0042
                           Informer                   0.5657 ± 0.0037   0.4477 ± 0.0067      0.3441 ± 0.0006         0.0708 ± 0.0003      0.2000 ± 0.0014
                           Crossformer                0.6136 ± 0.0128   0.3696 ± 0.0025      0.3385 ± 0.0053         0.1410 ± 0.0208      0.2121 ± 0.0035
                           PrimeNet                   0.9900 ± 0.0000   0.6650 ± 0.0000      0.8035 ± 0.0000         4.3697 ± 0.0005      0.4925 ± 0.0012
                           SeFT                       0.9916 ± 0.0001   0.6713 ± 0.0002      0.7777 ± 0.0003         1.4141 ± 0.0023      0.3345 ± 0.0010
                           mTAN                       0.8963 ± 0.0227   0.5346 ± 0.0127      0.3889 ± 0.0026         0.0925 ± 0.0020      0.1929 ± 0.0020
                           NeuralFlows                0.7167 ± 0.0025   0.4737 ± 0.0018      0.4196 ± 0.0016         0.1680 ± 0.0033      0.2007 ± 0.0043
              Irregular




                           CRU                        0.7065 ± 0.0028   0.4346 ± 0.0022      0.6189 ± 0.0012         0.1374 ± 0.0040      0.2255 ± 0.0086
                           GNeuralFlow                0.6950 ± 0.0046   0.5005 ± 0.0021      0.3881 ± 0.0032         0.1734 ± 0.0012      0.1832 ± 0.0025
                           GRU-D                      0.6125 ± 0.0281   0.6622 ± 0.0018      0.3462 ± 0.0004         0.1761 ± 0.0228      0.1639 ± 0.0026
                           Raindrop                   0.5924 ± 0.0013   0.3413 ± 0.0046      0.3918 ± 0.0014         0.0958 ± 0.0039      0.2131 ± 0.0067
                           tPatchGNN                  0.5173 ± 0.0037   0.2744 ± 0.0022      0.3221 ± 0.0017         0.0443 ± 0.0005      0.2010 ± 0.0191
                           Warpformer                 0.4869 ± 0.0007   0.2742 ± 0.0023      0.3084 ± 0.0007         0.0539 ± 0.0007      0.1565 ± 0.0012
                           GraFITi                    0.4534 ± 0.0015   0.2454 ± 0.0006      0.3060 ± 0.0009         0.0435 ± 0.0001      0.2026 ± 0.0107
                           HyperIMTS (Ours)           0.4259 ± 0.0021   0.2174 ± 0.0009      0.2996 ± 0.0003         0.0421 ± 0.0021      0.1738 ± 0.0078



to IMTS values via output linear mapping FFout (·):
                                                                                        Table 2. Summary of five datasets. Canonical padding approach
                                           ′′                                           significantly increases number of observations, and patch-aligned
                          Ẑi = FFout (V        ||E′time ||E′′var ),         (15)
                                                                                        padding can either be better or worse than canonical one. The patch
                                                                                        lengths for the five datasets are 12 hours for MIMIC-III, MIMIC-
where each node is decoded together with the information                                IV, and PhysioNet’12, 300 milliseconds for Human Activity, and
from its connected hyperedges. The model is trained by                                  0.2 year for USHCN, respectively.
minimizing the Mean Squared Error (MSE) loss between
                                                                                          Description             MIMIC-III   MIMIC-IV   PhysioNet’12   Human Activity   USHCN
the prediction Ẑi for forecast queries and the corresponding                             Max length                  96        971           47             131           337
ground truth Zi .                                                                         # Variable
                                                                                          # Sample
                                                                                                                      96
                                                                                                                   21,250
                                                                                                                                100
                                                                                                                               17,874
                                                                                                                                              36
                                                                                                                                           11,981
                                                                                                                                                              12
                                                                                                                                                            1,359
                                                                                                                                                                            5
                                                                                                                                                                          1,114
                                                                                          Avg # obs.                144.6      304.8        308.6           362.2         313.5
                                                                                          Avg # obs. (padding)     9,216.0    92,000.0     1,692.0         1,573.2       1,685.0
4.2.5. C OMPUTATIONAL C OMPLEXITY                                                         Avg # obs. (patching)    9,210.0    33,761.3     1,800.0         1,803.0       1,112.9


The computational complexity of HyperIMTS mainly arises
from three attention calculations, including multi-head at-
tention in Eq. (6), scaled dot-product attention in Eq. (12),                           tionally efficient operation theoretically, HyperIMTS only
and self-attention in Eq. (14). For a query matrix of shape                             handles observed values, resulting in smaller data volumn
(Nq , P ) and a key matrix of shape (Nk , P ), the linear map-                          compared to padding approaches. The statistics of actual
ping complexity is O(Nq P 2 ) for the query and O(Nk P 2 )                              datasets can be found in Table 2.
for the key. For the dot-product operation, the computa-
tional complexity is O(Nq Nk P ), and multiplying resultant                             5. Experiments
with a value matrix of shape (Nk , P ) also has a complexity
of O(Nq Nk P ). During node-to-hyperedge message pass-                                  5.1. Experimental Setup
ing as defined in Eq. (6), Nq is U for variable hyperedge
                                                                                        5.1.1. DATASETS
embeddings and T for temporal ones, and Nk is M . In
the hyperedge-to-hyperedge message passing described in                                 Five widely studied irregular multivariate time series
Eq. (12), both Nq and Nk are U for variable hyperedges.                                 datasets, covering healthcare, biomechanics, and climate,
For self attention in Eq. (14), both Nq and Nk are M for                                are used in the experiments, and their statistics are sum-
observation nodes. Although attention is not a computa-                                 marized in Table 2. MIMIC-III (Johnson et al., 2016) is a

                                                                                    6
