arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.05414cs.LGcs.CV
收藏

无需正交化训练,推理中使用SVD:旋转表示的梯度分析

Training Without Orthogonalization, Inference With SVD: A Gradient Analysis of Rotation Representations

NVIDIA(英伟达)

Chris Choy

AI总结:

本文通过梯度分析揭示SVD正交化对训练和推理的影响,证明9D参数化优于Gram-Schmidt,并提供理论基础支持直接9D回归训练和SVD投影推理。

摘要:

近期研究表明,在训练中去除正交化并在推理中应用正交化可提升深度学习中的旋转估计,实验证明9D表示结合SVD投影更优。然而,SVD正交化为何损害训练及为何优于Gram-Schmidt仍缺乏理论解释。本文对3×3矩阵和SO(3)投影的SVD正交化进行了详细梯度分析,推导出SVD反向传播雅可比矩阵的精确谱:其秩为3(匹配SO(3)的维度),非零奇异值为2/(s_i + s_j),条件数κ=(s_1 + s_2)/(s_2 + s_3),导致可量化梯度失真,尤其在预测矩阵远离SO(3)时(如训练早期s_3≈0)最严重。进一步证明,即使稳定化的SVD梯度仍引入梯度方向误差,而移除SVD训练循环可完全避免此权衡。同时证明6D Gram-Schmidt雅可比矩阵具有非对称谱:其参数接收不等梯度信号,解释了为何9D参数化更优。这些结果为直接9D回归训练和仅在推理中应用SVD投影提供了理论基础。

英文摘要:

Recent work has shown that removing orthogonalization during training and applying it only at inference improves rotation estimation in deep learning, with empirical evidence favoring 9D representations with SVD projection. However, the theoretical understanding of why SVD orthogonalization specifically harms training, and why it should be preferred over Gram-Schmidt at inference, remains incomplete. We provide a detailed gradient analysis of SVD orthogonalization specialized to $3 \times 3$ matrices and $SO(3)$ projection. Our central result derives the exact spectrum of the SVD backward pass Jacobian: it has rank $3$ (matching the dimension of $SO(3)$) with nonzero singular values $2/(s_i + s_j)$ and condition number $κ= (s_1 + s_2)/(s_2 + s_3)$, creating quantifiable gradient distortion that is most severe when the predicted matrix is far from $SO(3)$ (e.g., early in training when $s_3 \approx 0$). We further show that even stabilized SVD gradients introduce gradient direction error, whereas removing SVD from the training loop avoids this tradeoff entirely. We also prove that the 6D Gram-Schmidt Jacobian has an asymmetric spectrum: its parameters receive unequal gradient signal, explaining why 9D parameterization is preferable. Together, these results provide the theoretical foundation for training with direct 9D regression and applying SVD projection only at inference.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑