硬标签采样会误导旋转不变模型,导致性能下降。
Hard labels sampled from sparse targets mislead rotation invariant algorithms
- 用硬标签替代软标签训练旋转不变模型
- 在稀疏目标下,误差高达Ω((d−1)/n)
- 非旋转不变方法可将误差降至O(s log d / n)
逻辑回归是机器学习中常见的设置。在许多分类模型中,最终预测通过将逻辑链接函数应用于线性得分获得。二分类逻辑回归的反馈可以是软标签(对应数据的真实条件概率)或硬标签(取值±1)。我们指出,在一个理想情形下——目标是学习噪声为零的软标签σ(𝐱ᵀ𝐰⋆)——即使样本数n超过输入维度d,使用软标签仍能恢复𝐰⋆并达到贝叶斯风险。然而,当标签由同一条件分布σ(𝐱ᵢᵀ𝐰⋆)采样的硬标签构成,且𝐰⋆为s-稀疏时,旋转不变算法被证明是次优的:其超出风险为Ω((d−1)/n),而简单非旋转不变算法的超出风险仅为O(s log d / n)。最简单的旋转不变算法是逻辑损失上的梯度下降(带早停)。一种简单的非旋转不变算法通过重参数化wᵢ = uᵢvᵢ,对权重uᵢ, vᵢ进行梯度下降,可达到上述上界。
原文摘要 · Abstract (English)
One of the most common machine learning setups is logistic regression. In many classification models, including neural networks, the final prediction is obtained by applying a logistic link function to a linear score. In binary logistic regression, the feedback can be either soft labels, corresponding to the true conditional probability of the data (as in distillation), or sampled hard labels (taking values $\pm 1$). We point out a fundamental problem that arises even in a particularly favorable setting, where the goal is to learn a noise-free soft target of the form $σ(\mathbf{x}^{\top}\mathbf{w}^{\star})$. In the over-constrained case (i.e. the number of samples $n$ exceeds the input dimension $d$) with examples $(\mathbf{x}_i,σ(\mathbf{x}_i^{\top}\mathbf{w}^{\star}))$, it is sufficient to recover $\mathbf{w}^{\star}$ and hence achieve the Bayes risk. However, we prove that when the examples are labeled by hard labels $y_i$ sampled from the same conditional distribution $σ(\mathbf{x}_i^{\top}\mathbf{w}^{\star})$ and $\mathbf{w}^{\star}$ is $s$-sparse, then rotation-invariant algorithms are provably suboptimal: they incur an excess risk $Ω\!\left(\frac{d-1}{n}\right)$, while there are simple non-rotation invariant algorithms with excess risk $O(\frac{s\log d}{n})$. The simplest rotation invariant algorithm is gradient descent on the logistic loss (with early stopping). A simple non-rotation-invariant algorithm for sparse targets that achieves the above upper bounds uses gradient descent on the weights $u_i,v_i$, where now the linear weight $w_i$ is reparameterized as $u_iv_i$.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。