Knapsack and Top-k operators are useful for selecting discrete subsets of variables. However, their integration into neural networks is challenging as they are piecewise constant, yielding gradients that are zero almost everywhere. In this paper, we propose a unified framework casting these operators as dynamic programs, and derive differentiable relaxations by smoothing the underlying recursions. On the algorithmic side, we develop efficient parallel algorithms supporting both deterministic and stochastic forward passes, and vector-Jacobian products for the backward pass. On the theoretical side, we prove that Shannon's negative entropy is the unique separable regularization choice that yields permutation-equivariant operators, and characterize regularizers inducing sparse selections. On the experimental side, we demonstrate our framework on a benchmark on learning to predict Knapsack solutions, an extension of discrete VAEs, and a constrained dynamic assortment RL problem.
Quantum Algorithms for Bandits with Knapsacks with Improved Regret and Time Complexities
Center on Frontiers of Computing Studies, Peking University School of Computer Science, Peking University(前沿计算研究所以及北京大学计算机科学学院,北京大学);Guanghua School of Management, Peking University(光华管理学院,北京大学);Department of Management Science and Engineering, Stanford University(管理科学与工程系,斯坦福大学)
Non-monotonic Resource Utilization in the Bandits with Knapsacks Problem
Cornell University(康奈尔大学)
背包强盗(Bandits with Knapsacks,BwK)是一个有影响力的不确定性下的序贯决策模型,它包含了资源消耗约束。在每一轮中,决策者观察到一个由奖励和非负资源消耗向量组成的结果,每个资源的预算都随着其消耗而减少。在本文中,我们介绍了一个自然的推广的随机BwK问题,允许非单调的资源利用率。在每一轮中,决策者观察到一个由奖励和资源漂移向量组成的结果,资源漂移向量可以是正的、负的或零,每个资源的预算都随着其漂移而增加。我们的主要结果是一个马尔可夫决策过程(MDP)的政策,对线性规划(LP)放松时,决策者知道真正的结果分布有恒定的遗憾。在此基础上,我们开发了一种学习算法,当决策者不知道真实的结果分布时,该算法对相同的LP松弛具有对数遗憾。我们还提出了一个减少从BwK到我们的模型,表明我们的遗憾界匹配现有的结果。
Massachusetts Institute of Technology(麻省理工学院);Microsoft Research(微软研究院);Google Brain(谷歌大脑)
实例编程(Programming by Example,PBE)是从输入输出实例中归纳出计算机程序的任务。它可以被看作是一种机器学习,其中假设空间是某些程序设计语言中的合法程序的集合。最近的工作可微解释放松离散空间的程序到一个连续的空间,使搜索程序可以使用基于梯度的优化。虽然概念上很强大,但到目前为止,基于可微解释器的程序合成只能解决非常简单的问题。在这项工作中,我们研究建模时出现的选择,构建一个微分程序设计语言和它们的影响,成功的合成。建模选择的主要动机来自函数式编程:我们研究内存分配方案、不可变数据、类型系统和内置控制流结构的影响。从经验上讲,我们表明,将函数式编程思想到微分程序设计语言,使我们能够学习更复杂的程序比现有的微分语言是可能的。
A differentiable programming framework for spin models
Center for Exact Sciences and Technology, Federal University of São Carlos(圣卡洛斯联邦大学精确科学与技术中心);Center for Natural and Exact Sciences, Federal University of Santa Maria(圣玛丽亚联邦大学自然与精确科学中心);Institute and Center for Development and Research in Software Technology - ICTS(软件技术发展与研究中心(ICTS))
Differentiable Satisfiability and Differentiable Answer Set Programming for Sampling-Based Multi-Model Optimization
National University of Ireland, Galway(爱尔兰国立高威大学)
本文提出了一种求解多模型优化问题的可微可满足性和可微答案集编程算法(Differentiable Satisfiability and Differentiable Answer Set Programming,简称SAT/ASP)。模型(答案集或满足真值分配)使用一种新的SAT/ASP求解方法,该方法使用基于梯度下降的分支机制进行采样。采样继续进行,直到用户定义的多模型成本函数的值达到给定阈值。作为我们的方法的主要用例,我们提出了分布感知模型采样和表达但可扩展的概率逻辑编程。作为我们的主要算法方法,微分SAT/ASP,我们介绍了一个增强的国家的最先进的CDNL/CDCL算法SAT/ASP解决。此外,我们提出了替代算法,使用未经修改的ASP求解器(Clingo/扣)和映射的优化任务,以传统的答案集优化或使用所谓的传播。我们还报告了开源软件DelSAT,我们的主要算法的最近原型实现,以及初步实验结果,这些结果表明,DelSAT的性能,当应用于概率逻辑推理的用例时,与马尔可夫逻辑网络(MLN)推理性能相当,尽管与MLN相比具有有利的特性,例如表达归纳定义的能力,以及在所有情况下直接将概率作为权重的能力。我们的实验还表明,我们的主要算法是非常优越的性能相比,所提出的替代方法,减少了一个共同的情况下,一般的问题,定期SAT/ASP。
Differentiable Quantum Programming with Unbounded Loops
Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);University of Chinese Academy of Sciences(中国科学院大学);Tsinghua University(清华大学);University of Maryland(马里兰大学)
OkadaTorch: A Differentiable Programming of Okada Model to Calculate Displacements and Strains from Fault Parameters
Earthquake Reseach Institute, The University of Tokyo(东京大学地震研究所);Research Center for Prediction of Earthquakes and Volcanic Eruptions, Tohoku University(东北大学地震与火山喷发预测研究中心);RIKEN Center for Advanced Intelligence Project(理化学研究所先进情报项目中心)
High resolution functional imaging through Lorentz transmission electron microscopy and differentiable programming
Argonne National Laboratory(阿贡国家实验室)
洛仑兹透射电子显微镜是一种独特的表征技术,能够以高空间分辨率同时成像材料的微观结构和功能特性。诸如磁化和电势的定量信息由电子波的相位携带,并且在成像期间丢失。为了理解局域相互作用和发展结构-性质关系,有必要恢复电子波的完整波函数,这需要求解电子的相移(相位恢复)。在这里,我们已经开发了一种基于微分编程的方法来解决相位恢复的逆问题,使用一系列的散焦显微镜图像。我们表明,我们的方法是强大的,可以超越广泛使用的\textit{transport of intensity equation}的空间分辨率和准确性方面的检索相位在相同的电子剂量条件下。此外,我们的方法与先进的机器学习算法具有相同的基本结构,并且很容易适应电子显微镜中各种其他形式的相位恢复。
Improved Logical Reasoning of Language Models via Differentiable Symbolic Programming
Carnegie Mellon University(卡内基梅隆大学);University of Pennsylvania(宾夕法尼亚大学);Mohamed Bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Petuum Inc.(Petuum公司)
New directions for surrogate models and differentiable programming for High Energy Physics detector simulation
Paul Scherrer Institute(保罗·谢勒研究所);Argonne National Laboratory(阿贡国家实验室);SLAC National Accelerator Laboratory(SLAC国家加速器实验室);Universität Hamburg(汉堡大学);Rutgers University(罗格斯大学);Lawrence Berkeley National Laboratory(劳伦斯伯克利国家实验室);Fermi National Accelerator Laboratory(费米国家加速器实验室);Massachusetts Institute of Technology(麻省理工学院)
High-dimensional inference for the $γ$-ray sky with differentiable programming
Faculty of Computing;Data Sciences, Boston University, Boston, MA 02215, USA;The NSF AI Institute for Artificial Intelligence;Center for Theoretical Physics -- a Leinweber Institute, Massachusetts Institute of Technology, Cambridge, MA 02139, USA;Department of Physics, Harvard University, Cambridge, MA 02138, USA;Center for Theoretical Physics, Massachusetts Institute of Technology, Cambridge, MA 02139, USA;Trottier Space Institute \& Department of Physics, McGill University, Montreal, QC H3A 2T8, Canada;Department of Physics, Cornell University, Ithaca, NY 14853, USA
Iterative Linear Quadratic Optimization for Nonlinear Control: Differentiable Programming Algorithmic Templates
Google Brain, Seattle, USA(谷歌大脑);Paul G. Allen School of Computer Science and Engineering, University of Washington, Seattle, USA(保罗·G·艾伦计算机科学与工程学院);Department of Electrical and Computer Engineering, University of Washington, Seattle, USA(电气与计算机工程系);Department of Statistics University of Washington, Seattle, USA(统计学系)
ANDRE: An Attention-based Neuro-symbolic Differentiable Rule Extractor for Inductive Logic Programming
Dept. of Mechanical and Aerospace Engineering, George Washington University, USA(机械与航空航天工程系,乔治华盛顿大学);Dept. of Mechanical Engineering Sciences, University of Surrey, UK(机械工程科学系,萨里大学)