High-Resolution Dynamic Functional Connectivity Generation with Graph-Variate Flow Matching
Organizations: University of Strathclyde
Abstract
High-resolution dynamic functional connectivity (DFC) can reveal rapidly evolving brain-network interactions, but short temporal windows yield noisy, often low-rank covariance estimates. Graph-Variate Dynamic (GVD) connectivity addresses this by modulating fast instantaneous interactions with stable trial-level support. This suppresses spurious fluctuations and emphasizes persistent, informative connections. We show that the Hadamard construction lifts low-rank instantaneous connectivity from the positive-semidefinite to the positive-definite cone, keeping high-resolution trajectories on the SPD manifold without ridge regularisation or post-hoc projection. We introduce GVD-CFM, a class-conditional generative model for high-resolution dynamic connectivity. Each trial is represented as SPD GVD matrices on a product Riemannian manifold, then mapped through a global log-Euclidean diffeomorphism and an invertible temporal DCT basis. A Transformer-based conditional flow models all spectral modes jointly and generates the full trajectory non-autoregressively in Euclidean coordinates while preserving exact correspondence with valid SPD sequences. Retaining the full DCT basis also enables decoding on denser temporal grids without retraining. Across multiple EEG motor-imagery datasets, GVD-CFM delivers the strongest overall results for held-out distributional fidelity, temporal-dynamics preservation, and synthetic-to-real classification. It also remains computationally efficient relative to strong raw-signal and direct GVD-space generative baselines. GVD-CFM therefore provides a practical framework for realistic, temporally coherent, high-resolution brain-network generation with preserved manifold structure and resolution-flexible decoding from a single trained model.
Figures & tables
| Method | Rel. GVD-FID | Eva | Eva | Eva F1 | CAS AUC | CAS F1 |
|---|---|---|---|---|---|---|
| GVD-CFM | 1.022 0.019 | 0.677 0.034 | 0.610 0.029 | 0.613 0.028 | 0.790 0.008 | 0.725 0.006 |
| GVD-cVAE | 0.815 0.003 | 0.017 0.005 | 0.004 0.002 | 0.005 0.002 | 0.727 0.015 | 0.675 0.010 |
| GVD-DDPM | 1.753 0.005 | 0.089 0.011 | 0.039 0.005 | 0.053 0.007 | 0.599 0.014 | 0.560 0.012 |
| Window-DIFFEO-CFM | 1.697 0.005 | 0.005 0.002 | 0.082 0.002 | 0.009 0.003 | 0.683 0.003 | 0.634 0.002 |
| cVAE | 1.416 0.016 | 0.407 0.036 | 0.006 0.002 | 0.012 0.003 | 0.631 0.006 | 0.572 0.017 |
| JET | 3.908 0.274 | 0.005 0.002 | 0.002 0.002 | 0.002 0.002 | 0.495 0.031 | 0.349 0.014 |
| Method | Temp. corr. | Lag-ACF | Energy | Dyn. frac. | Diversity | Coverage |
|---|---|---|---|---|---|---|
| GVD-CFM | 0.910 0.004 | 0.997 0.001 | 0.953 0.010 | 0.987 0.013 | 0.987 0.005 | 0.226 0.005 |
| GVD-cVAE | 0.774 0.014 | 0.995 0.001 | 0.260 0.007 | 0.289 0.009 | 0.396 0.008 | 0.128 0.004 |
| GVD-DDPM | 0.059 0.005 | 0.327 0.068 | 1.688 0.007 | 1.543 0.008 | 1.367 0.004 | 0.038 0.002 |
| Window-DIFFEO-CFM | 0.012 0.005 | 0.055 0.091 | 1.794 0.008 | 1.755 0.006 | 1.189 0.002 | 0.031 0.001 |
| cVAE | 0.527 0.016 | 0.957 0.006 | 0.898 0.006 | 0.981 0.014 | 0.817 0.008 | 0.034 0.001 |
| JET | 0.385 0.019 | 0.933 0.009 | 1.940 0.118 | 6.835 0.338 | 1.501 0.079 | 0.009 0.004 |
| Variant | Rel. GVD-FID | Eva F1 | CAS AUC | CAS F1 | Temp. corr. | Lag-ACF | Energy | Dyn. frac. |
|---|---|---|---|---|---|---|---|---|
| No DCT | 1.092 0.029 | 0.540 0.028 | 0.772 0.007 | 0.704 0.007 | 0.404 0.007 | 0.666 0.069 | 0.973 0.016 | 1.011 0.017 |
| DCT, spectral only | 1.025 0.006 | 0.600 0.019 | 0.792 0.002 | 0.721 0.004 | 0.919 0.002 | 0.997 0.001 | 0.975 0.011 | 1.010 0.010 |
| GVD-CFM (DCT + temporal branch) | 1.022 0.019 | 0.613 0.028 | 0.790 0.008 | 0.725 0.006 | 0.910 0.004 | 0.997 0.001 | 0.953 0.010 | 0.987 0.013 |
Appendix figures & tables28 assets
Supplementary material from the paper’s appendix.
Appendix
| Basis | Rel. GVD-FID | Eva F1 | CAS AUC | CAS F1 | Temp. corr. | Lag-ACF | Energy | Dyn. frac. |
|---|---|---|---|---|---|---|---|---|
| No DCT | 1.092 | 0.540 | 0.772 | 0.704 | 0.404 | 0.666 | 0.973 | 1.011 |
| Random orthogonal | 1.093 | 0.480 | 0.788 | 0.713 | 0.356 | 0.678 | 1.017 | 1.047 |
| KLT | 1.033 | 0.600 | 0.795 | 0.729 | 0.951 | 0.998 | 1.004 | 1.014 |
| DCT, spectral only | 1.025 | 0.600 | 0.792 | 0.721 | 0.919 | 0.997 | 0.975 | 1.010 |
| GVD-CFM (DCT + temporal branch) | 1.022 | 0.613 | 0.790 | 0.725 | 0.910 | 0.997 | 0.953 | 0.987 |
| Rel. Fréchet | Temp. corr. | Lag-ACF | Dyn. energy | SPD | Gen Real AUC | Gen Real F1 | Real Real AUC | Real Real F1 | |
|---|---|---|---|---|---|---|---|---|---|
| 25 | 1.098 | 0.944 | 0.995 | 0.978 | 1.000 | 0.803 | 0.739 | 0.838 | 0.764 |
| 50 | 0.983 | 0.853 | 0.960 | 0.595 | 1.000 | 0.804 | 0.739 | 0.838 | 0.761 |
| 100 | 0.919 | 0.860 | 0.960 | 0.350 | 1.000 | 0.802 | 0.734 | 0.831 | 0.756 |
| 200 | 0.880 | 0.780 | 0.959 | 0.199 | 1.000 | 0.794 | 0.715 | 0.832 | 0.760 |
| 400 | 0.872 | 0.506 | 0.822 | 0.105 | 1.000 | 0.785 | 0.647 | 0.810 | 0.732 |
| Dataset | Rel. Fréchet | Temp. corr. | Lag-ACF | Dyn. energy | Gen Real AUC | Gen Real F1 | Real Real AUC | Real Real F1 | |
|---|---|---|---|---|---|---|---|---|---|
| BNCI2014-001 | 25 | 1.163 | 0.977 | 0.995 | 1.041 | 0.814 | 0.724 | 0.863 | 0.775 |
| 50 | 1.021 | 0.875 | 0.977 | 0.622 | 0.824 | 0.748 | 0.866 | 0.784 | |
| 100 | 0.979 | 0.890 | 0.958 | 0.360 | 0.816 | 0.727 | 0.857 | 0.783 | |
| 200 | 0.958 | 0.778 | 0.959 | 0.195 | 0.806 | 0.704 | 0.821 | 0.739 | |
| 400 | 0.943 | 0.440 | 0.558 | 0.103 | 0.778 | 0.497 | 0.797 | 0.710 | |
| BNCI2014-002 | 25 | 1.008 | 0.911 | 0.999 | 0.964 | 0.791 | 0.746 | 0.797 | 0.721 |
| Representation | |||||||
|---|---|---|---|---|---|---|---|
| CAS AUC | |||||||
| Stable support | 0.841 | 0.838 | 0.840 | 0.833 | 0.837 | 0.827 | 0.807 |
| No support | 0.816 | 0.797 | 0.765 | 0.745 | 0.756 | 0.738 | 0.690 |
| Support only | 0.822 | 0.822 | 0.822 | 0.822 | 0.822 | 0.822 | 0.822 |
| Gaussian dynamics | 0.512 | 0.518 | 0.527 | 0.545 | 0.574 | 0.558 | 0.528 |
| CAS weighted F1 | |||||||
| Method | Near-copy | Exact-copy | |||||
|---|---|---|---|---|---|---|---|
| GVD-CFM | 0.99400 | 0.99501 | 0.00101 | 0.98803 | 0.99004 | 0.16155 | 0.00000 |
| GVD-cVAE | 0.99316 | 0.99516 | 0.00200 | 0.98636 | 0.99034 | 0.98171 | 0.00000 |
| GVD-DDPM | 0.99671 | 0.99516 | 0.00156 | 0.99344 | 0.99034 | 0.18854 | 0.00000 |
| Window-DIFFEO-CFM | 0.99678 | 0.99516 | 0.00162 | 0.99357 | 0.99034 | 0.00000 | 0.00000 |
| cVAE | 0.99555 | 0.99516 | 0.00040 | 0.99113 | 0.99034 | 0.01807 | 0.00000 |
| JET | 0.99298 | 0.99516 | 0.00218 | 0.98605 | 0.99034 | 0.00000 | 0.00000 |
| Metric | GVD-CFM | GVD-DDPM | GVD-cVAE |
|---|---|---|---|
| Relative GVD-FID + increments | |||
| Relative GVD-FID, positions only | |||
| EvaGeM F1 + increments | |||
| EvaGeM F1, positions only | |||
| CAS AUC | |||
| CAS weighted F1 |
| Method | Dataset | Rel. GVD-FID | Eva | Eva | Eva F1 | CAS AUC | CAS F1 |
|---|---|---|---|---|---|---|---|
| GVD-CFM | BNCI2014_001 | 1.006 0.014 | 0.897 0.057 | 0.836 0.025 | 0.864 0.027 | 0.789 0.015 | 0.707 0.007 |
| BNCI2014_002 | 0.977 0.016 | 0.837 0.046 | 0.666 0.055 | 0.740 0.022 | 0.780 0.015 | 0.709 0.005 | |
| BNCI2015_001 | 0.978 0.005 | 0.842 0.050 | 0.719 0.090 | 0.775 0.073 | 0.746 0.011 | 0.681 0.002 | |
| Shin2017A | 1.190 0.084 | 0.369 0.032 | 0.696 0.049 | 0.482 0.039 | 0.672 0.029 | 0.622 0.025 | |
| Zhou2016 | 0.959 0.033 | 0.440 0.143 | 0.133 0.081 | 0.203 0.110 | 0.965 0.003 | 0.905 0.014 | |
| 5-dataset avg. | 1.022 | 0.677 | 0.610 | 0.613 | 0.790 | 0.725 |
| Method | Dataset | Rel. GVD-FID | Eva | Eva | Eva F1 | CAS AUC | CAS F1 |
|---|---|---|---|---|---|---|---|
| cVAE | BNCI2014_001 | 1.374 0.020 | 0.621 0.090 | 0.002 0.002 | 0.004 0.003 | 0.588 0.013 | 0.555 0.015 |
| BNCI2014_002 | 1.154 0.008 | 0.486 0.045 | 0.006 0.004 | 0.012 0.008 | 0.550 0.022 | 0.491 0.066 | |
| BNCI2015_001 | 1.885 0.052 | 0.023 0.005 | 0.005 0.001 | 0.007 0.001 | 0.584 0.002 | 0.546 0.011 | |
| Shin2017A | 1.617 0.055 | 0.668 0.140 | 0.002 0.002 | 0.003 0.003 | 0.514 0.013 | 0.470 0.043 | |
| Zhou2016 | 1.049 0.003 | 0.240 0.043 | 0.018 0.006 | 0.034 0.011 | 0.920 0.007 | 0.799 0.026 | |
| 5-dataset avg. | 1.416 | 0.407 | 0.006 | 0.012 | 0.631 | 0.572 |
| Method | Dataset | Temp. corr. | Lag-ACF | Energy | Dyn. frac. | Adjacent |
|---|---|---|---|---|---|---|
| GVD-CFM | BNCI2014_001 | 0.920 0.006 | 0.999 0.000 | 0.995 0.023 | 1.024 0.052 | 1.070 0.013 |
| BNCI2014_002 | 0.838 0.003 | 0.999 0.000 | 0.948 0.018 | 0.938 0.036 | 0.977 0.017 | |
| BNCI2015_001 | 0.958 0.001 | 0.999 0.000 | 0.938 0.016 | 0.976 0.007 | 0.976 0.015 | |
| Shin2017A | 0.958 0.002 | 0.994 0.001 | 1.068 0.006 | 1.161 0.011 | 1.317 0.005 | |
| Zhou2016 | 0.877 0.017 | 0.992 0.005 | 0.815 0.039 | 0.835 0.011 | 0.871 0.027 | |
| 5-dataset avg. | 0.910 | 0.997 | 0.953 | 0.987 | 1.042 |
| Method | Dataset | Temp. corr. | Lag-ACF | Energy | Dyn. frac. | Adjacent |
|---|---|---|---|---|---|---|
| cVAE | BNCI2014_001 | 0.399 0.031 | 0.948 0.017 | 0.986 0.014 | 1.381 0.031 | 1.039 0.023 |
| BNCI2014_002 | 0.512 0.060 | 0.976 0.006 | 0.956 0.011 | 0.850 0.014 | 1.013 0.008 | |
| BNCI2015_001 | 0.798 0.019 | 0.990 0.003 | 1.023 0.014 | 0.520 0.001 | 1.038 0.013 | |
| Shin2017A | 0.216 0.033 | 0.913 0.026 | 0.651 0.018 | 1.290 0.060 | 0.886 0.023 | |
| Zhou2016 | 0.710 0.018 | 0.958 0.004 | 0.876 0.005 | 0.862 0.006 | 0.955 0.006 | |
| 5-dataset avg. | 0.527 | 0.957 | 0.898 | 0.981 | 0.986 |
| Method | Dataset | Precision | Diversity | Coverage |
|---|---|---|---|---|
| GVD-CFM | BNCI2014_001 | 0.967 0.012 | 0.945 0.002 | 0.175 0.008 |
| BNCI2014_002 | 0.899 0.026 | 0.952 0.012 | 0.211 0.003 | |
| BNCI2015_001 | 0.859 0.037 | 0.956 0.007 | 0.203 0.006 | |
| Shin2017A | 0.032 0.036 | 1.168 0.005 | 0.222 0.017 | |
| Zhou2016 | 1.000 0.000 | 0.914 0.022 | 0.317 0.012 | |
| 5-dataset avg. | 0.751 | 0.987 | 0.226 |
| Method | Dataset | Precision | Diversity | Coverage |
|---|---|---|---|---|
| cVAE | BNCI2014_001 | 0.799 0.090 | 0.709 0.002 | 0.027 0.001 |
| BNCI2014_002 | 0.615 0.016 | 0.890 0.015 | 0.029 0.002 | |
| BNCI2015_001 | 0.101 0.031 | 1.037 0.012 | 0.022 0.003 | |
| Shin2017A | 0.875 0.122 | 0.503 0.034 | 0.008 0.000 | |
| Zhou2016 | 0.572 0.024 | 0.946 0.009 | 0.085 0.005 | |
| 5-dataset avg. | 0.593 | 0.817 | 0.034 |
| Dataset | Variant | Rel. GVD-FID | Eva F1 | CAS AUC | CAS F1 |
|---|---|---|---|---|---|
| BNCI2014_001 | No DCT | 1.030 0.017 | 0.641 0.090 | 0.773 0.027 | 0.691 0.023 |
| DCT, spectral only | 1.016 0.015 | 0.825 0.021 | 0.784 0.006 | 0.695 0.005 | |
| GVD-CFM (DCT + temporal branch) | 1.006 0.014 | 0.864 0.027 | 0.789 0.015 | 0.707 0.007 | |
| BNCI2014_002 | No DCT | 1.036 0.009 | 0.628 0.090 | 0.757 0.009 | 0.685 0.009 |
| DCT, spectral only | 0.988 0.012 | 0.723 0.042 | 0.789 0.006 | 0.716 0.006 | |
| GVD-CFM (DCT + temporal branch) | 0.977 0.016 | 0.740 0.022 | 0.780 0.015 | 0.709 0.005 |
| Dataset | Variant | Temp. corr. | Lag-ACF | Energy | Dyn. frac. | Adjacent |
|---|---|---|---|---|---|---|
| BNCI2014_001 | No DCT | 0.065 0.022 | 0.465 0.158 | 0.992 0.027 | 1.005 0.059 | 1.231 0.034 |
| DCT, spectral only | 0.939 0.003 | 0.999 0.000 | 1.013 0.026 | 1.025 0.031 | 1.052 0.024 | |
| GVD-CFM (DCT + temporal branch) | 0.920 0.006 | 0.999 0.000 | 0.995 0.023 | 1.024 0.052 | 1.070 0.013 | |
| BNCI2014_002 | No DCT | 0.140 0.018 | 0.649 0.177 | 0.974 0.019 | 0.980 0.013 | 1.193 0.024 |
| DCT, spectral only | 0.842 0.003 | 0.999 0.001 | 0.984 0.032 | 0.963 0.002 | 0.990 0.024 | |
| GVD-CFM (DCT + temporal branch) | 0.838 0.003 | 0.999 0.000 | 0.948 0.018 | 0.938 0.036 | 0.977 0.017 |
| Comparison | Metric | BNCI2014_001 | BNCI2014_002 | BNCI2015_001 | Shin2017A | Zhou2016 |
|---|---|---|---|---|---|---|
| No DCT DCT, spectral only | Rel. GVD-FID | -0.014 (-1.1) | -0.048 ( -5.5 ) | -0.017 ( -4.7 ) | -0.247 ( -3.0 ) | -0.007 ( -3.4 ) |
| Eva F1 | +0.184 ( 3.4 ) | +0.095 (1.7) | -0.100 ( -2.7 ) | +0.173 ( 5.7 ) | -0.053 (-1.8) | |
| CAS AUC | +0.011 (0.7) | +0.032 ( 5.1 ) | +0.057 ( 27.4 ) | +0.003 (0.3) | -0.003 (-0.6) | |
| CAS F1 | +0.004 (0.3) | +0.031 ( 5.0 ) | +0.052 ( 7.7 ) | +0.004 (0.3) | -0.007 (-1.6) | |
| Temp. corr. | +0.874 ( 68.2 ) | +0.702 ( 66.6 ) | +0.022 ( 12.7 ) | +0.945 ( 80.9 ) | +0.030 ( 4.8 ) | |
| Lag-ACF | +0.534 ( 5.9 ) | +0.350 ( 3.4 ) | +0.015 ( 13.0 ) | +0.743 ( 5.1 ) | +0.013 ( 5.3 ) |
| Dataset | Variant | Rel. GVD-FID | Eva F1 | CAS AUC | CAS F1 | Temp. corr. | Lag-ACF | Energy |
|---|---|---|---|---|---|---|---|---|
| BNCI2014_001 | GVD-CFM (stable support) | 1.006 0.014 | 0.864 0.027 | 0.789 0.015 | 0.707 0.007 | 0.920 0.006 | 0.999 0.000 | 0.995 0.023 |
| No support + ridge | 0.917 0.006 | 0.292 0.032 | 0.667 0.019 | 0.614 0.017 | 0.977 0.001 | 1.000 0.000 | 0.826 0.007 | |
| BNCI2014_002 | GVD-CFM (stable support) | 0.977 0.016 | 0.740 0.022 | 0.780 0.015 | 0.709 0.005 | 0.838 0.003 | 0.999 0.000 | 0.948 0.018 |
| No support + ridge | 0.909 0.001 | 0.481 0.024 | 0.736 0.009 | 0.674 0.010 | 0.929 0.001 | 0.999 0.000 | 0.850 0.010 | |
| BNCI2015_001 | GVD-CFM (stable support) | 0.978 0.005 | 0.775 0.073 | 0.746 0.011 | 0.681 0.002 | 0.958 0.001 | 0.999 0.000 | 0.938 0.016 |
| No support + ridge | 0.921 0.005 | 0.372 0.050 | 0.698 0.012 | 0.638 0.006 | 0.980 0.000 | 0.999 0.000 | 0.874 0.006 |
| Dataset | Basis | Rel. GVD-FID | Eva F1 | CAS AUC | CAS F1 |
|---|---|---|---|---|---|
| BNCI2014_001 | No DCT | 1.030 0.017 | 0.641 0.090 | 0.773 0.027 | 0.691 0.023 |
| Random orthogonal | 1.071 0.003 | 0.461 0.045 | 0.780 0.021 | 0.695 0.011 | |
| GVD-CFM (DCT) | 1.006 0.014 | 0.864 0.027 | 0.789 0.015 | 0.707 0.007 | |
| KLT | 1.023 0.006 | 0.802 0.008 | 0.787 0.012 | 0.697 0.010 | |
| BNCI2014_002 | No DCT | 1.036 0.009 | 0.628 0.090 | 0.757 0.009 | 0.685 0.009 |
| Random orthogonal | 1.048 0.015 | 0.578 0.050 | 0.783 0.006 | 0.700 0.015 |