Paper: 2606.14679 Authors: Anthony Pineci, Yunzong Xu Categories: cs.LG, eess.SY, math.OC, stat.ML

The Gap

Online inventory optimization (OIO) sits at the intersection of online convex optimization (OCO) and inventory theory. The twist that makes it hard: because inventory carries over across periods, the feasible action set at time t depends on your previous actions and realized demand. This is online convex optimization with memory.

Prior work handled two cases separately. Stochastic inventory learning gives optimal policies under strong distributional assumptions (e.g., i.i.d. demand with known distribution family). On the OCO side, the only general result for OIO with memory was a recent paper by Zhang et al. (2022) that achieved regret inversely proportional to the common-demand probability p — i.e., O(1/p)O(1/p) — but only for a single linear capacity constraint. For general convex capacity sets (e.g., warehouse volume + weight constraints, or budget + storage limits), the best known guarantee was even worse, and no matching lower bound existed.

The gap is twofold: (1) Can we achieve regret that scales like O(1/{p})O(1/\sqrt\{p\}) — the natural rate you’d expect from online learning with a fixed feasible set? (2) Can the algorithm handle arbitrary bounded convex capacity sets, not just a single linear constraint? This paper answers both affirmatively.

[Problem: Online Inventory Optimization with memory -- action set depends on past]
    |
    v
[Current state: Zhang et al. O(1/p) for single linear capacity only]
[Convex sets: no optimal guarantee; no matching lower bound]
    |
    v
[Key insight: Hidden-target learning + norm alignment reduces to 1D queue]
    |
    v
[Result: O(1/sqrt{p}) regret for general convex sets, matching lower bound]
[Also: first polylog regret for strongly convex losses; first dynamic regret]
    |
    v
[Evidence: synthetic & real inventory data confirm theory]
    |
    v
[Conclusion: The hidden-target principle is optimal for OIO on general convex sets]

The Increment

One sentence: Before this paper, the best regret for online inventory optimization on general convex capacity sets was O(1/p)O(1/p) (inverse probability); after, it is O(1/{p})O(1/\sqrt\{p\}) with a matching lower bound — plus the first polylogarithmic guarantee for strongly convex losses and the first dynamic regret bound.

Core Mechanism

The method builds on a natural principle used in stochastic inventory theory: maintain a hidden target chosen by an online learner (like online gradient descent), and at each time step implement the projection of that target onto the currently feasible “order-up-to” set. The authors prove that this simple principle is optimal for any bounded convex capacity set, not just a single linear constraint.

The engine is a new norm alignment idea. They equip the action space with a norm that matches the projection operator (specifically, the same norm used in the projection). This is critical: under the aligned norm, the distance from the hidden target to the feasible set evolves as a scalar queue. Target movement acts as the arrival process, and the common demand acts as service. The high-dimensional coupling between actions and inventory dynamics collapses to a one-dimensional queue control problem. This reduction lets them port all the regret analysis tools from OCO and queueing theory.

[Base Learner (e.g., OGD)] --- produces target t_k [unconstrained]
     |
     v
[Feasible Set S_k] = { x | x >= 0, capacity set applied after inventory carryover }
     |
     v
[Action x_k] = Project_{S_k}(t_k)  [closest point in S_k to t_k, under aligned norm]
     |
     v
[Cost incurred; demand realized; inventory updates]
     |
     v
[Queue: d_k = distance(t_k, S_k)] --- evolves as: d_{k+1} = max( d_k + (t_{k+1}-t_k) - demand_k, 0 )

Structural metaphor: Imagine a librarian who each day must place books on shelves, but the shelves’ positions depend on which books were placed yesterday (some shelves retract). The librarian picks an ideal shelf arrangement (the hidden target), but then must physically place books as close as possible to that ideal given the current shelf layout (the projection). The distance between ideal and actual placement is a backlog: if the ideal arrangement moves quickly, backlog grows; if a “common book return” (demand) arrives, some shelves reset and backlog shrinks. The librarian’s decision reduces to how far ahead she can push the ideal arrangement relative to the return rate — a one-dimensional slacking problem. The norm alignment guarantees that this backlog evolves exactly like a queue, no matter how complicated the shelves are.

Key Concepts

  • Hidden-Target Learning: Instead of directly choosing an action from a time-varying feasible set, choose an unrestricted *target from the whole action space, then project it onto the current set. This decouples the learning (which adapts to costs) from the feasibility mechanics (which enforce constraints). The hidden target can be updated by any online algorithm; the projection handles the changing constraints. This is powerful because the learner never needs to know the exact shape of the feasible set ahead of time — it only needs to be able to project onto it.

  • Norm Alignment: The distance between points in the action space can be measured with many different norms. The authors insist on using the *same norm for measuring distance and for performing the projection. This means the projection operator is non-expansive in that norm: the distance between two projected points is at most the distance between the original points. This seemingly small adjustment prevents the distance from the target to the feasible set from blowing up due to projection artifacts, and instead it evolves cleanly like a scalar queue.

  • Queue Reduction: After norm alignment, the vector-valued state (inventory levels at each product) collapses to a single scalar: the distance from the target to the feasible set. The dynamics become dt+1=max(dt+ΔtDt,0)d_{t+1} = \max(d_t + \Delta_t - D_t, 0) where Δt\Delta_t is the drift of the target (controlled by the learner) and DtD_t is the common demand (random). This is a classic discrete-time queue; the learner’s regret can be bounded using queueing arguments (arrival rate vs service rate). This reduction is what allows the analysis to extend to *any convex capacity set, whereas prior work handled each coordinate separately.

Framework Shift

Before (productwise decomposition):                After (norm alignment + queue reduction):
                                                   
Dimension 1:                                       All dimensions:
  inventory --- demand --- projection               hidden target t_k
    |    |    |    |       |                          |
    v    v    v    v       v                          v
  [analyze coordinate interactions]               feasible set S_k
                                                    |
Dimension 2:                                        v
  ...                                              distance d_k = dist(t_k, S_k)
                                                    |
                                                    v
                                                  1D queue dynamics: d_{k+1} = max(d_k + drift - demand, 0)

One sentence: From productwise decomposition (analyzing each inventory dimension separately, which fails for general convex sets) to a norm-aligned queue reduction that treats the entire system as a single scalar backlog — collapsing high-dimensional coupling into a 1D control problem.

Expert Assessment

Problem choice: Real gap. Online inventory optimization is relevant (supply chains, cloud resource allocation, etc.). The limitation to single linear capacity was a practical pain; general convex sets are common. The field needed a principled optimal bound, and this paper delivers it. Not manufactured.

Method maturity: Elegant insight — norm alignment plus queue reduction is the kind of idea that seems obvious in hindsight but takes a smart person to see. The technical work is heavy (proofs involve martingale bounds and queueing theory), but the core mechanism is simple enough to explain over coffee. No brute force; it’s clever.

Experimental integrity: The synthetic and real-world experiments (using retail demand data) compare against the prior best algorithms (e.g., Zhang et al.). The results show that their method achieves lower regret and adapts to varying convex constraints. No red flags — baselines are sensible, and the experiments validate both the regret rate and the queue reduction intuition. The paper also provides a matching lower bound, which is gold standard.

Writing quality: The abstract and introduction are crisp. The main technical sections are dense but well-organized. I’d rewrite the norm alignment definition section — it could use a simple concrete example (e.g., Euclidean vs Mahalanobis) to build intuition before the heavy analysis.

Verdict: strong accept — clean theory with matching lower bounds, a simple elegant mechanism, and immediate practical relevance.

Takeaways

  • Hidden-target learning is a recipe for any online problem with time-varying feasible sets that depend on past actions: pick an unrestricted learning algorithm, then project onto the current feasible set. The projection becomes a separate module.
  • Norm alignment is a design principle: if you want a distance metric to behave nicely under projections, use the same norm for both projection and measurement. This can simplify proof techniques in other constrained online learning problems.
  • Queue reduction is a new analytical lens for online optimization with memory: the regret bound reduces to controlling the drift of a one-dimensional queue. This may transfer to other problems where the state space is high-dimensional but the constraint dynamics are linear (e.g., portfolio optimization with transaction costs).
  • Practitioners can steal the specific algorithmic template: use OGD to produce a target, maintain a projection oracle for the capacity set, and implement the projection. The theory guarantees optimal regret without tuning per constraint shape.

论文: 2606.14679 作者: Anthony Pineci, Yunzong Xu 分类: cs.LG, eess.SY, math.OC, stat.ML

缺口

在线库存优化(OIO)处于在线凸优化(OCO)与库存理论的交叉点。其难点在于:库存跨期结转,使 t 时刻的可行行动集依赖于以前的行动和已实现的需求。这是带记忆的在线凸优化。

此前的工作分别处理了两个特例。随机库存学习在强分布假设下给出了最优策略(例如 i.i.d. 需求且已知分布族)。在 OCO 一侧,Zhang 等人(2022)最近的工作为在线库存优化实现了与共性需求概率 p 成反比的遗憾 O(1/p),但仅能处理单个线性容量约束。对于一般凸容量集(例如仓库体积加重量约束,或预算加存储限制),已知的最佳保证更差,且缺乏匹配的下界。

缺口有二:(1)能否达到 O(1/√p) 的遗憾率——这是固定可行集下在线学习的自然速率?(2)算法能否处理任意有界凸容量集,而不仅仅是单个线性约束?这篇论文对两者都给出了肯定回答。

[问题:在线库存优化——行动集依赖于历史]
    |
    v
[现状:Zhang 等人 O(1/p) 仅适用于单个线性容量;凸集无最优保证]
    |
    v
[关键洞见:隐目标学习 + 范数对齐 可约化为 1D 队列]
    |
    v
[结果:一般凸集上 O(1/√p) 遗憾,匹配下界;强凸损失首次 poly(log) 遗憾;动态遗憾]
    |
    v
[证据:合成与真实库存数据证实理论]
    |
    v
[结论:隐目标原则在一般凸容量集上是最优的]

增量

一句话:这篇论文之前,在线库存优化在一般凸容量集上的最佳遗憾是 O(1/p);之后变为 O(1/√p) 且下界匹配,还首次实现了强凸损失的 poly(log) 遗憾和动态遗憾。

核心机制

该方法基于库存理论中一个自然原则:保持一个隐目标(由在线学习者选择,如在线梯度下降),每一步将其投影到当前可行的”订货至”集合上。作者证明,对于任意有界凸容量集(而非仅单个线性约束),这个简单原则都是最优的。

核心是一个新的范数对齐思想。他们为行动空间配以与投影算子匹配的范数(即用于投影的相同范数)。在齐次范数下,从隐目标到可行集的距离演化为一个标量队列。目标移动扮演到达过程,共性需求扮演服务。高维行动与库存动力学的耦合坍缩为一维队列控制问题。这种约简使得他们能直接运用 OCO 和排队论中的所有遗憾分析工具。

[基学习器 (如 OGD)] --- 生成目标 t_k [无约束]
     |
     v
[可行集 S_k] = { x | x >= 0, 经库存结转后的容量集 }
     |
     v
[行动 x_k] = Project_{S_k}(t_k) [在齐次范数下离 t_k 最近的 S_k 中的点]
     |
     v
[产生成本;需求实现;库存更新]
     |
     v
[队列:d_k = distance(t_k, S_k)] --- 演化:d_{k+1} = max( d_k + (t_{k+1}-t_k) - demand_k, 0 )

核喻:想象一个图书管理员,每天要把书放回书架上,但书架的位置取决于前一天放置的书(有些书架会缩回)。管理员选择一个理想的书架排列(隐目标),然后必须根据当前书架布局(投影)尽量将书放得接近理想。理想与实际之间的距离就是积压:理想排列移动过快时积压增大;当”共性还书”(需求)到来时,一些书架复位,积压缩小。管理员的决策归结为在借书率之下推着理想排列向前走多远——这是一个一维的松弛问题。范数对齐保证了这个积压无论书架多复杂都精确地按照队列演化。

关键概念

  • 隐目标学习:不从时变可行集中直接选择行动,而是从整个行动空间中挑选一个无约束的目标,再将其投影到当前可行集上。这解耦了学习(适应成本)与可行性机制(约束实施)。隐目标可由任何在线算法更新;投影处理变化的约束。强大之处在于学习者无需预知可行集的精确形状——只需能向其投影。

  • 范数对齐:行动空间中两点间的距离可用多种范数度量。作者坚持使用相同的范数来度量距离和执行投影。这意味着投影算子在那个范数下是非扩张的:两点投影后的距离不超过投影前的距离。这个看似微小的调整防止了从目标到可行集的距离因投影伪影而失控,反而让它像标量队列一样干净地演化。

  • 队列约简:对齐范数之后,向量值状态(每个产品的库存水平)坍缩为一个单标量:从目标到可行集的距离。动力学变为 dt+1=max(dt+ΔtDt,0)d_{t+1} = \max(d_t + \Delta_t - D_t, 0),其中 Δt\Delta_t 是目标漂移(由学习者控制),DtD_t 是共性需求(随机)。这是经典的离散时间队列;学习者遗憾可用排队论参数(到达率对服务率)来界。这一约简正是分析能扩展到任意凸容量集的原因,而此前工作只能逐坐标处理。

框架转变

之前(逐坐标分解):                    之后(范数对齐 + 队列约简):

维度 1:                                 所有维度:
  库存 --- 需求 --- 投影                  隐目标 t_k
    |    |    |    |       |                  |
    v    v    v    v       v                  v
  [分析坐标间相互作用]                     可行集 S_k
                                            |
维度 2:                                    v
  ...                                      距离 d_k = dist(t_k, S_k)
                                            |
                                            v
                                          1D 队列动力学:
                                          d_{k+1} = max(d_k + 漂移 - 需求, 0)

一句话:从逐坐标分解(对一般凸集失效)到范数对齐的队列约简——将整个系统视为单个标量积压,把高维耦合坍缩为一维控制问题。

专家评审

选题眼光:真缺口。在线库存优化具有实际意义(供应链、云资源分配等)。限于单个线性容量是实用痛点;一般凸集很常见。该领域需要原则性的最优界,这篇论文提供了。非人造。

方法成熟度:巧思——范数对齐加队列约简是那种事后看来很自然但需要聪明人才能想到的想法。技术工作扎实(证明涉及鞅界和排队论),但核心机制简明到可以边喝咖啡边解释。非蛮力,而是妙招。

实验诚意:合成与真实零售需求数据实验与先前最优算法(如 Zhang 等人)比较。结果显示该方法遗憾更低且适应变化凸约束。无红旗——基线合理,实验同时验证了遗憾率和队列约简直觉。论文还提供了匹配下界,这是金标准。

写作功力:摘要和引言干净利落。技术章节密度高但条理清晰。我会重写范数对齐定义部分——在重分析之前,应该用一个简单具体例子(如欧氏范数 vs 马氏范数)建立直觉。

判决强接收 —— 纯理论配套匹配下界,机制简单优美,且具有即时实际意义。

要点总结

  • 隐目标学习是一个适用于任何可行集依赖于历史行动的在线问题的配方:选择一个无约束学习算法,然后投影到当前可行集上。投影成为独立模块。
  • 范数对齐是设计原则:如果希望距离度量在投影下表现良好,就使用相同范数进行投影和度量。这能简化其他受约束在线学习问题的证明技术。
  • 队列约简为带记忆的在线优化提供了新的分析透镜:遗憾界归结为控制一维队列的漂移。这可能迁移到其他状态空间高维但约束动力学为线性的问题(例如带交易成本的投资组合优化)。
  • 实践者可以偷走具体的算法模板:使用 OGD 生成目标,为容量集维护一个投影 Oracle,然后执行投影。理论保证了最优遗憾,无需针对每种约束形状调参。