ora-0131
10.3 The categorical OCO declaration
Let \(D\) denote the finite-distribution monad on sets:
A convex set is equivalently a \(D\)-algebra \(\beta _K:D(K)\to K\); the associated PROP presentation encodes the same convex-combination operations [ Haderi et al. , 2024 ] . Ordinary morphisms of convex algebras preserve these operations with equality and are therefore affine. Convex losses require an order-enriched weakening.
A finite-horizon categorical OCO declaration consists of:
a convex decision algebra \((K,\beta _K)\), together with a declared metric realization when boundedness, closure, or convergence is used;
an ordered convex value algebra \((V,\beta _V,\leq )\);
a registered loss family \(\ell _t:K\to V\) satisfying the order-lax algebra law
\begin{equation} \ell _t\circ \beta _K \; \leq \; \beta _V\circ D(\ell _t) \qquad \text{pointwise on }D(K); \end{equation}10.1decision rules \(A_t:(\ell _1,\ldots ,\ell _{t-1})\mapsto x_t\in K\);
a comparator declaration, initially the constant decision sections \(u\in K\), against which cumulative performance is evaluated; and
an admissible tangent assignment. In a finite-dimensional convex realization this is the tangent cone
\[ T_K(x) = \overline{ \{ a(y-x)\mid a\geq 0,\ y\in K\} }. \]
The additive accumulation of the losses is a subsequent evidence operation; it is not the source of convexity in the declaration.
Let \(K\subseteq \mathbb {R}^d\) be nonempty, bounded, closed, and convex, let \(\beta _K\) evaluate finite convex combinations, and take \(V=\mathbb {R}\) with its usual order and barycentric operations. Let the registered losses be bounded real-valued maps on \(K\). Then 10.1 holds exactly when each \(\ell _t\) is convex. Consequently, 10.1 recovers the standard OCO protocol
with static regret against constant sections
For a finitely supported probability weight \(p\), 10.1 reads
which is Jensen convexity. The remaining data are precisely the feasible decision, revealed convex loss, history-dependent learner, and fixed comparator class in the Euclidean OCO protocol [ Hazan , 2023 ] .
The convex algebra specifies feasible mixtures of decisions. The \(\mathbb {R}\)-linear enrichment used later specifies how revealed quadratic statistics accumulate. Keeping these declarations separate prevents the convexity of \(K\) from being confused with addition of losses.