arXiv Science⌕ Search

arXiv · 2609.27534

From Frequentist to Bayesian Contextual Optimization

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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Zhuojun Xie, Adam Abdin, Yiping Fang. 2026-09-23. From Frequentist to Bayesian Contextual Optimization. https://arxiv.org/abs/2609.27534

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

The Riemannian Convex Bundle Method

We introduce the convex bundle method to solve convex, non-smooth optimization problems on Riemannian manifolds of bounded sectional curvature. Each step of our method is based on a model that involves the convex hull of previously collected subgradients, parallelly transported into the current serious iterate. This approach generalizes the dual form of classical bundle subproblems in Euclidean space. We prove that, under mild conditions, the convex bundle method converges to a minimizer. Several numerical examples implemented using Manopt$.$jl illustrate the performance of the proposed method and compare it to the subgradient method, the cyclic proximal point algorithm, as well as the proximal bundle method.

math.OC↗

Omega-Limit Sets and Input-to-State Stability in Power Grids With Switching Equilibria

This paper studies a power transmission system with both conventional generators (CGs) and distributed energy assets (DEAs) providing frequency control. We consider an operating condition with demand aggregating two dynamic components: one that switches between different values on a finite set, and one that varies smoothly over time. Such dynamic operating conditions may result from protection scheme activations, external cyber-attacks, or due to the integration of dynamic loads, such as data centers. Mathematically, the dynamics of the resulting system are captured by a system that switches between a finite number of vector fields -- or modes--, with each mode having a distinct equilibrium point induced by the demand aggregation. To analyze the stability properties of the resulting switching system, we leverage tools from hybrid dynamic inclusions and the concept of $Ω$-limit sets from sets. Specifically, we characterize a compact set that is semi-globally practically asymptotically stable under the assumption that the switching frequency and load variation rate are sufficiently slow. For arbitrarily fast variations of the load, we use a level-set argument with multiple Lyapunov functions to establish input-to-state stability of a larger set and with respect to the rate of change of the loads. The theoretical results are illustrated via numerical simulations on the IEEE 39-bus test system.

math.OC↗

Cellular flow control design for mixing based on the least action principle

We consider a novel approach for the enhancement of fluid mixing via pure stirring strategies building upon the Least Action Principle (LAP) for incompressible flows. The LAP is formally analogous to the Benamou--Brenier formulation of optimal transport, but imposes an incompressibility constraint. Our objective is to find a velocity field, generated by Hamiltonian flows, that minimizes the kinetic energy while ensuring that the initial scalar distribution reaches a prescribed degree of mixedness by a finite time. This formulation leads to a ``point-to-set" type of optimization problem which relaxes the requirement on controllability of the system compared to the classic LAP framework. In particular, we assume that the velocity field is induced by a finite set of cellular flows that can be controlled in time. To establish finite time feasibility, we introduce an operator-theoretic switching argument that combines the long-time cellular flow mixing result with the von Neumann alternating-projection theorem. We then leverage the direct method to establish the existence of an optimal solution. Finally, we derive the corresponding optimality conditions for the time-dependent control problem and conduct numerical experiments demonstrating the effectiveness of the proposed control design.

math.OC↗