acceptodds
Published as a conference paper at NeurIPS 2026

Rethinking Vector Field Learning for Generative Segmentation

Chaoyang Wang, Yaobo Liang, Boci Peng, Fan Duan, Yunhai Tong

Abstract

Taming diffusion models for generative segmentation has attracted increasing attention. While existing approaches primarily focus on architectural tweaks or training heuristics, there remains a limited understanding of the intrinsic mismatch between continuous flow matching objectives and discrete perception tasks. In this work, we revisit diffusion segmentation from the perspective of vector field learning. We identify two key limitations of the commonly used flow matching objective: gradient vanishing and trajectory traversing, which result in slow convergence and poor class separation. To tackle these issues, we propose a principled vector field reshaping strategy that augments the learned velocity field with a detached distance-aware correction term. This correction introduces both attractive and repulsive interactions, enhancing gradient magnitudes near centroids while preserving the original diffusion training framework. Furthermore, we design a computationally efficient, quasi-random centroid encoding scheme inspired by Kronecker sequences, which integrates seamlessly with an end-to-end pixel neural field framework for pixel-level semantic alignment. Extensive experiments consistently demonstrate significant improvements over vanilla flow matching approaches, substantially narrowing the performance gap between generative segmentation and strong discriminative specialists.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 49%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.33 over 3 reviews, above 49% of the others.
Reviewer_XVmmOpenReview ↗
Rating
5
Clarity
2
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

This work addresses the adaptation of continuous flow-matching models to the discrete. The authors identify that applying standard regression-based flow objectives (like MSE) to segmentation leads to two primary issues: gradient vanishing near semantic centroids and trajectory traversing due to a lack of repulsive forces between competing classes. To mitigate these optimization bottlenecks, the paper introduces FlowSeg, a generative segmentation framework. Its core contribution is a vector field reshaping strategy that adds a distance-aware potential correction to the ground-truth velocity, explicitly penalizing proximity to incorrect classes while maintaining strong gradients near the target. Additionally, the authors employ a deterministic, Kronecker-sequence-based centroid encoding and an end-to-end pixel neural field decoder (bypassing the artifacts of VAEs). Extensive experiments on ADE20K and COCO-Stuff demonstrate that FlowSeg significantly outperforms previous diffusion-based segmentation methods and approaches the performance of strong discriminative specialists.

Strengths and weaknesses
  • The gradient analysis detailing why vanilla MSE flow matching fails for high-cardinality segmentation (gradient vanishing and lack of inter-class repulsion) is well-reasoned and theoretically sound.
  • The paper thoroughly ablates critical components, such as the transformation operator geometry, temperature scaling, state space representation (3D vs. K-dim one-hot), and pixel vs. latent modeling.
  • While the Kronecker-style sequence using square roots of primes is computationally efficient and deterministic, it is somewhat ad-hoc. It is unclear if this embedding space optimally captures any semantic relationships between classes, or if it scales gracefully to extreme-cardinality datasets (e.g., LVIS with 1200+ classes) without severe crowding.
  • The ablation studies in the appendix reveal that the optimization dynamics are sensitive to the temperature parameter τ\tau and the rectification scaling coefficient, requiring tuning to prevent gradient instability or diluted discriminative signals.
Questions
  • Have you experimented with semantically meaningful centroid initializations (e.g., mapping text embeddings into the 3D continuous space via PCA) instead of the quasi-random Kronecker sequence? Would a semantically aware embedding naturally reduce trajectory traversing between unrelated classes?
  • Given the sensitivity of the transformation operator and temperature parameter τ\tau, how does the optimal hyperparameter configuration shift when moving from a 150-class dataset (ADE20K) to a significantly larger vocabulary?
Limitations

The claims of the paper are well-supported by the provided theoretical analysis and empirical results. The authors briefly discuss their limitations in Appendix C.3, acknowledging that they focused on proof-of-concept optimization dynamics rather than architectural scaling laws, and noting that some segmentation failures persist. A more thorough discussion regarding the scalability of their specific 3D centroid encoding strategy for open-vocabulary tasks would have strengthened this section.

Paper formatting concerns
Final justification

Resolved: All three of my substantive concerns received new experimental evidence. (i) Extreme-cardinality scaling, my main stated weakness, is addressed by ADE-847 (847 classes), where FlowSeg reaches 10.77 mIoU, exceeding the discriminative specialist SimSeg (10.43) while PromptDiffusion collapses to 0.99. This is the strongest available evidence that the vector-field reshaping is doing essential work rather than providing incremental refinement. (ii) The semantic-initialization question was tested directly with CLIP-derived PCA centroids, and the result was reported honestly despite complicating the authors' narrative. (iii) Temperature transfer across a 5.6x change in class cardinality shows a stable 0.5-1 optimum, substantially reducing my concern about dataset-specific tuning.

Partially resolved: The PCA comparison varies semantic structure and minimum centroid spacing simultaneously (0.02 vs 0.15), and the authors' own explanation attributes the outcome to spacing, so the conclusion that semantic structure is unhelpful is not isolated by this experiment. What is established is that this particular semantic embedding produces crowding the repulsion mechanism cannot overcome. The rectification scaling coefficient, the second component of my W2 sensitivity concern, was not analyzed across cardinalities.

Unresolved: The rebuttal reports FlowSeg on ADE-847 at 10.77 mIoU in the scalability table while the temperature sweep on the same dataset peaks at 4.59. ADE-150 is consistent across tables, so the inconsistency is specific to ADE-847. A training-protocol difference is the likely explanation, but it was not stated and the response came too late in the period for me to ask. Camera-ready should state the protocol in both tables and ensure the scalability claim rests on a figure the sensitivity analysis can reproduce.

Weighting: My initial 4 reflected uncertainty on two points - whether an ad-hoc deterministic encoding would survive high class counts, and whether the gains depended on careful per-dataset tuning. Both were answered with direct experiments, including one that risked contradicting the authors' own design choice. The gradient analysis motivating the method was already sound; the rebuttal supplies the scaling evidence it needed. I raise my rating from 4 to 5 and significance from 2 to 3, since demonstrated viability at 847 classes where competing generative methods fail is materially stronger than what the submission established on its own. I have not revised clarity (2); the revision should integrate these results into the main text rather than leaving the supporting analysis in the appendix.

1 comment

Thank you for recognizing our gradient analysis and thorough ablations. We provide more clarifications below.

Q1: Semantically meaningful centroid initialization.

A1: We conduct experiments on the ADE-150 dataset, considering two training recipes: vanilla flow matching and FlowSeg, and two initialization methods: Kronecker-style and PCA-style. The latter incorporates semantic information. Specifically, for each category in the ADE-150 dataset, we used the prompt "a photo of {}" to extract text embeddings via CLIP ViT-B, then applied PCA to reduce the dimensionality to three and normalized the results to the [-1, 1] range. The results are presented below.

MethodInitializationmIoUMinimum nearest-neighbor distance
vanilla FMPCA24.160.02
vanilla FMKronecker21.140.15
FlowSegPCA28.420.02
FlowSegKronecker29.750.15

The results indicate that semantic initialization benefits the vanilla recipe but is detrimental to FlowSeg. This demonstrates that: 1. FlowSeg’s attraction-repulsion mechanism helps overcome trajectory traversing; and 2. Semantic initialization lacks the favorable spatial structure characteristic of Kronecker-style methods. The initial points that are too close together are harmful to the final segmentation. We will incorporate this discussion into the next draft.

Q2: Scaling to extreme-cardinality datasets.

A2: We choose a challenging dataset for our experiments, ADE-847, which has 847 categories, far exceeding the number of categories in most existing datasets. We follow the two-stage training method described in the manuscript, and the results are as follows.

ModelTypemIoU
SimSegDiscriminative Specialists10.43
PromptDiffusionDiffusion Models0.99
FlowSeg (Ours)Diffusion Models10.77

The results show that, with extremely high class cardinality, our method still achieves promising performance compared with powerful discriminative specialist models, while traditional diffusion-based methods almost fail.

Q3: Hyperparameter configuration shift in higher dimensions.

A3: We analyze the sensitivity of temperature on two different datasets, ADE-150 and ADE-847, which have 150 and 847 categories, respectively. The results are as follows.

Temperature0.250.5125
ADE-15020.1727.2929.7523.3619.73
ADE-8472.754.594.533.153.02

Although the cardinality of the dataset categories is significantly different, temperature 0.5-1 is generally the sweet spot for FlowSeg. Excessive temperatures flatten the distance-aware penalty, while an excessively low temperature yields an overly sharp vector field.

Reviewer_31w2OpenReview ↗
Rating
3
Clarity
3
Confidence
4
Originality
2
Quality
2
Significance
2
Read review
Summary

The authors of the paper propose a method to solve a segmentation problem with a modification of a generative network.

They highlight two existing problems many methods have. The first problem is the "gradient vanishing" problem near class centroids (as the predictions become closer to the actual GT values). The second problem is called "Limited Signal Scale in Bounded Space", when the centroids spaces is dense and prediction distance is small enough, the model no longer is able to robustly distinguish target class centroids for each prediction.

Strengths and weaknesses

Strengths

  1. "Gradient vanishing" problem is useful and may help to answer some of the flaws in generative networks.
  2. "Limited Signal Scale in Bounded Space" is also helpful. In highlights model's inability to be more precise even in path or pixel space prediction (not only in latent space prediction)

Weaknesses

  1. Kronecker method for centroids spread is smart, but may cause intra-category close distances (even closer), meaning their regions are close and can exacerbate "Limited Signal Scale in Bounded Space" problem (if N gets bigger).
  2. The dynamic network design seems unrelated / not needed and its existence is not justified. There is no ablation to justify dynamically generated weight matrices for MLP layer.
  3. The choice of benchmark datasets. ADE20K and MS-COCO are old and do not correspond to current trends. More modern (OpenBench, ReasonSeg, or even COCONut etc.) benchmark datasets are needed.
  4. Authors claim about robustness of their methods in terms of different seeds run is not justified. There is no proper and fair comparison with other methods that prove the claim. Figure 4 contains only 1 map from proposed method, while competing method has 2 map outputs. Overall, this comparison is not enough and is not fair as a proof of the claim.

Subjective Comment

Overall, I feel positive about the paper. However, some objective reasons cause the decision I made. I am willing to reconsider my review, once these concerns are addressed and proven me wrong.

Questions

No Questions

Limitations

There is no a limitation subsection in the paper. However, some there are some limitations that this method may have and may start to perform poorly once certain criterion has met:

  1. The centroids space becomes even denser once number of classes is increased.
  2. The robustness in terms of different seeds is not justified yet. If the method is not robust, it will not be able to consistently segment some regions of an image.
Paper formatting concerns

No Concerns

1 comment

Thank you for recognizing our analysis of gradient and signal scale. We provide more clarifications below.

Q1: Results at a higher category cardinality.

A1: We choose a challenging dataset for our experiments, ADE-847, which has 847 categories, far exceeding the number of categories in most existing datasets. We follow the two-stage training method described in the manuscript, and the results are as follows.

ModelTypemIoU
SimSegDiscriminative Specialists10.43
PromptDiffusionDiffusion Models0.99
FlowSeg (Ours)Diffusion Models10.77

The results show that, with extremely high class cardinality, our method still achieves promising performance compared with powerful discriminative specialist models, while traditional diffusion-based methods almost fail.

Q2: Illustration on dynamic network.

A2: We follow PixNerd for this practice. Specifically, W1W_1 and W2W_2 are the parameters of the neural field MLP. They are generated by passing the patch feature from the transformer through a linear layer, and the resulting MLP maps each pixel's coordinate encoding and value to the final vector field output.

Q3: Performance on modern datasets like COCONut.

A3: We conduct ablation study on the COCONut-S dataset, and the results remain consistent: the reshaped vector field yields significantly better performance than the vanilla flow matching recipe.

Vanilla FMFlowSeg(Ours)
mIoU31.1239.79

Q4: Randomness issue.

A4: Our inference procedure is deterministic. Specifically, our method constructs a deterministic trajectory from the input image to the target mask. Since no stochastic component (e.g., Gaussian noise initialization) is involved during trajectory construction or ODE integration, the output is independent of the random seed. Consequently, different random seeds yield identical segmentation results.

Reviewer_zo3FOpenReview ↗
Rating
5
Clarity
4
Confidence
4
Originality
4
Quality
4
Significance
4
Read review
Summary

In the generative segmentation field, diffusion flow model are continious while the segmentation labels are discrete, there exist mis alignment, the gradient vanishing exist when the prediction is near the semantic centroid so it is very hard to optimize to the precise semantic label. So this paper is aiming to make the diffusion model to keep the generative framework for the segmentation generation and also maintain the discriminative capability. This method utilized pixel diffusion to avoid the artifacts from VAE, to make the segmentation more reliable, and they reshaped the flow matching target, to predicting the distance between the current x and all semantic class centriod while the centriod is encoded in a 3D continous space.

Strengths and weaknesses

Strength

  1. Utilizing pixel diffusion to avoid the artifacts from the VAE in the latent diffusion, make the segmentation mask to be more precise and controllable.
  2. Encoding the class label of the segmentation mask into a 3D semantic centroids, keeping the inter class distance, make the class label to be easier to learned in the continious diffusion generative space.
  3. The new reshaped flow matching target could be easier and faster to converge compare to the standard FM.
  4. The experiments results shows the significant improvement compare to previous diffusion generative segmentation, and surpassed some of the specialized segmentation method.

Weakness

  1. There are a few stronger pixel diffusion compare to PixNerd, for example the PixelDiT, it comes with a patch level DiT and a pixel level DiT(PiT), the PiT may be more useful for these generative segmentation tasks as they have the per pixel control and precision. It would be very interesting if we can see more results on your method but on different pixel diffusion method.
  2. From the ablation, it seems the performance is pretty rely on the choice of hyper parameters, such as temperature. Do you have any idea on how to optimize the method to be more robust and not that sensitive to those parameters?
Questions

see weakness

Limitations

yes

Paper formatting concerns

no formatting concerns

Final justification

I think this is a promising paper and the problem it tackles is meaningful. The rebuttal did not fully address my concerns. I still feel that the paper would be much stronger if the authors could include experiments with more recent and stronger pixel diffusion methods, especially methods with a genuine pixel-level module, not only those patch based one. Such experiments would make the significance of the work clearer and strengthen its contribution to the community. Still, considering the current contribution and the overall completeness of the paper, I believe it is good enough for a poster acceptance.

1 comment

Thank you for recognizing our design of FlowSeg. We provide more clarifications below.

Q1: Ideas on hyperparameter selection, such as temperature.

A1: We analyze the sensitivity of temperature on two different datasets, ADE-150 and ADE-847, which have 150 and 847 categories, respectively. The results are as follows.

Temperature0.250.5125
ADE-15020.1727.2929.7523.3619.73
ADE-8472.754.594.533.153.02

Overall, 0.5-1 is the sweet spot for FlowSeg. Excessive temperatures flatten the distance-aware penalty, while an excessively low temperature yields an overly sharp vector field.

Q2: Exploring pixel diffusion with stronger architecture.

A2: Thanks for your suggestion. Due to time and resource constraints, we are unable to explore new architectures at this stage. As discussed in the limitations section, although architecture is not the primary focus of this work, we believe that a more powerful design would benefit the model's final performance, and we leave this for future work.

Comments on the paper

1 comment
Meta-review

Reviewers rate the theory and experiments highly (including one Accept); concerns center on hyperparameter sensitivity, centroid-encoding scalability, and some design/robustness evidence. The authors are encouraged to mainly focus on the following:

  1. Justify the dynamic network design. “The dynamic network design seems unrelated / not needed and its existence is not justified. There is no ablation to justify dynamically generated weight matrices for MLP layer.” Please add an ablation or justify the necessity of this core component.
  2. Scalability of the Kronecker centroid encoding at high cardinality. The encoding is “somewhat ad-hoc … unclear if it scales gracefully to extreme-cardinality datasets (e.g., LVIS with 1200+ classes),” with worsening crowding as classes grow; please evaluate and address whether semantically meaningful initializations (e.g., text embeddings via PCA) reduce trajectory traversing.
  3. Fair, multi-seed robustness evidence. “Robustness in terms of different seeds is not justified … Figure 4 … not fair”; please add multi-seed results and a comparison consistent with competing methods.
  4. Sensitivity to hyperparameters (temperature, etc.) and robustification. “The performance is pretty rely on the choice of hyper parameters, such as temperature”; please provide a sensitivity analysis and robustification guidance.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.