arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1802.03676stat.MLcs.LG
收藏

结构化预测和注意力的可微动态规划

Differentiable Dynamic Programming for Structured Prediction and Attention

Inria Parietal Saclay(法国国家信息与自动化研究所(Inria) Parietal Saclay);NTT Communication Science Laboratories(NTT通信科学实验室)

Arthur Mensch, Mathieu Blondel

摘要:

动态规划(DP)通过迭代地将各种结构化组合问题分解为更小的子问题来解决这些问题。尽管DP算法具有多功能性,但它们通常是不可微的,这妨碍了它们作为通过反向传播训练的神经网络中的层的使用。为了解决这个问题,我们建议使用强凸正则化器来平滑动态规划递归中的最大算子。这允许放松的最优值和解决方案的原始组合问题,并把广泛的一类DP算法到微分算子。从理论上讲,我们提供了一个新的概率角度反向传播通过这些DP运营商,并将它们与图形模型中的推理。我们得到两个特定的实例,我们的框架,一个平滑的Viterbi算法的序列预测和平滑的DTW算法的时间序列对齐。我们在两个结构化预测任务和神经机器翻译的结构化和稀疏注意力上展示了这些实例。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑