OpenFrontiers
← Back to the index
OP-0064OpenLearning theory

Minimax Algorithm for Learning Rotations

It is unknown what is the most suitable regularization for rotation matrices and how to maintain uncertainty over rotations in an online setting. We propose to address these questions by studying the minimax…

Status reported by the supplied archiveAs of 2026-09-05Source & evidence ↓

The research question

It is unknown what is the most suitable regularization for rotation matrices and how to maintain uncertainty over rotations in an online setting. We propose to address these questions by studying the minimax…

Read the original paper for precise definitions, assumptions, and numbered questions. The dated archive notes below describe reported progress and the remaining questions.

Lean 4

Not yet attached

No Lean statement or proof is attached yet. Have a formalization? Share its source to add it to this problem.

Read the original paper Full text & figures

Minimax Algorithm for Learning Rotations

Wojciech Kotłowski (KOTLOWSK@CWI.NL)

Centrum Wiskunde & Informatica

Manfred K. Warmuth (MANFRED@CSE.UCSC.EDU)

Department of Computer Science, UC Santa Cruz

Editor: Sham Kakade, Ulrike von Luxburg

Abstract

It is unknown what is the most suitable regularization for rotation matrices and how to maintain uncertainty over rotations in an online setting. We propose to address these questions by studying the minimax algorithm for rotations and begin by working out the 2-dimensional case.

The problem of online learning of rotations is defined as follows. In every iteration t=1,2,…,Tt = 1, 2, \ldots, T, the learner is given a unit vector xt\boldsymbol{x}_t (∥xt∥=1\|\boldsymbol{x}_t\| = 1). The learner is then required to predict (deterministically or randomly), with a rotation matrix Rt∈SO(n)\mathbf{R}_t \in \mathcal{SO}(n). The choice of Rt\mathbf{R}_t determines the predicted unit vector y^t=Rtxt\hat{\mathbf{y}}_t = \mathbf{R}_t\mathbf{x}_t. Finally, the algorithm obtains the "true" rotated unit vector yt\mathbf{y}_t and incurs loss

Lt(Rt)  =  12E[ ∥Rtxt−yt∥2 ]  =  12E[∥Rtxt∥2⏟1+∥yt∥2⏟1−2(Rtxt)⋅yt]  =  1−(E[Rt]xt)⋅yt,L_t(\mathcal{R}_t) \;=\; \frac{1}{2}\mathbb{E}\big[\,\|\mathbf{R}_t\mathbf{x}_t - \mathbf{y}_t\|^2\,\big] \;=\; \frac{1}{2}\mathbb{E}\big[\underbrace{\|\mathbf{R}_t\mathbf{x}_t\|^2}_{1} + \underbrace{\|\mathbf{y}_t\|^2}_{1} - 2(\mathbf{R}_t\mathbf{x}_t)\cdot\mathbf{y}_t\big] \;=\; 1 - (\mathbb{E}[\mathbf{R}_t]\mathbf{x}_t)\cdot\mathbf{y}_t,

where ⋅\cdot is the dot product, Rt\mathcal{R}_t is the distribution over SO(n)\mathcal{SO}(n) from which Rt\mathbf{R}_t is drawn, and E[.]\mathbb{E}[.] is the expectation wrt RT\mathcal{R}_T. We seek on-line algorithms which have small bounded regret

∑t=1TLt(Rt)−min⁡R∈SO(n)∑t=1TLt(R)\sum_{t=1}^{T} L_t(\mathcal{R}_t) - \min_{\mathbf{R}\in\mathcal{SO}(n)}\sum_{t=1}^{T} L_t(\mathbf{R})

for arbitrary sequences of examples (xt,yt)(\boldsymbol{x}_t, \boldsymbol{y}_t) of length TT. Recently, a regret bound of 2nT2\sqrt{nT} has been proven for a randomized1 algorithm which does a gradient descent step in each iteration and then projects into a suitable chosen convex set (Hazan et al., 2010). Even though the regret of this algorithm was shown to be optimal within a constant factor (Hazan et al., 2010), many questions remain for this archetypical machine learning problem that has many applications in robotics, vision, matrix completion, subspace tracking, etc (See e.g. Arora (2009); Hazan et al. (2010)):

  1. We don't know the proper way to regularize rotations. Is there some kind of entropy defined over SO(n)\mathcal{SO}(n)? The algorithm of (Hazan et al., 2010) is based on regularizing wrt the squared Euclidean distance, which does not take the structure of the SO(n)\mathcal{SO}(n) into account.

  2. The parameter space SO(n)\mathcal{SO}(n) is not convex and we don't know the "correct" way to maintain uncertainty over this space. The algorithm of (Hazan et al., 2010) projects using inequality constraints which means that it "forgets" information about the past examples.

  3. A good on-line algorithm should intuitively exploit the elegant Lie group and Lie algebra connection (via the exponential map) between SO(n)\mathcal{SO}(n) and skew symmetric matrices, respectively (Arora, 2009).

We propose to resolve some of these issues by finding the minimax algorithm for learning rotations and we hope that this algorithm will give insights for learning other matrix classes:

Rt=argmin⁡Rtmax⁡yt max⁡xt+1min⁡Rt+1max⁡yt+1 … max⁡xTmin⁡RTmax⁡yT (∑q=tTLq(Rq)−min⁡R∈SO(n)∑t=1TLt(R)),\mathcal{R}_t = \operatorname*{argmin}_{\mathcal{R}_t}\max_{\boldsymbol{y}_t}\ \max_{\boldsymbol{x}_{t+1}}\min_{\mathcal{R}_{t+1}}\max_{\boldsymbol{y}_{t+1}}\ \ldots\ \max_{\boldsymbol{x}_T}\min_{\mathcal{R}_T}\max_{\boldsymbol{y}_T}\ \left(\sum_{q=t}^{T} L_q(\mathcal{R}_q) - \min_{\mathbf{R}\in\mathcal{SO}(n)}\sum_{t=1}^{T} L_t(\mathbf{R})\right),

where the Rq\mathcal{R}_q are distributions over SO(n)\mathcal{SO}(n) and the unit vectors xq,yq\boldsymbol{x}_q, \boldsymbol{y}_q are chosen deterministically.

So far, we have obtained the following partial result sketched below: If the instances xt\boldsymbol{x}_t are restricted to be a fixed unit, say e1=(1,0,…,0)⊤\boldsymbol{e}_1 = (1, 0, \ldots, 0)^\top, then we can give the minimax algorithm. In the case of n=2n = 2, the two problems coincide because any black box for solving the fixed instance problem can be used to solve the variable instance problem with the same regret. This holds because if Rxt\mathbf{R}_{\boldsymbol{x}_t} rotates xt\boldsymbol{x}_t onto e1\boldsymbol{e}_1 (i.e. e1=Rxtxt\boldsymbol{e}_1 = \mathbf{R}_{\boldsymbol{x}_t}\mathbf{x}_t), then processing (xt,yt)(\boldsymbol{x}_t, \boldsymbol{y}_t) is the same as processing (e1,yt′)(\boldsymbol{e}_1, \boldsymbol{y}_t'), where yt′:=Rxtyt\boldsymbol{y}_t' := \mathbf{R}_{\boldsymbol{x}_t}\boldsymbol{y}_t:

∥Rtxt−yt∥=∥RtRxt−1e1−yt∥=∥Rxt−1Rte1−yt∥=∥Rxt−1(Rte1−yt′)∥=∥Rte1−yt′∥.\|\mathbf{R}_t\mathbf{x}_t - \mathbf{y}_t\| = \|\mathbf{R}_t\mathbf{R}_{\boldsymbol{x}_t}^{-1}\boldsymbol{e}_1 - \boldsymbol{y}_t\| = \|\mathbf{R}_{\boldsymbol{x}_t}^{-1}\mathbf{R}_t\boldsymbol{e}_1 - \boldsymbol{y}_t\| = \|\mathbf{R}_{\boldsymbol{x}_t}^{-1}(\mathbf{R}_t\boldsymbol{e}_1 - \mathbf{y}_t')\| = \|\mathbf{R}_t\boldsymbol{e}_1 - \mathbf{y}_t'\|.

Note that in the 2nd equality we used RtRxt−1=Rxt−1Rt\mathbf{R}_t\mathbf{R}_{\boldsymbol{x}_t}^{-1} = \mathbf{R}_{\boldsymbol{x}_t}^{-1}\mathbf{R}_t, which only holds for n=2n = 2.

When xt=e1\boldsymbol{x}_t = \boldsymbol{e}_1 for all tt, then the loss 1−(E[Rt]e1)⋅yt1 - (\mathbb{E}[\mathbf{R}_t]\boldsymbol{e}_1)\cdot\mathbf{y}_t can be rewritten as 1−wt⋅yt1 - \boldsymbol{w}_t\cdot\mathbf{y}_t, where wt=E[Rt]e1\boldsymbol{w}_t = \mathbb{E}[\mathbf{R}_t]\boldsymbol{e}_1 is a new parameter vector which has norm at most 1. With this parameter vector, the regret simplifies to

∑t=1T(1−wt⋅yt)−inf⁡w:∥w∥≤1{∑t=1T(1−w⋅yt)}=−∑t=1Twt⋅yt+w∗⋅sT=∑t=1T−wt⋅yt+∥sT∥,\sum_{t=1}^{T}(1 - \boldsymbol{w}_t\cdot\mathbf{y}_t) - \inf_{\boldsymbol{w}:\|\boldsymbol{w}\|\leq1}\left\{\sum_{t=1}^{T}(1 - \boldsymbol{w}\cdot\mathbf{y}_t)\right\} = -\sum_{t=1}^{T}\boldsymbol{w}_t\cdot\mathbf{y}_t + \boldsymbol{w}^*\cdot\boldsymbol{s}_T = \sum_{t=1}^{T} -\boldsymbol{w}_t\cdot\mathbf{y}_t + \|\boldsymbol{s}_T\|,

where sT=∑t=1Tyt\boldsymbol{s}_T = \sum_{t=1}^{T}\mathbf{y}_t, and w∗=arg⁡max⁡w,∥w∥≤1w⋅sT=sT∥sT∥\boldsymbol{w}^* = \arg\max_{\boldsymbol{w},\|\boldsymbol{w}\|\leq1}\boldsymbol{w}\cdot\boldsymbol{s}_T = \frac{\boldsymbol{s}_T}{\|\boldsymbol{s}_T\|}. To find the optimal strategy of the forecaster, we proceed backwards. Fix sT−1\boldsymbol{s}_{T-1} and w1,…,wT−1\boldsymbol{w}_1, \ldots, \boldsymbol{w}_{T-1}. We want to solve the following minimax problem in the last iteration:

min⁡w:∥w∥≤1 max⁡y:∥y∥=1{−w⋅y+∥sT−1+y∥}.(1)\min_{\boldsymbol{w}:\|\boldsymbol{w}\|\leq1}\ \max_{\mathbf{y}:\|\boldsymbol{y}\|=1}\left\{-\boldsymbol{w}\cdot\mathbf{y} + \|\boldsymbol{s}_{T-1} + \mathbf{y}\|\right\}. \tag{1}

A more involved analysis reveals that the optimal solution wT\boldsymbol{w}_T must be sT−1\boldsymbol{s}_{T-1} times a shrinking factor:

wT=sT−1∥sT−1∥2+1,\boldsymbol{w}_T = \frac{\boldsymbol{s}_{T-1}}{\sqrt{\|\boldsymbol{s}_{T-1}\|^2 + 1}},

while the optimal (worst-case) outcome yT\mathbf{y}_T is orthogonal to sT−1\boldsymbol{s}_{T-1}. Plugging wT\boldsymbol{w}_T and yT\mathbf{y}_T into (1) and using yT⋅sT−1=yT⋅wT=0\mathbf{y}_T\cdot\boldsymbol{s}_{T-1} = \mathbf{y}_T\cdot\boldsymbol{w}_T = 0 gives the optimal value of the regret increase in the last iteration: ∥sT−1∥2+1\sqrt{\|\boldsymbol{s}_{T-1}\|^2 + 1}. In the second to the last step

wT−1=argmin⁡w:∥w∥≤1 max⁡y:∥y∥=1{−w⋅y+∥sT−2+y∥2+1}=sT−2∥sT−2∥2+2\boldsymbol{w}_{T-1} = \operatorname*{argmin}_{\boldsymbol{w}:\|\boldsymbol{w}\|\leq1}\ \max_{\mathbf{y}:\|\boldsymbol{y}\|=1}\left\{-\boldsymbol{w}\cdot\mathbf{y} + \sqrt{\|\boldsymbol{s}_{T-2} + \mathbf{y}\|^2 + 1}\right\} = \frac{\boldsymbol{s}_{T-2}}{\sqrt{\|\boldsymbol{s}_{T-2}\|^2 + 2}}

and yT−1\mathbf{y}_{T-1} is orthogonal to sT−2\boldsymbol{s}_{T-2}. Plugging wT−1\boldsymbol{w}_{T-1} and yT−1\mathbf{y}_{T-1} into the optimized expression leads to the worst-case regret increase in the last two iterations which is ∥sT−2∥2+2\sqrt{\|\boldsymbol{s}_{T-2}\|^2 + 2}. Continuing the backward induction, in the kk-th step from the end, we optimize

wT−k+1=argmin⁡w:∥w∥≤1 max⁡y:∥y∥=1{−w⋅y+∥sT−k+y∥2+k−1}=sT−k∥sT−k∥2+k,\boldsymbol{w}_{T-k+1} = \operatorname*{argmin}_{\boldsymbol{w}:\|\boldsymbol{w}\|\leq1}\ \max_{\mathbf{y}:\|\boldsymbol{y}\|=1}\left\{-\boldsymbol{w}\cdot\mathbf{y} + \sqrt{\|\boldsymbol{s}_{T-k} + \mathbf{y}\|^2 + k - 1}\right\} = \frac{\boldsymbol{s}_{T-k}}{\sqrt{\|\boldsymbol{s}_{T-k}\|^2 + k}},

and the worst-case regret increase in the last kk iterations equals ∥sT−k∥2+k\sqrt{\|\boldsymbol{s}_{T-k}\|^2 + k}. The value of the minimax regret can be obtained for k=Tk = T and is equal to T\sqrt{T}.

Summarizing, we were able to prove that when the input xt\boldsymbol{x}_t is restricted to be a fixed vector, then the minimax regret is T\sqrt{T} and does not depend on the dimension. The optimal strategy for this case is to choose wt\boldsymbol{w}_t as the current "sufficient statistic" st−1=∑q=1t−1yq\boldsymbol{s}_{t-1} = \sum_{q=1}^{t-1}\mathbf{y}_q times a shrinking factor that is related to the randomization. The worst-case data sequence for minimax algorithm is any sequence where the outcomes are always orthogonal to the current sufficient statistic (and the vector chosen by the optimal strategy).

For n=2n = 2, the minimax regret for the fixed instance problem coincides with the minimax of the original rotation problem2 and the open problem is to determine the minimax regret for dimension n>2n > 2.

Acknowledgments

This research was supported by NSF grant IIS-0917397.

References

R. Arora. On learning rotations. In Y. Bengio, D. Schuurmans, J. Lafferty, C. K. I. Williams, and A. Culotta, editors, Advances in Neural Information Processing Systems 22, pages 55–63. MIT Press, 2009.

E. Hazan, S. Kale, and M. K. Warmuth. Learning rotations with little regret. In COLT ’10, June 2010. A corrigendum can be found at the conference website.

Footnotes

  1. Any deterministic algorithm can be forced to have regret Ω(T)\Omega(T) (Hazan et al., 2010). ↩

  2. For n=2n = 2, the algorithm of (Hazan et al., 2010) has a regret bound of 22T2\sqrt{2T}, whereas we show that the minimax regret for learning rotations is T\sqrt{T}. ↩

Questions & status notes Supplied archive · 2026-09-05

These notes reproduce the supplied archive’s summaries, some of which are abbreviated or truncated. Use the original paper for a complete mathematical statement. Reported resolutions may rely on unrefereed work.

OP [open] Main open problem: find the minimax algorithm for online learning of rotations, R_t = argmin_{R_t} max_{y_t} max_{x_{t+1}} min ... (sum_{q=t}^T L_q(R_q) - min_{R in SO(n)} sum_t L_t(R)), with loss L_t = 1 - (E[R_t] x_t)·y_t over unit vectors. The paper solves the fixed-instance case (x_t = e_1 for all t) with minimax regret exactly sqrt(T) and optimal strategy w_t = s_{t-1}/sqrt(||s_{t-1}||^2 + T Q1 [open] Numbered question 1: "We don't know the proper way to regularize rotations. Is there some kind of entropy defined over SO(n)? The algorithm of (Hazan et al., 2010) is based on regularizing wrt the squared Euclidean distance, which does not take the structure of the SO(n) into account." Q2 [open] Numbered question 2: "The parameter space SO(n) is not convex and we don't know the 'correct' way to maintain uncertainty over this space. The algorithm of (Hazan et al., 2010) projects using inequality constraints which means that it 'forgets' information about the past examples." Q3 [open] Numbered question 3: "A good on-line algorithm should intuitively exploit the elegant Lie group and Lie algebra connection (via the exponential map) between SO(n) and skew symmetric matrices, respectively (Arora, 2009)."

Progress & source assessment

Read the archive’s progress assessment
Status notes from the supplied COLT archive (2026-09-05; later corrections retained where present). Preprint claims are not independent proof verification. Let V_T(n) be the minimax regret (randomized learner, deterministic adversary) of the T-round rotation game in R^n. Known as of Sept 2026: (i) n = 2: V_T(2) = sqrt(T) exactly, with minimax strategy w_t = s_{t-1}/sqrt(||s_{t-1}||^2 + T - t + 1) (Kotlowski-Warmuth 2011; this is the D = 2, G_t = 1 case of Abernethy-Bartlett-Rakhlin-Tewari 2008, Thm 6, on the Euclidean-ball linear game). (ii) n >= 3, T >= n: sqrt((T-1)(n-1)/4) <= V_T(n) <= sqrt(nT) (HKW, Machine Learning 2016, Thms 2 and 1) -- a factor-2 gap in the constant; the exact value and algorithm are unknown. (iii) Small horizons (my derivation, consistent with HKW16 Sec. 5): for T <= n-1, V_T(n) = T exactly (adversary plays orthonormal x_t and picks y_t orthogonal to y_1..y_{t-1} and to the learner's prediction w_t = E[R_t]x_t; the trivial W_t = 0 strategy gives regret <= T). Hence the sqrt(T) law of n = 2 already fails at T = 2 for n >= 3 (value 2, not sqrt 2), so the n-dependence is genuine. (iv) Noise-free variant (a consistent rotation exists): minimax regret exactly n-1 for randomized and 2(n-1) for deterministic algorithms (HKW 2016, Thm 6 and Sec. 6). (v) Deterministic learners: Omega(T) regret (HKW). Loss-dependent bounds: Omega(sqrt(nL) + n) lower bound and a matching O(sqrt(nL) + n) upper bound (Nie 2015, via projection onto conv of orthogonal matrices) hold up to constants. No paper determines V_T(n) for n >= 3, T >= n, nor an entropy/regularizer on SO(n) yielding the minimax algorithm.
References
  1. [1]Minimax Algorithm for Learning Rotations. COLT 2011. link
  2. [2]Original published PDF link
  3. [3]Learning rotations with little regret (journal version) (2016) linkEvidence cited by the supplied archive; not independently re-reviewed in this import.
  4. [4]Semantic Scholar citation records for the note and for HKW (COLT 2010 record and 2016 DOI record) (2026) linkEvidence cited by the supplied archive; not independently re-reviewed in this import.
  5. [5]Learning a set of directions (2013) linkEvidence cited by the supplied archive; not independently re-reviewed in this import.
  6. [6]Optimal strategies and minimax lower bounds for online convex games (2008) linkEvidence cited by the supplied archive; not independently re-reviewed in this import.
  7. [7]arXiv author listings for Wojciech Kotlowski and Manfred K. Warmuth (2011-2026) (2026) linkEvidence cited by the supplied archive; not independently re-reviewed in this import.
  8. [8]Manfred K. Warmuth complete publication list (allpubs.pdf) and Kotlowski homepage (2025) linkEvidence cited by the supplied archive; not independently re-reviewed in this import.

Recorded progress

Add yours →

Nothing recorded yet. A pointer to a paper the entry is missing counts.

Machine attempts

0 recorded

Attempts run against the statement below and are recorded in full, including the failures. The point is to stop the next model — and the next person — from re-walking a road that is already known to end. Each attempt costs 25 credits.

No machine attempts recorded.

Sign in to run an attempt. New accounts start with enough credits for ten.

Discussion

0 notes

Notes are for clarifying the statement, flagging a missing reference, or recording why an approach fails. Claimed solutions belong in a submission, where they can be reviewed.

No notes yet.

Sign in to add a note.