- Rating
- 4
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper proposes SDFlow, a flow matching framework for non-autoregressive generation in the latent space of a frozen VQ-VAE. Via low-rank manifold decomposition (UV) and kernel-smoothed anchor prior, the method reduces the high-dimensional transport problem to local interpolation near the manifold, and incorporates discrete code supervision into continuous ODE dynamics through categorical cross-entropy. Experiments on multiple sequential benchmarks show improved Discriminative Score and Context-FID over autoregressive baselines (especially for long sequences), with 3–10× inference speedup. The core motivation is to mitigate error accumulation and distribution shift caused by the autoregressive paradigm in SDformer, while significantly reducing inference latency.
Strengths and weaknesses
Strengths
- This work addresses the error accumulation and distribution shift issues of the autoregressive paradigm in SDformer.
- The proposed SDFlow achieves superior generation quality and notable efficiency advantages.
- Overall, the theoretical analysis and experimental validation are comprehensive and well structured.
Weaknesses
- Discrepancy between training loss in the paper and code implementation. Equation (13) and Algorithm 1 only include , while the compute_loss function in code additionally adds structure_loss (which aligns the distance matrices of U and z within a batch via L₂ norm) and Manifold Mixup with a default probability of 50%. Neither component is described in the main text or appendix algorithms, making it unclear whether the main results rely on these undisclosed components.
- Timestep sampling does not match the appendix algorithm. Algorithm 1 in line 541 states $t \sim \mathrm{Beta}(2,5) $ during training, whereas the code samples from Uniform(0,1) followed by cosine warp. The paper emphasizes concentrated sampling in the small-t region to accommodate the velocity singularity; this implementation deviation may affect the training distribution and the validity of the approximation in section 4.2.
- KDE anchor prior hyperparameters deviate significantly from the paper. The main text and Table 5 specify bandwidth h = 0.06 for the Energy dataset (selected from [0.03, 0.20]) in line 268, and Algorithm 2 calibrates h based on mean nearest-neighbor distance. However, bandwidth_factor=0.001 in the evaluation script results in nearly zero perturbation, which may reduce KDE to random anchor copying. This is inconsistent with the "kernel-smoothed prior" claim and the comparison logic of the KDE-only baseline in Table 6.
- Line 202 of the paper mentions fixed sinusoidal positional encoding for timestep t, but such encoding appears to be absent in the code implementation.
Questions
- Please clarify whether structure_loss and training-time Manifold Mixup are part of the formal method. If they are merely engineering tricks, please revise the paper to align the description with the code implementation.
- What is the actual distribution of training timestep $t \sim \mathrm{Beta}(2,5) $ or uniform with cosine warp?
- How does the KDE bandwidth h=0.06 on the Energy dataset correspond to bandwidth_factor=0.001 in the code? Under this setting, h seems unable to fall within the range [0.03, 0.20].
- VQ-VAE is increasingly used in time series generation, though time series are inherently continuous. What is the fundamental reason for adopting VQ-VAE here? Is it to facilitate subsequent autoregressive modeling, or does it yield better reconstruction quality from latent space than standard VAE? Notably, the video generation field has fully adopted VAEs for continuous frame modeling.
My current rating is mainly driven by the observed mismatches between the paper details and code implementation. If the authors can provide reasonable explanations, this paper is fully worthy of acceptance. This paper is well done.
Limitations
yes
Paper formatting concerns
Void
Final justification
The author's response resolved the vast majority of the issues. As discussed with the author, I'm willing to slightly increase my score.
Reviewer DAN6
We sincerely thank the reviewer for the careful implementation audit. The executable training path reflects the final objective, scheduler, and timestep conditioning, while several manuscript descriptions retained earlier wording. For evaluation, the reported tables use recorded per-dataset configurations, while the public entry exposes a configurable sensitivity setting. We answer each point directly and will align the revision accordingly.
Q1.
L_strand Manifold MixupBoth are training-time regularizers in the final implementation and should have appeared in Eq. (13) and Algorithm 1.
L_strmatches normalized within-batch pairwise-distance matrices ofUand the target VQ latents; its coefficient 10 balances its smaller numerical scale relative to CE. Mixup (p=.5) interpolates coordinate/endpoint pairs with corresponding soft categorical targets. Neither changes the architecture, parameter count, sampler, or inference latency.The requested controlled Energy ablation keeps the architecture, prior, solver, budget, and evaluation protocol fixed:
L_strAll variants achieve nearly identical final quality, while the complete recipe reaches the fixed CE endpoint 2.5k steps earlier than using neither regularizer. Thus the reported performance does not rely on these training-time regularizers; their primary benefit is faster optimization, without any extra inference component or model capacity.
Q2. Actual timestep distribution
Beta(2,5) was used in an early implementation and remained in Algorithm 1 after the final code moved to
u∼U(0,1), t=1−cos(πu²/2). Both schedules have full support and emphasize early transport (E[t]=.286/.220;P(t<.5)=89.1%/81.6%), and our comparisons found only minor performance differences. Section 4 is stated for a generic positive time density: changing this density changes finite-training weighting, not the population conditional target, inference ODE, or proof.Q3. Timestep encoding
We thank the reviewer for catching the descriptive typo in line 202. The implementation transforms scalar
twith a learned two-layer MLP and injects it into every DiT block through AdaLN; no sinusoidal encoding is applied tot. The model is explicitly time-conditioned, but through the learned MLP.Q4. bandwidth
The values denote different quantities.
αis a dimensionless calibration factor;his the realized per-coordinate standard deviation. The implementation computesd̄_NN(U)=N⁻¹Σ_i min_{j≠i}||u_i−u_j||in the fullr-dimensional coordinate space and setsh=αd̄_NN(U). Thusd̄_NN(U)is a deterministic geometric statistic, not another hyperparameter, andα=.001is noth=.001.Sampling adds
hε,ε∼N(0,I_r): the bandwidth covariance ish²I_r, while the expected radial perturbation is approximatelyh√r. A smallαconverts anr-dimensional Euclidean spacing into a per-coordinate scale. For Energy,r=256,h=.06, so the perturbation norm is about.96.The recorded Energy main-table setting used
α=.005, yieldingh≈.06; the released.001entry corresponds to theh≈.01sensitivity point in Sec. 5.3/Table 5. The effective-bandwidth sweep is:hThe optimum is at moderate smoothing, whereas over-smoothing degrades quality sharply. Initialization near the manifold also does not imply output replay:
.462/3.105vs..006/.0013.316vs..144in normalized latent space (23×).007/.0013; Energy 10%→90%.009/.002.81/.83; Energy2.25/2.30Consistent with Sec. 5.3/Table 5 and Appendix Tables 6–7, the learned flow moves samples far beyond the KDE perturbation; generated outputs are not closer to training data than held-out real sequences; and quality remains strong after removing 90% of Stage-2 supports. These controls rule out interpreting the selected bandwidth as simple anchor copying.
Q5. Why VQ for continuous time series?
VQ is not used to facilitate autoregression, nor do we claim universal reconstruction superiority over VAEs. It provides a controlled frozen representation inherited from SDformer, allowing the experiment to isolate replacement of its AR Stage 2, and supplies categorical endpoint supervision while transport remains continuous in codebook-embedding space. Quantization is the representation interface, not an autoregressive operation.
The component ablation in Sec. 5.3/Table 5 is:
VQ alone is therefore insufficient; the gain arises from the low-rank scaffold, calibrated anchor prior, and categorical flow operating together, with the entire latent sequence transported and decoded in parallel.
Summary
The implementation audit identifies documentation mismatches rather than an undisclosed inference mechanism: the regularizers do not change final quality or model capacity, the executable time sampler is now explicit, the bandwidth quantities are reconciled, and VQ is isolated as a representation interface rather than the source of the gain. We will update Eq. (13), Algorithm 1, line 202, and the implementation details; synchronize the released per-dataset configurations; and print both
αand realizedh.