Skip to content

Conversation

@pbarbarant
Copy link
Collaborator

@pbarbarant pbarbarant commented Mar 12, 2025

This PR implements stabilized and epsilon scaled sinkhorn solvers (Schmitzer, B. 2016), supporting sparse cost matrices.

Schmitzer, B. (2016). Stabilized Sparse Scaling Algorithms for
        Entropy Regularized Transport Problems.
        arXiv preprint arXiv:1610.06519.

Pierre-Louis Barbarant and others added 20 commits March 12, 2025 17:01
Copy link
Collaborator

@bthirion bthirion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious. This solver is not in POT ?

There's a cost in maintaining our own solvers...

@pbarbarant pbarbarant marked this pull request as ready for review March 27, 2025 13:37
@pbarbarant
Copy link
Collaborator Author

Just curious. This solver is not in POT ?

There's a cost in maintaining our own solvers...

Dense solvers are similar to POT, but the sparse implementations are unique to FUGW.

@pbarbarant pbarbarant changed the title [WIP] Stabilized and epsilon scaled sinkhorn solvers [ENH] Stabilized and epsilon scaled sinkhorn solvers Mar 27, 2025
@pbarbarant pbarbarant added the enhancement New feature or request label Mar 27, 2025
Copy link
Collaborator

@bthirion bthirion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't spot any issue.
At the end of the day, how many solvers do we support ? Do we have a clear use case for all of them ?

Copy link
Collaborator

@bthirion bthirion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe the code could be organized a bit better ?

@pbarbarant
Copy link
Collaborator Author

I removed the dense solvers which are already implemented in POT, which means less code to maintain.

@pbarbarant
Copy link
Collaborator Author

Maybe the code could be organized a bit better ?

I removed the nested functions.

@pbarbarant pbarbarant merged commit be13850 into main Apr 17, 2025
7 checks passed
@pbarbarant pbarbarant deleted the feat/stabilized-sinkhorn branch April 17, 2025 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants