Skip to content
Preprint

From Frequentist to Bayesian Contextual Optimization

Sep 2026 · 0 citations · 59 references
Mathematics

TL;DR

Bayesian contextual optimization (BCO) is proposed, a framework that maintains a Gibbs posterior over the parameter space that weights candidate models by their empirical decision quality rather than statistical fit, thereby avoiding commitment to a potentially misspecified likelihood while encoding the full distribution of plausible models consistent with the data.

Abstract

In data-driven contextual stochastic optimization, existing approaches are predominantly frequentist: they commit to a single predictive model and treat it as ground truth, yielding prescriptions that are fragile to model uncertainty and sampling variability in small- and moderate-sample regimes. We propose Bayesian contextual optimization (BCO), a framework that maintains a Gibbs posterior over the parameter space. This decision-focused posterior weights candidate models by their empirical decision quality rather than statistical fit, thereby avoiding commitment to a potentially misspecified likelihood while encoding the full distribution of plausible models consistent with the data. A Bayesian contextual policy is then derived by minimizing the expected decision cost under the posterior predictive distribution, hedging prescriptions against model uncertainty by aggregating over the posterior. We establish three theoretical guarantees: (i) the Gibbs posterior concentrates exponentially fast around the frequentist best-in-class parameter set; (ii) BCO can strictly improve over the frequentist best-in-class policy when model uncertainty is non-negligible; and (iii) BCO attains an $O(n^{-1/2})$ excess risk rate against the oracle over all probability measures up to a misspecification term and an oracle aggregate gap. Computationally, we tailor a variational inference scheme that has the same per-iteration cost as frequentist alternatives and a gradient-free Metropolis-Hastings algorithm that handles nondifferentiable problems. Numerical experiments on two-stage shipment planning, contextual newsvendor, and return-constrained portfolio problems confirm that BCO consistently reduces out-of-sample cost and variance relative to kernel estimators and decision-focused baselines, with the most pronounced gains in small- and moderate-sample regimes under substantial model uncertainty.

View source

Similar papers

Preprint Aug 2026

Stochastic Bayes factors: why, when, and how

The Bayes factor (BF) is a central tool in Bayesian hypothesis testing and model selection, yet its practical use is often challenged. Classical BFs depend heavily on prior specification, cannot be applied with improper priors, and are typically interpreted through arbitrary evidence scales. Moreover, they fail to capt...

L. Egidi, I. Ntzoufras · 0 citations
Preprint Sep 2026

Bagged Martingale Posteriors: Calibrated Uncertainty Quantification for Predictive Resampling

Martingale posteriors and related predictive resampling methods replace the likelihood--prior pair used within Bayesian inference with a predictive model for future observations. These methods are simple to implement and increasingly popular due to their computational efficiency, but little is known about their ability...

Hui Wang, Edwin Fong, David T. Frazier · 0 citations
Sep 2026

Contextual Conditional Value-at-Risk: Estimation and Optimization

This work exploits the Rockafellar–Uryasev representation to formulate both contextual CVaR estimation and optimization as optimization problems involving conditional expectations, and develops a unified data-driven predict-then-optimize framework.

Heng Luo, Ni-Fei Lin, L. J. Hong · 0 citations
Preprint Sep 2026

Robust Bayesian Inference for Unnormalized Models with Mixed-Domain Data

Many statistical models involve parameter-dependent normalizing constants that are computationally intractable, creating substantial obstacles to standard Bayesian inference. Although existing likelihood-based algorithms can often circumvent these constants, their uncertainty quantification may be poorly calibrated und...

Jiong-Ran Wang, D. Pati, A. Bhattacharya · 0 citations
#machine learning Preprint Aug 2026

Enhancing Bayesian Optimization and Active Learning Through Kernel Diversity

A unified framework, KENDO (Kernel ENsemble Disagreement-aware Operator), is proposed that integrates Ensemble Gaussian Processes (EGP) with disagreement-aware acquisition strategies and extends the approach to multi-objective optimization via random scalarization that preserves the single-optimizer conditioning struct...

Heng Zhang, Hao-Tian Xiang, Konstantinos D. Polyzos et al. · 1 citation
Preprint Sep 2026

Empirical Bayes for compound adaptive experiments

We investigate Empirical Bayes (EB) methods in the context of compound adaptive experiments, where the arm distribution in each experiment follows a normal distribution with an unknown mean that we seek to estimate. There are two main EB strategies: $g$-modeling, which estimates the prior by maximizing the marginal lik...

Karun Adusumilli, Jia-Ying Gu, Jun-Fan Tao · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.