- Rating
- 5
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper concerns optimal transport (OT) of samples based on distributions observed at more than two time points. It considers an augmented space of , where is the position and is the velocity of a sample, and proposes optimization of the acceleration of the transport plan, following similar approaches in Refs [5,11, 56]. The theoretical underpinnings of the method come from classical mechanics, where the task is treated as a flow matching problem. Since velocity is typically not observed in practical applications, the paper proposes an iterative algorithm to estimate conditional velocities: (i) given velocities for samples, compute transport cost, which has an analytical solution per sample (a third-order polynomial), (ii) update velocities for the current transport plan. Then, the method trains neural networks to perform flow matching of the acceleration. The resulting OT method is demonstrated on synthetic data and datasets from biology. Performance is quantified as the discrepancy (Wasserstein distance) between generated and true distributions.
Strengths and weaknesses
Strengths:
- The paper brings a grounded classical mechanics perspective. The setup is similar to Refs. 11, 56.
- Many steps of the final OT algorithm are supported by formal proofs.
- Favorable experimental results across synthetic and real datasets when compared against relevant baselines.
Weaknesses:
- The generative model is deterministic. There is no noise model in the DOAT and VM-DOAT setups.
- Conditional probability paths (Eq. 14) have constant variance over time, which is unlikely to be true in biology datasets.
- The proposed method appears computationally more demanding than the baselines. If so, it is possible that it may not scale to large datasets or other methods could benefit from repeat runs, etc. I think a comparison or an analytical discussion on compute and memory use is needed.
- Since this is a second-order method and involves velocity estimation, it would be useful to report and for the last and/or first time points separately.
- Please provide more details on how biological priors are incorporated to both the proposed method and the baseline methods. Also please provide the results when biological priors are not incorporated as well.
- It would be useful to cite the papers for the datasets as well as the baseline methods in the main text.
Questions
- How are chosen in Eq. 14?
- (line 211) Is this iterative algorithm guaranteed to converge?
- (lines 131-134) I'm confused about this paragraph: is this property still satisfied in the final algorithm that uses Eq. 19?
Limitations
Yes.
Paper formatting concerns
No.
Final justification
I thank the authors for their responses. I updated my score and the contribution type.
We thank the reviewer for recognizing the classical-mechanics perspective, the theoretical analysis, and the empirical performance of TracingFlow. We address each concern below.
[W1] We agree with the reviewer that the current TracingFlow model is deterministic at inference time, there is no explicit diffusion term in either DOAT or VM-DOAT. Randomness enters through sampling the initial state and pushing the resulting distribution through the learned flow. Consequently, TracingFlow can represent complex time-dependent marginal distributions, but it cannot represent intrinsic process noise that produces stochastic branching from exactly the same augmented initial state. Many Flow Matching methods currently applied to single-cell biological data, such as VGFM [R2] and WFRFM [R3], also use a deterministic setting. Moreover, the current method is intended primarily for population-level trajectory inference, particularly in lineage-tracing settings. We will state this modeling scope explicitly and discuss stochastic second-order dynamics as an important extension.
[R2] Joint Velocity-Growth Flow Matching for Single-Cell Dynamics Modeling, Dongyi Wang, ...
[R3] WFR-FM: Simulation-Free Dynamic Unbalanced Optimal Transport, Qiangwei Peng, ...
[W2, Q1] We would like to clarify that the Gaussian distribution in Eq. (14) is not an assumption about how the variance of a true biological population evolves over time. It is a deliberately constructed conditional probability path in Flow Matching, chosen to facilitate sampling and regression. It therefore has a mathematical smoothing role rather than the interpretation of a biological observation-noise model. Let
s=(x,v),mz(t)=(mx(t),mv(t)),Σ=diag(σx2I,σv2I).
Although the conditional covariance for a fixed trajectory condition z is time-invariant, Cov(st∣z)=Σ, the marginal probability path is a mixture of conditional paths:
ρt(s)=∫ρt(s∣z)q(z)dz.
By the law of total covariance,
Covρt(st)=Eq(z)[Cov(st∣z)]+Covq(z)(E[st∣z])=Σ+Covq(z)(mz(t))
The second term generally changes substantially with time. Therefore, TracingFlow does not assume that the population variance is constant across biological time points. We will add this explanation immediately after Eq. (14) to distinguish the user-specified conditional smoothing variance from the biological population variance.
Accordingly, σx and σv control the smoothing of the conditional path and the corresponding regression targets; they are not estimates of observational noise. In the practical algorithm, we always consider each particle as a Traveling Dirac, which means taking σx→0,σv→0. In this case, according to Proposition 4.7, the distribution reconstructed by Flow Matching will be consistent with the true distribution.
[W3] To empirically examine the scalability of our algorithm, we constructed a new simulated dataset: at each time step, 500 data points are sampled from a 500-dimensional Gaussian distribution. The training time and peak GPU memory usage for each algorithm are presented below (for a fair comparison, all algorithms used the same 4-layer MLP to regress the velocity or acceleration fields, and the batch size during regression was uniformly set to 2000):
The training time of our algorithm (TF) is shorter than that of CAF and 3 MSBM, which are also second-order Flow Matching methods. Therefore, TF's iterative process of solving for the velocities at each time step and the Optimal Coupling does not incur a longer runtime; instead, it reduces the overall runtime because it avoids the repeated fitting of the acceleration field required by 3MSBM.
TF's peak memory usage is comparable to that of 3 MSBM. In our algorithm, the step that leads to a higher peak memory usage occurs during the iterative solving of velocities and the Optimal Coupling. Specifically, to obtain the empirical velocity distribution for updating the velocities (Lines 218-226, Lines 238-243), we store a large number of trajectories sampled according to the computed coupling and build a large linear system to solve for the velocities at each time point on these trajectories, before averaging them. If memory usage is a concern, one could opt to save a smaller number of trajectories at a time to solve for the velocities and use a rolling update for the mean velocity at each point. However, this might slightly extend the training time as it would not fully utilize the speed advantage of parallel matrix computation on the GPU. We will provide an option for users to select this memory-efficient mode in the final version of our code.
Furthermore, theoretically, in each iteration of computing the optimal coupling and velocity, the complexity of calculating the optimal coupling corresponds to the complexity of computing Optimal Transport using the Sinkhorn algorithm. Assuming the source and target domains have n and m points respectively, and the number of minibatches is B, the time complexity is O(Bnm). The estimation of the optimal velocity is achieved by solving a linear system VA=B, where A is a tridiagonal matrix (Prop 4.8). Therefore, the time complexity of computing the optimal velocity for a single trajectory is O(K), where K is the number of time points, and the time complexity of computing the velocities for all T trajectories is O(TK).
[W4] In the appendix (Tables 4-11), we report the W1 and W2 distances at all time points (including the final time point) for all experiments in the main text. Since our inference starts from the data points at the first time point (t=0), we do not need to report the results for the first time point. The distribution reconstruction performance of TF is better than other algorithms at the vast majority of time points. To alleviate your concerns, we also checked the accuracy of our algorithm's velocity estimation. We used the simulated data constructed in Section B.3, Lines 728-731, and calculated the Wasserstein distances between the marginal velocity distribution provided by the algorithm and the true marginal velocity distribution as follows:
The mean values of the true velocities and the estimated velocities in the x and y directions are as follows:
At the first three time points, our algorithm's estimation of the (implicit) velocity is highly accurate. Over time, errors in velocity estimation begin to appear.
[W5] The baselines used in this paper are all Flow Matching algorithms and their variants, which require a neural network vθ(x,t) to regress the velocity field. We incorporate biological priors into each baseline method by adding barcodes as conditions to the neural network, learning a barcode-specific velocity field vθ(x,t∣b). Without adding biological priors, the performance of each baseline algorithm in the corresponding experiments of Table 3 in the main text is as follows:
For most algorithms, the Lineage-Weighted W1 and W2 distances after incorporating biological priors are lower than those without biological priors. We reported the results with biological priors incorporated in the paper to ensure a fairer comparison.