arXiv:2609.15825cs.LGSep 2026Cited by 3 papers on PaperVantage

Manuscript Offprint

arXiv:2609.15825

Sharp Rates and a One-Line Correction for Spectral Representation Learning

Dier Tang, Jing Yee Tan, Guangyue Han

Abstract

A self-supervised encoder is trained once, frozen, and reused through lightweight probes on tasks nobody named at training time; the practitioner’s question is when the off-the-shelf features are good enough and when they need fixing. Canonical correlation analysis, HGR maximal correlation, and the population optimum of the spectral contrastive loss all return the top-k singular subspace of a cross-view dependence operator, justified by isotropy: if the task prior has no directional preference, that subspace is universally optimal. We show isotropy is the wrong hypothesis. The prior enters the transfer risk only through the task covariance Λ=E[ΔΔ⊤]\Lambda = \mathbb{E}[\Delta\Delta^\top], and only through its compression onto the operator’s leading singular directions; what matters is not whether Λ\Lambda is isotropic but whether its preferred directions are ordered consistently with the operator’s spectrum. We prove matching two-sided rates—worst-case regret is exactly 1−1/κ(Λ)1 - 1/\kappa(\Lambda), refines to 1−Ak1 - A_k for an alignment coefficient AkA_k, localizes to the top-2k subspace, becomes second order under a spectral gap, and is improvable by no task-agnostic representation—and show why alignment is generic: incoherent preferences cancel in high dimension, and TT diverse tasks force α=O~(dx/T)\alpha = \tilde{O}(\sqrt{d_x/T}), a quantitative account of why task diversity, not symmetry, makes self-supervised features transfer. The governing statistics cost O(kdx2)O(kd_x^2), and when they signal misalignment a one-line reweighting of the positive-pair term provably restores exact optimality. The result is a diagnostic that answers the practitioner’s question from a small labelled budget and refuses when the task bank cannot support the width requested; on controlled data it takes a regret of 0.86 down to 0.003, and on a CIFAR-100 encoder it correctly predicts that no correction is needed.

1 Introduction

Consider the standard self-supervised pipeline. An encoder is trained on image pairs with a spectral contrastive loss, frozen, and then reused through linear or few-shot probes on downstream tasks unavailable at training time. Two of its knobs are set by hand: the width k of the representation, and the size of whatever labelled task bank is available for validation—and, as §7 shows, the second directly caps the widths at which anything can be diagnosed at all. What the practitioner wants to know is whether the features they already have are good enough for the tasks they will face, and if not, what to change. Representation learning (Bengio et al., 2013) is increasingly task-agnostic in exactly this sense. Significant integration of methods—canonical correlation analysis (Hotelling, 1936), the HGR and the alternating conditional expectation (ACE) constructions (Hirschfeld, 1935; Gebelein, 1941; Rényi, 1959; Breiman and Friedman, 1985), and the optimum of the spectral contrastive objective (HaoChen et al., 2021; Xu and Zheng, 2024)—returns the same object: the top-k singular subspace of a normalized dependence operator between two views. What governs the transferability of this spectral subspace to downstream targets unseen during pre-training?

*Email: tangde_math@connect.hku.hk.

†^{\dagger}Email: jyt88@connect.hku.hk.

†^{†}Email: ghan@hku.hk.

A prevailing answer appeals to a symmetry argument (Xu et al., 2022; Huang et al., 2024): by framing a downstream task as a local attribute—governed by a latent variable U that perturbs the data distribution—the task can be fully characterized by an information matrix Δ\Delta. When the task prior exhibits no directional preference—formally, when the distribution of Δ\Delta is spherically symmetric (Dawid, 1977)—the top-k singular subspace of the canonical dependence matrix (CDM) maximizes the error exponent, thereby achieving optimal inference capacity. Yet spherical symmetry rigidly demands uncorrelated, identically distributed entries in Δ\Delta. Tang and Han (2026) relax this to a second-moment weakened condition, preserving the guarantee up to a well-controlled additive residual.

We find this resolution unsatisfying on four counts. Symmetry constrains a Θ(dx2du2)\Theta(d_x^2 d_u^2)-dimensional object whereas the risk depends on O(k2)O(k^2) degrees of freedom; only upper bounds exist, so it is unclear whether the price of asymmetry is genuine or an artifact of the analysis; there is no reason why realistic task families should be nearly symmetric, since labels are typically dominated by a few factors such as identity, pose or illumination; and the condition is unverifiable, offering practitioners no actionable guidance.

Central thesis. Universality of spectral representations does not require isotropy of the task prior; it requires alignment. The prior enters the transfer risk only through the task covariance Λ=Eμ[ΔΔ⊤]\Lambda = \mathbb{E}_{\mu}[\Delta\Delta^\top], and only through its compression onto the top singular directions of the dependence operator. Anisotropy costs exactly to the extent that the prior's preferred directions are misordered relative to the operator's spectrum; anisotropy that is aligned with that spectrum, or supported on the spectral tail, costs nothing at all.

The answer in one display. With α2k\alpha_{2k} the anisotropy of Λ\Lambda on the top-2k right singular subspace, δk\delta_k the relative spectral gap, Ak∈[1/κ,1]A_k \in [1/\kappa, 1] the alignment coefficient of §3, and Sk,TkS_k, T_k the leading and secondary spectral masses,

ρ(Φsvd,Λ)≤1−Ak≤min⁡{α2k1+α2k,kα2k24δk}+(tail)⏟Theorems 6,7,8,sup⁡κ(Λ)≤κρ(Φ,Λ)≥(1−SkκTk)+⏟Theorem 11,anytask−agnostic Φ.(1)\underbrace{\rho(\Phi_{\mathrm{svd}},\Lambda)\leq1-A_{k}\leq\min\left\{\frac{\alpha_{2k}}{1+\alpha_{2k}},\frac{k\alpha_{2k}^{2}}{4\delta_{k}}\right\}+(\mathrm{tail})}_{\mathrm{Theorems~6,7,8}},\quad\underbrace{\sup_{\kappa(\Lambda)\leq\kappa}\rho(\Phi,\Lambda)\geq\left(1-\frac{S_{k}}{\kappa T_{k}}\right)_{+}}_{\mathrm{Theorem~11,any task-agnostic~}\Phi}. \tag{1}

Spectral features are essentially free of regret whenever the prior is aligned or the spectrum decays, and no task-agnostic encoder does better than Ω(α)\Omega(\alpha).

References (23)