Authors: Benjamin Hudson, Laurent Charlin, Emma Frejinger
Organizations: Mila – Quebec Artificial Intelligence Institute, Montreal, Quebec, Canada · Département d’informatique et de recherche opérationnelle (DIRO), Université de Montréal, Montreal, Quebec, Canada · HEC Montréal, Montreal, Quebec, Canada
Decision-making problems often feature uncertainty stemming from heterogeneous and context-dependent human preferences. To address this, we propose a sequential learning-and-optimization pipeline to learn preference distributions and leverage them to solve downstream problems, for example risk-averse formulations. We focus on human choice settings that can be formulated as (integer) linear programs. In such settings, existing inverse optimization and choice modelling methods infer preferences from observed choices but typically produce point estimates or fail to capture contextual shifts, making them unsuitable for risk-averse decision-making. Using a bounded-variance score function gradient estimator, we train a predictive model mapping contextual features to a rich class of parameterizable distributions. This approach yields a maximum likelihood estimate. The model generates scenarios for unseen contexts in the subsequent optimization phase. In a synthetic ridesharing environment, our approach reduces average post-decision surprise by up to 114× compared to a risk-neutral approach with perfect predictions and up to 25× compared to leading risk-averse baselines.
Figures & tables
Figure 1: Our sequential learning-and-optimization approach. (a) During training, we learn a model mapping contextual features to preference (objective function coefficient) distributions in the choice problem (an ILP). (b) At inference, we leverage the model to generate scenarios in a risk-averse estimate-then-optimize problem, allowing us to minimize risk introduced by uncertain human preferences.
Figure 2: Model performance across dataset scale and fidelity. Test loss (left) and post-decision surprise (right) as a function of training set size (rows) and observation fidelity (columns), for nine random seeds. Increasing the number of instances ( ∣I∣ ) helps the model learn the context-to-distribution mapping, while increasing the number of samples per instance ( ∣S∣ ) reduces noise in the choice distribution statistics ( ϕˉ ).
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
Parameter
AIMLE
DPO
MaxEnt IRL
REINFORCE
CPDL
Starting LR
1.06e-6
5.61e-2
8e-4
3e-4
2.5e-3
LR patience (epochs)
20
15
5
7
15
LR patience rel. tol.
6.92%
0.2%
3.64%
4.08%
3.31%
Perturbations ( K )
400
300
–
500
300
Perturbation scale
0.6
0.9
–
Learned
Learned
Perturbation sides
2
–
–
–
–
Appendix
Table 1: Hyperparameters used in our experiments. Perturbation scale defines the variance of the perturbing distribution; a hyperparameter in some methods and a learned quantity in others. Dashes (–) indicate not applicable to given baseline.
Figure 3: Post-decision surprise (top) and disappointment (bottom) as a function of training set size (rows) and observation fidelity (columns), aggregated over nine random seeds. While surprise penalizes early and late arrivals, disappointment only penalizes late arrivals. The combination of high surprise and low disappointment suggests overly conservative assignments.
Figure 4: Test loss as a function of training set size (rows) and observation fidelity (columns), aggregated over nine random seeds.
Figure 5: Recovery of the ground-truth preference distribution location (top) and scale (bottom) up to an affine transformation as a function of training set size (rows) and observation fidelity (columns), aggregated over nine random seeds. The maximum score is one and the minimum score is zero. Only REINFORCE and CPDL are able to learn parameters beyond the location.
Figure 6: Post-decision surprise (top) and disappointment (bottom) for CPDL matching only the first moment compared to the first and second moments. On small (low ∣I∣ ) and low-fidelity (low ∣S∣ ) datasets, matching only the first moment tends to yield better performance. We hypothesize that the first moment is a less informative learning signal but is more robust to noise. Thus, the tradeoff shifts in favour of higher moments as dataset size and fidelity increase.
Humans often juggle multiple, sometimes conflicting objectives and shift their priorities as circumstances change, rather than following a fixed objective function. In contrast, most computational decision-making and multi-objective RL methods assume static preference weights or a known scalar reward. In this work, we study sequential decision-making problem when these preference weights are unobserved latent variables that drift with context. Specifically, we propose Dynamic Preference Inference (DPI), a cognitively inspired framework in which an agent maintains a probabilistic belief over preference weights, updates this belief from recent interaction, and conditions its policy on inferred preferences. We instantiate DPI as a variational preference inference module trained jointly with a preference-conditioned actor-critic, using vector-valued returns as evidence about latent trade-offs. In queueing, maze, and multi-objective continuous-control environments with event-driven changes in objectives, DPI adapts its inferred preferences to new regimes and achieves higher post-shift performance than fixed-weight and heuristic envelope baselines.
Xianwei Cao, Dou Quan, Zhenliang Zhang +1
School of Artificial Intelligence, Xidian University, Xi’an, 710071, China · State Key Laboratory of General Artificial Intelligence, BIGAI, Beijing, China
When solving optimization problems under uncertainty with contextual data, utilizing machine learning to predict the uncertain parameters' values is a popular and effective approach. Decision-focused learning (DFL) aims at learning a predictive model such that decision quality, instead of prediction accuracy, is maximized. Common practice is to predict a single scenario representing the uncertain parameters, implicitly assuming that there exists a deterministic problem approximation (proxy) that allows for optimal decision-making. The opposite has also been considered, where the underlying distribution is estimated with a parameterized distribution. However, little is known about when either choice is valid. This paper investigates for the first time problem properties that justify using a certain decision proxy. Using this, we present alternative decision proxies for DFL, with little or no compromise on the complexity of the learning task. We show the effectiveness of presented approaches in experiments on continuous and discrete problems, as well as problems with uncertainty in the objective function and in the constraints.
Noah Schutte, Grigorii Veviurko, Krzysztof Postek +1
Delft University of Technology · Independent Researcher
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 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, under bandit feedback, the hybrid gradient approach achieves lower mean cumulative regret than the contextual-bandit baselines on all four benchmarks and than linear Thompson sampling on three, and that it also works with richer conditional generative cost models. Code is available at https://github.com/Joeyetinghan/on-policy-bandit-dfl.
Wyame Benslimane, Tinghan Ye, Pascal Van Hentenryck +1
Department of Industrial Engineering and Operations Research University of California, Berkeley · H. Milton Stewart School of Industrial and Systems Engineering Georgia Institute of Technology