FLUX: Geometry-Aware Longitudinal Flow Matching with Mixture of Experts
Josue Ortega Caro, Yongxu Zhang, Hannah M Batchelor, Sizhuang He, Jessica Cardin, Shreya Saxena
TL;DR. FLUX uses geometry-aware flow matching and expert routing to discover latent regimes from unpaired longitudinal snapshots.
Abstract. Many biological systems evolve through continuous local dynamics while switching between latent regimes defined by learning, stimulus context, internal state, or developmental stage. These processes are often observed only as unpaired longitudinal snapshots: the same cells, neurons, or animals are not tracked as matched trajectories, even though population states are sampled across successive stages. This creates two coupled challenges. First, trajectories must respect curved low-dimensional manifolds embedded in high-dimensional biological measurements. Second, the model must identify when the transport mechanism itself changes. Here, we develop FLUX (Flow matching for Unpaired longitudinal data with miXture-of-experts), a longitudinal flow-matching framework that shares the velocity field among a few experts, so that the expert assignment partitions time into candidate stages. FLUX trains the experts and a Straight-Through Gumbel-Softmax router on paths between adjacent marginals, which a learned metric can bend toward the data manifold, and selects their number from held-out transport. FLUX recovers the parameter switch of a regime-switching Lorenz system and separates pluripotent from differentiated populations in embryoid bodies. In widefield calcium imaging of mice learning a visual discrimination task, it separates early and intermediate from late training, a boundary that persists when each animal is fitted separately. These results suggest that transitions in population dynamics may be recoverable from snapshots alone, without tracking individuals or labeling their stages.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:43 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper proposes a longitudinal flow matching method that combines a) geometry-aware data generation with b) a mixture of experts flow field in which different experts correspond to different latent states. They then evaluate this method in a series of real and synthetic data experiments.
Reviewers found the method interesting and overall solid, though they differed in their assessment of novelty and impact. As such, the paper is currently in need of clarification before it would be suitable for acceptance.
In rebuttal, authors should especially attend to the following points raised by reviewers:
- Motivation for distinct dynamical regimes. As noted by multiple reviewers, the definition of "regime" seems to be implicit in the paper rather than explicit, resulting in a weak motivation for the mixture of experts router. In addition, experiments do not necessarily show strong evidence for the existence of these regimes, beyond simply partitioning them in time.
- Losses, hyperparameters, variability, and ablations. Reviewers noted that the combination of techniques and regularizers proposed in the paper result in a somewhat complicated loss function with many hyperparameters. In particular, reviewers asked for
- Discussion of hyperparameter tuning methods and assessment of hyperparameter importance.
- Reporting of variability across model runs.
- Ablation experiments that quantify the relative importance of various loss function terms.
- Middling results for regime discovery. Multiple reviewers note that the multi-regime approach does not necessarily yield interpretable regimes in several datasets, and that the geometry-aware version of FLUX is often outperformed by the geometry-agnostic version. In general, authors should be clearer about where the "wins" for their method are, particularly in situations where regime discovery might be conceptually validated.
Final justification
Authors substantially addressed reviewers' concerns during the rebuttal period. In particular, they provided a more detailed and thorough discussion of hyperparameter selection during training, along with a clearer definition of their dynamical regimes and their modeling potential. While some reviewers remain skeptical of the biological plausibility of some of modeling choices, the consensus is that this represents a solid contribution to the set of methods available for modeling neural dynamics.
Authors should also address a partially hallucinated citation to Schiebinger et al., 2019.
Read meta-review
Meta-review
This paper proposes a longitudinal flow matching method that combines a) geometry-aware data generation with b) a mixture of experts flow field in which different experts correspond to different latent states. They then evaluate this method in a series of real and synthetic data experiments.
Reviewers found the method interesting and overall solid, though they differed in their assessment of novelty and impact. As such, the paper is currently in need of clarification before it would be suitable for acceptance.
In rebuttal, authors should especially attend to the following points raised by reviewers:
- Motivation for distinct dynamical regimes. As noted by multiple reviewers, the definition of "regime" seems to be implicit in the paper rather than explicit, resulting in a weak motivation for the mixture of experts router. In addition, experiments do not necessarily show strong evidence for the existence of these regimes, beyond simply partitioning them in time.
- Losses, hyperparameters, variability, and ablations. Reviewers noted that the combination of techniques and regularizers proposed in the paper result in a somewhat complicated loss function with many hyperparameters. In particular, reviewers asked for
- Discussion of hyperparameter tuning methods and assessment of hyperparameter importance.
- Reporting of variability across model runs.
- Ablation experiments that quantify the relative importance of various loss function terms.
- Middling results for regime discovery. Multiple reviewers note that the multi-regime approach does not necessarily yield interpretable regimes in several datasets, and that the geometry-aware version of FLUX is often outperformed by the geometry-agnostic version. In general, authors should be clearer about where the "wins" for their method are, particularly in situations where regime discovery might be conceptually validated.
Final justification
Authors substantially addressed reviewers' concerns during the rebuttal period. In particular, they provided a more detailed and thorough discussion of hyperparameter selection during training, along with a clearer definition of their dynamical regimes and their modeling potential. While some reviewers remain skeptical of the biological plausibility of some of modeling choices, the consensus is that this represents a solid contribution to the set of methods available for modeling neural dynamics.
Authors should also address a partially hallucinated citation to Schiebinger et al., 2019.
- Rating
- 4/6
- Confidence
- 2/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The authors introduce a framework called FLUX for modeling continuously evolving biological systems observed as unpaired population samples. They extend geometry-aware flow matching to such longitudinal data setups. The main novelty comes from incorporating a regime-switching velocity field where sparse expert routing discovers regimes in the underlying continuous systems. It claims that that the geometry-aware property aids regime discovery for settings where local dynamics induce regime switches. The authors evaluate on both synthetic and biological data, comparing performance trade-offs between transport and regime discovery.
Strengths and weaknesses
The paper is well-written with clear methods descriptions, good figures, and a sound overall structure. The range of evaluations seem sufficient to me. The extension of geometry-aware flow matching to longitudinal marginal chains is sensible and achieved by combining Metric Flow Matching and IMMFM; empirically this is supported especially by the synthetic datasets. The other piece is interesting and - to my knowledge - quite novel: an MoE router where expert assignment is used as an unsupervised regime label. But here I have two issues: first, there is little conceptual reasoning provided here. The existence of MoE and Gumbel-SM is given, but I don't see any reasoning for why the authors thought this was a good and principled idea. All of that is left to the reader themself to imagine. Relatedly, and the second point, the empirical support for this decision seems fairly weak. From what I can tell, it works well for Lorenz but there it matches multiple baselines. For the more relevant bio data, it ties or loses to simpler clustering baselines.
For the next claim, that geometry is very helpful for regime discovery, the paper may be overselling the results. While this claim is well supported by Lorentz, it again does not necessarily seem convincing on the neural data (below K-Means), where I believe the method should theoretically work well due to local dynamics. Altogether, this makes the claim about biological relevance also a bit of a hard sell altogether.
Overall, the paper and evaluations seem sound (aside overstating of results) and I don't want to recommend rejection over the evaluation numbers. But, while the MoE routing use-case is interesting, there is practically no conceptual grounding of this idea. Therefore, the paper does not allow the readers to draw much generalizable insight: e.g. what can we learn about MoEs and their potential use-cases for FM or unsupervised discovery? For me to recommend acceptance, the authors would need to enable readers to learn something broader from the paper despite mediocare results, while calibrating the interpretation of the empirical (non-synthetic) results.
Questions
- Can the authors provide conceptual grounding for their novel MoE use-case? Given such a framework, what can we learn from their experiments?
- Authors share hyperparameters in Table 1 for their method, which uses multiple stages, and MoE is an architecture known for instability and tuning-sensitive (e.g. equation 47). Currently it's difficult to get an understanding for how robust (or sensitive) the method is, and which hyperparameters are crucial. Could the authors provide insight on how this was tuned and model robustness?
- Which results are L271-274 referring to? The results in table 4 don't seem to match?
- Would Contribution 3 not need at least one real bio dataset where regimes switched are determined by local dynamics while FLUX performing better than the clustering baselines?
Limitations
Yes
Final justification
Thanks to the authors for the engagement and additional analyses.
Q1 - This was quite important to me and it's reasonably addressed. The argumentation via Zhu and Lin as well as the few extra findings that are applicable outside of this paper specifically I think make the paper more useful.
Q2 - This was convincingly ablated.
Q4 - Authors conceded here; the method doesn't beat K-means on regime agreement. Its a significant gap, but the offered reframing (boundaries landing within approx. one session) is fair.
The paper needs quite some additions and reframing, but assuming everything is worked through properly I raise my score 3->4.
Formatting concerns
No concerns
3 comments
Thanks to the authors for the additional clarifications and work.
Two brief questions to help me interpret the dense writing:
-
N2: seems to depend on three hyperparameters. How are they chosen? Do you know how sensitive is to them?
-
N4: Why is the decoding for the discovered regime worse than for 'session split into three equal bins'? How to interpret this?
We thank you for the followup questions.
N2. How the three hyperparameters were chosen. , and the gate are implementation defaults, none of them tuned against the phase labels. We tested their influence without retraining, since every eligible snapshot in the seed sweep has its score components recorded: we recomputed under new values, re-ran the selection, and read off which it picks. Reviewer wYP1 raised the same concern, and the same sweep appears in our reply there.
| 0 | 0.05 | 0.1 | 0.2 | 0.5 | 1.0 | 2.0 | |
|---|---|---|---|---|---|---|---|
| selected | 3 | 3 | 3 | 3 | 3 | 3 | 2 |
is selected from to , a twentyfold range around the value we used. multiplies a one-sided excess whose baseline is the best one-hop distance reached early in training, so it fires only if transport degrades later. It does not, and the excess is zero at all 89 eligible snapshots, so from 0 to 100 changes no selection.
At the score reduces to the plain held-out transport loss under the gate, and it still selects , separating it from by against . We will therefore state the protocol in that minimal form, which has no free coefficients: keep the snapshot with the lowest held-out transport loss whose routing forms temporally contiguous blocks. The gate is then the only remaining choice, and it is a contiguity requirement rather than a coefficient. The selection is unchanged for every threshold up to the routing's own contiguity of ; survives and becomes ineligible only above that value, at .
N4. Why the discovered regime decodes worse than equal session thirds. On this dataset the equal-thirds row is not a neutral time baseline. The three behavioral phases happen to occupy comparable spans of the session axis, so splitting the sessions into three equal bins nearly reproduces the ground-truth segmentation, and the row is better read as an upper bound for a three-level predictor of session order than as a null. Comparing each partition to the held-out phase labels, per animal:
| partition | mean ARI against the ground-truth phases |
|---|---|
| equal session thirds | 0.540 |
| discovered regime (label-free) | 0.445 |
Equal thirds agrees with the ground-truth phases better than our label-free discovery does. In two of the twelve animals the phases are exactly equal in length and thirds reproduces the labels perfectly, at an ARI of ; across animals the largest phase holds per cent of sessions, against per cent for a perfectly equal split. Decoding then tracks that agreement rather than anything about the flow: the partition closer to the ground truth, at ARI , decodes at , and the partition further from it, at , decodes at .
We do not claim the discovered regime as a trial-level predictor of behavior. It is a change-point estimate, and the quantity to judge it by is where the boundary falls, a median of one session from each animal's independent behavioral change point. The predictive claim in N4 rests on the neural population state, against for continuous time, with time adding nothing on top. We will make this reading explicit in the caption so the regime row is not read as an underperforming predictor.
We will also relabel the equal-thirds row in the revision. Presenting it as a time null understates what it is on this dataset, where it recovers the ground-truth phases at an ARI of without being told them, and it should be described as a near-oracle bound for a three-level predictor of session order.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
In this paper the authors introduce FLUX, a framework for matching unpaired snapshots of marginal distributions aiming to infer the underlying dynamical model that governs the evolution of the population distributions. The approach is based on geometry-aware flow matching frameworks. In particular, the method employs the geometric component of Metric Flow Matching by learning a data-dependent metric, and uses a network to construct approximate low-energy, manifold-aware bridges. The framework adapts Metric Flow Matching to longitudinal, unpaired marginal sequences and additionally considers a mixture-of-experts velocity decomposition for "regime discovery", i.e. identifying when the underlying flow field changes. For the latter the authors employ Gumbel-Softmax routing and interpret the router’s hard expert assignment as an inferred dynamical regime.
The authors employ the framework on three different datasets:
1] Widefield calcium imaging. The authors use trial-level cortical activity from 12 mice performing a Go/No-Go associative-learning task. Each trial is represented by activity across 41 cortical areas and 11 post-stimulus frames, giving a 451-dimensional vector. They learn a shared velocity field describing how the distribution of mesoscopic activity patterns changes across learning, after aligning sessions by lick-index change points.
2] Stanford Bunny manifold. The authors sample eight marginals along a geodesic on the Bunny surface and embedded in increasingly high-dimensional ambient spaces. The experiment tests whether geometry-aware paths remain on the known surface and interpolate to held-out intermediate marginals better than Euclidean flow matching.
3] A Lorenz system under two parameter settings, both in the chaotic regime.
4] On Embryoid body differentiation. The authors model single-cell RNA-seq snapshots from five developmental timepoints in PCA space. They test whether the inferred experts recover pluripotent, commitment, and differentiated stages from unpaired cell populations.
The problem the paper tackles in interesting and the combination of geometry-aware flow matching with velocity-field decomposition could be potentially useful. However, the current empirical evidence does not fully establish that the proposed framework discovers state-dependent dynamical regimes, rather than temporally segmented labels.
Moreover several mathematical and experimental issues require correction before the central conclusions can be supported.
The overall contribution of the paper is integration and extension of existing components rather than a wholly new transport framework, while the main claims of the paper would be more significant if the experiments established that the experts recover genuinely state-dependent changes in local dynamics. At its current state, the regime labels in the Lorenz, widefield, and embryoid-body experiments are all confounded by time.
Strengths and weaknesses
Strengths
-
The authors evaluate the proposed approach on four distinct application scenarios.
-
The authors make an important distinction between local transport and full-chain transport by reporting adjacent-step, two-hop, and full-chain Wasserstein distances.
-
The problem setting is well motivated.
Weaknesses
-
Limited methodological novelty. The authors should position their method in comparison to existing flow matching methods more concretely (esp. wrt to Metric Flow Matching)
-
The authors claim that one of the contributions of their framework is regime discovery, however, to my understanding, the regime discovery evaluation is confounded by time input and temporally contiguous labels.
-
The application on wide field imaging data to discover learning induce changes in mesoscale population activity does not account for inter-individual differences among animals, especially those differences that may be attributed to the development of different computational mechanisms for solving the task, neither the authors account for such differences during the pre-processing/alignment of the data.
-
The proposed framework trains on adjacent marginal pairs and shares one velocity field across intervals, but it does not optimise a genuinely joint multi-marginal path-space objective. This could potentially miss long-range dependencies.
-
Weak biological interpretation since in the wide field experiment, the inferred regimes are evaluated against behaviourally defined learning phases that were already used for temporal alignment! In embryoid bodies, developmental labels are highly correlated with time point and spatial separation.
-
FLUX without manifold learning matches or outperforms FLUX on several transport metrics in the biological datasets.
Minor
- The word "regime" appears too often both in the abstract and in the main text. I would edit this out.
- Line 27: "frr32om" -> from
- The authors use the letter both for denoting the local interpolation time and the metric exponent.
- The authors denote the number of experts with in the main text and with in the appendix. I assume that since the number of RBF kernels is also indicated by , the authors attempted a symbol change that did not transfer thoroughly through the appendix.
Questions
-
There appears to be some missing factor in Eq. 8 and Eq. 15. If integration happens locally in each segment this should be explicitly pointed out, otherwise the current formulations implies a global time integration and the regressor is wrong as it.
-
What is a "bend network"? it should be mentioned in the main text before the word first appears.
-
The checklist mentions that models were evaluated over five splits, but the tables do not report any standard deviations/errors. Can the authors update these?
-
Eq. 4 defines a coupling, but, to the best of my knowledge, the manuscript does not clearly specify how this coupling is constructed in each experiment. How are the regression targets generated for each dataset?
-
The paper should additionally cite [1], who formulate multi-marginal Schrödinger bridges with iterative reference refinement for unpaired snapshots at multiple time points. This is particularly relevant because FLUX constructs supervision by chaining adjacent two-marginal bridges, whereas Shen et al. explicitly argue that adjacent pairwise fitting can fail to capture long-range dependencies
-
Can the authors comment on the mentioned weakness regarding the confounding of the regime discovery evaluation with temporal input data? Since the router explicitly receives time as an input, how can the authors distinguish whether the experts are discovering changes in the underlying dynamics rather than learning a temporal segmentation?
-
Can the method account for inter-individual differences during learning among animals. I understand that learning rate differences can be accounted for by conditioning on time, but
-
If you fit velocity fields individually for each animal, do the recovered regime boundaries agree across animals in unwarped session time, or only after alignment?
-
The expert assignment is interpreted by the authors as a latent dynamical regime, for instance, they state that, in the widefield calcium imaging experiment, the router separates early/intermediate from late learning, and in the embryoid-body experiment it separates pluripotent from differentiated populations. However, as I understand it, the mixture-of-experts decomposition is not necessarily unique, and different expert parameterisations could in principle result in nearly identical velocity fields. Can the authors potentially provide evidence that the inferred dynamical regimes are identifiable and reproducible, rather than one of many equivalent decompositions? How consistent are the inferred expert assignments across different random initialisations or with different choices of the number of experts? Do the biological insights/conclusions hold among different runs?
-
Do the inferred latent regimes explain additional aspects of the data, i.e., by improving prediction of held-out neural activity, or behavioural variables, possibly beyond what could already be predicted from experimental time or session identity?
-
The method builds on existing geometry-aware flow matching to longitudinal snapshot data, but the empirical comparisons do not consider several closely related trajectory inference methods. How would the proposed method compare against methods such as TrajectoryNet [2], MIOFlow [3], and multi-marginal Schrödinger Bridge approaches[1, 4, 5], which also reconstruct trajectories from unpaired longitudinal observations? A comparison would isolate the contribution of geometry-aware interpolation and mixture-of-experts routing.
-
The authors claim that geometry-aware interpolation is essential for recovering latent dynamical regimes. However, the current ablations compare the full model only against a version without manifold learning, which makes it difficult to disentangle which component is responsible for the observed improvements. (this is also related to the comparison to existing geometry-aware baselines mention in question 11).
-
The setting of geometry aware bridges instead of Eucledian interpolation followed by the learning of a single velocity field reminds me of the framework introduced in [1,2] for single state observations that I think should be mentioned/cited.
References
[1] Shen, Y., Berlinghieri, R., & Broderick, T. (2024). Multi-marginal Schr"odinger bridges with iterative reference refinement. Proceedings of The 28th International Conference on Artificial Intelligence and Statistics, PMLR.
[2] Tong, A., Huang, J., Wolf, G., Van Dijk, D., & Krishnaswamy, S. (2020, November). Trajectorynet: A dynamic optimal transport network for modeling cellular dynamics. In International conference on machine learning (pp. 9526-9536). PMLR.
[3] Huguet, G., Magruder, D. S., Tong, A., Fasina, O., Kuchroo, M., Wolf, G., & Krishnaswamy, S. (2022). Manifold interpolating optimal-transport flows for trajectory inference. Advances in neural information processing systems, 35, 29705-29718.
[4] Rohbeck, M., De Brouwer, E., Bunne, C., Huetter, J. C., Biton, A., Chen, K., ... & Lopez, R. (2025, May). Modeling complex system dynamics with flow matching across time and conditions. In International Conference on Learning Representations (Vol. 2025, pp. 12164-12188).
[5] Chen, T., Liu, G. H., Tao, M., & Theodorou, E. (2023). Deep momentum multi-marginal Schrödinger bridge. Advances in Neural Information Processing Systems, 36, 57058-57086.
[6] Maoutsa, D. (2023). Geometric constraints improve inference of sparsely observed stochastic dynamics. International Conference on Learning Representations (ICLR) 2023 -- Workshop on Physics for Machine Learning (Physics4ML)
[7] Maoutsa, D. (2026). From geometry to dynamics: Learning overdamped Langevin dynamics from sparse observations with geometric constraints. International Conference on Machine Learning (ICML 2026).\
Limitations
Partly.
The authors mention limitations related to higher compute (three trained networks), fixed expert count , while warranting cautious interpretation under noisy/weak sampling.
Yet, they should additionally mention that, as I understand, the reported numbers are single seed experiments (no statistics). Moreover the paper shows that the geometry benefit does not generalise to spatially separable regimes (as in the Embryoid tie). The abstract mentions that the paper "provides a general strategy for discovering latent biological state transitions") should be made more moderate to something along the lines of "a strategy that helps discovering latent dynamics when regimes are encoded in local dynamics."
Final justification
The authors provided a strong and extensive rebuttal with multiple new experiments that addressed the concerns I raised in my review and during the discussion period. Therefore, I am now convinced by the proposed framework and recommend acceptance. I expect the authors to include the comparisons with other frameworks mentioned above, as well as the additional experiments presented here, in the final version of the manuscript.
I think my initial evaluation may have been slightly too strict, driven mainly by my concerns that time could confound the main result of regime discovery and by my personal dislike of some of the terminology used in the paper (I still do not like the terms “bend network” and “router”, although I do not have an issue with the underlying concepts. This is ultimately a matter of personal taste, and I understand that the authors do not want to rename existing objects introduced in previous work.)
One of my main concerns was that, by providing the framework with behavioural information such as session number or by aligning time according to already observed behavioural regimes, the framework was effectively being evaluated on information that had been implicitly provided during training. In the rebuttal, the authors presented results obtained by fitting the framework to meso-scopic neural activity from individual animals without employing additional behavioural information or temporal alignment. They found that by removing this behavioural information did not substantially reduce regime discovery performance [experiment N1]. This fitting individual animals also made it possible to analyse animal-specific vector fields, and the authors report that metrics quantifying vector field divergence correlate with the rate of performance improvement across animals. I find this result interesting and believe that the framework opens the door to further analyses of vector field properties in a more systematic way. I think these experiments are a great addition to the paper.
Regarding my concern that the geometric approximation averages over observations arising from distinct dynamics, the authors provided a convincing answer, and I expect them to mention the case of overlapping states in their final revision of the paper. As a suggestion, they could also try to iterate (at least once) after regime discovery to approximate again the geometry of observation corresponding to each single discovered regime independently, perform the transport and re-discover a vector field, and probably more fine-tuned regime splitting, i.e. they could possibly discover the third undiscovered regimes in figures 4 and 5 ("late" and "regime 2"). This is something that can be included with minor revision in the final paper.
The experiments with the excessive experts that turned out as redundant and the ones in the response of R. where the authors varied the hyper-parameters and was convincing for me that regime discovery is stable and consistent enough independent of hyperparameter choices during fitting.
Very minor suggestion regarding the visualisation of the results (which I forgot to mention during the review): I found the radar plots in Figures 3, 4, and 5 somewhat difficult to read, particularly because they combine metrics for which the optimal value is either 1 (e.g., regime metrics) or 0 (e.g., transport metrics). Radar plots seem to be quite in fashion recently, but I wonder whether a grouped bar plot or point plot, with different colours for the different frameworks, might make the comparisons more immediately accessible to readers. It would also help to keep the ordering and colour assigned to each framework consistent across all figures.
Formatting concerns
no
9 comments
Rebuttal
We thank the reviewer for a rigorous reading. The questions on across-animal alignment and per-animal structure prompted three new analyses of the widefield data, N1, N3 and N4 below; a fourth, the label-free selection of the expert count (N2), is in our response to Reviewer wYP1.
In the submission, animals were placed on a common time axis whose boundaries came from the behavioral phase labels. These new analyses drop that alignment. Each animal's session sits at , its position in that animal's chronological session sequence, with no warping and no alignment across animals. The behavioral phase labels enter neither , nor the router, nor the losses, nor the model selection; they are used only to evaluate the discovered regimes and the fitted fields afterward.
N1. Label-free regime discovery on unaligned sessions, fitted per animal (new, Q6 and Q8). We fit FLUX separately for each of the 12 mice on its own session axis and compare the discovered routing to the held-out behavioral phases.
| fit | segment-ARI | boundary vs. behavioral change point |
|---|---|---|
| pooled over all mice | 0.39 | — |
| per animal, mean over 12 mice | 0.445 | median 1 session |
The comparable value in the submission for aligned data was , so removing the alignment costs essentially nothing, and fitting each animal separately on its own session order recovers more structure than the pooled fit.
N3. Velocity-field diagnostics, per expert and per animal (new, Q7). A regime is by definition a distinct velocity field, so we characterize the fitted fields directly. From the velocity-gradient tensor at sampled states we compute the speed , the divergence , the enstrophy of the rotation , and the -criterion. These are properties of the learned dynamics, so any relation to behavior is a property of the flow rather than of the static state or of time.
On the pooled model the three experts have comparable speed (, , ) but nearly orthogonal mean directions, with pairwise cosines of , and . In 451 dimensions the -criterion is uninformative, since strain and rotation are balanced by dimensionality and ; the quantities that separate animals are speed, divergence and enstrophy. Across the 12 animals, these quantities track how fast each animal learns, measured as the number of days that animal takes to reach each of its two behavioral transitions, early to intermediate and intermediate to late, which the dataset places at the deflection points of the cumulative lick index for the rewarded and unrewarded stimuli.
| field quantity | days to early-to-intermediate | days to intermediate-to-late |
|---|---|---|
| speed (magnitude) | / | / |
| / | / | |
| enstrophy | / | / |
| neural switch session | / | / |
(Spearman / Pearson, .) Animals that reach a transition in fewer days have fields with larger divergence, that is stronger local expansion and contraction of the population state, and the switch session recovered by the router tracks the behavioral transition day. The same ordering appears against the behavioral acquisition slope, where steeper learners switch earlier (Spearman , ). With we report these as correlative relationships; the signs are consistent across both transitions and across Spearman and Pearson.
N4. Single-trial behavioral decoding from the neural state, against time (new, Q6). We test the neural population state that FLUX transports against time as a predictor of single-trial behavior, decoding no-go trials, correct rejection versus false alarm, which is where learning is expressed since the hit rate is near one throughout, leave-one-mouse-out on trials.
| predictor | AUROC |
|---|---|
| session split into three equal bins | 0.68 |
| discovered regime | 0.59 |
| session time, continuous | 0.74 |
| neural population state | 0.81 |
| neural state together with time | 0.81 |
The state reaches against for continuous time, and time adds nothing once the state is included. The experts find the behaviorally relevant part of that structure: the label-free boundary lands a median of one session from each animal's behavioral change point (N1), and the field's speed and divergence track each animal's learning rate (N3). The value of the discovered three-level regime is that it is placed where behavior changes rather than at an arbitrary time.
How the paths and regression targets are built, and the factor (Q4, Q1): Adjacent session marginals are coupled by minibatch optimal transport, giving endpoint pairs . On a local time within the segment we define the conditional path $$ with the geometry-aware correction and a schedule vanishing at the endpoints; the regression target is . Integration is local within each of the adjacent segments, each on its own unit interval. This is the missing point: it is applied in practice but dropped in the written Eq. 8 and Eq. 15, which we will restore.
The bend network (Q2): The term above is the bend network. Given an endpoint pair and a local time it returns a point and tangent that stay on the data manifold, a low-energy bridge under the learned data metric . It is the interpolant of Metric Flow Matching (Kapuśniak et al., NeurIPS 2024), an approximate geodesic of a data-induced Riemannian metric obtained by minimizing its kinetic energy, which we apply per adjacent segment along the chain of marginals; the decomposition of the field into experts is what we add. We will define it at first use and attribute it there.
Standard deviations (Q3): We agree, and we will add mean and standard deviation to all tables. Seed variability at the chosen neural setting is ARI .
Citation of Shen et al. (Q5): We will cite and discuss it. Their method (AISTATS 2025) requires the practitioner to specify only a family of reference dynamics rather than one fixed reference, and alternates between solving Schrödinger bridges between consecutive timepoints and refitting the reference drift by maximum likelihood on the simulated trajectories. The refit reference is a single process shared over the whole trajectory and the output carries no segmentation, so the assumption they relax is that the reference is known in advance rather than that one dynamic governs the chain. Relaxing the second assumption is what the mixture does: we partition the field into experts and return a hard assignment per timepoint. The two are compatible, and expressing a regime decomposition as a reference family in their framework is a concrete future direction.
Inter-individual differences and the vector-field analysis (Q7): See N3. Each mouse has its own velocity field and boundary, the experts are distinct fields rather than one field split by state, and the field divergence separates animals by learning rate. A static clustering of states cannot give such a readout, because divergence is a property of the flow.
Per-animal boundaries in real time (Q8): See N1. Boundaries agree across animals in unwarped session time and track each animal's own behavioral transition, so the agreement is not produced by the alignment.
On the joint multi-marginal objective: The framework does not optimize one, and we will state this alongside the alternatives, which differ in how they couple the chain. Shen et al. (AISTATS 2025) also solve bridges between consecutive timepoints and couple them through a single reference drift refit on all of them. Deep Momentum Multi-Marginal Schrödinger Bridge (Chen et al., NeurIPS 2023) is jointly multi-marginal in phase space, at the cost of caching and backpropagating through whole SDE trajectories. Momentum Multi-Marginal Schrödinger Bridge Matching (Theodoropoulos et al., NeurIPS 2025) is jointly multi-marginal and simulation-free, and states the adjacent-pair restriction as the limitation it removes. Adjacent-pair chaining is the trade we make for simulation-free training on 451-dimensional data with 18 marginals per animal, and we will state the trade rather than leave it implicit.
These constructions add to our model rather than replace it: the expert decomposition acts on the velocity field, whereas a momentum bridge acts on the conditional path that supplies the regression target, so the two occupy different parts of the pipeline. Substituting a momentum multi-marginal bridge for our per-segment path would condition every path on all marginals at once while keeping training simulation-free, removing both the adjacent-pair restriction on long-range dependencies and the kinks left at the session boundaries, and it leaves the router and the label-free expert-count selection untouched. Momentum and the mixture are complementary in the same way: momentum resolves two flows at one position through a continuous coordinate, the mixture returns a discrete regime label with a change point comparable to behavior, and a phase-space mixture would supply both. The geometry is the part that does not carry over for free, since the learned metric is defined on the position coordinate.
On the remaining weaknesses: The geometry-agnostic version matches or beats the full model on transport in the biological data, and we now say where geometry helps: when regimes overlap in state space, as in Lorenz. We will make the minor edits, reducing the frequency of the word regime, fixing the typo on line 27, and making the symbol usage consistent.
I would like to thank the authors for their extensive answers to my and to other reviewer's comments.
I will come back with comments on their rebuttal, but I want to ask some questions to see whether I now understand the framework properly.
If I understand correctly, the expert router is supposed to learn a vector-field (the collective dynamics of the observed system) as it undergoes changes (potentially bifurcations) and thus the dynamics also change.
If this is true, how does the framework seperate the observations arising from each regime for the geometric approximation? I would assume that each dynamical regime could in principle produce a different invariant manifold, but - correct me if I'm wrong here - in the framework the geometric approximation precedes the dynamical regime discovery, or? I would be grateful if you could comment on this.
I wonder if you would include for instance 10 experts and assuming that the underlying dynamics change continuously, would the framework be able to represent finer changes in the dynamics, or would the excessive experts become redundant and never active. I.e., it is not clear to me if by selecting the number of experts one bakes in an implicit bias about the number of regimes to be discovered or not. Thus I would be grateful for more explanation to help me understand this.
Second have you looked at the vector field to see whether indeed (at least in the non-synthetic datasets) you can "observe" some sort of bifurcation or in what way the discovered regimes an different in terms of their dynamics?
Echoing reviewer WQ9P, and in the same vein as my Question 10, I wonder whether the framework could be used not only to identify distinct dynamical regimes, but also to characterise the transition between them, i.e. how fast the vector field change happens, potentially from observing the residuals that hopefully increase near the transition to the new regime etc.
I would be grateful if the authors can comment on these questions that will help me evaluate the framework batter.
We thank you for the followup questions.
1. Does the geometric approximation precede the regime discovery, and could each regime produce a different invariant manifold? Your reading of the order is correct. FLUX is trained in three stages. A metric model is fitted to the pooled trials from all sessions, giving a state-dependent metric that takes neither time nor a regime index. A bend network then learns the conditional path between coupled endpoints as an approximate geodesic of that frozen . Only in the third stage is the velocity field decomposed into experts with a router. The regime structure enters at the level of the flow, and the geometry is estimated before any regime exists.
We chose this order because the two stages estimate different objects. is a support-based metric in the sense of Metric Flow Matching: its role is to keep the conditional interpolant on the data manifold so that the regression target is a plausible tangent. It describes where the data lie rather than how they move, so it can be shared across regimes as long as they share a support.
We tested this on the widefield data. If the regimes occupied distinct regions of state space, a router reading only the state would find them. It does not, giving segment-ARI , while a router indexed on the session recovers the behavioral boundary at mean segment-ARI per animal over the 12 mice. The regimes in these data are therefore not separable in state space, and the pooled metric is not averaging over two disjoint supports.
Your concern is real wherever that condition fails. If two regimes shared a region of state space but lay on manifolds with different local structure at the same , one would average them, and no downstream routing could recover the distinction, because the geometry is fixed before the router exists. We will state this single-metric assumption as a limitation in the revision.
One possible solution would be to condition the metric on observables that are independent of the neural state. The behavior supplies these: the cumulative lick index, the trial outcome and the reaction time are recorded per trial and enter no part of the current model. A metric fitted with them would learn a manifold shaped by the task rather than by neural support alone, and would let the geometry vary across regimes without the router having to supply the split. We will set this out as a future direction, and would welcome your view on which behavioral variable is most informative here.
2. With 10 experts, finer changes or redundancy? We ran the fit, refitting only the velocity stage so that it reuses the same geometry, bend, seed and gate and is comparable line for line with our other fits. Both of the outcomes you describe occur. Six of the ten experts go idle at about one per cent of the routing mass, so the excess experts are indeed largely redundant. The assignment also stops forming contiguous blocks, which destroys the boundary that recovers.
| routing over 18 sessions | 0 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 | 2 7 9 9 7 9 7 9 7 7 7 4 9 7 8 9 7 |
| experts carrying mass | 2 (0.48, 0.48) | 2 (0.43, 0.37), 6 idle at ~0.01 |
| contiguity | 0.9375 | 0.4375 |
| phases discovered | 3 | 14 |
| segment-ARI (pooled axis) | 0.389 | |
| held-out transport loss | 0.229 | 0.268 |
No snapshot passed the eligibility gate, so our label-free score rejects outright, as it does , without consulting any label. The extra experts do not buy a finer decomposition of the dynamics.
On whether bakes in a prior: is an upper bound on the number of experts and a resolution parameter for a piecewise approximation to a field that may vary continuously. If the underlying change is continuous there is no true to recover, and what the score selects is the coarsest description the transport data support at the number of marginals available, which here is 9 to 18 sessions per animal. We will state this reading explicitly in the revision.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 4/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper presents FLUX, a longitudinal flow-matching method that respects the manifold geometry of the data while decomposing the velocity field into a top-1 sparse mixture of expert vector fields, each of which corresponds to a different candidate dynamical regime. FLUX involves three components 1) a geometry model that learns a data-driven metric, which in high dimensions uses an RBF-MLP score rather than RBF score in observation space; 2) geometry-aware path construction via a bend network that takes in endpoints and local interpolation time and outputs an interpolated point and tangent that are consistent with the manifold geometry; and 3) a mixture-of-experts velocity field in which a router selects the appropriate expert given the current state-space position and normalized model time. Each component is trained sequentially, with geometry-aware path points and tangents used to train the flow matching stage. Router training involves multiple penalties to encourage easy-to-understand regime candidates, including batch-level diversity, per-sample sparsity, temporal consistency between samples from nearby timepoints, temporal smoothness between adjacent marginals, and contiguity penalties to avoid rapid temporal oscillations in expert assignment.
On a dataset consisting of 8 marginals on a 3D Stanford Bunny Mesh embedded in spaces of various ambient dimensions, FLUX outperforms IMMFM, a Euclidean multi-marginal flow matching method. On a Lorenz attractor benchmark where the first 4 marginals and last 4 marginals are sampled from different parameter regimes, FLUX achieves low 1-, 2-, and full-chain Wasserstein distances (WD) between the ground-truth and flow-transported marginals. It also achieves near-perfect alignment between expert assignment and the "true" regime labels, outperforming a geometry-ablated FLUX baseline, adjacent/longitudinal marginal flow matching baselines, and spatial clustering baselines. FLUX without the geometry-aware components collapses the dynamics to a single expert on this benchmark, showing the necessity of geometry-aware paths for recovering spatially overlapping but temporally separate dynamical regimes. On longitudinal neural recordings from multiple animals, FLUX identifies a putative switch in dynamical regimes between early-intermediate and late learning. On RNA-seq data from embryoid body differentiation where stages are more spatially separated, FLUX again infers regimes that align with existing stage labels. Across both real datasets, FLUX generally matches or outperforms most flow-matching baselines on transported marginal WD, and clustering baselines on metrics that quantify alignment with existing labels.
Strengths and weaknesses
Combining flow matching for manifold data with dynamical regime discovery could provide considerable insight into biological datasets with unpaired longitudinal observations. I thought the two synthetic datasets chosen were quite suitable to illustrate the capabilities of FLUX. I found the comparisons to existing methods very thorough and the claims made in the paper were well-supported. While a few highly specialized baselines outperform FLUX on specific datasets, FLUX is the only method presented that simultaneously learns a flow-field and performs dynamical regime discovery, and small hits to transport and regime-discovery performance are acceptable given the gains in interpretability from combining the two in a single method. My main concern is sensitivity to/selection of hyperparameters given the complexity of the training process. This and other less score-driving concerns are listed in the Questions section below.
Questions
Major
The method is interesting and the validation is quite rigorous, my only score-driving concern below is whether the method is very sensitive to hyperparameters, how hyperparameters would be selected for novel datasets, and sensitivity of training to randomness in initialization. The remaining concerns are not substantially score-driving since I believe the method can provide meaningful insight into biological datasets regardless, but answering them would still benefit the presentation of the method.
-
FLUX has many hyperparameters, especially for router training, including the objective coefficients and the dimensionalities of various components, e.g. the RBF-MLP. How sensitive are the results in the paper to different choices of hyperparameters, and how were the hyperparameters in the Appendix selected for each dataset? Were these obtained from a standardized tuning procedure/objective that could be used to select hyperparameters for novel datasets? The checklist states that failure modes are present in the supplement and Appendix, but I could not find it.
-
More of a conceptual question: what do the authors consider to be a "dynamical regime"? Can a single regime be active for non-contiguous time segments (e.g. what FLUX recovers in Figure 4D)? To me this is not well defined even for the synthetic data since a single, sufficiently complex differential equation could in theory describe qualitatively different dynamics in disjoint regions of state space, even if the code that generated them used multiple different equations. I think there is a clear answer when the regimes are not spatially disjoint, since the same point in state space would have multiple possible flow directions, and thus need different experts to model different flows through that point. But it is not clear to me, generally, what constitutes a dynamical regime, how to tell if an expert has combined multiple spatially disjoint dynamical regimes. I don't think there is necessarily a correct answer, but I think the method would benefit from giving a precise definition and showing that trained experts do each correspond to a single regime.
-
The checklist states that the reported performance metrics are averaged over 5 splits, but standard deviations are not presented. What is the justification for this given that models were already trained multiple times?
-
Did the authors perform any experiments where FLUX is given more experts than were used to generate the synthetic data? It doesn't seem that the per-sample sparsity penalty would discourage fragmentation of a single regime's flow field into spatially piecewise components in this context. I suppose that the total-variation penalty could discourage fragmentation, but it seems that the diversity penalty may compete in this context depending on the coefficients.
-
Did the authors perform ablation studies of the loss terms in the router training? The full router objective has quite a few terms, some of which seem to slightly overlap in their purpose. Are all of these necessary? Reducing the number of terms could reduce the amount of hyperparameter tuning needed and thus improve the usability of the method.
-
What does it mean that FLUX combined some existing regime labels into a single expert for the biological datasets? It may be helpful to assess whether the combined regime labels do have qualitatively similar dynamics?.
Minor
- Results section 5.2 says IMMFM achieves the lowest WD distances, but Table 2 and Figure 3B show that FLUX achieves lower 1-hop, 2-hop, and full-chain WD
Limitations
yes
Final justification
I will maintain my score.
The authors addressed my concerns about hyperparameter tuning by reducing the number of terms in the routing training objective, and developed a new validation objective for selecting hyperparameters. They also provided standard deviations for the results metrics in the paper and added additional metrics to support their claims about similar neural dynamics/behavior during the early and intermediate epochs of the mouse calcium imaging data.
The authors also clarified what they meant by a dynamical regime: " A regime is a maximal contiguous interval of the session axis on which one velocity field is the best local model of the transport. Two flows in disjoint regions of state space traversed at the same time belong to one expert, because a single can take different values at different ." I am unsure whether combining two flows in disjoint regions into a single expert is the most biologically interpretable definition, since the biology underlying the two regions could be quite different, even if they occur at the same pseudotime. Given this and that the model takes pseudotime as an input rather than routing based solely on the dynamics, I can't say I am enthusiastic about the interpretability of the discovered regimes, which leads me not to raise my score despite the other improvements made by the authors. I do think the model could still yield some biological insights and am no longer concerned about the number/selection of hyperparameters, which is why I am maintaining a recommendation to accept the paper.
Formatting concerns
none
5 comments
Rebuttal
We thank the reviewer for their feedback, and for isolating hyperparameter sensitivity as the concern that drives the score. Two new analyses answer it: a label-free protocol for choosing the number of experts (N2), described in full below, and per-animal regime discovery on unaligned sessions (N1), described in our response to Reviewer hHAA.
N2. Label-free selection of the number of experts (new, Q1 and Q4). We keep the training snapshot minimizing $$ where is the held-out transport loss, measures how much the routing forms temporally contiguous blocks, and is the excess one-hop Wasserstein distance of the transported marginals over a baseline. A snapshot is eligible only if and the number of discovered regimes equals . No term reads the phase labels. For each we take the best score over three seeds, and we read segment-ARI at the snapshot the score keeps.
| number of experts | segment-ARI (three seeds) | mean | score | chosen |
|---|---|---|---|---|
| 2 | 0.03, 0.03, 0.03 | 0.03 | 0.198 | no |
| 3 | 0.39, 0.39, 0.51 | 0.43 | 0.136 | yes |
| 4 | 0.45, gate failure, 0.45 | 0.45 | 1.366 | no |
| 5 | gate failure at every seed | — | rejected (gate) | no |
The score selects and separates it from by an order of magnitude, against , with failing the eligibility gate at one seed of three and failing it at every seed. Segment-ARI alone does not separate from on the seeds that stay eligible, against , which is why the expert count is set by the score rather than read off the routing. At the result is stable across seeds and across the routing temperature ( gives segment-ARI , unchanged) and the learning rate ( gives at a lower score of ). N1 then fits each of the 12 mice separately on its raw session order, giving mean segment-ARI with the boundary a median of one session from each animal's behavioral change point.
Hyperparameters, selection on new datasets, and initialization (Q1): Selection is by the score of N2, with no labels in any term, and is the smallest over the sweep. The same protocol transfers to a new dataset without labels, since every quantity in is computed from held-out transport and from the routing itself. We will add the sweep and the protocol to the appendix.
What a dynamical regime is (Q2): A single velocity field assigns one flow direction to every state and time, . When two latent regimes traverse the same region of state space with different local dynamics, one field cannot represent both, so we decompose the field into a mixture of experts with a router that selects one expert per point, $$ and read the hard assignment as the inferred regime. A regime is then a contiguous interval of model time on which one expert is the best local model of the dynamics, so regimes are joint state-and-time objects rather than clusters of points. The submission already contains the case that requires this: in the Lorenz and mixture-of-marginals experiments the regimes overlap in state space, so the same state carries different flow at different times, and a single cannot express it without averaging the two into one field. The limitation of a uniform ODE is established: Switched Flow Matching (Zhu and Lin, ICML 2024) traces it to the existence and uniqueness of solutions to the initial value problem, which prevents a single flow-matching ODE from transporting between two distributions that are individually simple but jointly heterogeneous, and replaces the uniform ODE by switching ODEs. Their heterogeneity is between a source and a target distribution and ours is between successive regimes along a chain, but the remedy is the same, a set of fields with a selector in place of one field, and in our case the regimes are recovered without labels and indexed on time. The new analyses have the same property and now show it on the neural data, where the three fitted experts have nearly orthogonal mean velocity directions, with pairwise cosines , and (N3). A temporal-smoothness term biases routing toward contiguous activation, and where the router still fragments a regime the score and the effective expert count detect and discard that configuration.
Standard deviations (Q3): We agree. The N2 table reports per-seed variability, and we will add mean and standard deviation to all quantitative tables.
More experts than the generating process (Q4): Over-provisioning is caught by the score rather than by the routing quality. Against a three-regime process, fails the eligibility gate at one seed of three and scores against for , and fails the gate at every seed; on the seeds that stay eligible, segment-ARI at does not fall below (N2). The reason over-splitting is not self-correcting is capacity: a single expert with hidden sizes already fits the whole velocity field on Embryoid Body, at validation MSE , flat from down to and degrading only at . With that much spare capacity and no structural bias the model routes everything to one expert, and reducing per-expert capacity alone does not induce regime-aligned specialization. The expert count has to be set by the score.
Model selection and the loss terms (Q5): Model selection is the score of N2, computed without labels. Dropping one component at a time from the full recipe, at three experts on the unaligned pooled axis and seed , where the full recipe gives segment-ARI (N2): replacing by the plain validation loss leaves segment-ARI at , removing the unsupervised routing warmup leaves it at , and replacing loss-free balancing by an auxiliary load-balance loss gives . All three stay inside the seed-to-seed range of the full recipe, to , so no single one of them is load-bearing. The single-expert collapse the reviewers anticipate comes from the router input: with a router that reads the state instead of the session index, segment-ARI falls to , both per animal on these data and on Embryoid Body. The essential ingredients are therefore time-indexed routing and the score , which sets the expert count; the sharpening terms are secondary and we will prune them.
Merged regime labels (Q6): The model recovers the intermediate-to-late boundary but merges early and intermediate into one expert, because those phases share stimulus-generalized cortical dynamics and behavior does not separate them either. In N1, across the 12 per-animal fits on unaligned sessions, the boundary sits a median of one session from each animal's behavioral change point, at mean segment-ARI . We will state this in Section 5.3.
Section 5.2 wording (minor): Thank you, this is a text error; we will correct Section 5.2 to match Table 2 and Figure 3B, where FLUX attains the lower one-hop, two-hop and full-chain Wasserstein distances.
I appreciate the your attempts to address my comments. I still have concerns about each of my original questions:
N2. Label-free selection of the number of experts (new, Q1 and Q4). This partially addresses my concerns about hyperparameter selection, however it introduces two new hyperhyperparameters in the coefficients and . How were these chosen, how much do they need to be tuned for different datasets, and how invariant is the identity of the "best" FLUX parameters to changes in these values?
What a dynamical regime is (Q2). It seems that you did not understand my question. From the explanation in the paper, I already understood the mathematics of routing to the different experts and that the answer is simple for experts with spatially overlapping activations. However, how do you know whether two spatially disjoint flow fields should be learned by a single expert or by separate experts? This could significantly impact interpretability of the dynamical regimes, which is framed as the paper's primary contribution. Answering this requires a more precise conceptual definition of what a dynamical regime is (perhaps in terms of the biology).
More experts than the generating process (Q4) I find this explanation fine, but see the above question about how you know whether disjoint fields should be combined into a single expert or not.
Standard deviations (Q3) You should report these during the author-reviewer discussion period in the rebuttal text, as they are important to assess whether performance differences between FLUX and baselines are larger than the variability in performance metrics for each method.
Model selection and the loss terms (Q5) Can you provide an updated routing loss equation that details exactly which loss terms will be retained? And comment on how coefficients for these terms were searched over (I understand that is the objective for tuning, but what is the hyperparameter search space/strategy? grid or random grid search over the full set of original hyperparameters would be quite expensive/impractical given the number of hyperparameters)
Merged regime labels (Q6) Can you provide some quantitative metrics to support the claim that the merged phases share dynamics and are not separable by behavior? Beyond just the finding that FLUX combines them into a single expert
We thank you for the followup questions.
Q1. The coefficients and . , and the gate are implementation defaults, none of them tuned against the phase labels. We tested their influence without retraining, since every eligible snapshot in the seed sweep has its score components recorded: we recomputed under new values, re-ran the selection, and read off which it picks.
| 0 | 0.05 | 0.1 | 0.2 | 0.5 | 1.0 | 2.0 | |
|---|---|---|---|---|---|---|---|
| selected | 3 | 3 | 3 | 3 | 3 | 3 | 2 |
is selected from to , a twentyfold range around the value we used. multiplies a one-sided excess whose baseline is the best one-hop distance reached early in training, so it fires only if transport degrades later. It does not, and the excess is zero at all 89 eligible snapshots, so from 0 to 100 changes no selection.
At the score reduces to the plain held-out transport loss under the gate, and it still selects , separating it from by against . We will therefore state the protocol in that minimal form, which has no free coefficients: keep the snapshot with the lowest held-out transport loss whose routing forms temporally contiguous blocks. The gate is then the only remaining choice, and it is a contiguity requirement rather than a coefficient. The selection is unchanged for every threshold up to the routing's own contiguity of ; survives and becomes ineligible only above that value, at .
We have shown this on one dataset and cannot claim the plateau transfers, and we are happy to run the same sweep on Lorenz and Embryoid Body during the discussion period.
Q2. When two spatially disjoint fields belong to one expert. Our criterion is temporal, which our first reply did not make explicit. A regime is a maximal contiguous interval of the session axis on which one velocity field is the best local model of the transport. Two flows in disjoint regions of state space traversed at the same time belong to one expert, because a single can take different values at different . Two flows through the same region at different times require two experts, because one field cannot. Experts are individuated by when rather than where, and the router in the runs we report reads only the session index, which makes that explicit rather than emergent.
We ask when the cortical population flow reorganizes over learning, so the object we want is a change point in time, and a regime is a stretch of learning over which the direction of population flow is stable. That is what we validate against: the discovered boundary lands a median of one session from each animal's independent behavioral change point, and a single global field's transport residual is largest at exactly the discovered boundaries, the top two of eight fully covered segments at against a non-boundary mean of .
If two spatially disjoint flows are active at the same time, in different subpopulations for instance, FLUX assigns them to one expert and represents them with one averaged field. It performs a temporal decomposition, not a spatial mixture decomposition, and should not be read as the latter; we will state that as a limitation. When to split is decided by the label-free score: an extra expert is justified only if it lowers held-out transport while keeping the routing temporally contiguous.
Comments on the paper
2 comments
Dear reviewers,
We hope our rebuttal has addressed your concerns. Please let us know if you have any further questions. Thank you for your time and consideration.
Best,
All authors
Dear reviewers,
We hope our followups were able to clarify your questions about our manuscript. Thank you for your time.
Best,
All authors
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
We thank the reviewer for their feedback. Three new analyses address the request for a general lesson and for a biological result on real data: per-animal label-free regime discovery on unaligned sessions (N1), velocity-field diagnostics related to each animal's learning rate (N3), and single-trial behavioral decoding from the transported neural state (N4), all described in full in our response to Reviewer hHAA.
Fitting each of the 12 mice on its raw session order, without labels, the discovered boundary lands a median of one session from that animal's independent behavioral change point, at mean segment-ARI 0.445 (N1). The divergence of each animal's fitted field predicts how quickly that animal learns, Spearman −0.72 against days to the intermediate-to-late transition, and the three experts are distinct fields with nearly orthogonal mean directions (N3). The transported neural state predicts single-trial no-go behavior at AUROC 0.81, against 0.74 for continuous session time, held out across animals (N4).
Conceptual grounding, and what we learn (Q1): A single velocity field x˙=v(x,t) cannot represent a state that carries a different flow in different regimes. Switching between ODEs rather than fitting one uniform ODE is the established remedy for this class of limitation: Switched Flow Matching (Zhu and Lin, ICML 2024) traces it to the existence and uniqueness of solutions to the initial value problem, which prevents a single flow-matching ODE from transporting between two distributions that are individually simple but jointly heterogeneous, and eliminates the singularity by switching. Their heterogeneity is between a source and a target distribution; ours is between successive regimes along a chain. A top-one mixture of experts, $v(x,t)=∑k=1Kgk(x,t)vk(x,t),r(x,t)=argmaxkgk(x,t),$ is the minimal device that lets the same state carry different dynamics at different times, and the hard assignment r estimates the active regime. An over-provisioned mixture collapses to one expert unless the expert count is set, and it can be set without labels by a transport-based score. For temporally defined regimes the router must read time rather than state, or it collapses. The learned field also yields readouts a clock does not: the field divergence predicts each animal's learning speed, and the transported neural state predicts single-trial behavior beyond time. We will add this grounding to the introduction and discussion.
Robustness and tuning (Q2): The label-free score J=Lval−λC+βW selects the number of experts without labels, choosing three on the neural data, and the result is stable across seeds and across the routing temperature and learning rate (N2, in our response to Reviewer wYP1). The choices that matter are time-indexed routing and this score; a term-by-term ablation shows that the checkpoint criterion, the routing warmup and the balancing scheme each leave segment-ARI inside the seed-to-seed range of the full recipe, and that the sharpening penalties are secondary. The instability the reviewer expects appears at four and five experts as failures of the eligibility gate, and the score rejects those configurations rather than hiding them.
Lines 271 to 274 and Table 4 (Q3): Thank you, this is a cross-reference error; we will reconcile the text with the correct table and fix the numbers.
A real dataset where local dynamics set the regimes, and the comparison to clustering (Q4): On the regime-agreement metric alone, FLUX does not exceed a K-means baseline, and we will state that in the paper. What the model adds is that it learns the geometry-aware transport and discovers the regimes in one fit, and that those regimes are validated against behavior on the raw session axis: the label-free boundary lands within one session of each animal's independent behavioral change point (N1), and the field divergence predicts each animal's learning speed, Spearman −0.72 (N3). A clustering of static states does not model the flow and cannot give a learning-rate readout of this kind. Multi-marginal Schrödinger-bridge methods (Shen et al., AISTATS 2025; Chen et al., NeurIPS 2023) recover the trajectory through all the marginals but learn one dynamic for the whole chain and return no segmentation; their path constructions are complementary to ours rather than competing, as we set out in our response to Reviewer hHAA. The methods that do return a segmentation, the clustering baselines we report and HMM, model a sequence or a cloud of states rather than the transport between successive population marginals, and they yield a segmentation without a velocity field, so no field-derived readout follows from them. FLUX occupies the remaining case, joint transport and regime discovery on unpaired longitudinal populations. That the transported neural state also predicts single-trial behavior beyond time, 0.81 against 0.74 (N4), indicates the dynamics are behaviorally structured rather than a relabeling of the clock.