DynFS-MoE: Dynamic Functional-Structural Mixture-of-Experts for Post-Traumatic Epilepsy Diagnosis

arXiv:2606.16203 · cs.CV · Submitted 2026-06-15 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.

Tom: Today's paper: "DynFS-MoE: Dynamic Functional-Structural Mixture-of-Experts for Post-Traumatic Epilepsy Diagnosis".

Jane: The gist DynFS-MoE proposes a dynamic multimodal Mixture-of-Experts framework that integrates functional and structural connectivity through time-aware functional-structural encoding and classconditioned expert routing to address the challenge of early identification…

Tom: First, who's behind it and why it matters.

Title and authors: Tom: So, let’s talk about the title and the authors of "DynFS-MoE: Dynamic Functional-Structural Mixture-of-Experts for Post-Traumatic Epilepsy Diagnosis." The title itself tells us exactly what this framework is doing.

Jane: It points to a dynamic approach because it suggests that the method isn't static, which means it changes based on what data you feed it.

Lu: It’s a mixture of experts because that implies different parts of the system are specialized to handle different types of information, which is exactly what they implemented with modality-specific and cross-modal experts.

Meng: So what does that mean for the implementation? Does this mean we have a lot of separate model components to maintain or just one big complex thing?

Tom: It means we have a framework where different parts of the system are specialized; they’re not just one monolithic model, but multiple experts working together.

Jane: And the authors are focusing on post-traumatic epilepsy because that tells us exactly what clinical problem they are trying to solve.

Lu: They’re tackling PTE because it's a severe complication of TBI, and they need to capture those complex structural and functional alterations that happen in the brain.

Meng: So if we’re deploying this, we need to understand how many experts we have J, because that directly impacts the complexity of inference.

Tom: The number J is the total number of experts; it’s parameterized by a learnable transformation ϕj: R D → R D.

Jane: And the core idea they are proposing is integrating functional and structural connectivity through time-aware encoding and class-conditioned expert routing to bridge that gap.

Lu: This bridging of the gap is achieved through both the time-aware encoding and that routing mechanism, which are key components of this paper.

The paper's summary: Tom: Now let’s look at the actual summary they give us for "DynFS-MoE: Dynamic Functional-Structural Mixture-of-Experts for Post-Traumatic Epilepsy Diagnosis." It outlines the core architecture.

Jane: They summarize that the framework proposes a dynamic multimodal Mixture of Experts that integrates functional and structural connectivity through time aware functional-structural encoding and classconditioned expert routing.

Lu: They emphasize that modality specific and cross modal experts learn complementary representations, which is key to capturing both modality-specific characteristics and cross-modal interactions.

Meng: So what does that mean for the person using this system? Does it make the diagnosis faster?

Tom: It means it captures both how things change over time in fMRI and where those changes are spatially located in the dMRI.

Jane: They achieve this by using a timeaware functional-structural encoder that segments the fMRI sequence into K equals T over L nonoverlapping temporal segments of fixed length L as patches.

Lu: Each patch, F(k), is an embedding of modality specific temporal fMRI or structural connectivity information, and then they get the unified modality patch space P with cardinality P equal to K plus one elements.

Meng: How does that segmentation affect the inference pipeline speed for the person using this system? Does it make the diagnosis faster?

Tom: The speed depends on how fast you can process those patches, but the structure is designed to capture temporal dynamics efficiently.

Jane: They also incorporate a lightweight cross modal fusion step using the equation ˜f(k) equals f(k) plus alpha(k) W V s, which adaptively modulates structural connectivity contribution to each functional patch.

Lu: So this cross modal fusion step lets the model learn interactions between structure and function on a per-segment basis, which sounds like it could be very specific.

The paper's improvements: Tom: Let’s talk about what specific improvements the authors suggest of "DynFS-MoE: Dynamic Functional-Structural Mixture-of-Experts for Post-Traumatic Epilepsy Diagnosis."

Jane: The biggest improvement, as they state, is moving away from static fusion baselines where you just stack structural MRI and fMRI together before feeding it to a classifier.

Lu: Most existing studies rely on unimodal models, which means they only look at structure or function alone; DynFS-MoE captures the heterogeneous progression of PTE by simultaneously modeling temporal dynamics and spatial network information.

Meng: So how does that simultaneous modeling actually translate into a tangible benefit for someone using this system? Does it make the diagnosis faster?

Tom: It gives it richer input because it can capture both how things change over time in fMRI and where those changes are spatially located in the dMRI.

Lu: Each patch, F(k) is an embedding of modality specific temporal fMRI or structural connectivity information, and then they get the unified modality patch space P with cardinality P equal to K plus one elements.

Tom: And they incorporate a lightweight cross modal fusion step using the equation ˜f(k) equals f(k) plus alpha(k) W V s, which adaptively modulates structural connectivity contribution to each functional patch.

Jane: That means that for every time segment, they are blending the structural information in a way that is tailored specifically for that moment.

Lu: And then you have the MCoE module dynamically adjusting expert weights based on class aware representations.

Jane: That means that for every class, the system can dynamically route modality patches to experts that are best equipped for that specific diagnosis.

Conclusion: Tom: So, to wrap up "DynFS-MoE: Dynamic Functional-Structural Mixture-of-Experts for Post-Traumatic Epilepsy Diagnosis," it’s basically a multimodal framework that learns how to combine structural MRI and fMRI data in a dynamic way.

Jane: Right. The big idea is moving past just looking at structure or function by itself because most studies do that, and this system tries to capture the whole picture of how things change over time in both domains simultaneously.

Lu: The methodology involves a timeaware functional-structural encoder that segments the fMRI sequence into K equals T over L nonoverlapping temporal segments as patches, and then they get a unified modality patch space P with cardinality P equals K plus one elements.

Meng: How much computational overhead is this dynamic segmentation adding to the inference pipeline? Because if we’re shipping models, we need to know how much extra work that creates for real traffic data.

Tom: It’s complex, but the routing mechanism is where it gets interesting because it dynamically assigns expert weights using a gating mechanism conditioned on class aware representations.

Jane: So, instead of having one fixed way to process the data, the system decides which expert—which specific combination of functional and structural information—is best for that particular diagnosis.

Lu: The training objective includes a brain interpretability regularizer maximizing conditional mutual information I(P; E Y), which encourages class specific modality routing.

Jun En Ding, Spencer Chen, Henry Noren, Daniel Valdivia, Christine Yohn, Suhina Patel, Taylor Zink, Hai Sun, Feng Liu

Department of Industrial and Systems Engineering, Rutgers University · Department of Systems Engineering, Stevens Institute of Technology Department of Neurosurgery, Robert Wood Johnson Medical School Rutgers University New Brunswick Medical School

cs.CV

Submitted: 2026-06-15

Updated: 2026-10-14

License: http://creativecommons.org/licenses/by-nc-nd/4.0/

Importance score: 92/100

The gist: The gist DynFS-MoE proposes a dynamic multimodal Mixture-of-Experts framework that integrates functional and structural connectivity through time-aware functional-structural encoding and

Key concepts

Time-Aware Functional-Structural Encoder
This component processes fMRI data across time segments and structural MRI data into unified patches. It captures how both the brain's activity patterns and its physical structure change over time, creating a comprehensive input representation for the model.
Mixture-of-Experts (MoE)
The MoE layer uses multiple specialized 'experts' to process information. Some experts focus on specific types of data or interactions, while others capture cross-modal relationships between structure and function. This allows the model to learn diverse patterns simultaneously.
Modality-Class MoE (MCoE)
This routing module dynamically decides which expert is best for a given classification task (class). It adjusts expert weights based on the specific class being predicted, ensuring that the model uses the most relevant information from both structural and functional data for that diagnosis.
Interpretability Regularizer
During training, this mechanism forces the model to learn representations where important brain interactions are clearly linked to the target outcome. It helps identify meaningful regions of interest (ROIs) and temporal segments that are crucial for distinguishing PTE from other conditions.

Terminology

Summary

The gist

DynFS-MoE proposes a dynamic multimodal Mixture-of-Experts framework that integrates functional and structural connectivity through time-aware functional-structural encoding and classconditioned expert routing to address the challenge of early identification in post-traumatic epilepsy (PTE) after traumatic brain injury (TBI)

Introduction to the Problem

Post-traumatic epilepsy (PTE) is a severe complication of traumatic brain injury (TBI) and early identification remains challenging due to the complex structural and functional alterations it induces in the brain. Structural MRI can precisely detect microstructural damage, brain atrophy, and hippocampal or thalamic volume loss. Moreover, resting-state functional magnetic resonance imaging (fMRI) further reveals functional connectivity abnormalities associated with the transition from TBI to PTE, such as thalamocortical hyperconnectivity. However, most existing studies employ only structural MRI [6, 7] or fMRI individually [10–12], focusing on structural damage (such as lesion volume and hippocampal or thalamic atrophy) or functional connectivity abnormalities (such as hyperconnectivity patterns) [8, 13]. Unimodal models generally yield lower predictive accuracy compared to multimodal integration and cannot simultaneously capture temporal dynamics and spatial network information, resulting in insufficient explanatory power for the heterogeneous progression of PTE [14–17].

Framework Components

DynFS-MoE consists of three components: (1) a timeaware functional-structural encoder that extracts temporal fMRI and structural connectivity representations into refined modality patches through segment-wise fusion, (2) a mixture-of-experts layer composed of modality-specific experts and crossmodal experts, which capture both modality-specific characteristics and cross-modal interactions, and (3) a modality-class MoE (MCoE) routing module that dynamically assigns expert weights using a gating mechanism conditioned on classaware representations.

Time-Aware Functional-Structural Encoder

The encoder jointly models the temporal dynamics of fMRI and the structural information from dMRI. The fMRI sequence is partitioned into K = T/L nonoverlapping temporal segments of fixed length L as patches, where each modality patch represents an embedding of modality-specific temporal (fMRI) or structural connectivity information. Specifically, the fMRI temporal patches F = 1(1), F(2), [F(K)] with each F(k) ∈ R x L. For the structural modality, we obtain a compact representation by extracting the upper-triangular entries of the connectivity matrix, denoted as vec△(S) ∈ R R (R+1)/2, where vec△(·) collects elements Si,j satisfying 1 ≤ i ≤ j ≤ R. The projected unified modality patch space is P = f(1),..., f(K), s, with cardinality P = K + 1.

Modality-Specific Experts (MSoEs)

To capture modality-specific characteristics, the framework employs modality-specific MoEs operating on modality patch embeddings pi ∈ P, pi ∈ R D. Given the expert set E, and a gating function computes routing probabilities πj (pi) = Pθ(E = ej P = pi) = softmaxj (Wgpi). The modality-specific representation is calculated with a weighted combination of expert outputs zspec i = PJ j=1 πj (pi) ϕj (pi), which allows different experts to capture heterogeneous modality-specific patterns in functional dynamics and structural connectivity, thereby improving representation expressiveness prior to classconditioned routing in the next Section 2.4.

Modality-Class MoE (MCoE) with Class-Conditioned Routing

The MCoE module enables different classes to learn the most suitable modality representations according to their assigned modality combinations and expert specialization. The input to this module is the set of refined modality patch embeddings Z = 1i=1, where each zi ∈ R D incorporates crossmodal fusion and modality-specific processing from prior layers (Sections 2.2 and 2.3). Class-conditioned routing logits are computed as L = f(Z) ⊙ Φ ∈ R B x P×J×C. The dispatch weights Dijy = exp(Lijy) / P i′=1 exp(Li′jy), which aggregate patches for each expert per class, representing P(Pi Ej, Y = y). The expert input is a weighted sum augmented by class embedding cy ∈ R D with the class-conditioned expert input ujy and expert output ojy can be expressed as ujy = (X P i=1 Dijy · zi) + cy, ojy = ϕj (ujy),. To combine expert outputs into class-specific features, we compute combine weights Cjy = exp(L¯ P jy) / J j′=1 exp(L¯ j′y) via softmax over experts, using logits from meanpooled Z, and we can yield the fused feature hy = PJ j=1 Cjy ·ojy, where class-specific features are concatenated with modality-specific representations and passed to a final MLP classifier for predicting y.

Interpretability Regularizer

The training objective includes a brain interpretability regularizer maximizing conditional mutual information I(P; E Y) = H(P Y)−H(P E, Y). This is calculated using logits L, joint and marginal probabilities are P(Pi, Ej Y) = exp(Lijy) / PP i′=1 exp(Li′j′y), and class-conditioned mutual information (CMI) can be written as Iθ(P; E Y) = X C y=1 P(Y = y) X P i=1 X J j=1 Pθ(Pi, Ej Y = y) · log Pθ(Pi Y = y) · Pθ(Ej Y = y). The overall objective is to minimize the following loss over all model parameters θ: min θ E (F,S,y ∼ D" Lclsfθ(F, S), y − λ Iθ(P; E Y).

Experimental Results and Interpretability

DynFS-MoE achieves the best AUC across all three binary classification tasks and competitive ACC/F1, with the strongest improvements observed for HC vs. PTE and TBI vs. PTE. For HC vs. PTE, DynFS-MoE further achieves statistically significant improvements in both AUC and F1 (p < 0.001), with F1=0.81 outperforming the best baseline MultiViT (F1=0.74). Ablation studies show that class-conditioned routing consistently improves AUC across all tasks, with pronounced gains in TBI vs. PTE (0.79 vs. 0.58) and HC vs. PTE (0.81 vs. 0.72), attributed to its ability to adaptively allocate expert capacity per diagnostic class. Interpretability analyses reveal that PTE consistently exhibits elevated segment importance at early-to-mid temporal segments (notably S2–S4), with cross-modal importance curves peaking sharply at S2 in HC vs. PTE and S4 in TBI vs. PTE, suggesting that early functional-structural interactions are particularly informative for PTE identification. Fig. 2 (B) displays pairwise ROI interaction heatmaps for TBI and PTE across Segments 1, 4, and 7. While both classes share a prominent cerebellar-vermis interaction core, PTE uniquely exhibits progressive recruitment of frontal-occipital (Frontal Med Orb L, Cuneus, Occipital Sup/Inf) and auditory cortical regions (Heschl R) in later segments, reflecting the temporal evolution of thalamocortical hyperconnectivity and limbic-occipital disruptions that distinguish PTE from TBI.

Conclusion

DynFS-MoE provides an interpretable tool for PTE classification and could support future studies on early detection and risk stratification. By combining time-aware functional-structural encoding with classconditioned expert routing, the model adaptively integrates fMRI and dMRI information and captures class-specific brain patterns. This dynamic routing strategy overcomes limitations of static fusion methods and improves discrimination performance across multiple classification tasks. Moreover, interpretability analyses reveal meaningful ROI interaction patterns, such as thalamic hyperconnectivity and limbic disruptions, providing clinically relevant insights. This framework effectively captures class-dependent brain interaction patterns and provides an interpretable approach for PTE diagnosis and risk stratification

References

[1] Michael C Dewan, Abbas Rattani, Saksham Gupta, Ronnie E Baticulon, Ya-Ching Hung, Maria Punchak, Amit Agrawal, Amos O Adeleye, Mark G Shrime, Andrés M Rubiano

[2] GBDTB Injury et al. Global regional and national burden of traumatic brain injury and spinal cord injury

[3] Oliver Acosta and Jaclyn Barcikowski.

Improvements for AI systems

  1. No static fusion baselines are used, as "most existing studies employ only structural MRI [6, 7] or fMRI individually [10–12], focusing on structural damage (such as lesion volume and hippocampal or thalamic atrophy) or functional connectivity abnormalities (such as hyperconnectivity patterns) [8, 13]. The improved system can capture the heterogeneous progression of PTE" by simultaneously modeling temporal dynamics and spatial network information.

  2. Implementation of a time-aware functional-structural encoder allows the model to jointly model the temporal dynamics of fMRI and the structural information from dMRI, enabling refined modality patches through segment-wise fusion. This allows for learning representations where the projected unified modality patch space is P = [f(1),..., f(K), s], with cardinality P = K + 1.

  3. Incorporation of a lightweight cross-modal fusion step, defined by the equation ˜f(k) = f(k) + α(k)W V s, adaptively modulates structural connectivity contribution to each functional patch. This allows the model to learn cross-modal interactions specifically tailored for PTE diagnosis.

  4. The Modality-Class MoE (MCoE) module dynamically adjusts expert weights using a gating mechanism conditioned on class-aware representations. This enables the system to dynamically route modality patches to specialized experts, capturing heterogeneous modality dependencies between classes like HC, TBI, and PTE.

  5. The training objective includes a brain interpretability regularizer maximizing the class-conditioned mutual information I(P; E Y), which encourages class-specific modality routing. This allows the system to produce meaningful regions of interest (ROIs) interactions, such as thalamic hyperconnectivity and limbic disruptions, providing clinically relevant insights.

Abstract

Post-traumatic epilepsy (PTE) is a severe complication of traumatic brain injury (TBI). Yet, early identification remains challenging due to the complex structural and functional alterations it induces in the brain. To address this, we propose a dynamic multimodal Mixture-of-Experts (MoE) framework that integrates functional and structural connectivity through time-aware functional-structural encoding and class-conditioned expert routing. Within this framework, modality-specific and cross-modal experts learn complementary representations, while a Modality-Class MoE (MCoE) module dynamically adjusts expert weights according to each classification objective. Experimental results across three binary classification tasks demonstrate that the framework consistently outperforms static fusion baselines, and high-interpretability analyses further reveal meaningful regions of interest (ROIs) interactions. This dynamic multimodal expert framework effectively captures class-dependent brain interaction patterns and provides an interpretable approach for PTE diagnosis and risk stratification.

Sources

Related papers