betaFeedback

WorksComputer Science

MontageFlow: Physically Valid High Fidelity EEG Generation

Abstract

Generative modeling offers a promising solution to the scarcity of labeled clinical electroencephalography (EEG) data under strict privacy constraints. Although recent generative models report substantial improvements in generation fidelity, we show that these gains conceal a categorical failure. EEG is not an arbitrary multichannel signal: each channel records the voltage difference between two scalp electrodes. So, real recordings satisfy exact linear identities among their channels. Current generators invariably violate these identities, yet this has gone unnoticed. We therefore propose MontageFlow, a flow-matching model that enforces these identities by restricting its output to signals that satisfy them. We find that ensuring validity improves fidelity too. Furthermore, to retain the EEG characteristics that oversmoothing washes out, we also condition the model on a physiological state vector encoded from the whole EEG window. For generation, this vector is drawn from a prior fitted in latent space. Across 3 large-scale benchmarks, our model improves TS-FID by 1.6-3.6×\times over the closest rival while ensuring validity.

Introduction

Clinical electroencephalography (EEG) data are difficult to collect at scale. Recordings with clinically meaningful labels require expert review, and privacy constraints limit data sharing. Generative models offer a way to relieve this bottleneck, synthesizing data where labeled recordings are scarce or cannot be shared. Yet EEG generation remains relatively underexplored despite recent advances in diffusion and flow-based modeling [10, 18, 24]. The few existing approaches adapt generative adversarial networks [9], diffusion models [28] and flow matching models [36], typically treating EEG as a generic multichannel time series. This treatment overlooks a defining property of clinical EEG: its channels are structurally constrained by how they are recorded.

Clinical EEG is acquired from scalp electrodes, but read as potential differences between pairs of them. The chosen set of pairs, called a montage, links electrodes into chains. Summing the differences along a chain cancels the intermediate electrodes and leaves only the difference between its endpoints. Two chains with the same endpoints must therefore sum to the same value at every timepoint. The montage used across our benchmarks contains sixteen electrode pairs and two independent loops. These impose two independent linear constraints, restricting the sixteen channel values at each timepoint to a fourteen-dimensional subspace. Real recordings satisfy these identities exactly, but samples synthesized by current generators do not.

This failure has remained hidden because standard evaluation metrics do not explicitly measure montage violations. More importantly, improved distributional fidelity does not guarantee physical validity. We therefore enforce these identities by construction rather than by penalizing violations. Specifically, we parameterize the model output within the subspace permitted by the montage. Invalid signals are thus excluded without introducing an additional tuning hyperparameter.

Enforcing the montage identities guarantees physical validity, but does not by itself ensure fidelity to real EEG. Capturing dominant low-frequency activity while preserving low-energy transients and

Code is available at https://github.com/sudarshanregmi/montageflow. heavy-tailed amplitudes remains challenging. JET [36] addresses waveform fidelity through explicitly specified auxiliary temporal, spectral, and statistical objectives. We instead use learned window-level conditioning to help preserve these characteristics. Specifically, we encode each multichannel EEG window into a single physiological state vector and condition the flow-matching decoder on it. This vector provides the decoder with window-specific context to guide generation. At sampling time, the vector is drawn from a prior fitted in the encoder’s latent space.

In summary, we propose MontageFlow, a flow-matching framework for physically valid, high-fidelity EEG generation that combines montage-constrained outputs with learned window-level conditioning. Across TUSZ, TUEV, and TUAB, MontageFlow improves TS-FID by 1.6–3.6× over the strongest baseline while satisfying the montage identities. Our contributions are summarized below:

  • Physically valid EEG generation. We show that state-of-the-art generators synthesize physically invalid EEG signals and introduce the montage index to measure this (0 = perfectly valid). MontageFlow restricts its output to the subspace of valid signals (§ 3).

  • Conditioning mitigates oversmoothing and validity improves fidelity. We observe that latent conditioning mitigates oversmoothing of EEG. Additionally, we find that enforcing validity improves fidelity, lowering TS-FID on all six splits by 7 to 51 points (§ 6).

  • State-of-the-art results. Across TUSZ, TUEV and TUAB, MontageFlow improves TS-FID by 1.6–3.6× over the strongest baseline, with a montage index of exactly 0 (§ 5).

Preliminaries

We first derive the exact linear constraints imposed by the bipolar EEG montage, then show that standard flow matching does not guarantee that generated outputs satisfy them.

Bipolar montage geometry. Let X=[x(τ1),…,x(τL)]∈RC×LX = [x(\tau_1), \ldots, x(\tau_L)] \in\mathbb{R}^{C \times L} denote an EEG window with C=16C = 16 channels and LL physical time points. A bipolar montage represents channel ii as the potential difference between an ordered pair of electrodes:

xi(τ)=vai(τ)−vbi(τ),i=1,…,C.(1)x_i(\tau) = v_{a_i}(\tau) - v_{b_i}(\tau), \qquad i = 1, \ldots, C. \tag*{(1)}

As illustrated in Figure 1(a), summing channels along a directed path cancels the potentials at intermediate electrodes, leaving only the difference between the path endpoints. The montage contains two pairs of paths with common endpoints. On the left hemisphere, channels 1–4 and 9–12 both connect Fp1 to O1. On the right hemisphere, channels 5–8 and 13–16 both connect Fp2 to O2. Consequently, the following equalities hold at every physical time point τ\tau:

Bipolar montage paths and summed signals

Figure 1. The bipolar montage induces two exact linear constraints. (a) Each channel is an oriented difference between two electrode potentials. Channels 1–4 and 9–12 form two paths from Fp1 to O1, and channels 5–8 and 13–16 do the same from Fp2 to O2. Either path sums to the potential difference between its endpoints. (b) The two left path sums overlap on a real TUSZ window, and (c) their difference is numerically zero.

x1(τ)+x2(τ)+x3(τ)+x4(τ)=x9(τ)+x10(τ)+x11(τ)+x12(τ),(2)x_1(\tau) + x_2(\tau) + x_3(\tau) + x_4(\tau) = x_9(\tau) + x_{10}(\tau) + x_{11}(\tau) + x_{12}(\tau), \tag*{(2)}
x5(τ)+x6(τ)+x7(τ)+x8(τ)=x13(τ)+x14(τ)+x15(τ)+x16(τ).(3)x_5(\tau) + x_6(\tau) + x_7(\tau) + x_8(\tau) = x_{13}(\tau) + x_{14}(\tau) + x_{15}(\tau) + x_{16}(\tau). \tag*{(3)}

Figure 1(b) verifies Eq. (2) on a representative TUSZ window.

Montage constraint. Let 14\mathbf{1}_4 and 04\mathbf{0}_4 denote four-dimensional vectors of ones and zeros, respectively. The two path equalities can be encoded by the constraint matrix

A=[14T04T−14T04T04T14T04T−14T]∈R2×16,(4)A = \begin{bmatrix} \mathbf{1}_4^{\mathsf{T}} & \mathbf{0}_4^{\mathsf{T}} & -\mathbf{1}_4^{\mathsf{T}} & \mathbf{0}_4^{\mathsf{T}} \\ \mathbf{0}_4^{\mathsf{T}} & \mathbf{1}_4^{\mathsf{T}} & \mathbf{0}_4^{\mathsf{T}} & -\mathbf{1}_4^{\mathsf{T}} \end{bmatrix} \in\mathbb{R}^{2 \times16}, \tag*{(4)}

where the four column groups correspond to channels 1–4, 5–8, 9–12, and 13–16, respectively. Thus, Ax(τ)=0A x(\tau) = 0 at every physical time point. Since AA acts along the channel dimension, the corresponding window-level constraint is

AX=02×L.(5)AX = \mathbf{0}_{2 \times L}. \tag*{(5)}

The set of montage-valid channel vectors is therefore ker⁡A={u∈R16:Au=0}\operatorname{ker} A = \{\mathbf{u} \in\mathbb{R}^{16}: A\mathbf{u} = 0\}. Since the two rows of AA are linearly independent, rank⁡(A)=2\operatorname{rank}(A) = 2, and ker⁡A\operatorname{ker} A is a 14-dimensional subspace of R16\mathbb{R}^{16}.

Standard flow matching. Let E∈RC×LE \in\mathbb{R}^{C \times L} have i.i.d. standard Gaussian entries and t∈[0,1]t \in[0,1] denote flow time. Linear flow matching interpolates Xt=tX+(1−t)EX_t = tX + (1-t)E and trains a velocity network uθ(Xt,t)u_\theta(X_t,t) to regress the target velocity X−EX - E. Generation starts from X^0=ε∼N(0,I)\hat{X}_0 = \varepsilon\sim\mathcal{N}(0,I) and integrates the learned velocity along its own trajectory X^t\hat{X}_t: X^=ε+∫01uθ(X^t,t) dt\hat{X} = \varepsilon+ \int_0^1 u_\theta(\hat{X}_t,t)\,dt. Applying the montage constraint of Eq. (5) to this sample gives

AX^=Aε+∫01Auθ(X^t,t) dt(6)A\hat{X} = A\varepsilon+ \int_0^1 A u_\theta(\hat{X}_t,t)\,dt \tag*{(6)}

where Aε≠0A\varepsilon\ne0 almost surely and uθu_\theta is unconstrained. Nothing forces the two terms to cancel, so standard flow matching does not guarantee montage-valid EEG.

MontageFlow

Overview. The overview of MontageFlow is shown in Figure 2. MontageFlow removes both sources of montage violation (Eq. (6)) by construction: generation starts from noise projected onto ker⁡A\ker A, and the velocity network’s output is always projected onto ker⁡A\ker A. For fidelity, the velocity network is additionally conditioned on a global latent encoding of the target window.

Figure 2. Overview of MontageFlow. During training, an encoder fϕf_\phi maps an EEG window XX to a global latent hh. The decoder receives the current flow state XtX_t, flow time tt, class label yy, and perturbed latent h~\tilde{h}, and predicts a velocity field. After encoder-decoder training, a class-conditional rectified-flow prior pψ(h∣y)p_\psi(h \mid y) is fitted to the encoded training latents and replaces the encoder during generation. The predicted velocity is projected onto ker⁡A\ker A. At inference, the Gaussian source is also projected to guarantee valid EEG.

Montage projector. Projecting the noise and the velocity onto ker⁡A\ker A requires the same operation: given any channel vector u∈R16\mathbf{u} \in\mathbb{R}^{16}, return a vector in ker⁡A\ker A. The vector Au∈R2A\mathbf{u} \in\mathbb{R}^{2} holds the amounts by which u\mathbf{u} violates Eqs. (2) and (3) respectively. To make u\mathbf{u} valid, we cancel each violation by spreading it equally over the eight channels involved. Each of the four channels on the left-hand side of the equation is decreased by one eighth of the violation, and each of the four on the right-hand side is increased by the same amount:

Pu=u−18AT(Au),P=I−18ATA.(7)P\mathbf{u} = \mathbf{u} - \frac{1}{8}A^{\mathsf{T}}(A\mathbf{u}), \qquad P = I - \frac{1}{8}A^{\mathsf{T}}A. \tag*{(7)}

Since each row of AA has eight entries equal to ±1\pm1 and the two rows share no channel, AAT=8I2AA^{\mathsf{T}} = 8I_2. Hence, AP=A−18(AAT)A=0AP = A - \frac{1}{8}(AA^{\mathsf{T}})A = 0. Applied to a window XX, PP acts on each column, so A(PX)=(AP)X=0A(PX) = (AP)X = 0. Therefore, PP maps every window to a montage-valid window.

Projected velocity. With PP in hand, the two projections of the overview are immediate. For the velocity, let vθ(Xt,t,y,h)∈RC×Lv_\theta(X_t,t,y,h) \in\mathbb{R}^{C \times L} be the raw output of the velocity network, conditioned on flow time tt, class label yy, and a latent hh introduced below. MontageFlow uses the projected velocity

uθ(Xt,t,y,h)=Pvθ(Xt,t,y,h),(8)u_\theta(X_t,t,y,h) = P v_\theta(X_t,t,y,h), \tag*{(8)}

which satisfies Auθ=0Au_\theta= 0. We sample t=sigmoid⁡(z)t = \operatorname{sigmoid}(z), with z∼N(−0.8,0.82)z \sim\mathcal{N}(-0.8, 0.8^2), and set Xt=tX+(1−t)EX_t = tX + (1-t)E. We optimize the following ℓ1\ell_1 velocity-matching objective:

LMF(θ,ϕ)=EX,y,E,t,η,σ[∥(X−E)−P vθ(Xt,t,y,h~)∥1].(9)\mathcal{L}_{\mathrm{MF}}(\theta,\phi) = \mathbb{E}_{X,y,E,t,\eta,\sigma}\left[\left\|(X-E)-P\,v_\theta(X_t,t,y,\tilde{h})\right\|_1\right]. \tag*{(9)}

Here, h~=fϕ(X)+ση\tilde{h}=f_\phi(X)+\sigma\eta is the perturbed conditioning latent, defined in Eq. (12).

Validity by construction. The remaining source of violation is the start state, which we also project. Generation draws ϵ∼N(0,I)\epsilon\sim\mathcal{N}(0,I), starts from X^0=Pϵ\hat{X}_0=P\epsilon, and integrates the projected velocity:

X^=Pϵ+∫01P vθ(X^t,t,y,h) dt.(10)\hat{X}=P\epsilon+\int_0^1 P\,v_\theta(\hat{X}_t,t,y,h)\,\mathrm{d}t. \tag*{(10)}

Applying AA gives AX^=APϵ+∫01AP vθ(X^t,t,y,h) dt=0A\hat{X}=AP\epsilon+\int_0^1 AP\,v_\theta(\hat{X}_t,t,y,h)\,\mathrm{d}t=0 since AP=0AP=0. The generated sample now satisfies Eq. (5).

Latent conditioning. Clinical EEG varies widely from window to window in amplitude and rhythm. Generators trained with a regression loss can average this variety away and produce oversmoothed samples. To mitigate this, we give the velocity network a global view of the window it is generating by conditioning it on a latent physiological state vector:

h=fϕ(X)∈R256,(11)h=f_\phi(X)\in\mathbb{R}^{256}, \tag*{(11)}

computed by an encoder fϕf_\phi from the clean target window XX during training. At generation time, the conditioning vector is sampled from a learned latent prior rather than obtained by encoding a real window. To make the decoder robust to deviations between prior samples and encoded latents, we perturb the latent during training:

h~=fϕ(X)+ση,η∼N(0,I256),σ∼U(0,1).(12)\tilde{h}=f_\phi(X)+\sigma\eta,\qquad\eta\sim\mathcal{N}(0,I_{256}),\qquad\sigma\sim\mathcal{U}(0,1). \tag*{(12)}

The velocity network receives h~\tilde{h} as conditioning in Eq. (9), and the encoder is trained jointly with it.

Latent prior. After jointly training the encoder and the velocity network, we replace the encoder with a learned prior. We encode the training set into a latent bank H={(fϕ(Xi),yi)}i=1n\mathcal{H}=\{(f_\phi(X_i),y_i)\}_{i=1}^n and fit a class-conditional rectified-flow prior pψ(h∣y)p_\psi(h\mid y) to these pairs. Conditioning both the prior and the velocity network on yy preserves the dependence between latent and label seen in training.

Sampling. To generate a window, we draw a class yy, a latent h∼pψ(h∣y)h\sim p_\psi(h\mid y), and a start state X^0=Pϵ\hat{X}_0=P\epsilon, then integrate Eq. (10) with KK Euler steps.

MontageDiff. Our method is objective-agnostic, so it also applies to denoising diffusion models [10]. We term this variant MontageDiff (Appendix E).

Experimental setup

Datasets. We evaluate on the three Temple University Hospital (TUH) EEG corpora used by prior work: TUAB (abnormal/normal, 2 classes), TUEV (6 event types, heavily imbalanced), and TUSZ (seizure/background, 2 classes). All three are preprocessed with the released pipeline of Wang et al. [36] into 16 channels × LL length windows.

classeswindowtrain windowstest windows
TUSZ216 × 100025,5429,538
TUEV616 × 100068,44529,421
TUAB216 × 2000297,10336,945

Table 1. Corpora used in our study. Windows lie on the 16-channel bipolar montage at 200 Hz.

Metrics. Our primary fidelity metric is (a) TS-FID (lower is better): the Fréchet distance between representations of real and generated multivariate signals. It is computed from FFT magnitudes, so it sees spectral structure but is blind to physical validity. Hence, we propose the (b) montage index, which measures physical validity: 0 represents perfect validity, 1 is typical of independent channels. We also use (c) shape correlation, which compares the generated cross-channel correlation structure against the real one (higher is better, Appendix § 14).

Baselines. EEG-GAN (Hartmann et al. [9]), vanilla diffusion (Ho et al. [10]), vanilla flow matching (Lipman et al. [18]), JET (Wang et al. [36]), and its cross-channel variant JET×^{\times}.

Implementation. The encoder of § 3 is a causal Transformer (8 blocks, width 512, 8 heads). The encoder output is projected to a single 256-dimensional latent hh. The decoder is a 1-D DiT-B transformer (12 blocks, width 768, 12 heads) with adaLN conditioning on the timestep, the class label and hh. Each channel is split into patches of size 100, and attention runs over the patches of all channels. Together they account for 156M parameters, of which the decoder holds 130M. Training runs for ∼160\sim160k steps at a batch of 128. We use AdamW with a learning rate of 5×10−55 \times10^{-5} held constant after 2.5 epochs of warmup. The prior is then fit on the encoded training split for 12k steps, and sampling (Figure 2) uses 50 Euler steps.

Results

Generation quality and physical validity. Our models achieve the lowest TS-FID on both evaluation splits of all three datasets, and MontageFlow scores 1.6–3.6× lower than the strongest baseline in each setting (Table 2). In every setting, the strongest baseline is a vanilla diffusion or flow-matching model sharing our backbone. Vanilla flow matching differs from MontageFlow only in latent conditioning and montage projection, providing a controlled comparison of their combined contribution. Their individual effects are examined in Table 5. Only real recordings, MontageFlow and MontageDiff achieve a montage index of exactly 0. JET has an index near 0.99, while adding cross-channel attention (JET×^{\times}) reduces it to 0.15–0.22. Vanilla diffusion achieves the lowest index among the baselines, at 0.069–0.078, but still violates the montage identities.

MethodTS-FID (train) ↓ TUSZTS-FID (train) ↓ TUEVTS-FID (train) ↓ TUABTS-FID (test) ↓ TUSZTS-FID (test) ↓ TUEVTS-FID (test) ↓ TUABmontage index (test) ↓ TUSZmontage index (test) ↓ TUEVmontage index (test) ↓ TUAB
EEG-GAN342.3316.9394.5331.4400.9455.70.5390.5190.505
Vanilla diffusion113.282.4120.1121.6145.8149.10.0690.0780.071
Vanilla flow matching125.0123.9157.1137.0212.8186.00.2830.4370.294
JET207.5212.5244.6199.1301.9285.80.9910.9880.986
JET×^{\times}203.2139.0211.5198.5221.9252.60.1510.2170.148
MontageDiff25.2<u>27.9</u>31.140.689.650.20.0000.0000.000
MontageFlow<u>31.5</u>24.6<u>41.0</u><u>44.0</u><u>93.1</u><u>59.9</u>0.0000.0000.000

Table 2. Generation quality and physical validity (bold: best, underline: second best).

Channel relationship. Montage validity alone does not guarantee realistic cross-channel relationships: any projected output satisfies the montage identities, even if its remaining channel dependencies differ from those of real EEG. We therefore evaluate shape correlation (Table 3). MontageFlow is closest to the real-data reference on all three corpora, achieving 0.955–0.990. The vanilla models, which also use cross-channel attention, achieve 0.93–0.96 but consistently remain below MontageFlow. JET scores near 0 across all settings, indicating poor agreement with the cross-channel structure captured by this metric. Adding cross-channel attention in JET×^{\times} raises the scores to 0.91–0.95, supporting the importance of explicitly modeling channel dependencies. EEG-GAN achieves substantially lower scores of 0.41–0.67.

MethodTUSZTUEVTUAB
EEG-GAN0.4120.6740.668
Vanilla diffusion0.9280.9480.961
Vanilla flow matching0.9260.9350.963
JET−0.0330.2150.024
JET×^{\times}0.9160.9080.948
MontageDiff0.9480.9730.981
MontageFlow0.9550.9770.990

Table 3. Shape correlation on the test split (↑, bold: best, underline: second best).

Downstream utility. We train the same classifier (CBraMod; Wang et al. [35]) for every method on 5,000 generated windows per class and test it on real windows (Table 4). We select the best epoch on the real validation split and average over three seeds. The grey row uses real windows. Our method improves both generative families. MontageFlow outperforms vanilla flow matching on all three corpora, and MontageDiff raises the average accuracy of vanilla diffusion from 0.632 to 0.716.

Ablations and Analyses

Incremental ablation with respect to vanilla flow matching. We present an incremental ablation in Table 5, which starts from flow matching and adds one component per row until it reaches MontageFlow. Switching from xx- to velocity parameterisation lowers TS-FID by 31–47 on every split. Adding cross-channel attention gives the vanilla flow matching baseline of Table 2. It lowers TS-FID by 1–12 on TUSZ and by 21–29 on TUEV and TUAB. Latent conditioning (row 4) lowers TS-FID by a further 62–92, the largest gain in the ladder. Perturbing the latent during training (row 5) lowers it by another 11–15 on TUSZ and TUEV and by about 5 on TUAB. Finally, the projection buys physical validity outright for every generated EEG window. Notably, it also improves distributional fidelity, lowering TS-FID by a further 7–51 points on all six splits.

MethodTUSZ trainTUSZ testTUEV trainTUEV testTUAB trainTUAB test
Vanilla flow matching (xx-parameterisation)182.9180.4197.8276.1217.1246.0
+ velocity parameterisation136.9138.2150.7233.9181.5215.2
+ cross-channel attention125.0137.0123.9212.8157.1186.0
+ latent conditioning60.474.646.8120.686.5115.1
+ latent perturbation49.860.831.8106.381.7110.5
+ montage projection31.544.024.693.141.059.9

Table 5. Incremental ablation from vanilla flow matching to MontageFlow (TS-FID ↓).

Is post-hoc projection enough? The projection could instead be applied only at inference, as post-processing of the model trained without it (row 5 of Table 5). Both approaches make every generated window physically valid, but they differ sharply in fidelity. On TUAB, training with the projection outperforms post-hoc projection by 80.7 TS-FID points (59.9 vs. 140.6) and is also better on all five physiological metrics (Table 6). TUSZ and TUEV show the same trend (Appendix § 17). We hypothesize the unconstrained model unnecessarily spends capacity representing invalid signals.

ProjectionTS-FID ↓PSD slope ↓Envelope ↓Hj. act. ↓Hj. mob. ↓Drift ↓
Inference only140.60.6290.2440.2560.3660.097
Training + inference59.90.4000.1640.2150.2320.092

Table 6. Is post-hoc projection enough? TUAB test split (all corpora: Table 9). Inference only projects the model of row 5 of Table 5 at sampling time, and training + inference is MontageFlow (bold: best).

Projected training noise. MontageFlow projects the initial noise at sampling time, but trains on unprojected Gaussian noise. We evaluate an alternative that also projects the training noise. This change worsens test TS-FID by 21.9 on TUSZ, 11.2 on TUEV, and 35.2 on TUAB. We hypothesize that unprojected noise adds regularization making the velocity network more robust.

Latent conditioning mitigates oversmoothing. Figure 3 shows four channels of real EEG (left column) and of generated EEG (middle and right columns). The two generated columns differ only in latent conditioning, isolating its effect on oversmoothing. Without the latent, generated windows collapse to a flat average and keep 42–52% of the real median amplitude. With it, they keep 78–84%.

Figure 3. Latent conditioning mitigates oversmoothing. Representative samples from TUAB are shown.

Conditioning the prior on the label. The decoder is conditioned on both a window-level latent hh and a class label yy. Since the latent can encode class-related characteristics, sampling it from a marginal prior pψ(h)p_\psi(h) independently of yy can produce inconsistent latent-label pairs. We instead fit pψ(h∣y)p_\psi(h \mid y) and sample it with the same label that is passed to the decoder. On the test split, this improves TS-FID by 6.9 points on TUEV, which has 6 classes. The gain is trivial on TUSZ (1.1) and TUAB (1.5), which have 2 classes each.

The regression loss (L1L_1 versus L2L_2). Flow matching conventionally uses squared-error velocity regression. Compared with L2L_2, L1L_1 places less emphasis on large residuals. We evaluate this choice by training MontageFlow under each loss. L1L_1 yields lower test TS-FID on all three datasets. Using L2L_2 instead raises it by 4.0 on TUSZ, 7.9 on TUEV, and 34.4 on TUAB.

Computational cost. We report the computational cost of every method on TUAB in Table 7. Vanilla diffusion and vanilla flow matching share the backbone and cost the same. MontageFlow and MontageDiff add an encoder with 26M parameters, which raises the time per training step by about 40%. At generation time, sampling the latent from the prior adds about 2–3 ms per window, so both generate at nearly the speed of the vanilla models (76 vs. 74 ms). JET and JET×^{\times} are cheaper because they use a coarser patch, and EEG-GAN generates fastest but trains slowest.

MethodPatchParamss/stepGPU-hms/window
EEG-GAN–130M2.4036.02
Vanilla diffusion100130M0.177.573
Vanilla flow matching100130M0.177.574
JET200130M0.115.040
JET×^{\times}200130M0.083.737
MontageDiff100156M0.2310.676
MontageFlow100156M0.2310.576

Table 7. Computational cost across methods on TUAB.

Physiological diagnostics

We report five more diagnostic metrics in Table 8 (Appendix § 14). No method is closest to real EEG on every metric, but MontageFlow is closest on average, at 0.35 against 0.56 for the next best, MontageDiff. Furthermore, we qualitatively examine whether the generated signals behave like EEG by studying Figure 4. (1) Power spectrum: The top row shows the power at each frequency. Real EEG has most of its power at the lowest frequencies and falls off with frequency, with an alpha peak near 8–9 Hz on TUAB and TUEV. Below about 12 Hz, our spectrum follows the real shape and reproduces the alpha peak at the same frequency. Vanilla flow matching has less power at almost every frequency, and on TUEV it exaggerates the alpha peak. Above 12 Hz, our spectrum falls below the real one, most visibly on TUAB. However, real windows have much higher variance at these frequencies, and our median stays within the real shading throughout. (2) Amplitude over time: The middle row tracks signal amplitude across the window. Real EEG keeps a flat median envelope with no drift, and so does MontageFlow. Our envelope sits slightly below the real one, at 82–91% of its level, and its spread across windows is similar. Vanilla flow matching has about half the real amplitude. On TUEV, the real envelope rises near 2.5 s. MontageFlow reproduces this rise, while vanilla flow matching barely shows it. (3) Heavy-tailed distributions: The amplitude distribution of clinical EEG is heavy-tailed. A generator that collapses towards average behaviour loses the extremes, where transient events such as spikes live (bottom row). Our density follows the real curve from the sharp central peak down through the tails. Vanilla flow matching is too narrow everywhere, and its tails vanish by 1000 μV\mu\mathrm{V}. Above 100 μV\mu\mathrm{V}, our samples keep 60–70% of the real probability mass, against 3–12% for vanilla flow matching.

Figure 4. Physiological diagnostics. Top: power spectrum, median over windows, with shading from the 10th to the 90th percentile. Middle: amplitude over time (root-mean-square across channels), median over windows, with shading over the middle half of windows. Bottom: distribution of sample amplitudes (log density). Windows are 10 s on TUAB and 5 s on TUEV and TUSZ.

MethodTS-FID ↓PSD slope ↓Envelope ↓Hj. act. ↓Hj. mob. ↓Drift ↓Avg. ↓
EEG-GAN331.41.8461.2161.3620.8310.7121.193
Vanilla diffusion121.60.6841.6791.6520.5710.2040.958
Vanilla flow matching137.00.1991.6511.5850.3910.1020.786
JET199.10.8620.615<u>0.506</u>0.6730.4100.613
JET*198.50.897<u>0.518</u>0.4670.6940.2820.571
MontageDiff40.61.1410.5150.5870.4800.065<u>0.557</u>
MontageFlow<u>44.0</u><u>0.221</u>0.5800.551<u>0.302</u><u>0.069</u>0.345

Table 8. Physiological diagnostics on the TUSZ test split (bold: best, <u>underline:</u> second best).

Related works

EEG models. EEG is routinely used to monitor brain activity and is essential for epilepsy diagnosis [34]. Deep EEG models are predominantly discriminative and task-specific. For instance, EEGNet uses a compact CNN for EEG classification [16], while EEG Conformer combines convolution with self-attention to capture long-range temporal dependencies [32]. Gemein et al. (2020) compare deep and feature-based decoders for distinguishing pathological from normal recordings on TUAB, while Tang et al. (2022) and REST [1] use graph neural networks for seizure detection and classification on TUSZ. Even pretrained EEG foundation models [15, 37, 11, 35, 5] typically require fine-tuning or linear probing on labelled data for downstream tasks [11, 35, 5]. However, achieving expert-level detection requires large expert-annotated datasets [12]. Annotation typically relies on certified neurologists, whose expertise is in short supply [27]. Moreover, clinically significant target events are rare: seizures account for less than 0.1% of the TUH EEG archive [27]. Data access is also constrained by patient privacy: even TUH, the largest public EEG corpus, required HIPAA de-identification before release [22]. Hand-crafted augmentation can expand training data, but its effectiveness is task-dependent, and some transformations may alter the underlying semantics [25]. Per-channel augmentation may also violate montage identities (Eq. (5)). Alternatively, synthetic seizure EEG can substitute for real seizures in detector training, yielding comparable performance with lower re-identification risk [23]. Despite extensive research on EEG-based predictive modelling, EEG generation remains comparatively underexplored.

Generative modeling. Generative modeling has advanced rapidly, driven largely by vision. GANs enabled high-fidelity, high-resolution image synthesis [7, 13], but adversarial training can be unstable and prone to mode collapse [2, 8]. Diffusion models [29, 10, 31] use a stable, non-adversarial training objective and have surpassed GANs in image quality [4]. Closely related to diffusion, flow matching offers an alternative approach to generative modeling by learning a velocity field from noise to data [18, 20]. With Gaussian noise, the two differ mainly in how they weight noise levels [14]. Architectures for both diffusion and flow-matching models have evolved from U-Nets [26, 10] to transformers operating on latent patches [24] and, more recently, on raw pixels while predicting the clean signal [17]. For time series, GAN- and diffusion-based generators [38, 39] use generic inductive biases without encoding domain-specific physical constraints. Constrained generative models handle general or inequality-defined feasible sets by intervening during sampling [3] or by modifying the diffusion process [21, 19]. In contrast, the montage constraint is a linear equality with a fixed, closed-form projector applied during both training and sampling. Among EEG generators, EEG-GAN [9] uses progressive training with a modified WGAN-GP objective. Beyond GANs, Shu et al. (2025) use a diffusion model to synthesize preictal EEG for seizure prediction. Furthermore, JET [36] trains a flow-matching transformer with hand-engineered auxiliary temporal and statistical losses. However, EEG-GAN synthesizes low-fidelity samples, as seen in Table 2, and is slow to train (Table 7). JET needs its auxiliary-loss weights tuned for each dataset. None of them generates physically valid EEG. In contrast, MontageFlow synthesizes high-fidelity EEG that is also physically valid.

Conclusion

We show that current EEG generators synthesize physically invalid signals. MontageFlow rules out such signals by restricting its output to the subspace of valid signals. MontageFlow further conditions the flow matching decoder on a physiological state vector. With latent conditioning, enforcing validity during training also improves fidelity. Across three publicly available large-scale EEG corpora, MontageFlow improves TS-FID by 1.6–3.6× over the strongest baseline with perfect physical validity. MontageFlow is applicable to other electrical recordings such as ECG though we restrict the scope of our study to EEG. More broadly, our results suggest that validity and fidelity need not trade off when known physical laws are built into the generator.

Limitations

Although MontageFlow projects the initial noise at sampling time, it trains on unprojected Gaussian noise. This choice is empirical: unprojected training noise yields better scores on TS-FID and the physiological metrics than projected noise. We offer no theoretical account of why this mismatch between training and sampling benefits generation.

AI Use Statement

In this work, we used generative AI tools for AI-assisted coding, drawing the diagrams and polishing the writing. Additionally, we used generative AI tools for finding related works and writing the latex code. We take responsibility for the final content of this work, including text, claims or artifacts produced with the aid of generative AI.

Acknowledgments

The authors acknowledge support for this research from Evergreen: A Generative AI & Behavioral Sensing Digital Ecosystem to Promote Student Wellness and Flourishing. This work is made possible through philanthropic gifts to Dartmouth College dedicated to advancing AI-supported well-being and flourishing of college students.

Appendix

Metric definitions

TS-FID, shape correlation and the physiological metrics compare the whole split with one generated window per real window. The montage index uses only the generated windows. Real recordings score 0.

TS-FID. The Fréchet distance between Gaussians fitted to the features ϕ(X)\phi(X) of real and generated windows,

TS-FID=∥μr−μg∥22+Tr⁡(Σr+Σg−2(ΣrΣg)1/2).\mathrm{TS\text{-}FID} = \lVert\mu_r-\mu_g\rVert_2^2 + \operatorname{Tr}\left(\Sigma_r+\Sigma_g-2(\Sigma_r\Sigma_g)^{1/2}\right).

with (μ,Σ)(\mu,\Sigma) the mean and covariance of the features over all windows of the split. Following Wang et al. [36], ϕ\phi takes the magnitude of the discrete Fourier transform along time and keeps the lower half of the frequency bins. It average-pools frequency to at most 256 bins and channels to 4 groups, applies log⁡(1+ ⋅ )\log(1+\,\cdot\,), and standardises within the window.

Montage index. Each constraint in Eqs. (2)–(3) says that two chains of channels between the same pair of electrodes must sum to the same signal. The residual is the difference between the two sums. Within each window, we average its absolute value over time and divide by the root-mean-square of the m=8m=8 channels involved. We average this over windows and both constraints, then divide by 2m/π≈2.257\sqrt{2m/\pi}\approx2.257, its value for independent Gaussian channels. So 0 is physically valid and 1 is typical of independent channels.

Shape correlation. We average the 16×1616\times16 per-window Pearson correlation matrix of the channels over windows. Shape correlation is the Pearson correlation between the off-diagonal entries of this matrix for generated and for real windows. It asks whether the same channel pairs are coupled.

Physiological metrics. Each metric in Table 8 is a per-window scalar g(X)g(X). Its distributions over generated and real windows are compared by the 1-Wasserstein distance, divided by the interquartile range of the real values (lower is better),

d(g)=W1(Pggen,Pgreal)/IQR⁡(Pgreal).d(g)=W_1\left(P_g^{\mathrm{gen}},P_g^{\mathrm{real}}\right)/\operatorname{IQR}\left(P_g^{\mathrm{real}}\right).

PSD slope. The exponent χ\chi of a least-squares fit log⁡10S(f)≈a−χlog⁡10f\log_{10}S(f)\approx a-\chi\log_{10}f to each channel’s Welch spectrum over 1–40 Hz, averaged over channels. A signal that is too smooth has a steeper slope.

Envelope. The log⁡10\log_{10} RMS over time of e(t)=(1C∑cxc(t)2)1/2e(t)=\left(\frac{1}{C}\sum_c x_c(t)^2\right)^{1/2}. It measures how much energy a window carries.

Hjorth activity. 1C∑clog⁡10var⁡(xc)\frac{1}{C}\sum_c\log_{10}\operatorname{var}(x_c), the per-channel counterpart of the envelope.

Hjorth mobility. 1C∑cvar⁡(x˙c)/var⁡(xc)\frac{1}{C}\sum_c\sqrt{\operatorname{var}(\dot{x}_c)/\operatorname{var}(x_c)}, with x˙c\dot{x}_c the first difference. It is scale-free, so it reflects frequency content rather than amplitude.

Drift. The least-squares slope of e(t)e(t) across the window, multiplied by LL and divided by the mean of e(t)e(t). It detects windows whose amplitude ramps up or decays.

Qualitative samples

Real EEG mixes an ongoing background rhythm with brief sharp events. MontageFlow reproduces the rhythm on all three corpora. On TUSZ its traces are visibly smoother than real. This is the time-domain form of the high-frequency attenuation seen in Figure 4. The baselines fail differently. Vanilla diffusion and vanilla flow matching are far too quiet. JET’s traces are over-regular: they rise and fall with a fixed rhythm.

Figure 5. Generated and real windows. First four channels of the bipolar montage, five seconds, one window per corpus and method (the median-amplitude window among 2,000 samples).

Channel-wise analysis

Figure 4 averages over the sixteen channels. Figure 6, Figure 7 and Figure 8 show the same three analyses for each channel separately, so an error on a few channels cannot hide in the average. Each curve is a median over the 2,000 windows of that channel.

Channel-wise power spectrum

Figure 6. Channel-wise power spectrum. Median over windows for each channel, with shading from the 10th to the 90th percentile.

Channel-wise amplitude over time

Figure 7. Channel-wise amplitude over time. Absolute amplitude of each channel, median over windows, with shading over the middle half of windows.

Channel-wise amplitude distributions for TUAB, TUEV, and TUSZ

Figure 8. Channel-wise amplitude distribution. Distribution of sample amplitudes for each channel (log density).

(1) Power spectrum: Figure 6 shows the power spectrum of each channel. Real EEG has the most alpha power on P3–O1 and P4–O2 and the weakest alpha peak on Fp1–F7, Fp2–F8, Fp1–F3 and Fp2–F4. MontageFlow shows the same pattern on all three corpora. Vanilla flow matching has less power at almost every frequency, and on TUEV it exaggerates the alpha peak on every channel. Above 12 Hz, our spectrum generally falls below the real one but stays within the real shading.

(2) Amplitude over time: Figure 7 tracks the amplitude of each channel across the window. Every envelope is flat, for real EEG and for MontageFlow, so no channel drifts. Real EEG has the largest amplitude on Fp1–F7, Fp2–F8, Fp1–F3 and Fp2–F4 and smallest on T6–O2, C3–P3 and C4–P4. MontageFlow ranks the channels the same way on all three corpora, at 81–95% of the real level. Vanilla flow matching stays at 44–72%.

(3) Heavy-tailed distributions: Figure 8 shows the amplitude distribution of each channel. Our density follows the real curve from the sharp central peak down through the tails on every channel. On TUAB and TUEV, real EEG and MontageFlow both have their heaviest tails on Fp1–F7, Fp2–F8, Fp1–F3 and Fp2–F4. Above 100 μV\mu\mathrm{V}, our samples keep 43–94% of the real probability mass per channel, against at most 18% for vanilla flow matching.

Post-hoc projection on all corpora

Table 9 extends Table 6 to all three corpora (test split). Training through the projector wins every cell.

CorpusProjectionTS-FID ↓PSD slope ↓Envelope ↓Hj. act. ↓Hj. mob. ↓Drift ↓
TUSZInference only63.10.2570.6390.5840.4710.089
TUSZTraining + inference44.00.2210.5800.5510.3020.069
TUEVInference only107.60.2680.2670.2800.2170.129
TUEVTraining + inference93.10.2300.2610.2780.2100.121
TUABInference only140.60.6290.2440.2560.3660.097
TUABTraining + inference59.90.4000.1640.2150.2320.092

Table 9. Post-hoc projection vs. projection in training on all three corpora, test split (bold: best per corpus).

MontageDiff

MontageDiff applies our two components, montage projection and latent conditioning, to a denoising diffusion model (Ho et al., [10]) instead of flow matching. We use the standard linear noise schedule with T=1000T = 1000 steps, where αˉt\bar{\alpha}_t is the fraction of signal variance kept at step tt. The network ϵθ\epsilon_\theta predicts the noise that was added to a clean window. As in MontageFlow, we project this prediction with PP (Eq. (7)) and train with an ℓ1\ell_1 loss:

LMD=EX,y,E,t,η,σ[∥E−Pϵθ(Xt,t,y,h~)∥1],Xt=αˉtX+1−αˉtE.(13)\mathcal{L}_{\mathrm{MD}} = \mathbb{E}_{X,y,E,t,\eta,\sigma}\left[\left\lVert E - P\epsilon_\theta(X_t,t,y,\tilde{h})\right\rVert_1\right], \qquad X_t = \sqrt{\bar{\alpha}_t}X + \sqrt{1-\bar{\alpha}_t}E. \tag*{(13)}

To generate a window, we start from X^T=Pϵ\widehat{X}_T = P\epsilon and take 50 deterministic DDIM steps (Song et al., [30]). Each step goes from tt to the next timestep s<ts < t:

X^s=αˉsX^t−1−αˉtE^tαˉt+1−αˉsE^t,E^t=Pϵθ(X^t,t,y,h).(14)\widehat{X}_s = \sqrt{\bar{\alpha}_s}\frac{\widehat{X}_t-\sqrt{1-\bar{\alpha}_t}\widehat{E}_t}{\sqrt{\bar{\alpha}_t}}+\sqrt{1-\bar{\alpha}_s}\widehat{E}_t, \qquad\widehat{E}_t = P\epsilon_\theta(\widehat{X}_t,t,y,h). \tag*{(14)}

This is a linear combination of X^t\widehat{X}_t and E^t\widehat{E}_t, which both lie in ker⁡A\operatorname{ker} A, so the sample never leaves ker⁡A\operatorname{ker} A and the final window is valid by construction. Everything else is shared with MontageFlow: the backbone, the encoder, the latent prior and the training settings.

References

  1. [1]Arshia Afzal, Grigorios Chrysos, Volkan Cevher, and Mahsa Shoaran. REST: Efficient and accelerated EEG seizure analysis through residual state updates. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pp. 271–290. PMLR, 2024. URL https://proceedings.mlr.press/v235/afzal24a.html.
  2. [2]Martin Arjovsky, Soumith Chintala, and Léon Bottou. Wasserstein generative adversarial networks. In Doina Precup and Yee Whye Teh (eds.), Proceedings of the 34th International Conference on Machine Learning, volume 70 of Proceedings of Machine Learning Research, pp. 214–223. PMLR, 2017. URL https://proceedings.mlr.press/v70/arjovsky17a.html.
  3. [3]Jacob K. Christopher, Stephen Baek, and Ferdinando Fioretto. Constrained synthesis with projected diffusion models. In Advances in Neural Information Processing Systems, volume 37, pp. 89307–89333, 2024. doi: 10.52202/079017-2834. URL https://proceedings.neurips.cc/paper_files/paper/2024/hash/a28af221f2f70be183afc16797a56b91-Abstract-Conference.html.DOI
  4. [4]Prafulla Dhariwal and Alexander Nichol. Diffusion models beat GANs on image synthesis. In M. Ranzato, A. Beygelzimer, Y. Dauphin, P. S. Liang, and J. Wortman Vaughan (eds.), Advances in Neural Information Processing Systems, volume 34, pp. 8780–8794. Curran Associates, Inc., 2021. URL https://proceedings.neurips.cc/paper_files/paper/2021/hash/49ad23d1ec9fa4bd8d77d02681df5cfa-Abstract.html.
  5. [5]Yassine El Ouahidi, Jonathan Lys, Philipp Thölke, Nicolas Farrugia, Bastien Pasdeloup, Vincent Gripon, Karim Jerbi, and Giulia Lioi. REVE: A foundation model for EEG - adapting to any setup with large-scale pretraining on 25,000 subjects. In Advances in Neural Information Processing Systems, 2025. URL https://openreview.net/forum?id=ZeFMtRBy4Z.
  6. [7]Ian J. Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. Generative adversarial nets. In Z. Ghahramani, M. Welling, C. Cortes, N. Lawrence, and K. Weinberger (eds.), Advances in Neural Information Processing Systems, volume 27. Curran Associates, Inc., 2014. URL https://proceedings.neurips.cc/paper_files/paper/2014/file/f033ed80deb0234979a61f95710dbe25-Paper.pdf.
  7. [8]Ishaan Gulrajani, Faruk Ahmed, Martin Arjovsky, Vincent Dumoulin, and Aaron Courville. Improved training of Wasserstein GANs. In I. Guyon, U. Von Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett (eds.), Advances in Neural Information Processing Systems, volume 30. Curran Associates, Inc., 2017. URL https://proceedings.neurips.cc/paper_files/paper/2017/file/892c3b1c6dccd52936e27cbd0ff683d6-Paper.pdf.arxiv.org/abs/1704.00028
  8. [9]Kay Gregor Hartmann, Robin Tibor Schirrmeister, and Tonio Ball. EEG-GAN: Generative adversarial networks for electroencephalographic (EEG) brain signals, 2018. URL https://arxiv.org/abs/1806.01875.
  9. [10]Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. In H. Larochelle, M. Ranzato, R. Hadsell, M.F. Balcan, and H. Lin (eds.), Advances in Neural Information Processing Systems, volume 33, pp. 6840–6851. Curran Associates, Inc., 2020. URL https://proceedings.neurips.cc/paper_files/paper/2020/file/4c5bcfec8584af0d967f1ab10179ca4b-Paper.pdf.arxiv.org/abs/2006.11239
  10. [11]Wei-Bang Jiang, Li-Ming Zhao, and Bao-Liang Lu. Large brain model for learning generic representations with tremendous EEG data in BCI. In The Twelfth International Conference on Learning Representations, 2024. URL https://openreview.net/forum?id=QzTpIRVtR_P.arxiv.org/abs/2405.18765
  11. [12]Jin Jing, Wendong Ge, Shenda Hong, Marta Bento Fernandes, Zhen Lin, Chaoqi Yang, Sungtae An, Aaron E. Struck, Alek Harlopian, Joannis Karakis, Jonathan J. Halford, Marcus C. Ng, Emily L. Johnson, Brian L. Appavu, Rani A. Sarkis, Gamaleldin Osman, Peter W. Kaplan, Monica B. Dhakar, Lakshman Arcot Jayagopal, Zubeda Sheikh, Olga Taraschenko, Sarah Schmitt, Hiba A. Haider, Jennifer A. Kim, Christa B. Swisher, Nicolas Gaspard, Mackenzie C. Cervenka, Andres A. Rodriguez Ruiz, Jong Woo Lee, Mohammad Tabaeizadeh, Emily J. Gilmore, Kristy Nordstrom, Ji Yeoun Yoo, Manisha G. Holmes, Susan T. Herman, Jennifer A. Williams, Jay Pathmanathan, Fábio A. Nascimento, Ziwei Fan, Samaneh Nasiri, Mouhsin M. Shafi, Sydney S. Cash, Daniel B. Hoch, Andrew J. Cole, Eric S. Rosenthal, Sahar F. Zafar, Jingang Sun, and M. Brandon Westover. Development of expert-level classification of seizures and rhythmic and periodic patterns during EEG interpretation. Neurology, 100(17):e1750–e1762, 2023. doi: 10.1212/WNL.0000000000207127. URL https://doi.org/10.1212/WNL.0000000000207127.
  12. [13]Tero Karras, Samuli Laine, and Timo Aila. A style-based generator architecture for generative adversarial networks. In 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 4396–4405. IEEE, 2019. doi: 10.1109/CVPR.2019.00453. URL http://dx.doi.org/10.1109/CVPR.2019.00453.
  13. [14]Diederik P. Kingma and Ruiqi Gao. Understanding diffusion objectives as the ELBO with simple data augmentation. In A. Oh, T. Naumann, A. Globerson, K. Saenko, M. Hardt, and S. Levine (eds.), Advances in Neural Information Processing Systems, volume 36, pp. 65484–65516. Curran Associates, Inc., 2023. doi: 10.52202/07280-2858. URL https://proceedings.neurips.cc/paper_files/paper/2023/hash/ce79fbf9baef726645bc2337abb0ade2-Abstract-Conference.html.arxiv.org/abs/2303.00848
  14. [15]Demetres Kostas, Stéphane Aroca-Ouellette, and Frank Rudzicz. BENDR: Using transformers and a contrastive self-supervised learning task to learn from massive amounts of EEG data. Frontiers in Human Neuroscience, 15:653659, June 2021. ISSN 1662-5161. doi: 10.3389/fnhum.2021.653659. URL http://dx.doi.org/10.3389/fnhum.2021.653659.
  15. [16]Vernon J. Lawhern, Amelia J. Solon, Nicholas R. Waytowich, Stephen M. Gordon, Chou P. Hung, and Brent J. Lance. EEGNet: a compact convolutional neural network for EEG-based brain–computer interfaces. Journal of Neural Engineering, 15(5):056013, 2018. doi: 10.1088/1741-2552/aace8c. URL https://doi.org/10.1088/1741-2552/aace8c.
  16. [17]Tianhong Li and Kaiming He. Back to basics: Let denoising generative models denoise. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 36115–36125, June 2026. URL https://openaccess.thecvf.com/content/ CVPR2026/html/Li_Back_to_Basics_Let_Denoising_Generative_Models_Denoise_CVPR_2026_paper.html.arxiv.org/abs/2511.13720
  17. [18]Yaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel, and Matthew Le. Flow matching for generative modeling. In The Eleventh International Conference on Learning Representations, 2023. URL https://openreview.net/forum?id=PqvMRDCJT9t.arxiv.org/abs/2210.02747
  18. [19]Guan-Horng Liu, Tianrong Chen, Evangelos Theodorou, and Molei Tao. Mirror diffusion models for constrained and watermarked generation. In Advances in Neural Information Processing Systems, volume 36, pp. 42898–42917, 2023a. doi: 10.52202/072580-1858. URL https://proceedings.neurips.cc/paper_files/paper/2023/hash/85f5c7372625d1e0df0e3996f85062d6-Abstract-Conference.html.arxiv.org/abs/2310.01236
  19. [20]Xingchao Liu, Chengyue Gong, and Qiang Liu. Flow straight and fast: Learning to generate and transfer data with rectified flow. In The Eleventh International Conference on Learning Representations, 2023b. URL https://openreview.net/forum?id=XVjT11nw5z.arxiv.org/abs/2209.03003
  20. [21]Aaron Lou and Stefano Ermon. Reflected diffusion models. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pp. 22675–22701. PMLR, 2023. URL https://proceedings.mlr.press/v202/lou23a.html.arxiv.org/abs/2304.04740
  21. [22]Iyad Obeid and Joseph Picone. The Temple University Hospital EEG data corpus. Frontiers in Neuroscience, 10:196, May 2016. doi: 10.3389/fnins.2016.00196. URL https://doi.org/10.3389/fnins.2016.00196.
  22. [23]Damian Pascual, Alireza Amirshahi, Amir Aminifar, David Atienza, Philippe Ryvlin, and Roger Wattenhofer. EpilepsyGAN: Synthetic epileptic brain activities with privacy preservation. IEEE Transactions on Biomedical Engineering, 68(8):2435–2446, August 2021. ISSN 1558-2531. doi: 10.1109/TBME.2020.3042574. URL https://doi.org/10.1109/TBME.2020.3042574.
  23. [24]William Peebles and Saining Xie. Scalable diffusion models with transformers. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), pp. 4195–4205, October 2023.arxiv.org/abs/2212.09748
  24. [25]Cédric Rommel, Joseph Paillard, Thomas Moreau, and Alexandre Gramfort. Data augmentation for learning predictive models on EEG: a systematic comparison. Journal of Neural Engineering, 19(6):066020, November 2022. doi: 10.1088/1741-2552/aca220. URL https://doi.org/10.1088/1741-2552/aca220.
  25. [26]Olaf Ronneberger, Philipp Fischer, and Thomas Brox. U-Net: Convolutional networks for biomedical image segmentation. In Nassir Navab, Joachim Hornegger, William M. Wells, and Alejandro F. Frangi (eds.), Medical Image Computing and Computer-Assisted Intervention – MICCAI 2015, volume 9351 of Lecture Notes in Computer Science, pp. 234–241. Springer International Publishing, 2015. doi: 10.1007/978-3-319-24574-4_28. URL https://doi.org/10.1007/978-3-319-24574-4_28.
  26. [27]Vinit Shah, Eva von Weltin, Silvia Lopez, James Riley McHugh, Lillian Veloso, Meysam Golmohammadi, Iyad Obeid, and Joseph Picone. The Temple University Hospital seizure detection corpus. Frontiers in Neuroinformatics, 12:83, November 2018. doi: 10.3389/fninf.2018.00083. URL https://doi.org/10.3389/fninf.2018.00083.
  27. [28]Kai Shu, Le Wu, Yuchang Zhao, Aiping Liu, Ruobing Qian, and Xun Chen. Data augmentation for seizure prediction with generative diffusion model. IEEE Transactions on Cognitive and Developmental Systems, 17(3):577–591, June 2025. ISSN 2379-8939. doi: 10.1109/tcds.2024.3489357. URL http://dx.doi.org/10.1109/TCDS.2024.3489357.
  28. [29]Jascha Sohl-Dickstein, Eric Weiss, Niru Maheswaranathan, and Surya Ganguli. Deep unsupervised learning using nonequilibrium thermodynamics. In Francis Bach and David Blei (eds.), Proceedings of the 32nd International Conference on Machine Learning, volume 37 of Proceedings of Machine Learning Research, pp. 2256–2265, Lille, France, 2015. PMLR. URL https://proceedings.mlr.press/v37/sohl-dickstein15.html.
  29. [30]Jiaming Song, Chenlin Meng, and Stefano Ermon. Denoising diffusion implicit models. In International Conference on Learning Representations, 2021a.arxiv.org/abs/2010.02502
  30. [31]Yang Song, Jascha Sohl-Dickstein, Diederik P. Kingma, Abhishek Kumar, Stefano Ermon, and Ben Poole. Score-based generative modeling through stochastic differential equations. In International Conference on Learning Representations, 2021b. URL https://openreview.net/forum?id=PxTIG12RRHS.
  31. [32]Yonghao Song, Qingqing Zheng, Bingchuan Liu, and Xiaorong Gao. EEG Conformer: Convolutional transformer for EEG decoding and visualization. IEEE Transactions on Neural Systems and Rehabilitation Engineering, 31(10–719, 2023. doi: 10.1109/TNSRE.2022.3230250. URL https://doi.org/10.1109/TNSRE.2022.3230250.
  32. [34]W. O. Tatum, G. Rubboli, P. W. Kaplan, S. M. Mirsattari, K. Radhakrishnan, D. Gloss, L. O. Caboclo, F. W. Dislane, M. Koutroumanidis, D. L. Schomer, D. Kasteleijn-Nolst Trenité, Mark Cook, and S. Beniczky. Clinical utility of EEG in diagnosing and monitoring epilepsy in adults. Clinical Neurophysiology, 129(5):1056–1082, May 2018. doi: 10.1016/j.clinph.2018.01.019. URL https://doi.org/10.1016/j.clinph.2018.01.019.
  33. [35]Jiquan Wang, Sha Zhao, Zhiling Luo, Yangxuan Zhou, Haiteng Jiang, Shijian Li, Tao Li, and Gang Pan. BraMod: A criss-cross brain foundation model for EEG decoding. In The Thirteenth International Conference on Learning Representations (ICLR), 2025. URL https://openreview.net/forum?id=NPNUHgHF2w.arxiv.org/abs/2412.07236
  34. [36]Yifan Wang, Yijia Ma, Wen Li, and Chenyu You. Let EEG models learn EEG. In Forty-third International Conference on Machine Learning, 2026. URL https://openreview.net/forum?id=TP8OuKKmsf.arxiv.org/abs/2605.21280
  35. [37]Chaoqi Yang, M. Brandon Westover, and Jimeng Sun. BIOT: Biosignal transformer for cross-data learning in the wild. In Advances in Neural Information Processing Systems, volume 36, pp. 78240–78260, 2023. doi: 10.52202/0725280-3420. URL https://proceedings.neurips.cc/paper_files/paper/2023/hash/f6b30f3e2dd9cb53bbf2024402d02295-Abstract-Conference.html.DOI
  36. [38]Jinsung Yoon, Daniel Jarrett, and Mihaela van der Schaar. Time-series generative adversarial networks. In H. Wallach, H. Larochelle, A. Beygelzimer, F. d’Alché-Buc, E. Fox, and R. Garnett (eds.), Advances in Neural Information Processing Systems, volume 32. Curran Associates, Inc., 2019. URL https://proceedings.neurips.cc/paper_files/paper/2019/file/c9efe5f26cd17ba6216bbe2a7d26d490-Paper.pdf.
  37. [39]Xinyu Yuan and Yan Qiao. Diffusion-TS: Interpretable diffusion for general time series generation. In The Twelfth International Conference on Learning Representations, 2024. URL https://openreview.net/forum?id=4h1apFjO99.arxiv.org/abs/2403.01742

Paper details

vlnc:W_npg272zu
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.

  • Computer Science

generative AI tools

View statement
Looking for related papers…
Contents