Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Decision-Focused On-Policy Learning for Contextual Linear Optimization with Partial Feedback

About

Decision-focused learning (DFL) trains predictive models by optimizing downstream decision quality rather than standalone prediction accuracy. For contextual linear optimization, most existing DFL methods assume offline data and full observations of the objective cost vector. We develop an on-policy learning method for sequential contextual linear optimization under partial feedback, generalizing the standard bandit feedback setting. Our method learns a stochastic predict-then-optimize policy that samples a cost-vector prediction from a conditional distribution and solves the resulting downstream linear optimization problem. To update this distributional model, we introduce a two-component hybrid gradient estimator. The first component is a score function estimator, which provides an unbiased but potentially high-variance policy gradient estimate. The second is a decision-focused plug-in component that uses an auxiliary nuisance estimate of the latent cost vector to exploit the downstream optimization structure, becoming more informative as the estimate improves. We prove an $\mathcal{O}(T^{-1/2})$ bound on the average squared policy-gradient norm, matching the standard non-convex SGD rate. Experiments on top-$k$ selection, shortest path, combinatorial pricing, and a real-data energy-scheduling benchmark show that the hybrid gradient approach achieves lower cumulative regret than contextual-bandit-style baselines across all benchmarks, using both Gaussian and richer conditional generative models. Code is available at https://github.com/Joeyetinghan/on-policy-bandit-dfl.

Wyame Benslimane, Tinghan Ye, Pascal Van Hentenryck, Paul Grigas• 2026

Related benchmarks

TaskDatasetResultRank
Energy SchedulingEnergy scheduling
Final Cumulative Regret1.6
13
PricingPricing synthetic degree-8 Gaussian linear
Final Cumulative Regret2.98
8
Shortest Path FindingShortest path synthetic degree-8 Gaussian linear
Final Cumulative Regret1.5
8
Top-K SelectionTop-k synthetic degree-8 Gaussian linear
Final Cumulative Regret1.68
8
Shortest PathShortest path
Final Cumulative Regret5.31
5
PricingPricing
Cumulative Regret7.3
5
Top-K SelectionTop-k selection
Final Cumulative Regret6.65
5
Showing 7 of 7 rows

Other info

Follow for update