Functional MRI Time Series Generation via Wavelet-Based Image Transform and Spectral Flow Matching for Brain Disorder Identification

Hwa Hui Tew, Junn Yong Loo, Fang Yu Leong, Julia K. Lau, Ding Fan, Hernando Ombao, Raphaël C.-W. Phan, Chee Pin Tan, Chee-Ming Ting · 2026

Read Functional MRI Time Series Generation via Wavelet-Based Image Transform and Spectral Flow Matching for Brain Disorder Identification by Hwa Hui Tew, Junn Yong Loo, Fang Yu Leong, Julia K. Lau, Ding Fan, Hernando Ombao, Raphaël C.-W. Phan, Chee Pin Tan, Chee-Ming Ting (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2605-30387.txt.

Introduction

Hwa Hui Tew and colleagues present Dual-Spectral Flow Matching (DSFM), an fMRI method for dual frequency BOLD signals. First, BOLD signals turn into a wavelet map via a wavelet transform (DWT), catching multiscale shifts. Next, a cosine transform (DCT) step maps brain zones and time to use low-frequency BOLD energy. A flow model then makes cosine forms. Made samples turn back through inverse DCT and inverse DWT steps to give BOLD signals. This dual path sets frequency rules and keeps brain dynamics, lifting fMRI brain network scores.

Catalog record

CREATORHwa Hui Tew, Junn Yong Loo, Fang Yu Leong, Julia K. Lau, Ding Fan, Hernando Ombao, Raphaël C.-W. Phan, Chee Pin Tan, Chee-Ming Ting
YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE59822
LICENSEhttp://creativecommons.org/licenses/by-sa/4.0/
RIGHTSCC BY SA
SOURCEarXiv

Source: https://arxiv.org/abs/2605.30387

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Functional MRI Time Series Generation via Wavelet-Based Image Transform and Spectral Flow Matching for Brain Disorder Identification Hwa Hui Tew, Junn Yong Loo, Fang Yu Leong, Julia K. Lau, Ding Fan, Hernando Ombao, Raphaël C.-W. Phan, Chee Pin Tan, Chee-Ming Ting Abstract Functional Magnetic Resonance Imaging (fMRI) provides non-invasive access to dynamic brain activity by measuring blood oxygen level-dependent (BOLD) signals over time. However, the resource-intensive nature of fMRI acquisition limits the availability of high-fidelity samples required for data-driven brain analysis models. While modern generative models can synthesize fMRI data, they often remain challenging in replicating their inherent non-stationarity, intricate spatiotemporal dynamics, and physiological variations of raw BOLD signals. To address these challenges, we propose Dual-Spectral Flow Matching (DSFM), a novel fMRI generative framework that cascades dual frequency representation of BOLD signals with spectral flow matching. Specifically, our framework first converts BOLD signals into a wavelet decomposition map via a discrete wavelet transform (DWT) to capture globalized transient and multi-scale variations, and projects into the discrete cosine transform (DCT) space across brain regions and time to exploit localized energy compaction of low-frequency dominant BOLD coefficients. Subsequently, a spectral flow matching model is trained to generate class-conditioned cosine-frequency representation. The generated samples are reconstructed through inverse DCT and inverse DWT operations to recover physiologically plausible time-domain BOLD signals. This dual-transform approach imposes structured frequency priors and preserves key physiological brain dynamics. Ultimately, we demonstrate the efficacy of our approach through improved downstream fMRI-based brain network classification. The code is available at https://github.com/htew0001/DSFM.git . 1 Introduction Recent advances in deep generative modeling have shown promising capability in synthesizing realistic yet diverse variations of neuroimaging modalities ( 45 ) . Among available modalities, functional MRI (fMRI) signals offer a non-invasive view of neuronal activity, critical for diagnosing neuropsychiatric and neurodevelopmental disorders ( 27 ; 26 ) . However, fMRI data collection is costly and yields limited, often imbalanced datasets ( 39 ) . These shortcomings limit the generalizability of data-driven brain analysis models, ultimately affecting the reliability of computer-aided clinical tools for neurological and psychiatric conditions ( 3 ; 40 ) . To address these challenges, generative models have been explored for fMRI signal synthesis to support data augmentation and downstream applications ( 28 ; 39 ) . Most existing approaches generate brain connectivity directly in the functional connectivity (FC) space, where BOLD signal dependencies are summarized by a single correlation matrix ( 2 ) . For instance, 36 proposes a DCGAN that preserves connectomic structure and improves the performance of downstream FC classifiers. Similarly, BrainFC-CGAN jointly trains adversarial and supervised loss components to preserve the subject identity of real FC on synthetic samples ( 35 ) . However, such FC representations encode static pairwise relations into dyads and do not effectively capture transient network states within human brain networks ( 31 ) . Recent works have revisited time-domain modeling of fMRI as an alternative to correlation-based functional connectivity (FC). 47 designs diffusion-TS, a denoising diffusion probabilistic model (DDPM) for fMRI time series data generation, showing improved robustness over GANs and (Variational Autoencoder) VAE-based generative models. 15 proposes FM-TS that accelerates the sampling step yet provides quality synthetic samples via a flow matching framework. While these methods shift focus from traditional FC to time-series data generation, their feasibility and effectiveness for neuroimaging tasks remain largely unexplored. We argue that limiting generative modeling to FC matrices or the raw time series is inadequate to faithfully reproduce the brain’s transient state, multiscale oscillations, and cross-frequency interactions due to difficulties in disentangling physiologically driven fluctuations (e.g., cardiac pulsation, respiratory cycles, motion-induced artifacts) ( 2 ) . In contrast, a time-frequency/scale representation that captures time and spectral BOLD information can fully reproduce the rich spatiotemporal dynamics of BOLD signals. Motivated by T2I-Diff and ImagenTime, both of which frame time-series signals as an image-generation task ( 39 ; 24 ) . T2I-Diff specifically remodeled and validated the feasibility of this time-frequency image-based approach for generating BOLD signals. Crucially, the performance gains were modest due to the fixed-resolution Short-Time Fourier Transform (STFT) representation, which neglects fine-grained transients and attenuates frequency amplitude modulations, leading to artifacts during the image-to-signal reconstruction ( 39 ) . To address these issues, in this paper, we propose Dual-Spectral Flow Matching (DSFM), an fMRI generation framework that cascades two spectral transformations of BOLD signals and integrates a spectral flow matching for generative modeling. Our framework first decomposed BOLD signals using the discrete wavelet transform (DWT) to form multiresolution time-scale scalogram images. Subsequently, we compute a discrete cosine transform (DCT) that exploits low-frequency BOLD coefficients. These transforms produce a dual-spectral view in which local and global dynamics are jointly represented. Additionally, our framework introduces a spectral-domain flow matching for efficient and high-fidelity generation of the time-scale fMRI scalograms conditioned on subject classes. The generated time-frequency scalograms are then reverted to BOLD signals via image-to-time series transforms. Our main contributions are summarized as follows: 1. Our proposed DSFM framework is the first to jointly leverage DWT and DCT, forming a unified dual-spectral image transform to capture both global and local spatiotemporal and spectral features for fMRI BOLD signal generation and brain disorder classification. 2. We develop a spectral flow matching to model a heat dissipation process in the DCT domain to achieve efficient, coarse-to-fine generation aligned with the frequency hierarchy of the dual-spectral representation. This enables DSFM to leverage the spectral sparsity inherent in fMRI signals to effectively capture diverse brain profiles. 3. Our results show that DSFM demonstrates strong performance on unconditional and conditional spectral image synthesis, and achieves improvement in brain disorder classification compared to recent time-series and fMRI generation baselines. Figure 1: The pipeline of DSFM. ROI-based BOLD time series are first extracted, followed by DWT-based multiresolution decomposition and blockwise 2D DCT for localized spectral encoding. U-ViT is used to model the velocity field in the DCT domain for ODE-based sampling. The reconstructed signals (via IDCT and IDWT) are then used for data augmentation, FC matrix construction, and classification. Finally, fidelity and downstream performance are evaluated. 2 Methods 2.1 Discrete Wavelet Transform and Its Inversion Fig. 1 provides an overview of our proposed framework. Given high-dimensional fMRI signals from S subjects, denoted as \mathcal{X}=\{x_{s}\}_{s=1}^{S} , where each subject x_{s}\in\mathbb{R}^{D\times T} consists of D regions of interest (ROIs) recorded over T time points, our objective is to learn the underlying real data distribution p_{\text{data}}(\mathcal{X}) and generate a synthetic distribution p_{\theta}(\mathcal{X}) that is statistically indistinguishable from the real data. Unlike conventional time-series generative tasks that operate exclusively in the time domain, our approach transforms fMRI time series into time-scale images using the DWT, defined as follows: W(k,j)=\sum_{n=1}^{N}x(n)\,\psi_{j,k}[n], (1) where x_{s}(n) is the BOLD signal at local time index n\in\{1,2,\dots,N\} . Here, \psi_{j,k}[n]=2^{-k/2}\psi[2^{k}n-j] is the dyadic wavelet basis function, where scale k\in\{1,2,\dots,\left\lfloor\log_{2}N\right\rfloor\} controls the frequency resolution, and translation index j\in\{1,2,\dots,N/2^{k}\} determines the time location, derived from the mother wavelet \psi_{j,k}[n] . To construct a wavelet decomposition map, we upsample each wavelet subband to the original time length and stack them along the scale axis, forming a multiresolution wavelet decomposition map. Thus forming a full wavelet coefficient tensor W(i,j,k)\in\mathbb{R}^{D\times T_{\psi}\times C} , where T_{\psi}=N/2^{C} and C=\left\lfloor\log_{2}N\right\rfloor , that captures both low-frequency trends and high-frequency transients in the fMRI

Read the complete text