Dynamic programming (DP) solves a variety of structured combinatorial problems by iteratively breaking them down into smaller subproblems. In spite of their versatility, DP algorithms are usually non-differentiable, which hampers their use as a layer in neural networks trained by backpropagation. To address this issue, we propose to smooth the max operator in the dynamic programming recursion, using a strongly convex regularizer. This allows to relax both the optimal value and solution of the original combinatorial problem, and turns a broad class of DP algorithms into differentiable operators. Theoretically, we provide a new probabilistic perspective on backpropagating through these DP operators, and relate them to inference in graphical models. We derive two particular instantiations of our framework, a smoothed Viterbi algorithm for sequence prediction and a smoothed DTW algorithm for time-series alignment. We showcase these instantiations on two structured prediction tasks and on structured and sparse attention for neural machine translation.
TreeQN and ATreeC: Differentiable Tree-Structured Models for Deep Reinforcement Learning
University of Oxford(牛津大学)
将深度无模型强化学习无模型强化学习与在线规划相结合是建立在深度强化学习成功基础上的一种有前途的方法。事实证明,在先验已知过渡模型的环境中,使用前瞻树的在线规划是成功的。然而,在需要从数据中学习过渡模型的复杂环境中,学习模型的缺陷限制了它们在规划中的实用性。为了解决这些挑战,我们提出了TreeQN,这是一种可微分的递归树结构模型,可以作为深度RL中任何具有离散动作的价值函数网络的替代品。TreeQN通过在学习的抽象状态空间中递归地应用转换模型来动态地构建树,然后使用树备份来聚合预测的奖励和状态值以估计Q值。我们还提出了ATreeC,这是一个演员-评论家变体,它用softmax层增强了TreeQN,形成了一个随机策略网络。这两种方法都是端到端训练的,因此学习的模型在树中的实际使用中得到了优化。我们发现,TreeQN和ATreeC在推箱子任务上的表现优于n步DQN和A2 C,以及在多个Atari游戏上的n步DQN和价值预测网络(Oh et al. 2017)。此外,我们提出了消融研究,证明了不同的辅助损失对学习过渡模型的影响。
Differentiable Programming for Differential Equations: A Review
University of California, Berkeley(加州大学伯克利分校);Univ. Grenoble Alpes(格勒诺布尔阿尔卑斯大学);CNRS(法国国家科学研究中心);IRD(法国国家科研研究所);G-INP(国立矿业-电信联盟);Institut des Géosciences de l’Environnement(环境地球科学研究院);TU Delft(代尔夫特理工大学);Massachusetts Institute of Technology(麻省理工学院);TU Berlin(柏林工业大学);Helmholtz Centre for Environmental Research(亥姆霍兹环境研究中心);Swiss Federal Research Institute WSL(瑞士联邦材料科技研究所);Oden Institute for Computational Engineering and Sciences, University of Texas at Austin(德克萨斯大学奥斯汀分校奥登计算工程与科学学院);Jackson School of Geosciences, University of Texas at Austin(德克萨斯大学奥斯汀分校杰克逊地球科学学院);University of Pennsylvania(宾夕法尼亚大学);JuliaHub
缺失值的存在使得监督学习更具挑战性。事实上,以前的工作已经表明,即使响应是完整数据的线性函数,最佳预测器也是观察到的条目和缺失指标的复函数。因此,一致性方法的计算或样本复杂性取决于缺失模式的数量,其在维度数量上可以是指数级的。在这项工作中,我们推导出线性假设和各种缺失数据机制,包括随机缺失(MAR)和自屏蔽(Missing Not At Random)下的最佳预测的分析形式。基于Neumann级数近似的最优预测,我们提出了一个新的原则架构,命名为NeuMiss网络。它们的独创性和力量来自于使用一种新型的非线性:乘以缺失指标。我们提供了一个上限NeuMiss网络的贝叶斯风险,并表明他们有良好的预测精度与一些参数和独立的缺失数据模式的数量的计算复杂性。因此,它们可以很好地扩展到具有许多特征的问题,并且对于中等大小的样本仍然具有统计效率。此外,我们表明,相反的程序使用EM或插补,他们是强大的缺失数据机制,包括困难的MNAR设置,如自屏蔽。