potentialpaper

Differentiable Knapsack and Top-k Operators via Dynamic Programming

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 20:46 UTC · b996641e50fb ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,24 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "Joe3lARuyi"
- }
- ],
- "title": "Differentiable Knapsack and Top-k Operators via Dynamic Programming",
- "authors": [
- "Germain Vivier-Ardisson",
- "Michael Eli Sander",
- "Axel Parmentier",
- "Mathieu Blondel"
- ],
- "abstract": "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. \nIn this paper, we propose a unified framework casting these operators as dynamic programs, and derive differentiable relaxations by smoothing the underlying recursions. \nOn the algorithmic side, we develop efficient parallel algorithms supporting both deterministic and stochastic forward passes, and vector-Jacobian products for the backward pass.\nOn the theoretical side, we prove that Shannon entropy is the unique separable binary regularization choice for the local DP smoothing that yields permutation-equivariant operators, and characterize regularizers inducing sparse selections. \nOn 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.",
- "year": 2026,
- "venue": "NeurIPS 2026",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "4e162a99-e2b3-42a9-a292-3684866b151d"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,14 @@
+{
+ "title": "Differentiable Knapsack and Top-k Operators via Dynamic Programming",
+ "authors": [
+ "Germain Vivier-Ardisson",
+ "Michael Eli Sander",
+ "Axel Parmentier",
+ "Mathieu Blondel"
+ ],
+ "abstract": "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. \nIn this paper, we propose a unified framework casting these operators as dynamic programs, and derive differentiable relaxations by smoothing the underlying recursions. \nOn the algorithmic side, we develop efficient parallel algorithms supporting both deterministic and stochastic forward passes, and vector-Jacobian products for the backward pass.\nOn the theoretical side, we prove that Shannon entropy is the unique separable binary regularization choice for the local DP smoothing that yields permutation-equivariant operators, and characterize regularizers inducing sparse selections. \nOn 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.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}