Skip to content

Regarding the Differentiability Issue of the SoftSort Operator #29

Description

@MarsMaxwell

The calculation formula of the softsort operator is as follows:

$$Soft Sort _{\tau}^{d}(s)=softmax\left(\frac{-d\left(sort(s) \mathbb{1}^{T}, \mathbb{1} s^{T}\right)}{\tau}\right)$$

However, the $sort(s)$ operation is used in the formula. According to the description in the paper, isn’t $sort(s)$ non-differentiable? From the perspectives of mathematical principles and machine learning engineering implementation, how can this be explained?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions