cs.LGOct 29, 2026

Optimal Contextual Pricing in Non-Stationary Environments

Authors: Yiding Feng, Alireza Rezaeimoghadam

Organizations: Department of Industrial Engineering and Decision Analytics, Hong Kong University of Science and Technology. · School of Computer and Communication Sciences, EPFL.

Abstract

We study contextual dynamic pricing in a non-stationary environment. In each round, a seller observes a buyer's context, posts a price, and receives only binary purchase feedback. The buyer's value is linear in the context and an unobserved feature vector that may change over time, subject to a known total variation budget VV. We measure dynamic regret against the first-best benchmark that extracts each buyer's full value. For identical contexts, we develop a deterministic algorithm that combines binary-search exploration, lower-envelope pricing, and periodic and inconsistency-triggered restarts. It achieves regret O((TV+1)log⁡T)O((\sqrt{TV}+1)\log T). With heterogeneous contexts, a new geometric difficulty arises: small feature changes can leave a relaxed feasible set narrow but far from the current feature vector. We address this difficulty through a multiscale shallow-pricing algorithm that maintains relaxed feasible sets and enclosing ellipsoids at several variation scales. Larger scales provide reliable localization certificates, while the smallest active scale determines the exploitation price. The algorithm achieves dynamic regret O((d2+d3/2TV)log⁡2T)O((d^2+d^{3/2}\sqrt{TV})\log^2 T), where dd is the context dimension. For fixed dd, both guarantees match the lower bound Ω(TV+log⁡log⁡T)Ω(\sqrt{TV}+\log\log T) up to logarithmic factors in TT, establishing near-optimality among deterministic algorithms for every V∈[0,T]V\in[0,T], including the stationary case.

Explore similar work

CardsList
  1. On Non-Stationary Dynamic Pricing: Adaptivity and Optimality

    Jul 27, 2026Feiyu Jiang, Zifeng ZhaoNon-Stationary BanditsDynamic Pricing

  2. Optimal Contextual Pricing under Agnostic Non-Lipschitz Demand

    May 7, 2026Jianyu Xu, Yu-Xiang WangContextual BanditsUCB Algorithms

  3. Minimax-Optimal Semiparametric Contextual Dynamic Pricing with Multimodal Revenue

    Aug 4, 2026Xueping Gong, Zhuoluo Zhang, Zhaowei Miao +1Contextual BanditsDynamic Pricing