mlsanityData to 7 Oct 2026

Differentiable Dynamic Programming for Structured Prediction and Attention

arXiv 1802.03676 ↗First posted 11 Feb 2018stat.ML cs.LGcited by 58

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 58 papers in the map (data through 7 Oct 2026). First posted on arXiv 11 Feb 2018.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 16; 2022: 16; 2023: 10; 2024: 3; 2025: 7; 2026: 6.

58 papers.

Sort:

By area:

  1. 2021Attention, please! A survey of Neural Attention Models in Deep Learningcited by 50
  2. 2021Twice regularized MDPs and the equivalence between robustness and regularizationcited by 46
  3. 2021Representation Learning via Global Temporal Alignment and Cycle-Consistencycited by 43
  4. 2022SIMPLE: A Gradient Estimator for k-Subset Samplingcited by 34
  5. 2022Fine-grained Temporal Contrastive Learning for Weakly-supervised Temporal Action Localizationcited by 33
  6. 2023Maximum entropy GFlowNets with soft Q-learningcited by 30
  7. 2026Maximum Likelihood Reinforcement Learningcited by 29
  8. 2021Learning Discriminative Prototypes with Dynamic Time Warpingcited by 23
  9. 2022Learning to Predict Graphs with Fused Gromov-Wasserstein Barycenterscited by 22
  10. 2021Learning with Algorithmic Supervision via Continuous Relaxationscited by 21
  11. 2022Uncertainty-DTW for Time Series and Sequencescited by 21
  12. 2023Leaving the Nest: Going Beyond Local Loss Functions for Predict-Then-Optimizecited by 18
38 more
  1. 2023Differentiable Clustering with Perturbed Spanning Forestscited by 14
  2. 2021Sparse Continuous Distributions and Fenchel-Young Lossescited by 13
  3. 2022Decision-Focused Learning without Differentiable Optimization: Learning Locally Optimized Decision Lossescited by 12
  4. 2021Deep Time Series Forecasting with Shape and Temporal Criteriacited by 10
  5. 2021Combinatorial Optimization for Panoptic Segmentation: A Fully Differentiable Approachcited by 10
  6. 2022TILDE-Q: A Transformation Invariant Loss Function for Time-Series Forecastingcited by 8
  7. 2023Revisiting Implicit Differentiation for Learning Problems in Optimal Controlcited by 8
  8. 2022Latent Topology Induction for Understanding Contextualized Representationscited by 7
  9. 2025Autoregressive Language Models are Secretly Energy-Based Models: Insights into the Lookahead Capabilities of Next-Token Predictioncited by 7
  10. 2022A Unified Perspective on Value Backup and Exploration in Monte-Carlo Tree Searchcited by 6
  11. 2022DOGE-Train: Discrete Optimization on GPU with End-to-end Trainingcited by 6
  12. 2024DataSP: A Differential All-to-All Shortest Path Algorithm for Learning Costs and Predicting Paths with Contextcited by 6
  13. 2021To be Closer: Learning to Link up Aspects with Opinionscited by 5
  14. 2026DWA-KD: Dual-Space Weighting and Time-Warped Alignment for Cross-Tokenizer Knowledge Distillationcited by 5
  15. 2021Differentiable Spline Approximationscited by 4
  16. 2022Fixed-Point Automatic Differentiation of Forward--Backward Splitting Algorithms for Partly Smooth Functionscited by 4
  17. 2024A fast and sound tagging method for discontinuous named-entity recognitioncited by 4
  18. 2026ViterbiPlanNet: Injecting Procedural Knowledge via Differentiable Viterbi for Planning in Instructional Videoscited by 4
  19. 2021Approximate Newton policy gradient algorithmscited by 3
  20. 2022A dynamic programming algorithm for span-based nested named-entity recognition in O(n^2)cited by 3
  21. 2024Soft Condorcet Optimization for Ranking of General Agentscited by 3
  22. 2026Combinatorial Optimization Augmented Machine Learningcited by 3
  23. 2021Dynamic programming by polymorphic semiring algebraic shortcut fusioncited by 2
  24. 2021Differentiable Equilibrium Computation with Decision Diagrams for Stackelberg Models of Combinatorial Congestion Gamescited by 2
  25. 2021A Surrogate Objective Framework for Prediction+Optimization with Soft Constraintscited by 2
  26. 2021Scaling Structured Inference with Randomizationcited by 2
  27. 2022Learning with Latent Structures in Natural Language Processing: A Surveycited by 2
  28. 2022Learning Discrete Structured Variational Auto-Encoder using Natural Evolution Strategiescited by 2
  29. 2022A deep learning network with differentiable dynamic programming for retina OCT surface segmentationcited by 2
  30. 2023SynJax: Structured Probability Distributions for JAXcited by 2
  31. 2023gcDLSeg: Integrating Graph-cut into Deep Learning for Binary Semantic Segmentationcited by 2
  32. 2025Learning with Local Search MCMC Layerscited by 2
  33. 2025Towards Measuring and Modeling Geometric Structures in Time Series Forecasting via Image Modalitycited by 2
  34. 2022Knowledge distillation for fast and accurate DNA sequence correctioncited by 1
  35. 2023Twice Regularized Markov Decision Processes: The Equivalence between Robustness and Regularizationcited by 1
  36. 2023Revisiting the Entropy Semiring for Neural Speech Recognitioncited by 1
  37. 2025Bregman Conditional Random Fields: Sequence Labeling with Parallelizable Inference Algorithmscited by 1
  38. 2026Differentiable Knapsack and Top-k Operators via Dynamic Programmingcited by 1

50 most cited of 58 All 58 (JSON)