potentialpaper

Learning Unbiased Permutations via Flow Matching

Yimeng Min, Carla P Gomes

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. A flow matching method that learns distributions over permutations and recovers multiple valid orderings under ambiguity, where Sinkhorn collapses to one.

Abstract. Learning permutations is fundamental to sorting, ranking, and matching, but existing differentiable methods based on entropy-regularized Sinkhorn produce a single softened solution and collapse under ambiguity. We present PermFlow, a conditional flow matching framework that operates directly on the affine subspace of matrices with unit row and column sums. A closed-form tangent-space projector preserves these constraints exactly along every trajectory, by construction rather than through iterative correction, and a nearest-target coupling routes distinct noisy initializations toward distinct valid permutations. The result is a model that captures multimodal permutation distributions rather than collapsing them to a single mode. On a range of problems, PermFlow achieves high accuracy on unambiguous inputs and recovers both valid permutations under ambiguity.

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 paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:42 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The submission presents PermFlow, a framework for learning distributions over permutations by performing flow matching directly on the affine subspace of matrices with unit row and column sums. The proposed geometric formulation is elegant, novel and motivated, and the use of a closed-form tangent-space projector to preserve feasibility throughout the flow is quite interesting.

However, the reviewers raise two primary concerns. First, the empirical evaluation is relatively limited. The experiments are conducted on small-scale and controlled settings, and comparisons are largely restricted to Gumbel-Sinkhorn. The authors should include additional and stronger baselines, as well as evaluations on larger and more realistic permutation-learning tasks, to better demonstrate the method's practical effectiveness and scalability. Second, the inference procedure is computationally expensive, raising questions about scalability to large-scale applications. Please read the detailed reviews for additional concerns and weaknesses.

Overall, despite acknowledging the novelty and technical merits of the proposed approach, I believe that the current empirical evaluation is not yet sufficiently comprehensive. I encourage the authors to strengthen the experimental validation, include comparisons with stronger baselines, and further discuss the computational trade-offs of the method. I thank the authors for their submission and the reviewers for their thoughtful evaluations.

Final justification

I thank the authors for their submission.

The authors provided a strong rebuttal that addressed the questions and concerns raised by the reviewers. While some concerns were only partially addressed, the reviewers appreciated the authors’ responses, and one reviewer increased their score. In particular, I appreciate the authors’ discussion of the computational complexity concerns, including their use of batched CUDA Hungarian rounding, as well as addressing comments by other reviewers.

Therefore, based on the reviewers’ feedback and the discussion during the rebuttal phase, my final recommendation is to accept the submission.

Area Chair fE7t · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The submission presents PermFlow, a framework for learning distributions over permutations by performing flow matching directly on the affine subspace of matrices with unit row and column sums. The proposed geometric formulation is elegant, novel and motivated, and the use of a closed-form tangent-space projector to preserve feasibility throughout the flow is quite interesting.

However, the reviewers raise two primary concerns. First, the empirical evaluation is relatively limited. The experiments are conducted on small-scale and controlled settings, and comparisons are largely restricted to Gumbel-Sinkhorn. The authors should include additional and stronger baselines, as well as evaluations on larger and more realistic permutation-learning tasks, to better demonstrate the method's practical effectiveness and scalability. Second, the inference procedure is computationally expensive, raising questions about scalability to large-scale applications. Please read the detailed reviews for additional concerns and weaknesses.

Overall, despite acknowledging the novelty and technical merits of the proposed approach, I believe that the current empirical evaluation is not yet sufficiently comprehensive. I encourage the authors to strengthen the experimental validation, include comparisons with stronger baselines, and further discuss the computational trade-offs of the method. I thank the authors for their submission and the reviewers for their thoughtful evaluations.

Final justification

I thank the authors for their submission.

The authors provided a strong rebuttal that addressed the questions and concerns raised by the reviewers. While some concerns were only partially addressed, the reviewers appreciated the authors’ responses, and one reviewer increased their score. In particular, I appreciate the authors’ discussion of the computational complexity concerns, including their use of batched CUDA Hungarian rounding, as well as addressing comments by other reviewers.

Therefore, based on the reviewers’ feedback and the discussion during the rebuttal phase, my final recommendation is to accept the submission.

Reviewer 8VdUOpenReview ↗
Rating
4/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

This paper proposes PermFlow, a flow matching framework that learns distributions over permutations by flowing directly on the affine subspace of matrices with unit row and column sums. A closed form tangent-space projector preserves feasibility exactly along every trajectory, and a nearest-target coupling routes distinct initializations toward distinct valid permutations. Empirically, PermFlow recovers multiple valid permutations under ambiguity on both visual sorting and symmetric assignment, where Sinkhorn-based baselines fail structurally rather than from poor tuning.

Strengths and weaknesses

Strengths

  1. The paper addresses an important and underexplored problem. Instead of treating permutation learning as a single-output prediction problem, the paper focuses on learning a distribution over valid permutations.

  2. The geometric formulation is elegant and well motivated. The proposed PermFlow operates directly on the affine subspace of matrices with unit row and column sums.

  3. The inference procedure is conceptually clean. At test time, the model samples multiple noisy initializations, evolves each one through the learned flow, and then applies Hungarian rounding to obtain multiple candidate permutations. This makes the model suitable for uncertainty-aware prediction and diverse solution generation.

Weaknesses

  1. The experimental baselines are relatively weak. The experiments mainly compares PermFlow against Gumbel-Sinkhorn. However, Gumbel-Sinkhorn appears to be a rather weak baseline under the current experimental setup, as it achieves near-zero performance in both tasks. This makes it difficult to determine whether PermFlow truly outperforms strong existing permutation-learning methods, or whether the comparison is mainly against an under-optimized or mismatched baseline.

  2. The Gumbel-Sinkhorn setup on is not fully fair. In the NoisyMNIST experiment, the authors do not train a separate Gumbel-Sinkhorn permutation predictor. Instead, they directly use the trained PermFlow encoder and velocity network to produce a score matrix SS, then add Gumbel noise to SS, apply Sinkhorn normalization, and finally perform Hungarian rounding. However, this matrix SS represents a CFM velocity direction rather than an assignment log-probability. In other words, this score matrix was not trained to serve as a Sinkhorn assignment score. The same concern also holds for baseline in SLAP.

  3. The experimental tasks are relatively toy . NoisyMNIST is an artificially constructed blended-digit sorting task, and SLAP is a synthetically generated symmetric assignment problem. These tasks are useful for validating the proposed mechanism under controlled ambiguity, but they do not fully demonstrate the effectiveness of the method on more realistic and complex permutation-learning problems. For example, it remains unclear whether the proposed method would scale to or perform well on real-world tasks such as graph matching and large-scale assignment. Therefore, the current experiments provide a promising proof of concept, but they are not yet sufficient to establish broad practical applicability.

Questions
  1. Could the authors include additional baselines for comparison? The current experimental comparison mainly relies on Gumbel-Sinkhorn, which seems insufficient. It would be helpful to compare PermFlow with several stronger or more representative permutation-learning baselines, rather than using Gumbel-Sinkhorn as the only main baseline.

  2. Could the authors evaluate the method on more realistic and large-scale datasets? The current experiments are mainly conducted on controlled or synthetic tasks. Additional experiments on real-world, large-scale permutation-learning problems would better demonstrate the effectiveness and scalability of PermFlow in more complex practical settings.

  3. Does PermFlow fully eliminate the continuous-to-discrete gap? Since PermFlow operates on an affine space, the intermediate states may contain negative entries and are not necessarily valid permutation matrices. The method still requires Hungarian rounding at the final stage. Therefore, it seems that the continuous-to-discrete gap is not completely removed. Could the authors clarify this limitation and discuss its potential impact?

Limitations

Yes

Final justification

I have carefully read the author's rebuttal, given the whole process of the rebuttal details, I have raised my score. Thanks for the author's clear illustration.

Formatting concerns

No

8 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely thank the reviewer for this constructive comment. It motivated us to identify a new task that more directly demonstrates PermFlow’s key advantage, namely its ability to model and recover multiple valid permutations.

Question 1 and 2 ( including weakness: the experimental tasks are relatively toy/the experimental baselines are relatively weak.):

We report a direct head-to-head on an established third-party benchmark, against four published baselines including the current state of the art, at sizes up to n=36n = 36 (∣S36∣≈3.7×1041\lvert S_{36} \rvert \approx 3.7 \times 10^{41}). PermFlow sets a new state of the art on every comparable metric.

Setting. We use the unchanged SymmetricDiffusers jigsaw benchmark (Zhang et al., ICLR 2025 oral), including Noisy MNIST splits, patches, and metrics: Accuracy is exact image-level match; Correct is patch-level accuracy.

In the task, an image is cut into an n=g×gn = g × g grid, the patches are shuffled and the model predicts the restoring permutation. Image reassembly is a standard testbed in this literature, and we compare Permflow against the 4 comparable published baselines.

Training. as described in the paper. The only task-specific ingredient is the target P∗P^\ast, which is obtained by grouping patches of byte-identical content and taking the member of the resulting valid target set nearest to the sampled X~0\tilde{X}_0 in Frobenius norm we use the same nn structure and we set K=1K = 1 against their beam search method.

Results on Noisy MNIST, full 10,000-image test split. Baselines are from their Table 1 (5-run averages); PermFlow is a single seed at K=1K = 1.

Metric Grid GS DiffSort EF-DiffSort SymmDiff PermFlow
Kendall- τ\tau ↑\uparrow 4×44\times4 0.3578 0.0374 0.0100 0.4859 0.5426
5×55\times5 0.2430 0.0176 0.0034 0.2853 0.4328
6×66\times6 0.1755 0.0095 -0.0021 0.1208 0.3106
Accuracy (%) ↑\uparrow 4×44\times4 0.86 0.00 0.00 1.38 3.11
5×55\times5 0.00 0.00 0.00 0.00 0.01
6×66\times6 0.00 0.00 0.00 0.00 0.00
Correct (%) ↑\uparrow 4×44\times4 49.51 10.77 7.40 58.51 63.47
5×55\times5 26.94 6.39 4.39 37.91 52.65
6×66\times6 14.91 3.77 2.50 18.54 39.72
RMSE ↓\downarrow 4×44\times4 0.4572 1.3290 1.3579 0.1002 0.0091
5×55\times5 0.8915 1.4883 1.5084 0.2926 0.0319
6×66\times6 1.0570 1.5478 1.5606 0.4350 0.1047
MAE ↓\downarrow 4×44\times4 0.1005 0.6531 0.6818 0.0130 0.0029
5×55\times5 0.3239 0.8204 0.8424 0.0749 0.0098
6×66\times6 0.4515 0.8899 0.9041 0.1587 0.0353

PermFlow improves the Correct score from 18.54% to 39.72% on the 6×66\times 6 setting, more than doubling the previous state of the art. It also raises Kendall’s τ\tau from 0.1208 to 0.3106, while reducing RMSE from 0.4350 to 0.1047 and MAE from 0.1587 to 0.0353. These consistent improvements across ranking, reconstruction, and patch-level metrics show that PermFlow remains effective as the permutation space grows and establishes a new state of the art on this independently developed benchmark.

PermFlow’s strong performance can be attributable to its explicit treatment of permutation ambiguity. Rather than forcing all equivalent examples toward one arbitrarily chosen permutation, its nearest-target coupling assigns different initial states to different valid permutations, producing shorter and more consistent training trajectories.

Reference:

  1. GS (Gumbel-Sinkhorn Network): Mena, G., Belanger, D., Linderman, S., and Snoek, J. Learning Latent Permutations with Gumbel-Sinkhorn Networks. ICLR, 2018.
  2. DiffSort: Petersen, F., Borgelt, C., Kuehne, H., and Deussen, O. Monotonic Differentiable Sorting Networks. ICLR, 2022.
  3. EF-DiffSort (Error-free DiffSort): Kim, J., Yoon, J., and Cho, M. Generalized Neural Sorting Networks with Error-Free Differentiable Swap Functions. ICLR, 2024.
  4. SymmDiff (SymmetricDiffusers): Zhang, Y., Yang, D., and Liao, R. SymmetricDiffusers: Learning Discrete Diffusion on Finite Symmetric Groups. ICLR, 2025 (Oral)

Question 3: Does PermFlow fully eliminate the continuous-to-discrete gap?

Our claim is more specifically that PermFlow avoids the conventional relaxation gap associated with methods such as GS, whose output is therefore generally a soft matrix rather than a valid permutation or multiple valid permutations , and a discrete projection is still required at inference. Moreover, the entropy regularization introduces a temperature-dependent trade-off: a higher temperature yields smoother and more stable optimization but increases the discrepancy from permutation vertices, whereas a lower temperature produces sharper assignments but may lead to unstable or poorly conditioned gradients.

PermFlow does not rely on entropy-regularized Sinkhorn normalization. Instead, it learns a continuous flow toward discrete permutation targets while using the affine hull for intermediate dynamics. Compared with GS, PermFlow introduces no entropy term and explicitly models a distribution over multiple solutions.

Nevertheless, we agree that PermFlow does not completely eliminate the continuous-to-discrete gap. Differentiable training requires continuous intermediate states, and Hungarian rounding is still needed to guarantee a valid discrete output. Consequently, a residual decoding gap remains when the predicted endpoint is not sufficiently close to a permutation vertex. We will revise the paper to clarify that PermFlow removes the entropy-induced relaxation bias of GS and substantially reduces, rather than fully eliminates, the continuous-to-discrete gap.

Weakness 2: The Gumbel-Sinkhorn setup on is not fully fair.

Corrected baseline. For both tasks, we train Gumbel-Sinkhorn from scratch using a dedicated encoder and score head with matched capacity (($\sim$1.2)M parameters versus PermFlow’s (1.25)M). The model outputs raw log-affinities and is optimized end-to-end through 20 iterations of log-Sinkhorn with (τ\tau=1). The other training settings (optimizer, schedule, epochs, batch size, rounding procedure, and test loaders) are identical to those used for PermFlow.

NoisyMNIST.

Method K Clean acc. Cov@K Any-corr@K Cal. err
Gumbel-Sinkhorn 10 98.8% 0.4% 98.2% 0.352
Gumbel-Sinkhorn 100 98.7% 0.9% 98.4% 0.352
PermFlow 10 97.9% 98.2% 99.2% 0.214
PermFlow 100 98.1% 99.2% 99.6% 0.181

The corrected GS baseline achieves excellent clean accuracy, confirming that it is properly trained. However, its coverage remains below (0.9%) even when the sampling budget is increased from (K=10) to (K=100).

SLAP. The trained baseline achieves >98% clean accuracy, but its Coverage@K (%) is:

N K=5 K=10 K=40 K=100 Mode bal.@10
20 26.9 35.5 49.6 56.1 0.83
50 26.9 33.6 50.2 58.1 0.85
100 12.7 16.5 29.8 37.2 0.93

For comparison, PermFlow achieves approximately (98%)–(99.9%) Coverage@10 across (N=20,50,100).

This correction does not change our main conclusion. Although GS performs well for single-permutation prediction, a setting in which PermFlow also performs strongly, the central question in these experiments is whether a method can represent and recover multiple valid permutations. On this metric, GS remains substantially worse: increasing (K) yields little improvement on NoisyMNIST, while its coverage on SLAP decreases markedly as (N) grows. In contrast, PermFlow consistently recovers nearly all valid modes. These results highlight PermFlow’s key advantage as a generative model over permutations: different initial states can be transported to distinct valid permutation solutions rather than repeatedly collapsing to the same dominant mode.

We thank the reviewer for identifying this issue. The corrected experiments provide a materially stronger evaluation and more clearly isolate PermFlow’s ability to recover multiple valid permutations. We will also revise the manuscript accordingly.

Reviewer 8VdU · CommentOpenReview ↗

Thank you for the additional experiments. However, the key limitation remains, so my score stands.

Authors · CommentOpenReview ↗

Thank you for your response. Could you please clarify which key limitation remains insufficiently addressed? This would help us better understand your concern and make the corresponding limitation explicit in the revision.

Reviewer StsEOpenReview ↗
Rating
4/6
Confidence
1/5
Quality
3/4
Clarity
2/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper studies learning permutations, a fundamental problem in machine learning. In particular, the aim is to obtain a model that can return a set of feasible permutations via the proposed PermFlow method. In contrast, previous methods, such as Sinkhorn Interation is able to produce only a single feasible permutation, ignoring all other solutions. This way, one could affect downstream applications, as the these methods ignore possible ambiguity of the input. The paper provides two experiments: visual sorting under ambiguity and symmetric assignment problem with stuctural ambiguity. In both cases, the proposed PermFlow clearly performs better than Gumbel-Sinkhorn method.

The method is a based on Conditional Flow Matching framework. Previously, this method has predominantly been used for problems in continuous domains. The paper proposes using it for a discrete problem, in particular, permutation learning. Intuitively, the paper modifies the iterative flow matching framework by maitaining the interations feasible exactly, and not just approximately. In other words, we keep the constraint violation at 0 at all times, compated to other models, like Manifold-ODE and Sinkhorn.

Strengths and weaknesses
  • The problem is well motivated.
  • The result seems interesting and strong: the idea of of applying a method used for predominantly continuous domains for a discrete structures appears original.
  • The structure of the paper seems well organized, and probably is relatively self contained for people with at least some knowledge in this area (in particular Section 3).
  • Unfortunately, I could not follow the technical parts of Section 4, most likely because I am far from this area and lack knowlegde of these methods.

** Target audience **

This paper can be of interest to anyone working on flow-based generative models and other related problems.

** Recommendation **

Unfortunately, this paper is far from my research area, and I am not able to give a confident evaluation. The result seems interesting and novel, but unfortunately I could not really follow the techical parts in Section 4. The structure of the paper seems good, so it might happen that people working closer to this field could follow it easily.

Questions

This paper is far from my research area, so I had difficulity understanding it.

One suggestion that I could give it that it would be nice to get some intuition about the flow matching framework in general, in particular Section 3.2, as I have no previous experience in this area. After this section, the paper was very difficult to follow. However, I understand that one cannot write a paper that in self contained and easily followed for people outside this research area.

Limitations

Yes.

Final justification

Apart from the presentation of the paper, I did not have other major suggestions for improving the paper. Hence, I keep my score.

Formatting concerns

No formatting concerns.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the thoughtful feedback and for recognizing the motivation and novelty of our work. We agree that Sections 3.2 and 4 could be made more accessible to readers unfamiliar with flow matching. We will add more intuition and a clearer high-level explanation in the revision. We appreciate this helpful suggestion.

Reviewer StsE · CommentOpenReview ↗

Thank you for your response and for addressing my comment. I will keep my initial score.

Reviewer UwQjOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper proposes PermFlow, a flow matching framework for learning permutation distributions. By utilizing both a closed-form tangent-space projector and nearest-target coupling, the method avoids the gradient cancellation inherent in relaxation-based approaches. Experiments on visual sorting and symmetric assignment show that PermFlow successfully recovers multiple valid permutations under ambiguity—a scenario where Sinkhorn baselines structurally fail. This work demonstrates that geometry-aware flow matching is a highly effective alternative to entropic relaxation for combinatorial prediction.

Strengths and weaknesses

Strengths:

  1. The paper is well-written and easy to follow.
  2. Theoretical guarantee. The claims of the paper are mathematically guaranteed by a closed-form tangent-space projector.

Weaknesses:

  1. The inference process is computationally expensive, requiring multiple neural ODE integration steps and an O(n3)O(n^3) Hungarian algorithm, which makes it difficult to scale to massive real-world tasks.

  2. Despite perfectly preserving constraints in the continuous space, the pipeline still depends on a non-differentiable Hungarian rounding step rather than being fully end-to-end discrete.

  3. The experiments are evaluated on relatively small-scale tasks (e.g., 9-digit sorting) and report results from only a single random seed without error bars, slightly weakening the statistical significance.

  4. It is not clearly explained why flow matching was chosen for learning permutations.

Questions

See the weaknesses.

Limitations

yes

Formatting concerns

None

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the constructive feedback. Please find our detailed responses below.

Q1: The inference process is computationally expensive... makes it difficult to scale ....

Our implementation is highly efficient on GPUs because Hungarian rounding is performed using batched CUDA linear assignment. Although the underlying assignment problem retains its theoretical O(n3)O(n^3) complexity, batched on-device execution substantially reduces practical overhead.

We benchmark the complete inference pipeline, including sampling X0X_0, 20 Euler steps, and batched CUDA Hungarian rounding, using trained SLAP checkpoints on a single H100 GPU with batch size (B=1024), averaged over 20 runs.

Table — Amortised time per instance (ms), K=1K=1.

n 1 32 128 512 1024
n = 20 15.85 0.493 0.123 0.051 0.046
n = 40 16.70 0.550 0.146 0.088 0.081
n = 50 17.15 0.633 0.186 0.111 0.100
n = 100 22.05 1.341 0.544 0.283 0.237

The assignment step is very fast because it is solved batched on-device (batch_linear_assignment: one kernel launch, no host-device transfer) rather than per instance on CPU.

At n=100, the largest size in the paper, one sample costs 0.24 ms per instance for the total inference. Going from n=20 to n=100, a 5× increase in problem size, costs only 5.2× more per instance.

Q2 : Despite perfectly preserving constraints in the continuous space, the pipeline still depends on a non-differentiable Hungarian rounding step rather than being fully end-to-end discrete.

We agree that the final Hungarian rounding step is non-differentiable, so the pipeline is not fully discrete end to end. Gradient-based neural network training requires continuous intermediate states, since hard permutation operations would prevent standard backpropagation. Nevertheless, PermFlow retains two key advantages over relaxation-based methods such as Gumbel-Sinkhorn: it does not introduce entropy regularization, and it explicitly models a distribution over multiple valid permutations rather than producing only a single dominant solution.

Q3: The experiments are evaluated on relatively small-scale tasks (e.g., 9-digit sorting) and report results from only a single random seed without error bars, slightly weakening the statistical significance.

We report a direct head-to-head on an established third-party benchmark, against four published baselines including the current state of the art, at sizes up to n=36n = 36 (∣S36∣≈3.7×1041\lvert S_{36} \rvert \approx 3.7 \times 10^{41}). PermFlow sets a new state of the art on every comparable metric.

We refer the setting and training to the response to Reviewer 8VdU.

Results on Noisy MNIST, full 10,000-image test split. Baselines are from their Table 1 (5-run averages); PermFlow is a single seed at K=1K = 1.

Metric Grid GS DiffSort EF-DiffSort SymmDiff PermFlow
Kendall- τ\tau ↑\uparrow 4×44\times4 0.3578 0.0374 0.0100 0.4859 0.5426
5×55\times5 0.2430 0.0176 0.0034 0.2853 0.4328
6×66\times6 0.1755 0.0095 -0.0021 0.1208 0.3106
Accuracy (%) ↑\uparrow 4×44\times4 0.86 0.00 0.00 1.38 3.11
5×55\times5 0.00 0.00 0.00 0.00 0.01
6×66\times6 0.00 0.00 0.00 0.00 0.00
Correct (%) ↑\uparrow 4×44\times4 49.51 10.77 7.40 58.51 63.47
5×55\times5 26.94 6.39 4.39 37.91 52.65
6×66\times6 14.91 3.77 2.50 18.54 39.72
RMSE ↓\downarrow 4×44\times4 0.4572 1.3290 1.3579 0.1002 0.0091
5×55\times5 0.8915 1.4883 1.5084 0.2926 0.0319
6×66\times6 1.0570 1.5478 1.5606 0.4350 0.1047
MAE ↓\downarrow 4×44\times4 0.1005 0.6531 0.6818 0.0130 0.0029
5×55\times5 0.3239 0.8204 0.8424 0.0749 0.0098
6×66\times6 0.4515 0.8899 0.9041 0.1587 0.0353

PermFlow improves the Correct score from 18.54% to 39.72% on the 6×66\times 6 setting, more than doubling the previous state of the art. It also raises Kendall’s τ\tau from 0.1208 to 0.3106, while reducing RMSE from 0.4350 to 0.1047 and MAE from 0.1587 to 0.0353. These consistent improvements across ranking, reconstruction, and patch-level metrics show that PermFlow remains effective as the permutation space grows and establishes a new state of the art on this independently developed benchmark.

PermFlow’s strong performance can be attributable to its explicit treatment of permutation ambiguity. Rather than forcing all equivalent examples toward one arbitrarily chosen permutation, its nearest-target coupling assigns different initial states to different valid permutations, producing shorter and more consistent training trajectories.

Reference:

  1. GS: Learning Latent Permutations with Gumbel-Sinkhorn Networks. ICLR, 2018.
  2. DiffSort: Monotonic Differentiable Sorting Networks. ICLR, 2022.
  3. EF-DiffSort: Generalized Neural Sorting Networks with Error-Free Differentiable Swap Functions. ICLR, 2024.
  4. SymmDiff (SymmetricDiffusers): SymmetricDiffusers: Learning Discrete Diffusion on Finite Symmetric Groups. ICLR, 2025 (Oral)

We will also add error bars to our experiments.

Q4: It is not clearly explained why flow matching was chosen for learning permutations.

We chose Flow matching because it is a powerful generative framework capable of modeling multimodal distributions. Many permutation and combinatorial problems admit multiple valid or near-optimal solutions rather than a single unique answer. By applying flow matching to permutations, PermFlow leverages this strong generative capacity to represent and recover diverse valid solutions, making it well suited for combinatorial tasks with inherently multimodal solution spaces.

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

Missing a submission?

Loading the discussion…