Manuscript Offprint
arXiv:2610.08735Optimal and Efficient Online Inverse Optimization
Abstract
In online inverse linear optimization, a learner recommends an action and then observes the choice of an expert who maximizes a fixed, unknown linear objective on ; the goal is to learn to optimize this objective without observing it. Sakaue recently obtained the optimal regret with a randomized algorithm making linear optimizations per round, and asked whether it can be attained in polynomial time. We answer positively: our deterministic algorithm has regret for every horizon and runs in time polynomial in and . It is a variant of the variable-metric algorithms of Sakaue et al. and Cai et al., in which a metric update is revoked once the query point moves far enough from where the update was made.
1 Introduction
Consider a resident who learns by watching the decisions of an attending physician on a hospital ward. Every patient comes with a handful of possible interventions — this drug or another, operate now or wait — and the attending picks one. The reasoning behind the pick is seldom spelled out: it balances how well a treatment works against what it does to the patient, and how fast recovery comes against what it costs. The resident never sees the criterion the attending uses, only the intervention chosen, one patient at a time. The goal is for the resident's recommendations to become as good as the attending's in the long run: each recommendation falls short of the attending's choice by some amount, measured by the attending's own criterion, and we want the total shortfall over all patients to stay small. This is the problem of online inverse linear optimization.
We represent the attending's criterion by a fixed vector . Each intervention is a vector of attributes, and the interventions available for the -th patient form a set . The resident proposes one, and is then shown the one the attending chose, a maximizer of — and nothing more: not the criterion, not what any option is worth, not the size of the mistake. As in [10], this leads to the following problem.
Online inverse linear optimization. Fix a hidden . For :
-
a compact nonempty action set is revealed, chosen adversarially as a function of the history;
-
the learner recommends an action ;
-
the expert takes , which the learner then observes.
Here is the unit ball of and the Euclidean norm. The learner is charged the cumulative shortfall of its recommendations, in the expert's own currency,
Also with New York University.
Also with Carnegie Mellon University.
| Method | Regret | Uniform in | Proper | Deterministic | Per-round cost |
|---|---|---|---|---|---|
| Bärmann et al. [4, 5] (OGD/MWU) | no | yes | yes | ||
| Besbes et al. [7, 8] (circumcenter) | no | yes | yes | ||
| Gollapudi et al. [16] (centroid) | no | yes | yes | ||
| Gollapudi et al. [16] (John ellipsoid) | yes | yes | yes | ||
| Sakaue et al. [28] (online Newton step) | no | yes | yes | ||
| Sakaue [29] (second-order perceptron) | no | yes | yes | ||
| Dewasurendra [13] (multiscale vote) | yes | no | yes | ||
| Cai et al. [10] (variable metric) | yes | yes | yes | ||
| Sakaue [27] (multiscale matrix weights) | yes | no | no | ||
| This paper (revocable variable metric) with skipping (Prop. 3.3) | yes | yes | yes | ||
| yes | yes | yes | amort. | ||
| Lower bound [28]; [10, Thm. 3.1] | — | — | — | — |
Table 1: Regret of online inverse linear optimization on the unit ball. : one linear optimization over ; : one Mahalanobis projection; in expectation.
and never observes a single term of it. A bound is uniform in if it does not depend on the horizon; it then bounds the total shortfall ever incurred. A learner is proper if it commits to an objective before it sees the menu: at the start of round it holds an estimate of and recommends , at the cost of one linear optimization over . It is improper if may be any function of and the history. A proper learner carries an explicit hypothesis about the attending's criterion, and each of its proposals is the best one under that hypothesis.
This paper is about the dimension. Bounds uniform in are now known (Table 1), so the horizon is no longer the obstacle; what remains is how the total shortfall grows with , the number of attributes the criterion weighs. There is a floor: an adversary that offers the two actions in round and draws the signs of at random makes the better action of each round independent of everything seen before, so every learner, even a randomized one, pays in expectation [28, 27]. We ask for a learner that pays only that much and is also proper and efficient, with arithmetic operations per round.
History. The online formulation is due to Bärmann, Pokutta and Schneider [4, 5], who obtained by online gradient descent and multiplicative weights. Besbes, Fonseca and Lobel [7, 8] obtained by a circumcenter rule, ProjectedCones. Gollapudi, Guruganesh, Kollias, Manurangsi, Paes Leme and Schneider [16], who studied the same protocol as contextual recommendation, obtained by a centroid cutting-plane rule and , uniform in , from the John ellipsoid. Sakaue, Tsuchiya, Bao and Oki [28] obtained at per round plus a Mahalanobis projection by an online Newton step, together with the lower bound above, and Sakaue [29] kept and removed the projection by a second-order perceptron. Under structural assumptions the regret is finite: Sakaue, Bao and Tsuchiya [26] assume that the gap in value of every action is at least a fixed multiple of its distance to the optimal one, Oki and Sakaue [23] that every is M-convex, as the bases of a matroid are, and Kitaoka [19] obtains finite regret and finitely many mistakes for the online Newton step on uniformly bounded integer action sets, for in the probability simplex and unique optimal actions; that bound carries a factor and depends on the range of the coordinates. Whether a finite poly bound holds for arbitrary action sets was asked in [16, 23]. Dewasurendra [13] answered it with , uniform in : at every dyadic scale he covers the class of optimality-gap functions, pools the resulting tolerant tests into one weighted vote and plays the action the vote prefers — an improper rule with tests per round.
Cai, Gupta, Gupta, Guruganesh, Jiang, Liaw, Mehta, Paes Leme, Velegkas and Wang [10] obtained , precisely in the game below, with a deterministic proper rule at per round: a variable-metric step with a self-normalized rank-one update, analyzed through the trace power . Sakaue [27] then reached the optimal order, for every , without knowledge of and for arbitrary compact action sets and ties, by matrix multiplicative weights on polynomial feature spaces at geometrically spaced scales. The learner is randomized and improper — it solves a linear program for a distribution over a list of actions and samples from it — and in round its finest scale acts on polynomials of degree in variables, with linear optimizations over in its rational implementation. Sakaue proves that every round terminates, gives no polynomial bound on the running time, and asks whether is attainable in time polynomial in the dimension, the horizon and the input length [27, Section 7]. So far, then, has been reached only by an improper, randomized rule with no polynomial bound, and is the best bound known for a proper learner, for a deterministic one, and for an efficient one.
The problem is the online face of an older one — recover an objective from observed optimal decisions — initiated by Burton and Toint [9] for shortest paths and cast in linear-programming form by Ahuja and Orlin [1]; see [11] for a survey. Offline work turns on the choice of loss [17, 6, 21, 31], on noisy [3] or partially specified [25] data, and on statistical rates [15]; applications run from control [2] and routing [32] to offline reinforcement learning [14].
Reduction to a cutting-plane game. As in [10], we work with the following primitive, isolated in [16].
Cutting planes with a strong separation oracle. A point is hidden in a known compact convex body ; let . For :
-
the learner queries a point ;
-
an adversary, having seen and the history, returns a unit vector subject only to .
The regret is , a sum of nonnegative losses; the oracle is strong in that may be chosen after seeing .
A learner for this game on gives a proper learner for online inverse linear optimization: play (any fixed nonzero vector if ), recommend , and return for , skipping the rounds with , which cost nothing. Optimality of and of gives , so and the round is legal, and as the shortfall is . Hence ; the expert need only be, round by round, at least as good as the recommendation under its own criterion.
Our main result is an algorithm which, given only the radius , has regret for every horizon , every hidden and every strong separation oracle, and whose round takes arithmetic operations, per round on average over the first rounds (Theorem 2.1). The bound is uniform in , hence holds for , and the algorithm is deterministic and anytime: it needs neither nor restarts. Through the reduction above, with , it gives a deterministic proper learner for online inverse linear optimization with for every horizon and every adaptive sequence of action sets, using one linear optimization over and the same number of arithmetic operations per round (Corollary 2.2).
Both bounds are optimal: every learner, deterministic or randomized, suffers regret in the game on [10, Theorem 3.1], and in expectation in online inverse linear optimization for every [28, 27], so the optimal regret is and , respectively. Ours is the first bound for online inverse linear optimization that is deterministic, the first that is proper, and the first with a polynomial bound on its computation, which answers the question of [27]. Our cost exceeds the of [10] and grows with . A variant that skips every stretch with keeps only stretches active, at an amortized arithmetic operations per round and in the worst round, with regret still (Proposition 3.3).
The main body works in the real-RAM model, counting arithmetic operations on real numbers, and it is self-contained: nothing in it depends on the appendix. Appendix A counts bit operations instead: a rounded variant of the algorithm, which reads each reply to finite precision, keeps regret and uses a number of bit operations per round polynomial in , and the encoding length of (Theorem A.1).
The algorithm. Our starting point is the variable-metric algorithm introduced for this problem by Sakaue, Tsuchiya, Bao and Oki [28] and Sakaue [29], and later made horizon-independent by Cai et al. [10]. In the version of [10], from and it updates
with and , where . It is a variable-metric method: the positive definite matrix is a metric that records what has been learned about , and each round stretches it along the direction just received, to indicate that more is now known along ; the steps are then long in directions not yet explored and short in explored ones. The analysis of [10] controls the distance \|p_t - w^*\|_H_t in the current metric. Every stretch inflates that distance and is never undone: this forces us to be conservative and maintain small stretches—i.e., to keep —which ends up incurring a regret that is larger than the best possible.
We also maintain a metric, but a stretch is no longer permanent: it is revoked as soon as the query moves far along its direction from the query point at which it was made. The learner keeps a set of active stretches, and its metric is
The stretch made at the end of round specifies a weight and an associated slab (consisting of the set of points within of along the direction ); stretch remains active only while the query belongs to slab . In round the query moves continuously along for a time , where corresponds to the currently active stretches; the moment the query leaves the slab of an active stretch, that stretch is revoked and the direction changes correspondingly. At the end of the round a new stretch is added to . Formally, the algorithm is the following.
Definition 1.1 (Algorithm RVM(α)). Start from and . In round , query

Figure 1: One move of RVM( ) in the plane, to scale ( ). The path (red) leaves the slab at and the slab at , turning at each revocation; the dotted segment is the single step with the metric frozen.
and receive . Then follow the continuous path with right derivative given by
(3)
and set
(4)
We run it with .
The term is the set of stretches whose slab the path has not yet left, so a stretch is revoked the moment the path reaches the boundary of its slab, at included, and never returns; without revocations the path is a single segment and , a variable-metric step like that of (2). By Lemma 2.3 the path is well defined and piecewise linear, with at most pieces.
Every quantity the update uses is observable — the queries, the directions received and the stretches made from them — and neither the loss nor appears. The learner is proper, since its queries are its estimates, and uses no randomness. Keeping by Sherman–Morrison, round costs operations, where is the number of stretches it revokes (Remark 2.4); as and each stretch is revoked at most once, this gives the counts of Theorem 2.1.
Figure 1 gives the geometric picture. Two stretches and are active at , and each shortens the step along its own direction, so the path leaves bent away from . At it reaches the edge of : stretch is revoked, the metric loses the term, and the path turns correspondingly. At it leaves , stretch is revoked too, and the path continues along itself until time ; stretch is then defined, with its slab centered at (its half-width is off the picture). As a comparison the dotted segment is the single step taken by [10]. We note that the slabs are not knowledge sets: no point is ruled out, and may lie anywhere.
Organization. Section 2 states the results precisely and proves them. After checking that the move is well defined and counting its cost, it bounds the change of over one move (Lemma 2.5), shows that over the lifetime of a stretch its penalty is refunded up to a term linear in the loss (Lemma 2.6), and pays for the stretches that are never revoked with a trace potential (Lemma 2.7). Section 3 shows why revocation is needed and why it happens exactly on the slab boundary, and gives a variant with active stretches. Section 4 concludes. Appendix A treats finite precision and bit complexity.
2 Analysis
We state the main results precisely and prove them. The first is the regret bound and cost of RVM( ).
Theorem 2.1 (Regret of RVM( )). Let and run RVM( ) with . Then for every , every and every strong separation oracle,
Round t uses arithmetic operations, and the first T rounds use per round on average.
Through the reduction of Section 1, the theorem gives our result for online inverse linear optimization.
Corollary 2.2 (Online inverse optimization). There is a deterministic proper learner for online inverse linear optimization with
for every , every and every adaptive sequence of action sets. Its round uses one linear optimization over and arithmetic operations, and its first rounds use arithmetic operations per round on average.
Proof. Run RVM( ) on , so , through the reduction of Section 1, which gives and adds one linear optimization and arithmetic operations per round, one of them the square root that normalizes . Rounds with are not rounds of the game, so the game's round index never exceeds , and Theorem 2.1 applies.
The cost bounds of Theorem 2.1 are counted in Remark 2.4, once Lemma 2.3 has checked that the move is well defined; the rest of the section proves the regret bound.
The proof tracks the squared distance from the query to in the metric in use, — the quantity \|p_t - w^*\|_H_t^2 of [10] — through the three kinds of events that change it: the moves, the making of stretches, and their revocation. Lemma 2.5 accounts for a move, (6) regroups the whole run by stretch, Lemma 2.6 bounds the contribution of each stretch over its lifetime, and Lemma 2.7 bounds the total left over by the stretches that are never revoked.
2.1 The move and its cost
The move (3) defines the path and the set of active stretches in terms of each other. The first lemma checks that exactly one path fits the definition and collects the facts about it that the analysis uses.
Lemma 2.3 (Well-posed move). In every round t of RVM( ):
(a) the slab of every active stretch contains the query: for all , so that and ;
(b) exactly one path satisfies (3); it is piecewise linear with at most pieces, where is the number of stretches revoked in the round;
(c) is nonincreasing in , so the dual length is nondecreasing, and ;
(d) each stretch revoked in the round is revoked at a point of the path on the boundary of its slab: .
Proof. (a) By induction on ; at there are no stretches. Every has by the definition of , and is the center of , so for all .
(b) While the active set is fixed, the right derivative is constant, so the path is a segment. By (a) the path starts with every stretch of active, and it follows a segment until it reaches the boundary of an active slab or ; the stretches on that boundary are revoked, the others are still strictly inside their slabs, and a new segment begins. Every piece but the last revokes a stretch, so there are at most pieces. The path is unique: since the slabs are open, any path satisfying (3) keeps its active set, hence its velocity, for a while after each time, so two such paths that agree up to some time agree a little beyond it.
(c) The set only loses elements, and each loss subtracts a positive semidefinite from the metric. Inversion reverses the Loewner order, so is nondecreasing, and so is . Finally gives , hence .
(d) The path starts in the open slab by (a) and is continuous, so the first point at which it is not in , where stretch is revoked, lies on the boundary of .
Remark 2.4 (Cost). The algorithm stores for the metric in use, and, for each active stretch , the vector , the numbers , and the displacement of the current point. On a piece of the path it computes in operations and for every active stretch in ; the piece ends at the least of the remaining time and the exit times over , after which and the are advanced in . Revoking stretch is the Sherman–Morrison downdate
whose denominator equals for the metric after the downdate; making stretch is the update , since . Each costs . By Lemma 2.3(b), round therefore costs
arithmetic operations, as . Since each stretch is revoked at most once, , so the first rounds cost in total, that is, per round on average, with memory . No random bits are used. Apart from the constant , all operations are rational, because enters only through . The counts are in the real-RAM model; Appendix A gives a rounded variant with polynomial bit complexity.
2.2 One move
Fix , and the oracle. In round , is the distance the query has moved along by time of the path, and . For the stretch made in round , we let be the point at which it is revoked if that happens by the end of round and otherwise, and we put
its displacement along from the point where it was made. The stretches that are not revoked by the end of round T form the set , and we call them surviving. By Lemma 2.3(a) and (d),
Along the path the query moves along , which decreases the distance to at the rate , and each revocation removes one term from the metric. The lemma records the net effect, together with the fact that the query cannot move far along in one round.
Lemma 2.5 (One move). In every round , , and
Proof. On a piece of the path the metric is fixed and , so
using . Here and by Lemma 2.3(c), so ; at this is the first claim. The rate of change is therefore at most , and integrating over gives . At the end of a piece, revoking stretch at subtracts from the squared distance, which gives the last term.
If no stretch is revoked, throughout and the lemma holds with equality: it is the familiar expansion \|p_t + \alpha H_t^{-1}v_t - w^*\|_H_t^2 = \|p_t - w^*\|_H_t^2 - 2\alpha r_t + \alpha^2 s_t^2.
The ledger. Making stretch at adds to the squared distance: . Add this to Lemma 2.5 and sum over . Each stretch revoked by the end of round is revoked exactly once, so its refund appears exactly once. The surviving stretches have , so .
, and , give . The penalty and the refund of stretch combine: since and ,
and the cancels. Collecting,
We read as the lifetime contribution of stretch : the move that preceded it, and the penalty charged when the stretch was made, net of the refund collected when it is revoked — or, for a surviving stretch, still owed at the end.
2.3 The lifetime of a stretch
In [10] the penalty for stretching the metric is never refunded, and it is quadratic in the loss: there, here. The point of revocation is that the refund cancels the quadratic part exactly, as the ledger shows, leaving in a term linear in whose coefficient the slab controls.
Lemma 2.6 (Lifetime of a stretch). For every ,
Proof. Group the terms of by their dependence on the loss:
The linear part. By (5), , and ; as , , so the linear part is at most .
The rest, for a revoked stretch. Here , and by Lemma 2.5, so
The rest, for a surviving stretch. Here we only use , so the rest is at most .
The two cases say: a revoked stretch pays for its own step, since leaving the slab takes the query a distance along and the refund on the way out covers the cost of the move that preceded the stretch; a surviving stretch leaves its to be paid by the potential of the next lemma. The constants in (4) are the ones that make the first case balance exactly: with weight and a half-width with , the refund margin is , which covers exactly when .
2.4 The surviving stretches
It remains to bound . The metric in use is not monotone, since stretches come and go, so we look instead at the metric built from the surviving stretches alone,
which is monotone, and use the potential : it starts at d and never goes negative.
Lemma 2.7 (Surviving stretches).
Proof. If then . Fix and put . A surviving stretch was made before round and is never revoked, so it is active throughout round ; hence , so , and inverting, . By Sherman–Morrison, , so
The first inequality is Cauchy–Schwarz, as ; the second holds because the middle expression is increasing in and . Telescoping from gives the first bound, and the second.
Remark 2.8 (The potential). Our potential is , whereas the analysis of [10] uses the trace power . The trace of the inverse is closer to optimal experimental design: if each stretch is read as an observation along , then is an information matrix and is its A-optimality criterion [18, 24].
2.5 Proof of Theorem 2.1
By (6) and Lemma 2.6,
and Lemma 2.7 bounds the last sum by 9d. With and , so that ,
Both terms on the left are nonnegative. Dropping the second gives , and dropping the first gives .
3 Further Properties
We explain why revocation is needed and why it happens exactly on the slab boundary, and give a variant with active stretches.
3.1 Why revocation, and why on the boundary
Remark 3.1 (Stalling without revocation). The weight is far heavier than the weight , , of [10], and without revocation it would stop the query. On take and let the oracle answer in every round, which is legal as long as . If no stretch were ever revoked, the metric would be with and , so round would advance the query along by , and all rounds together by at most . For the query would never reach , and every round would lose . With revocation, a stretch stays active only until the query has advanced past , the point where it was made, so a direction that keeps being confirmed does not keep accumulating weight, and Theorem 2.1 bounds the total loss by .
Remark 3.2 (Revocation exactly on the boundary). Lemma 2.6 uses (5) in both directions, and each fails under a simpler rule. Without revocation every stretch survives and nothing bounds : the refund is collected only at the end, where it can be zero, and then contains the penalty , which no multiple of absorbs when is large compared with ; Remark 3.1 shows that this is not an artifact of the proof. Revoking a stretch before the query leaves its slab gives , and the refund need no longer cover the cost of the move. Revoking it after the query leaves, as a single step with the metric frozen followed by a check would do (the dotted segment in Figure 1), gives , and the linear part is no longer bounded by . Nor does the general bound keep the overshoot of a single step within a constant multiple of the half-width: the step moves the query along by , which Cauchy–Schwarz bounds only by , using for and (Lemma 2.3(c)), and this exceeds the half-width of by the factor , which is unbounded. This is why the move is split at the slab boundaries.
3.2 Fewer active stretches
In RVM( ) every round makes a stretch, and up to of them can be active at round , which is where the factor in the cost of Remark 2.4 comes from. A stretch with a tiny carries a tiny slab and a tiny step, and skipping it costs almost nothing.
Proposition 3.3 (Skipping small stretches). Modify so that stretch is made only if , and otherwise and . With , for every , and strong separation oracle,
Round t then costs arithmetic operations, and the first T rounds cost in total.
Proof. Regret. Lemmas 2.3 and 2.5 do not refer to the rule for making stretches, and neither do Lemmas 2.6 and 2.7, which concern stretches that are made. In the ledger (6), a round that makes no stretch contributes , as . The proof of Theorem 2.1 then gives , and , so .
Active stretches. Fix and list . Put and , so that . Each with was made before round and is still active at round , so it was active throughout round ; hence and . By the matrix determinant lemma and ,
On the other hand every stretch made has , so , and the inequality of arithmetic and geometric means gives . Comparing the two bounds gives the claim on .
Cost. By Remark 2.4, a piece costs , round has at most pieces, and the first rounds have at most pieces in total.
4 Conclusion and AI Disclosure
We gave a deterministic proper learner for online inverse linear optimization with regret , the optimal order, using arithmetic operations per round, and a rounded variant that uses bit operations per round (Appendix A). It is the variable-metric method of [10] with one change: stretches are revoked when the query leaves their slab, which lets their weight be a constant multiple of . The running time still depends on : the variant of Proposition 3.3 takes operations per round on average, the logarithm being the number of active stretches, whereas [10] takes but has regret . Whether regret is possible with operations per round, independent of , remains open.
The proof was initially obtained end to end by Colosseum [12], a fully automated agentic system built on the Gemini 4 base model. The raw output of Colosseum is available at [link], and a Lean 4 verification of all the results in this paper at [link]. The authors verified the proof and edited it for clarity of presentation; other models were used later to edit the text.
The raw output goes beyond the main body in two directions. First, it bounds the bit complexity; Appendix A presents this part, simplified and for uncorrupted feedback. Second, it allows corrupted feedback. Against an oracle whose responses violate by a total of , that is, with , has regret for every , with no knowledge of . The only step of our analysis that uses is the bound on the part of linear in in Lemma 2.6; without the sign, the same bound reads , and the rest of the proof goes through unchanged. This brings the corruption-robust guarantee of [10, Section 3.2], which needs an upper bound on , to the rate and to unknown . We chose not to present this extension, and instead to focus on the core geometric idea of revocable stretches.
References
[1] R. K. Ahuja and J. B. Orlin, Inverse Optimization, Oper. Res. 49(5):771–783, 2001.
[2] S. A. Akhtar, A. S. Kolarijani and P. Mohajerin Esfahani, Learning for Control: An Inverse Optimization Approach, IEEE Control Syst. Lett. 6:187–192, 2022.
[3] A. Aswani, Z.-J. Shen and A. Siddiq, Inverse Optimization with Noisy Data, Oper. Res. 66(3):870–892, 2018.
[4] A. Bärmann, S. Pokutta and O. Schneider, Emulating the Expert: Inverse Optimization through Online Learning, ICML 2017, PMLR 70:400–410.
[5] A. Bärmann, A. Martin, S. Pokutta and O. Schneider, An Online-Learning Approach to Inverse Optimization, arXiv:1810.12997, 2020.
[6] D. Bertsimas, V. Gupta and I. C. Paschalidis, Data-Driven Estimation in Equilibrium Using Inverse Optimization, Math. Program. 153(2):595–633, 2015.
[7] O. Besbes, Y. Fonseca and I. Lobel, Online Learning from Optimal Actions, COLT 2021, PMLR 134:586.
[8] O. Besbes, Y. Fonseca and I. Lobel, Contextual Inverse Optimization: Offline and Online Learning, Oper. Res. 73(1):424–443, 2025.
[9] D. Burton and Ph. L. Toint, On an Instance of the Inverse Shortest Paths Problem, Math. Program. 53:45–61, 1992.
[10] Y. Cai, A. Gupta, V. Gupta, G. Guruganesh, Y. Jiang, C. Liaw, A. Mehta, R. Paes Leme, G. Velegkas and D. Wang, Efficient Online Inverse Optimization with Regret, arXiv:2609.13440, 2026.
[11] T. C. Y. Chan, R. Mahmood and I. Y. Zhu, Inverse Optimization: Theory and Applications, Oper. Res. 73(2):1046–1074, 2025.
[12] H. Lin, D. P. Woodruff, Y. Deng, J. Mao, S. Zuo and V. Mirrokni, Stellar Colosseum: A Many-Agent Harness for Long-Horizon Research in Mathematics and Theoretical Computer Science, arXiv:2609.15983, 2026.
[13] P. Dewasurendra, Multiscale Reward Hedging from Correct Demonstrations, arXiv:2608.06825, 2026.
[14] I. Dimanidis, T. Ok and P. Mohajerin Esfahani, Offline Reinforcement Learning via Inverse Optimization, arXiv:2502.20030, 2025.
[15] P. Fatemi, H. Maskan, S. Sra and P. Mohajerin Esfahani, Tight Generalization Bounds for Noiseless Inverse Optimization, arXiv:2605.08866, 2026.
[16] S. Gollapudi, G. Guruganesh, K. Kollias, P. Manurangsi, R. Paes Leme and J. Schneider, Contextual Recommendations and Low-Regret Cutting-Plane Algorithms, NeurIPS 2021; arXiv:2106.04819.
[17] A. Keshavarz, Y. Wang and S. Boyd, Imputing a Convex Objective Function, IEEE Int. Symp. Intelligent Control, 2011, 613–619.
[18] J. Kiefer, General Equivalence Theory for Optimum Designs (Approximate Theory), Ann. Statist. 2(5):849–879, 1974.
[19] A. Kitaoka, Online Inverse Integer Linear Optimization via Small-Gradient Skipping: Constant Regret and Finite Mistakes, arXiv:2609.09809, 2026.
[20] Y. T. Lee, A. Sidford and S. C.-W. Wong, A Faster Cutting Plane Method and its Implications for Combinatorial and Convex Optimization, FOCS 2015, 1049–1065.
[21] P. Mohajerin Esfahani, S. Shafieezadeh-Abadeh, G. A. Hanasusanto and D. Kuhn, Data-Driven Inverse Optimization with Imperfect Information, Math. Program. 167(1):191–234, 2018.
[22] A. S. Nemirovski and D. B. Yudin, Problem Complexity and Method Efficiency in Optimization, Wiley, 1983.
[23] T. Oki and S. Sakaue, Finite and Corruption-Robust Regret Bounds in Online Inverse Linear Optimization under M-Convex Action Sets, ICML 2026; arXiv:2602.01682.
[24] F. Pukelsheim, Optimal Design of Experiments, Wiley, 1993; reprinted as SIAM Classics Appl. Math. 50, 2006.
[25] K. Ren, P. Mohajerin Esfahani and A. Georghiou, Inverse Optimization via Learning Feasible Regions, arXiv:2505.15025, 2025.
[26] S. Sakaue, H. Bao and T. Tsuchiya, Revisiting Online Learning Approach to Inverse Linear Optimization: A Fenchel–Young Loss Perspective and Gap-Dependent Regret Analysis, AIS-TATS 2025, PMLR 258:46–54.
[27] S. Sakaue, Tight Regret Bound for Online Inverse Linear Optimization via Multiscale Matrix Weights, arXiv:2609.26978, 2026.
[28] S. Sakaue, T. Tsuchiya, H. Bao and T. Oki, Online Inverse Linear Optimization: Efficient Logarithmic-Regret Algorithm, Robustness to Suboptimality, and Lower Bound, NeurIPS 2025; arXiv:2501.14349.
[29] S. Sakaue, Simple Projection-Free Algorithm for Contextual Recommendation with Logarithmic Regret and Robustness, arXiv:2603.20826, 2026.
[30] P. M. Vaidya, A New Algorithm for Minimizing Convex Functions over Convex Sets, Math. Program. 73:291–341, 1996.
[31] P. Zattoni Scroccaro, B. Atasoy and P. Mohajerin Esfahani, Learning in Inverse Optimization: Incenter Cost, Augmented Suboptimality Loss, and Algorithms, Oper. Res. 73(5):2661–2679, 2025.
[32] P. Zattoni Scroccaro, P. van Beek, P. Mohajerin Esfahani and B. Atasoy, Inverse Optimization for Routing Problems, Transportation Sci. 59(2):301–321, 2025.
A Polynomial Bit Complexity
The main body counts arithmetic operations on real numbers. Here we count bit operations, and show that a rounded version of RVM keeps regret with a number of bit operations per round polynomial in , and the encoding length of ; this answers the question of [27] in the bit model as well, relative to the interface for the replies described below. Rounding RVM( ) as it stands would not do: its constants make the revoked case of Lemma 2.6 balance exactly, which leaves no room for rounding errors. The rounded version takes smaller weights and wider slabs, which make that room; it rounds the replies inward and the velocities toward zero onto a dyadic grid, so that its queries are computed exactly; it revokes a stretch anywhere in the outer half of its slab, rather than exactly on the boundary; and it stores the inverse metric as the determinant and the adjugate of an integer matrix, so that no denominators accumulate.
The model. We count bit operations, with integer arithmetic done by the schoolbook methods, so that multiplying or dividing an integer of bits by one of bits costs . The radius is a dyadic rational, given in binary by an integer mantissa and an integer exponent of total length , and the queries are output exactly, as dyadic vectors in the same form. (If , the query 0 never loses.) The replies are vectors with , not necessarily unit vectors, still subject to , and the learner reads them through a coordinate interface: asked for precision in round , it returns, at a cost of bit operations, an integer vector with
When the coordinates of are given explicitly as rationals, the interface rounds them, at an additional cost polynomial in their encoding length.
Theorem A.1 (Bit complexity). Let be dyadic and . For every , every with and every strong separation oracle whose replies are read through (7), the rounded RVM of Definition A.2 has
for the queries it outputs and the true replies. Its round t uses bit operations and bits of memory, and its first T rounds use bit operations per round on average.
The constant 21 in place of the of Theorem 2.1 is the price of the slack. Through the reduction of Section 1, with half-differences of actions as replies, the theorem gives a proper learner for online inverse linear optimization in the bit model (Corollary A.5).
A.1 The rounded algorithm
Definition A.2 (Rounded RVM). Let be the least power of two with , let , and let , with as in Theorem A.1. Start from and . In round :
-
Query , request at precision , receiving , and round it inward to , where .
-
Starting at and with time left, repeat the following motion until no time is left. Let be the metric of the set of active stretches, and let be with each coordinate truncated toward zero to a multiple of . Move to , where is the largest multiple of that is at most the time left and at most the time at which the ray , , leaves the slab of some active stretch . Then revoke every active stretch with .

Figure 2: A motion of the rounded RVM, not to scale. It advances in ticks (dots) and stops at , the last tick before the ray (dotted) leaves the slab , inside the darker outer half, where stretch i is revoked.
- Set and for the metric left after the last motion. If , make stretch , with
and set ; otherwise set .
The motions of round trace a piecewise linear path , and as in (3) we write and for the set of active stretches and the metric in force at time ; they change only where a motion ends, is the metric at the start of the round, and as in (4). The precision makes the grid fine: , so . A motion is the move of RVM() made discrete: its velocity is up to the truncation, time advances in ticks of , and the motion stops at the last tick before the query would leave a slab, where every stretch in the outer half of its slab is revoked. The weight lies between and , an eighth to a quarter of the weight in RVM(), and the product is the same as there, so the half-width lies between and , four to eight times as wide. The threshold for making a stretch keeps every weight at most , as the threshold of Proposition 3.3 does there.
Figure 2 shows a motion that ends in a revocation. The band is the slab of an active stretch , of half-width around along , and its outer halves, the shells, are shaded darker. The motion starts at , in the inner half, and advances in ticks of , the dots, drawn far longer than they are. It stops at , the last tick before the ray, dotted, leaves . Since a tick is shorter than , the point lies in the shell, so stretch is revoked there, and the next motion starts in a new direction. Unlike the move of RVM( ) in Figure 1, the revocation point lies only in the outer half of the slab, not on its boundary; the slack in the weights and half-widths pays for this.
The next lemma plays the role of Lemma 2.3. Besides the facts about the motions, it records the size of the rounding errors and of the quantities they are multiplied by.
Lemma A.3 (Rounded move). In every round t of the rounded RVM:
(a) and , and the velocity of every motion satisfies and for the metric of that motion, and ;
(b) every weight satisfies , and for all , , and ;
(c) at the start of every motion, for every active stretch ;
(d) every motion lasts a positive multiple of , and every motion but the last revokes a stretch, so the round has at most motions, where is the number of stretches it revokes;
(e) every stretch i stays in while it is active, and if it is revoked at a point then .
Proof. (a) By (7), . If , then has the sign of and ; if , then . In both cases and . Truncation toward zero moves each coordinate by less than and does not increase its magnitude, and and as .
(b) If stretch is made, then , so . The stretches active in round were made in rounds , with , and , which gives the bounds on . By (a), every round moves the query a distance at most , from .
(c)-(e) A new stretch is made at the center of its slab, so it suffices to show that if (c) holds at the start of a motion, then the motion satisfies (d) and (e) and (c) holds at its end after the revocations. Let be its velocity, and for an active stretch let and . If , the ray leaves at time
using by (a), (b) for , and . Hence the motion lasts a positive multiple of and stays in every slab. If it is not the last motion of the round, it ends less than before the ray leaves some , at a point where , so stretch is revoked. The stretches revoked at the end of the motion are those in the outer half of their slabs, which gives (e), and the others satisfy (c). As the motions last multiples of that sum to , there are finitely many, and (d) follows because a revoked stretch never returns.
Parts (c)–(e) are the counterparts of Lemma 2.3(a), (b) and (d): a motion never leaves a slab, and it revokes a stretch only in the outer half of its slab, at a displacement between and instead of exactly .
A.2 Regret
We prove the bounds on and in Theorem A.1 by following Section 2 and pointing out what changes. Fix , and the oracle, and in round put
the loss against the rounded reply and the distance moved along it. For every stretch made, the point and the displacement are as in Section 2.2, and the surviving stretches form the set . As , Lemma A.3(b) gives throughout round , and with Lemma A.3(a),
One move. On a motion the metric is fixed and with , so, as in the proof of Lemma 2.5,
Here , with since the metric only loses stretches during the round, so
The last term of the derivative is at most by Lemma A.3(b). Integrating over and subtracting the refund of each stretch revoked in the round,
The ledger. The penalty of stretch is and its refund , so the ledger of Section 2.2 holds with and in place of and , each round that makes no stretch contributing its move alone:
where now , plus if stretch is made.
The lifetime of a stretch. Suppose that stretch is made. By Lemma A.3(e), , and , so the coefficient of lies in ; as , (8) bounds the part of linear in by . By (9) and , , and since . If stretch is revoked, then by Lemma A.3(e), and as is increasing for ,
so the refund pays for the move, as in Lemma 2.6. If stretch survives, completing the square as there leaves , as . If no stretch is made, (8) gives , and . The rounding errors add up to at most , so in every case
The surviving stretches. The proof of Lemma 2.7 applies with in place of , using in the Cauchy–Schwarz step. In its notation, , so the decrease of the potential at a surviving stretch is at least , and .
Conclusion. Summing over t, with and ,
With , this gives . The coefficient is convex in , so it is at most the larger of its values at the endpoints, at and at .
Active stretches. The proof of Proposition 3.3 applies with in place of : each factor of the determinant is at least , and by Lemma A.3(b). Hence , and the bound on follows from .
A.3 Exact integer arithmetic
We now run the rounded RVM in integer arithmetic, with no rounding beyond the truncations of Definition A.2, and bound the lengths of the integers involved. The precisions are nondecreasing in , so is a multiple of . In round every motion moves the query by with and , so by induction, throughout round , for an integer vector : the queries are computed exactly. Write and . An active stretch , made in round , has and for integer vectors and , and an integer ; we write and for these vectors at the current precision. The metric is then for the integer matrix
and the algorithm stores, in place of , the integer and the integer matrix , so that . Every stretch made or revoked changes by a rank-one term, and and follow by the next lemma, a fraction-free form of Sherman–Morrison.
Lemma A.4 (Adjugate update). Let and be positive definite integer matrices, with and , and let , and . Then
and the division is exact.
Proof. By the matrix determinant lemma, . By Sherman–Morrison, ; multiplying by and substituting gives the formula for . The adjugate of an integer matrix is an integer matrix, so the division is exact.
Starting from , , and at , and with , round runs as follows.
-
Output . Multiply by , by and by , as the change of precision multiplies by . Request , compute , and set , the number of ticks left.
-
While , compute and , so that , since . For each active compute and , so that and ; as , if the ray leaves after ticks. Let be the least of and the integer parts of these numbers, set and , and revoke, one at a time, every active with , updating and by Lemma A.4 with the minus sign, and .
-
Compute , so that . If , make stretch : store , , and , and update and by Lemma A.4 with the plus sign, and .
The only roundings are those of Definition A.2: the inward rounding of the reply, the floors in U and in the numbers of ticks, and the ceiling in . Every matrix G met along the way, including those between the revocations of one motion, is plus positive semidefinite terms, so Lemma A.4 applies.
Bit lengths and cost. We prove the cost bounds of Theorem A.1. Throughout round , Lemma A.3 gives , hence , and likewise for ; also , and . As , these integers, the , the and the numerators of the numbers of ticks have bits. Since , and even after stretch is made, the inequality of arithmetic and geometric means gives , and ; so , the entries of and , and the integers in Lemma A.4 have bits. A motion therefore costs bit operations for and and for the scan of the active stretches, each use of Lemma A.4 costs , and the change of precision and the request cost . Writing in mantissa-exponent form multiplies the mantissa of by integers of bits, at a cost of . By Lemma A.3(d), round thus uses
bit operations, and the counts of Theorem A.1 follow from and . The memory holds and , in bits, the active stretches, in bits each, and the query, in bits.
A.4 Inverse optimization in the bit model
For online inverse linear optimization we use the reduction of Section 1 with one change: the reply is the half-difference rather than the normalized difference, which avoids the square root and needs no precision beyond that of the actions.
Corollary A.5 (Inverse optimization in the bit model). Suppose that the actions are read through the coordinate interface (7). There is a deterministic proper learner for online inverse linear optimization with for every , every and every adaptive sequence of action sets. Its round uses one linear optimization over , for an integer objective with bits per coordinate, and bit operations, and its first rounds use bit operations per round on average.
Proof. Run the rounded RVM with . Before seeing , take as objective the integer vector with , or if , recommend the action returned by the linear optimization, and after observing reply with . As is a positive multiple of , optimality of and gives , so , , and the shortfall is . Theorem A.1 then gives ; every round, including those with , is a round of the game. To answer a request of precision , read and at precision , receiving and ; then is within of , and rounding it to a nearest integer answers (7) at a cost of .