Differentiable sorting algorithms allow training with sorting and ranking supervision, where only the ordering or ranking of samples is known. Various methods have been proposed to address this challenge, ranging from optimal transport-based differentiable Sinkhorn sorting algorithms to making classic sorting networks differentiable. One problem of current differentiable sorting methods is that they are non-monotonic. To address this issue, we propose a novel relaxation of conditional swap operations that guarantees monotonicity in differentiable sorting networks. We introduce a family of sigmoid functions and prove that they produce differentiable sorting networks that are monotonic. Monotonicity ensures that the gradients always have the correct sign, which is an advantage in gradient-based optimization. We demonstrate that monotonic differentiable sorting networks improve upon previous differentiable sorting methods.
Differentiable Ranks and Sorting using Optimal Transport
Google Research(谷歌研究院)
对数组进行排序是机器学习中的一个基本例程,用于计算基于秩的统计数据、累积分布函数(CDF)、分位数或选择最近的邻居和标签。然而,排序函数是分段常数(如果向量的条目被无限小地扰动,则向量的排序置换不会改变),因此没有梯度信息来反向传播。我们提出了一个框架来排序的元素,是算法可区分的。我们利用了这样一个事实,即排序可以被视为$\mathbb{R}$上的最优传输(OT)问题的一个特定实例,从输入值到预定义的排序值数组(例如,如果输入数组有$n$元素,则为$1,2,\dots,n$)。在此基础上,我们提出了广义CDF和分位数算子,通过改变目标预排序数组的大小和权重。因为这相当于使用OT的所谓Kantorovich公式,我们称这些量为K-排序,K-CDF和K-分位数。我们恢复微分算法,通过添加到OT问题的熵正则化,并近似使用几个Sinkhorn迭代。我们将这些运算符称为S-sort、S-CDF和S-quantiles,并将它们用于各种学习设置:我们将它们与最近提出的neuralsort进行基准测试[Grover et al. 2019],提出了分位数回归的应用,并引入了top-k精度的可微公式,这些公式提供了最先进的性能。
Newton Losses: Using Curvature Information for Learning with Differentiable Algorithms
Stanford University(斯坦福大学);University of Salzburg(萨尔茨堡大学);University of Konstanz(康斯坦茨大学);Tuebingen AI Center(蒂宾根人工智能中心);MIT-IBM Watson AI Lab(麻省理工学院-IBM沃森人工智能实验室)
针对可微排序与最短路径损失的非凸及梯度消失、爆炸问题,本文提出 Newton Losses,仅利用损失的经验 Fisher 与 Hessian 二阶信息替换原损失,并在八种算法上验证其稳定提升。
Lexicographic optimization-based approaches to learning a representative model for multi-criteria sorting with non-monotonic criteria
School of Economics and Management, Dalian University of Technology(大连理工大学经济管理学院);School of Data Science and Artificial Intelligence, Dongbei University of Finance and Economics(东北财经大学数据科学与人工智能学院)
Deep greedy unfolding: Sorting out argsorting in greedy sparse recovery algorithms
Department of Mathematics and Statistics, Concordia University(数学与统计学系,康科迪亚大学);Department of Applied Mathematics and Theoretical Physics, University of Cambridge(应用数学与理论物理系,剑桥大学)
Inequality Constrained Stochastic Nonlinear Optimization via Active-Set Sequential Quadratic Programming
Argonne National Laboratory(阿贡国家实验室);The University of Chicago(芝加哥大学);University of California, Berkeley(加州大学伯克利分校);International Computer Science Institute(国际计算机科学研究所)
State-Space Constraints Can Improve the Generalisation of the Differentiable Neural Computer to Input Sequences With Unseen Length
Area Knowledge Discovery, Know-Center Research GmbH(区域知识发现,Know-Center Research GmbH);Department of Microsystems Engineering, University of Freiburg(微系统工程系,弗赖堡大学);Institute of Machine Learning and Neural Computation, Graz University of Technology(机器学习与神经计算研究所,格拉茨技术大学)