Online Decision-Focused Learning under Semi-Bandit Feedback
Aabhash Dhakal, Tim Lachner, Jayanta Mandi, Marco Foschini, Christoph M. Flath
TL;DR. We extend DFL to online semi-bandit feedback, show that naively imputing missing costs for SPO+ causes self-reinforcing updates, and propose BayesianSPO, which decouples missing-cost imputation from decision-focused representation learning.
Abstract. Decision-focused learning (DFL) improves on the Predict-then-optimize (PtO) pipeline by training predictive models to minimize decision regret rather than prediction loss. Most DFL methods assume offline full-feedback data with complete action cost vectors. Many real-world decision systems instead operate in an online setting: in each round, the agent acts using past feedback and observes costs only for the selected components, yielding semi-bandit feedback. Bandit methods optimize regret in this regime, but train models with predictive updates rather than decision-focused updates. In this paper, we formalize online semi-bandit DFL: decision-focused learning for online optimization problems with semi-bandit feedback. The most straightforward extension would impute unobserved components with the model's own predictions and compute the decision-focused gradient. But this creates a self-confirming imputation degeneracy: imputation errors can flip counterfactual decisions that define the decision-focused gradient, biasing the representation update and reinforcing errors in later imputations. To address this degeneracy, we propose BayesianSPO, which combines an analytically updated Bayesian last-layer head with masked decision-focused learning. The Bayesian head supplies both (i) uncertainty to balance exploration and exploitation and (ii) stable imputations for unobserved components, while masking unobserved component gradients prevents those imputations from directly corrupting the representation update. Across knapsack, shortest-path, portfolio benchmarks, and an energy scheduling task, BayesianSPO achieves the lowest mean cumulative regret on all six instances and the improvement is statistically significant on five of them.
From the authors: Aabhash Dhakal · edit · also an author?
Nothing yet.
edit · history
NeurIPS 2026
Accept (poster) · 4 reviews · OpenReview
Updated 25 Nov 2026, 03:47 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper studies an important and practically motivated extension of decision focused learning (DFL) to the online contextual combinatorial semi bandit setting, where only partial feedback is observed after each decision. Overall, the problem formulation to be novel and relevant. The proposed BayesianSPO algorithm demonstrates consistently strong empirical performance across multiple benchmark problems, and the paper is generally well written and reproducible.
However, there are several concerns regarding the strength of the technical justification and the scope of the evaluation.
The first concern relates to the theoretical contribution. The regret analysis is for a simplified setting and establishes a pseudo-regret guarantee rather than a guarantee for the complete algorithm or realized regret. The assumptions underlying the theoretical analysis should be explained more clearly, together with a discussion of how closely the analysis reflects the practical algorithm. The theoretical novelty needs to be more explained.
The second concern is the motivation for the proposed algorithmic design. The paper identifies imputation degeneracy as the central challenge and introduces gradient masking to address it, however the paper would benefit from a more rigorous justification of why this phenomenon fundamentally arises and when it materially affects performance. The current empirical evidence suggests that BayesianSPO substantially outperforms BayesianMSE in some settings, while the improvements are relatively modest in others. Consequently, additional analysis clarifys under what conditions DFL provides meaningful advantages over PtO, and whether stronger theoretical or empirical separation between the two approaches can be established.
Regarding the empirical evaluation, reviewers generally considered the experiments comprehensive and carefully executed. However, the evaluation relies entirely on synthetic benchmarks. Including experiments on realistic or real world datasets, or providing stronger discussion of the applicability of the proposed approach in practical semi bandit settings, would strengthen the empirical evidence.
Finally, it would be beneficial to expand the discussion of practical aspects of the method, including scalability to larger action spaces, and extensibility to nonlinear feature extractors.
Final justification
Most reviewers agreed that the paper deserves acceptance. After carefully reading the rebuttal and subsequent discussion, I also share this view. However, I recommend that the authors address the reviewers’ feedback in the final version of the paper, with particular emphasis on:
1- Section 5, which presents the theoretical contributions of the paper, should be rewritten and simplified to improve readability and make the main arguments easier to follow.
2- The authors should include the experimental results on real-world datasets and with a nonlinear feature extractor to better demonstrate the practical applicability of the proposed method.
3- The relationship between pseudo-regret and realized regret should be discussed in greater detail. In addition, the evaluated pseudo-regret results should be included in the paper.
4- The paper should clearly state the limitations and simplifying assumptions underlying the proof of the main theoretical bound.
Read meta-review
Meta-review
This paper studies an important and practically motivated extension of decision focused learning (DFL) to the online contextual combinatorial semi bandit setting, where only partial feedback is observed after each decision. Overall, the problem formulation to be novel and relevant. The proposed BayesianSPO algorithm demonstrates consistently strong empirical performance across multiple benchmark problems, and the paper is generally well written and reproducible.
However, there are several concerns regarding the strength of the technical justification and the scope of the evaluation.
The first concern relates to the theoretical contribution. The regret analysis is for a simplified setting and establishes a pseudo-regret guarantee rather than a guarantee for the complete algorithm or realized regret. The assumptions underlying the theoretical analysis should be explained more clearly, together with a discussion of how closely the analysis reflects the practical algorithm. The theoretical novelty needs to be more explained.
The second concern is the motivation for the proposed algorithmic design. The paper identifies imputation degeneracy as the central challenge and introduces gradient masking to address it, however the paper would benefit from a more rigorous justification of why this phenomenon fundamentally arises and when it materially affects performance. The current empirical evidence suggests that BayesianSPO substantially outperforms BayesianMSE in some settings, while the improvements are relatively modest in others. Consequently, additional analysis clarifys under what conditions DFL provides meaningful advantages over PtO, and whether stronger theoretical or empirical separation between the two approaches can be established.
Regarding the empirical evaluation, reviewers generally considered the experiments comprehensive and carefully executed. However, the evaluation relies entirely on synthetic benchmarks. Including experiments on realistic or real world datasets, or providing stronger discussion of the applicability of the proposed approach in practical semi bandit settings, would strengthen the empirical evidence.
Finally, it would be beneficial to expand the discussion of practical aspects of the method, including scalability to larger action spaces, and extensibility to nonlinear feature extractors.
Final justification
Most reviewers agreed that the paper deserves acceptance. After carefully reading the rebuttal and subsequent discussion, I also share this view. However, I recommend that the authors address the reviewers’ feedback in the final version of the paper, with particular emphasis on:
1- Section 5, which presents the theoretical contributions of the paper, should be rewritten and simplified to improve readability and make the main arguments easier to follow.
2- The authors should include the experimental results on real-world datasets and with a nonlinear feature extractor to better demonstrate the practical applicability of the proposed method.
3- The relationship between pseudo-regret and realized regret should be discussed in greater detail. In addition, the evaluated pseudo-regret results should be included in the paper.
4- The paper should clearly state the limitations and simplifying assumptions underlying the proof of the main theoretical bound.
1 comment
- Rating
- 4/6
- Confidence
- 2/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper suggested an improvement to the method SPO+ to deal with The paper is clear, well-written, and elegant. The results are significant.
Strengths and weaknesses
Strengths: Overall, interesting; comparison methods improved, and the paper is elegant well writen. The Anonymize repository is clear and well-organized.
Weaknesses: It appears to be an incremental contribution to the related work. Honestly, I'm not familiar enough with it, and that why I chose low confidence.
Questions
- The comparison methods are not up-to-date - is there any recent work you can compare to?
Limitations
Yes
Final justification
I increased the score to 4 according to the positioning of the related work.
Formatting concerns
Can't see any formatting issues.
3 comments
Rebuttal
Thank you for describing the paper as clear, elegant, empirically significant, and the repository as well organized.
We agree that the ingredients are established, but we argue against the notion that the contribution is incremental. Our contribution is the missing learning protocol required to combine them under online semi-bandit feedback. A straightforward combination fails. SPO+ requires a complete cost vector, but semi-bandit feedback reveals only the selected costs, and filling the missing entries with the model’s own predictions creates imputation degeneracy. We identify this new failure mode and propose BayesianSPO to address it through decoupled Bayesian prediction and masked decision-focused updates.
To our knowledge, no prior method is designed specifically for the online semi-bandit DFL setting. The two closest recent works do not operate under this feedback protocol. Hu et al. (NeurIPS, 2024) require pre-collected logged data and prescribe no exploration rule, while Capitaine et al. (ICLR, 2026) require a complete cost vector every round. We therefore compare against recent contextual and combinatorial bandit methods that a practitioner might use in the absence of a dedicated framework. NeuralUCB from Zhou et al. (ICML, 2020) is natural neural bandit for us to compare against, but its shared representation is trained on prediction loss and its exploration derives from an NTK covariance rather than a posterior, so it supplies no decision-focused signal and no imputations for the unobserved arms. BLL-Online, adapted from Weber et al. (NeurIPS, 2018), is the closest architectural precedent, a shared extractor feeding per-arm Bayesian linear heads, but trains that extractor by a marginalized prediction objective, so the feature update remains tied to the predictive distribution rather than to decision quality.
The contribution is the missing interface between decision-focused representation learning and online semi-bandit feedback. We will state this earlier and explain why Hu et al. and Capitaine et al. are not executable comparators in our setting.
Thank you for the clarification - I think it put your paper in a better position, but still around score 4.
Thanks for considering our response. We’re glad it helped clarify the paper’s positioning.
- Rating
- 3/6
- Confidence
- 3/5
- Quality
- 2/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper considers the problem of online contextual optimization with semi-bandit feedback: at each time, some context is revealed, and is used to predict the cost for a linear optimization problem over a set of binary vectors ; however, for a chosen decision , only the costs corresponding to nonzero entries of are observed. The goal is to design an algorithm that is "decision-focused," i.e., learns predictors to directly minimize the loss of the decision resulting from the predictor, rather than simply minimizing prediction error. This paper proposes an algorithm for this problem, called BayesianSPO, which extends the standard "Smart, Predict-then-Optimize" framework in several ways. Bayesian linear models are used to predict cost components, which give uncertainty estimates for UCB exploration and allow filling in cost estimates for unseen costs at each time. However, the gradient update is modified such that these cost imputations are masked, with the goal that any errors they might introduce do not propagate in model training. A regret bound is proved for the strategy and it is tested in experiments on several settings.
Strengths and weaknesses
Strengths
- This is an interesting problem setting with many possible applications
- The authors do a good job of explaining the structure of their algorithm at an intuitive level.
Weaknesses
- The algorithm itself appears to mostly combine existing ideas (such as the SPO+ loss, linear cost predictors, and UCB) in a straightforward way.
- While part of the claimed novelty of the work is identifying the "imputation degeneracy" and designing the algorithm to mask gradients in such a way as to avoid this, it is not a priori clear why this is such a significant issue. The authors conduct a masking ablation in Appendix E.3.1 which shows that eliminating the masking increases regret for BayesianSPO significantly in two of the problem settings, while this does not impact the BayesianMSE baseline strategy. This BayesianMSE strategy performs quite well, nearly matching the performance of BayesianSPO in 3 of the 5 experimental settings in Table 2 (although BayesianSPO has a modest but statistically significant benefit). However, to justify the design of the algorithm, it would be useful to provide a more rigorous explanation for why the claimed imputation degeneracy poses issues.
- The regret bound and surrounding discussion in Section 5 is jargon-heavy and quite hard to follow. In particular, the phrasing around the "fixed-feature, detached-gradient abstraction" is not clear; it seems that this is imposing some simplifying assumptions on the model for the sake of analysis, but a more clear description of these assumptions is needed to make clear whether the setting that is being analyzed is representative of the full algorithm.
Questions
- Can the authors provide more rigorous explanation of why the imputation degeneracy arises, for instance providing a counterexample where it yields significantly poor performance?
- Is it possible to provide a separation between the regret guarantee obtained by BayesianMSE and BayesianSPO in order to show that the latter is strictly better in general?
- Can the authors provide a more clear description of the additional assumptions imposed on the analysis in Section 5 and how reasonable these are, e.g., whether they significantly limit the implications of the regret guarantee in terms of understanding how the algorithm will perform in practice?
Limitations
Yes
Final justification
The writing in the paper is unclear in how it describes the setting and simplifying assumptions under which the theoretical results are derived, and the authors' response did not sufficiently clarify this. As such, I maintain my score.
Formatting concerns
N/A
4 comments
Rebuttal
Thank you for finding the setting interesting and BayesianSPO intuitive, and for asking us to clarify its mechanism. We add a sequential construction to the paper's imputation-degeneracy counterexample, showing masked BayesianSPO reaches the optimal path in a simple task, while the unmasked variant cannot. We also isolate the theoretical contribution: bounding the error that missing-cost predictions add to the masked DFL update.
BayesianSPO supplies the missing learning interface
We clarify the reviewers first two points together because they are connected.The review describes BayesianSPO as combining SPO+, linear cost predictors, and UCB. Under semi-bandit feedback, these ingredients cannot be combined straightforwardly: their direct combination creates imputation degeneracy. SPO+ needs complete costs to compare two decisions, while semi-bandit feedback reveals only selected costs. UCB chooses what to explore but cannot reveal missing realized costs. The natural bridge fills these entries with predictor outputs. Those outputs determine the two solver solutions that update the same representation. The learner can reinforce guesses about costs it has never observed. This is imputation degeneracy.
This conflict is absent from the original settings. Offline SPO+ receives complete vectors. Standard UCB trains only on observed costs and never passes completed costs through a decision-focused gradient. We design BayesianSPO to contain the failure created by this direct combination. Its Bayesian heads provide predictions, uncertainty, and completed costs but update only from observations. Masking blocks missing-coordinate gradients from training the representation directly, although completed costs still enter DFL solver calls.
A sequential counterexample shows why masking matters
Appendix B.10 gives a two-path counterexample, where posterior-mean completion ties two paths and places the SPO+ update on an optimizer boundary. An arbitrarily small error can change the alternative solution and representation update. Masking removes this missing-gradient path.
We extend this analysis to a shortest-path problem with two disjoint paths. Path B is uniquely optimal; Path A incurs one unit of regret. Let be the retained fraction of gradients from predicted unobserved-edge costs, with 0 denoting full masking and 1 no masking, and let predict all four edge costs. Let indicate the edges in each path. The SPO+ gradient is . With on the two observed A-edges and on the two missing B-edges, the weighted chain rule gives . Thus, masking () moves the model toward optimal Path B, as full feedback does; yields zero gradient; and full leakage () reverses the gradient toward suboptimal Path A.
We ran the agents for 50 rounds. The Path B cost error is , its absolute total-cost prediction error after round 50.
| Update | Direction | First optimal round | Path B cost error | Regret |
|---|---|---|---|---|
| Full-feedback SPO+ | aligned | 29 | 1.782 | 28 |
| Masked BayesianSPO | aligned | 29 | 1.445 | 28 |
| Unmasked BayesianSPO | reversed | never | 3.597 | 50 |
| BayesianMSE | aligned | 30 | 1.506 | 29 |
Appendix E.3 holds the Bayesian heads, UCB rule, hyperparameters, episodes, and seeds fixed. Removing masking raises mean BayesianSPO regret by 2.2% on Knapsack 100, 40.1% on SP , and 58.5% on Portfolio.
Masking targets the decision-focused gradient
BayesianMSE is unchanged by masking because an imputed target equals its prediction, making the missing-coordinate MSE residual zero. It does not survive this failure because it never forms that gradient. BayesianMSE is therefore indifferent to imputation, but this also means decision quality never enters its representation loss. It can reduce average prediction error without prioritizing decision-changing errors. BayesianSPO retains the observed-cost decision signal while removing direct gradient entries from completed costs.
The theory isolates the implemented semi-bandit mechanisms
Fixed feature means the context-to-feature map stays fixed as posterior observations accumulate, keeping them in one coordinate system. This is standard for linear-UCB confidence analysis (Abbasi-Yadkori et al., NeurIPS, 2011).
Detached gradient means the posterior coefficients, completed target, and missing-component predictions are constants during one representation update. This matches the implementation's stop-gradient. The analysis combines SPO+ convexity (Elmachtoub & Grigas, Management Science, 2022) with projected online gradient descent (Zinkevich, ICML, 2003). It bounds masked SPO+ training losses under this update, not end-to-end decision regret for the learned representation.
Section 5 states this scope, and Appendix B.1 lists the assumptions. The analysis retains mechanisms central to BayesianSPO: UCB action selection, Bayesian updates using only observed costs, predicted values for unobserved costs, and gradient masking. During each representation update, the proof holds the Bayesian heads and completed cost vector fixed, exactly as the implementation does with stop-gradient. The reviewer correctly notes that the theory simplifies the implementation. The pseudo-regret proof fixes the feature map while observations accumulate. The proof for the representation loss uses projected online gradient descent instead of Adam. The remaining conditions are standard for linear UCB analysis: conditional mean costs are linear in the fixed features, contexts, features, and coefficients are bounded, component noise is conditionally mean-zero and sub-Gaussian, and the action oracle is exact. The main statement uses , and Appendix B gives a conditional extension for . Global coverage and uniform context conditioning appear in the stronger corollary. The results therefore isolate action selection and the error caused by predicted missing costs.
The new proof step bounds error from missing-cost predictions
Two proof components are standard. Linear UCB bounds uncertainty for fixed features (Abbasi-Yadkori et al., NeurIPS, 2011). SPO+ convexity and projected online gradient descent bound accumulated training loss when each completed cost vector is fixed (Elmachtoub & Grigas, Management Science, 2022; Zinkevich, ICML, 2003). Neither controls the extra error created when predicted unobserved costs enter a decision-focused update. Hwang et al. (ICML, 2023) give the closest online semi-bandit analysis with prediction-trained scores; Capitaine et al. (ICLR, 2026) analyze online DFL with complete feedback. Section 5 and Appendices B.2 and B.4-B.6 separate these results from our missing-cost argument.
Our new step bounds the effect of uncertain, locally decision competitive unobserved components on masked SPO+ training. Standard UCB controls uncertainty through selected, observed costs, not an unobserved cost that can change a decision compared by SPO+. Appendix B.4 handles the central case. Suppose an uncertain unobserved component appears cheap enough to replace a selected component feasibly. If UCB still selects the current action, the selected component in that comparison must also be uncertain. Its observed cost supplies information, so standard UCB bounds how often this can recur. Appendix B.6 turns that limit into a bound on the error added to the masked SPO+ update. Lower-uncertainty cases and changes involving several components remain separate terms. This connects UCB exploration to decision-focused training; the theorem's standard UCB component separately bounds pseudo-regret for a fixed feature map.
Decision sensitivity determines when BayesianSPO helps
Established DFL theory rules out universal strict dominance over PtO (Elmachtoub & Grigas, Management Science, 2022; Hu, Kallus, & Mao, Management Science, 2022). If both methods estimate conditional mean costs accurately enough that their errors cannot change the optimizer's decision, they choose the same action. DFL helps when misspecification, finite samples, limited representation capacity, predictable decision-irrelevant variation, small decision margins, or accessible contested alternatives make prediction and decision error diverge. Appendix B.3 states this problem-specific equality condition, consistent with the near tie on SP . Our theorem controls the masked SPO+ imputation term rather than proving a learning-rate separation, so the supported advantage is conditional and problem-dependent.
Appendix D.7 finds that BayesianSPO's relative MAE improvement over BayesianMSE is larger on components most likely to affect the action than elsewhere in four of five instances. Figure 4, Table 8, and Appendices B.11/C.6 add evidence from a controlled representation bottleneck and competing-decision structure. BayesianMSE's immunity to imputation follows from the same choice that limits it when prediction accuracy and decision quality diverge: its representation loss sees prediction error, not decision quality. Our theorem instead bounds missing-cost error in BayesianSPO's masked update.
We hope the construction shows the mechanism directly, and further clarifications help resolve some of the reviewer's questions. We will add the example shown here to Appendix B.10, state the theory scope before Theorem 1, and separate the missing-cost argument from the standard UCB and OCO steps. We thank the reviewer since their review identified where the paper compressed these points too much.
Thank you again for the detailed review. We added the requested counterexample, made the theory/implementation gap explicit, and clarified why the DFL/PTO advantage is conditional rather than universal. We would appreciate your reconsidering the evaluation before closing of the discussion window.
Thanks for your response. The counterexample helps to explain why the imputation degeneracy can arise, but it seems that the proposed method has performance very similar to BayesianMSE in this case. The explanation of the limitations and simplifying assumptions in the proof of the main bound is still not clear, in particular with regard to why "isolat[ing] action selection and the error caused by predicted missing costs" is reasonable for the purposes of a theoretical result. Therefore, I maintain my score.
We're glad to hear that the counterexample helps. We also thank the reviewer for their engagement.
Two points may still be getting conflated that deserve clarifications.
The counterexample is deliberately simple. In this very simple two-path setting, the decision boundary is clear, so it is completely expected that BayesianMSE and BayesianSPO do similarly. And not just them, full-feedback SPO and MSE do just as well without any separation between them. The main point of the example is instead to show that in the partial feedback setting, a straightforward implementation would suffer from imputation degeneracy, our proposed BayesianSPO doesn't, and in this simple example, retrieves same solution as full feedback SPO+, which is state-of-the-art in DFL. As we have established in the paper, in settings where decision margins are tighter, which is what is found in realistic noisy settings, BayesianSPO performance gets better over BayesianMSE, completely in line with established offline DFL findings.
To be absolutely explicit, predicted missing costs = imputation. The error caused by predicted missing costs is therefore exactly the imputation-degeneracy error, one of the central ideas in the paper your original comment highlighted as under-discussed. We think it not only reasonable, but expected to bound and isolate error caused by imputation in a paper where "imputation degeneracy" is identified as a key obstacle.
We wanted these two points to be unambiguous in the record. And in light of these clarifications, we would appreciate your reconsidering the overall assessment.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper focuses on decision focused learning (DFL) in the online contextual combinatorial bandit setting with semi bandit feedback. In every round, the learner observes a context predicts costs, solves a combinatorial optimization problem, selects an action and observes costs only for the selected components. Different from other DFL works, the setting is both online and semi-bandit. The authors propose BayesianSPO for which they derive a sublinear pseudo regret bound and run experiments over knapsack, shortest path and portfolio optimization problems.
Strengths and weaknesses
The main strengths of this paper is its strong empirical results as indicated by Table 2 and Figure 4. They also provide statistical significance along with many other ablations and sensitivity sweeps. The problem setting is also clear and tackles a setting which hasn't been explored before and is a realistic setting. The authors also compare their proposed algorithm to relevant baselines and show that they outperform these baselines. Reproducibility details are also given.
Some of the weaknesses of the paper include the fact that the theory does not cover the actual algorithm end to end and is for the pseudo-regret rather than the realized regret as noted by the authors. For some results gains of BayesianSPO over BayesianMSE is small. Also all the main benchmarks are generated synthetically. A real world dataset would greatly strengthen the paper.
Questions
The theoretical result is for pseudo-regret, but experiments report realized regret. Can the authors better explain how these metrics relate on the proposed benchmarks, perhaps by reporting pseudo-regret curves in simulation? This would help assess whether the theory supports the empirical claims.
All main benchmarks appear synthetic. Could the authors discuss whether real-world semi-bandit PtO datasets exist, or add a small realistic/semi-realistic experiment if feasible? My score would increase if the authors provide stronger evidence or argument that the method transfers beyond the synthetic benchmarks.
Could the authors explain the main theoretical novelties/challenges for the derived bound? This would help assess whether there is a notable theoretical contribution as well.
Limitations
Yes
Final justification
The authors have sufficiently addressed my stated concerns in their rebuttal, namely the real benchmark and pseudo-regret measurement in the experiments which seem to align with the original results reported for the realized regret. They also explained the novelty of the theoretical contributions which didn't seem clear to me at first. Due to the rebuttal I have increased my score to 5.
Formatting concerns
N/A
2 comments
Rebuttal
Thank you for highlighting the strong empirical results, statistical testing, baseline coverage, and reproducibility. To strengthen the paper further, we added a historical-price energy scheduling experiment and direct pseudo-regret evaluation on all five submitted benchmarks. BayesianSPO has the lowest mean energy-scheduling regret and improves on BayesianMSE by 8.2%. Recomputed pseudo-regret favors BayesianSPO on all five benchmarks, matching realized regret.
New experiment on energy scheduling task
The submitted experiments adapt established DFL benchmarks and generators from PyEPO, an open-source library for end-to-end PtO comparisons (Tang & Khalil, Mathematical Programming Computation, 2024), to online semi-bandit feedback. All three problems run sequentially and reveal only selected coefficients.
We further adapt Mandi et al.’s energy-scheduling benchmark (AAAI, 2020), using the released PredOpt load3 instance and SEMO electricity prices from Nov 2011 to Dec 2013. A scheduler chooses task starts, and SEMO later publishes half-hourly system marginal prices. SEMO states that the Ex-Post Initial run occurs four days after the trading day and its prices are used for Initial Settlement Statements and weekly invoicing. Known task power and duration let us reconstruct every alternative start cost without a fitted outcome model. The learner updates only from selected start costs. We reserve the complete vector for hindsight evaluation. Since censoring is imposed rather than inherited from the logs, we describe this as a realistic semi-bandit replay.
Each round is a day with eight calendar and system predictors for each of 48 half-hour slots. The released load3 instance contains 20 tasks and five machines. Each task is scheduled once under machine and shared-resource constraints. A task-start cost sums its power demand times the realized price over its occupied slots. This yields 309 feasible task–start components.
| Method | Cumulative regret (Million) | Reduction in mean regret | Time (s) |
|---|---|---|---|
| BayesianSPO | – | 69.7 | |
| BayesianMSE | 8.2% | 23.0 | |
| LinUCB | 17.4% | 61.0 | |
| BLL-Online | 25.8% | 27.8 | |
| TS | 42.2% | 66.1 | |
| EpsilonGreedy | 46.9% | 38.4 | |
| Random | 47.2% | 30.0 |
BayesianSPO has the lowest mean regret across 30 random seeds. The model passes 309 predicted costs to a time-indexed mixed-integer linear program (MILP). Binary variables assign each task a start time and machine, subject to per-slot machine resource capacities; we solve the MILP with Gurobi. Each schedule selects one start for each of the 20 tasks. During replay, the evaluator reveals those 20 realized costs and censors the other 289, thereby imposing semi-bandit feedback on the historical-price sequence.
Direct pseudo-regret preserves the empirical conclusion
The main difference between the two regrets is that realized regret uses the complete realized cost vector, so favorable noise can lower the minimum feasible cost used as the evaluation benchmark. Pseudo-regret instead compares against the decision that is optimal for the conditional mean costs. Using the notation introduced in Section 5, let before the round- noise is drawn. Pseudo-regret compares with the decision that minimizes , asking how well the learner acts against the best decision for the expected costs. Realized regret instead measures the learner’s cost above , the lowest feasible cost for the realized vector. If , then $$ For the BayesianMSE minus BayesianSPO comparison, the last term cancels exactly. The remaining difference is , whose conditional expectation is zero because both decisions are chosen before is revealed. This explains why the two metrics can differ in value while preserving the method comparison.
Following the reviewer’s suggestion, we evaluated pseudo-regret over 10,000 rounds using the submitted configurations and ten paired seeds, with conditional means used only for evaluation. The table reports these results beside the submitted regret endpoints.
Submitted realized regret
| Dataset | BayesianSPO | BayesianMSE | Reduction |
|---|---|---|---|
| Knapsack 32 | 6.2% | ||
| Knapsack 100 | 9.1% | ||
| SP | 1.7% | ||
| SP | 6.2% | ||
| Portfolio | 32.4% |
Evaluated pseudo-regret
| Dataset | BayesianSPO | BayesianMSE | Reduction |
|---|---|---|---|
| Knapsack 32 | 11.5% | ||
| Knapsack 100 | 15.6% | ||
| SP | 2.8% | ||
| SP | 13.5% | ||
| Portfolio | 38.7% |
The realized and pseudo gaps agree in sign for all 50 combinations of seed and benchmark. Within each benchmark conducted at standard noise width of , Pearson –, and the benchmark ordering of the gains matches Table 2 in the paper. The metric choice therefore does not affect the conclusion on these benchmarks, and the pseudo-regret metric targeted by Theorem 1 yields the same empirical conclusion.
We report endpoints to match Table 2 in the paper. The updated repository includes the corresponding pseudo-regret trajectories.
The new proof step bounds missing-cost error in the DFL update
Our major theoretical contribution identifies and bounds the error caused by using predicted costs for unobserved components in a masked decision focused gradient update. This error is specific to partial feedback and is given by the third term in the bound in Section 5. SPO+ compares two decisions using a complete cost vector, so predictions for missing costs can change the update even though a standard UCB proof only controls uncertainty through the components that the learner selects and observes.
Suppose an unobserved component could replace one selected component and the two have nearly the same predicted cost. If the model is very uncertain about the unobserved option, UCB’s exploration bonus makes that option more attractive. Appendix B.4 shows that if it is still not selected, then the chosen component must also be uncertain. We observe the chosen cost, so that round provides new information about the comparison. This steadily reduces the relevant uncertainty and limits how often the same error can recur. Appendix B.6 converts this limit into a bound on the error added to the masked update. The proof handles less uncertain options and alternatives that require several components to change as separate cases. The remaining UCB and online-gradient steps follow prior work and appear in Appendices B.2 and B.5. Our response to okjA below explains the assumptions and the parts of the implementation outside the proof.
Two routes to real-world semi-bandit evaluation
Native semi-bandit PtO settings include routing, with travel times observed only on traversed edges, private-market allocation, where execution or return outcomes are observed only for selected deals, or procurement, where delivery, quality, or total cost is observed only for awarded suppliers or purchased items. There are two ways to evaluate this setting with real data.
We can start from complete outcomes and censor unselected components from the learner during replay. The energy replay follows this route. Historical prices determine the complete cost vector for each day, allowing us to compute exact per-round oracle regret while revealing only selected costs to the learner.
The second uses logged bandit data. These datasets record only the selected action and its observed outcome, since recording the outcomes of every alternative isn’t possible. A concrete example is Criteo’s display-ad data, which record the selected product slate, its logging propensity, and the resulting click feedback (Lefortier et al., NIPS Workshop, 2016). These logs do not reveal how the same impression would have responded to every unchosen alternative. Exact per-round oracle regret therefore requires estimating the missing counterfactual outcomes, which makes the estimated oracle and resulting regret model-dependent.
Decision sensitivity explains the benchmark gaps
Gains depend on whether prediction errors change the action. PtO can suffice when they cannot. DFL can help when they can, especially under limited representation. Appendix B.3 formalizes this condition, and our response to Yxrh relates the gains to Figure 4, Appendix D.7, and Table 2.
Summary
We hope these additions answer some of the reviewer’s questions. The historical-price energy-scheduling experiment demonstrates real-world applicability, and the pseudo-regret evaluation supports the same conclusion as the main paper. We will add both results, distinguish realistic replay from naturally logged bandit evaluation, and separate the new missing-cost proof step from the standard UCB and OCO arguments. We are grateful that your questions helped us connect the theorem, benchmarks, and practical setting more clearly.
Thank you again for the constructive review. Based on your suggestions, we added a new experiment on a scheduling problem using real electricity prices, reported direct pseudo-regret values and a clearer account of the theoretical novelty.
Since you also note that stronger non-synthetic evidence would increase your score, we would appreciate your revisiting the assessment before the discussion closes.
- Rating
- 4/6
- Confidence
- 2/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
Standard DFL methods typically require offline data with complete cost vectors. However, in many real-world applications, decisions are made sequentially and the learner observes costs only for selected components. While this semi-bandit feedback setting is widely studied in the bandit literature, the paper identifies a key obstacle specific to DFL — "imputation degeneracy" — where filling in unobserved costs with model predictions creates a self-reinforcing feedback loop that biases the decision-focused gradient. To address this, the authors propose BayesianSPO, which decouples prediction from representation learning via per-arm Bayesian linear heads and masks unobserved-arm gradients to prevent imputed values from corrupting the representation update. Experiments on knapsack, shortest-path, and portfolio benchmarks show BayesianSPO achieves the lowest cumulative regret.
Strengths and weaknesses
-
Strengths: The paper identifies a well-motivated problem (imputation degeneracy) at the intersection of DFL and semi-bandit feedback, and proposes to decouple prediction from representation learning to address the issue. The superior performance of the method is supported both theoretically and empirically.
-
Weaknesses: See my questions below
Questions
- Some benchmarks show very close results between BayesianSPO and BayesianMSE, while others show significant differences. Are there any insights on when the DFL approach is better and when the prediction-oriented approach is sufficient?
- Is the method extensible to nonlinear feature extractors?
- Could you discuss the scalability to larger action spaces?
- It would be helpful to include a clearer discussion of the difference in training objectives between traditional bandit algorithms and DFL, especially for readers familiar with bandits but not DFL.
Limitations
Yes
Final justification
Thanks for the detailed responses. I'll maintain my scores of 4
Formatting concerns
n/a
2 comments
Rebuttal
Thank you for recognizing the paper's motivation, empirical performance, and theoretical support. We address your four questions with nonlinear-extractor results and analyses of decision stability, scalability, and bandit-versus-DFL training.
Decision sensitivity can help explain DFL gains
DFL emerged because prediction accuracy and decision quality are not equivalent. Large prediction errors can be irrelevant to downstream decision-making, while small errors on critical components can change the decision. DFL trains the predictor to reduce errors that matter for the decision. DFL has room to help when limited representation capacity or model misspecification forces the learner to choose which cost variation to preserve, and when errors on contested components dominate decision quality. Offline DFL theory supports both sides of this distinction. Under the consistency conditions of Elmachtoub & Grigas (Management Science, 2022), least-squares PtO and SPO+ can induce the same decision. Hu, Kallus, & Mao (Management Science, 2022) show that plug-in prediction can achieve faster regret rates when small cost errors rarely change the optimal decision. TaskMet (Bansal et al., NeurIPS, 2023) provides direct offline evidence that limited capacity can make task-aware weighting useful.
In our setting, contested components are those whose errors can change the best feasible decision. With limited representation capacity, fitting predictable variation that cannot change any feasible decision leaves less capacity for these components. Figure 4 isolates this effect and appendix D.7 connects it to the trained models. In 4/5 instances, BayesianSPO’s MAE reduction over BayesianMSE is larger on contested components. Appendix B.3 formalizes decision stability. Let denote the expected component costs for context , and let denote the predicted costs. If has a unique optimum and then PtO must select the same action as , leaving no decision error for DFL to correct. Here, is the gap between the best and second best feasible decisions, while accounts for how many components a feasible decision can contain. The right-hand side is larger when the best decision has a clear cost advantage and smaller when modest cost errors can change the decision.
For the synthetic generators, we can evaluate the right-hand side without training to compare decision sensitivity. We normalize by the root-mean-square magnitude of the part of that can change feasible-action rankings. Smaller values mean that less prediction error is needed to remove the stability guarantee The normalized thresholds and corresponding BayesianSPO regret reductions are and on Knapsack 100, and on SP , and on Knapsack 32, and and on SP . Within both Knapsack and SP, the larger instance has the smaller threshold and the larger BayesianSPO gain. This is consistent with the decision stability condition in Appendix B.3: DFL has more room to help when smaller cost errors can change the decision. Portfolio shows why the stability threshold and representation evidence must be read together. Its normalized threshold is , yet BayesianSPO reduces regret by . The threshold measures how easily error can change the action. Figure 4 and Appendix D.7 show whether limited capacity is spent on cost variation that matters for the decision.
Method is extensible to nonlinear feature extractors
Yes, the method is extensible to non-linear feature extractors. Appendix A writes the representation update through , so it applies to any differentiable extractor. The submitted experiments use a linear feature extractor with a bias term, because we want to match the standard setup in PyEPO benchmarks. We further evaluate nonlinear extractors here. The chosen architecture uses residual blocks with a learned scalar initialized at zero, and automatic differentiation trains every layer online. We fixed the architecture and hyperparameters before evaluation, then trained the extractor weights online on ten paired evaluation seeds per instance. We show mean cumulative realized regret for BayesianSPO:
| Benchmark | Linear extractor | Nonlinear extractor |
|---|---|---|
| Knapsack 32 | 17.3k | 14.3k |
| Knapsack 100 | 49.6k | 42.8k |
| SP | 6.4k | 6.0k |
| SP | 24.6k | 22.8k |
| Portfolio | 68.6 | 65.1 |
These results indicate that BayesianSPO can train a nonlinear extractor online. Algorithmically, any differentiable extractor can be trained through the masked gradient, and the new experiments show that this works empirically. Statistically, the posterior remains approximate because past sufficient statistics were formed in earlier feature coordinates. Replay, periodic posterior recomputation, or explicit drift control could remove or control this approximation. The current theory fixes the feature coordinates used by the Bayesian heads, so extending the analysis to jointly evolving features and posteriors is a natural next step supported by our formulation and empirical results.
BayesianSPO scaling
BayesianSPO handles the feasible action set in the same way as PtO and solver-based DFL. It passes a cost vector to the problem solver, which returns the best feasible action without enumerating all feasible actions. SP , for example, has feasible monotone paths, which a polynomial-time shortest-path oracle handles implicitly.
Let be the number of components, the latent feature dimension, and the number selected in a round. The per-component Bayesian heads store dense sufficient-statistic matrices and their inverses, requiring memory. Computing posterior means and widths for all components costs per round. Updating only the observed heads by Sherman-Morrison costs with sparse indexing. We currently batch this masked update across all heads, so that kernel performs work while benefiting from vectorization.
If denotes the cost of one optimization-oracle call, action selection requires one call and SPO+ completions require more. Excluding feature-extractor work, the current per-round cost is therefore , with posterior storage. The exponential size of is handled implicitly by the oracle, while large , large , and difficult solver instances remain practical scaling limits. Relative to solver-based DFL, BayesianSPO adds posterior computation but no new dependence on and no harder oracle. Figure 7 reports total wall-clock times in the same range as BayesianMSE and BLL-Online.
For very large integer programs, the optimization oracle remains the bottleneck, as it is for other solver-based DFL methods. Mandi et al. (AAAI, 2020) extend offline SPO+ to hard combinatorial problems using continuous relaxations and warm-started solves. These techniques are compatible with BayesianSPO because only the objective costs change between calls. Our Gurobi oracles already reuse their models, and Portfolio passes the preceding solution as a MIP start.
DFL changes how the representation is trained
Along the chain from Zhou et al.’s single-arm neural bandit (ICML, 2020) to Hwang et al.’s combinatorial neural bandit (ICML, 2023), the training objective is unchanged. Both fit by regularized least squares on selected-arm feedback and the combinatorial reward does not enter the regression loss. It determines action selection through the oracle and enters the regret analysis through monotonicity and Lipschitz assumptions. So moving from Multi-Arm Bandits (MAB) to Combinatorial-MAB changes the number of training observations ( rather than after rounds when arms are selected each round) rather than the objective’s character.
DFL instead makes the downstream decision part of the training objective. It trains the cost predictor so that the feasible combinatorial decision chosen from the predicted costs has low regret. The constraints determine which actions can be selected together and which prediction errors can change the decision. For example, in shortest path, an edge may have low cost but be irrelevant if it cannot belong to a feasible source-to-destination path, so accurately predicting that edge cost has no value. A constrained optimizer returns a discrete action. DFL therefore studies a broad class of loss functions that turn decision quality into a training signal for the model. BayesianSPO uses the completed cost SPO+ subgradient and masks unobserved coordinates. Its solver-returned decisions therefore train the representation
We hope these clarifications and nonlinear extractor results address your questions. We are happy to fold them into the camera-ready, and welcome further suggestions on what would make the paper most useful to readers.
Thank you again for your helpful questions. We added an additional analysis, nonlinear extractor results, and address each of your four questions. We hope these additions warrant a fresh assessment.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal Summary
We thank the reviewers and AC for their time and effort reading our paper.
We appreciate that the reviews and meta-review find our setting important, practically motivated, the idea novel; the results strong; and the paper well written and reproducible. They highlight that evidence beyond synthetic benchmarks, stronger justification of imputation degeneracy, a pseudo-regret comparison, and validation with nonlinear extractors would elevate the paper.
In response, we add four results strengthening the technical justification and empirical evidence.
Evidence beyond synthetic benchmarks. At MUCp's request, we add evidence from real-world data by adapting Mandi et al.'s energy-scheduling benchmark (AAAI, 2020) to semi-bandit replay with historical SEMO prices, demonstrating applicability using historical electricity prices. BayesianSPO has the lowest mean regret among seven methods and improves on its closest comparator, BayesianMSE, by 8.2%.
Mechanism. At okjA's suggestion, we extend Appendix B.10's counterexample to 50 rounds. We show how imputation degeneracy arises, persists online, and materially affects performance. Masked BayesianSPO follows the full-feedback update and selects the optimal path in round 29. Throughout the trace, the unmasked variant updates in the opposite direction and never selects the optimal path.
Pseudo-regret. At MUCp's suggestion, we evaluate the theorem's metric on all benchmarks. Pseudo-regret and realized regret preserve the same BayesianSPO–BayesianMSE ordering for every seed and benchmark and yield the same empirical conclusion with larger separations under the theorem's metric.
Nonlinear extractors. In response to Yxrh, we compare matched linear and nonlinear extractors. We demonstrate BayesianSPO's extensibility beyond linear feature extractors.
We also sharpen the theoretical contribution and its implications.
Theory contribution. We bound the missing-cost error when an uncertain, unobserved component has a similar predicted cost and can replace a selected component in one feasible swap during masked decision-focused training. We use linear UCB (Abbasi-Yadkori et al., 2011) for pseudo-regret and SPO+ convexity (Elmachtoub & Grigas, 2022) with online gradient descent (Zinkevich, 2003) for the standard training-loss argument. Neither covers predicted, unobserved costs completing SPO+ cost vector. Our proof bounds this central case. We prove in Appendix B.4 that if UCB leaves such a replacement unselected, the selected component must also be uncertain. Because we observe its cost, we bound recurrence. Appendix B.6 converts that count into a bound on added training error. Lower-uncertainty cases and multi-component changes are handled as separate explicit terms. The analysis matches the implementation's stop-gradient by fixing completed costs within each update, but it deviates by fixing the feature map and analyzing projected OGD rather than Adam (detailed in our response to okjA). As Section 5 notes, we do not provide an end-to-end guarantee, but we establish the missing bridge: UCB observations of selected costs control a central class of imputation errors in masked decision-focused training.
We characterize when DFL can help and how BayesianSPO scales. Appendix B.3 identifies when errors cannot change the decision, leaving nothing for DFL to correct. Figure 4 and Appendix D.7 show BayesianSPO prioritizes decision-changing errors under limited capacity. This matches broader DFL literature showing that DFL helps when prediction accuracy and decision quality diverge. BayesianSPO also inherits the oracle-based scaling of PtO and solver-based DFL: it neither enumerates feasible actions nor adds dependence on W.
Together, we contribute a novel protocol, a concrete failure mode and its remedy, scoped theory, and new evidence across established benchmarks, real-world data, and nonlinear representations. We will add these to the paper. We thank MUCp for prompting pseudo-regret and historical-price evaluations, okjA for sharpening the mechanism and theory, Yxrh for clarifying applicability and scaling, and aQww for examining the code and tightening related-work coverage. The reviewers strengthened the work and we hope this record supports acceptance.