arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.05041cs.LG
收藏

位置编码是可扩展等变约束松弛的核心

Positional Encoding is All You Need for Scalable Equivariance Constraint Relaxation

Technion – Israel Institute of Technology(以色列理工学院);NVIDIA(英伟达公司)

Hagay Michaeli, Haggai Maron, Daniel Soudry

AI总结:

本研究提出基于位置编码的高效等变约束松弛方法,通过可学习缩放的位置编码退火实现约束松弛,在极小开销下提升了平移、旋转等变模型的性能。

摘要:

等变神经网络将数据的已知对称性(如排列、旋转或平移)直接融入架构,常能提升样本效率与泛化能力。然而,严格等变会使优化变得困难,例如当数据仅近似满足假设的对称性,或等变约束引发复杂的损失景观时。近期研究表明,训练期间通过引入非等变稠密线性层松弛等变约束,可在测试时移除松弛层后,缓解此类情况下的优化难度并提升最终严格等变模型的性能。该方法虽有效,但会带来显著的计算开销,限制其在可扩展架构中的适用性。本研究提出一种更高效的约束松弛方法,基于位置编码(PE)构建框架,注入带有可学习缩放因子的位置编码以打破模型原有的对称性,该位置信号会逐渐退火至零,在训练结束时恢复原始等变模型。实验表明,平移与旋转等变模型均取得显著性能提升,仅伴随极小的计算与内存开销。

英文摘要:

Equivariant neural networks incorporate known symmetries of the data, such as permutations, rotations, or translations, directly into their architecture, often improving sample efficiency and generalization. However, strict equivariance can make optimization difficult, for example, when the data only approximately satisfy the assumed symmetry, or when the equivariance constraints induce a challenging loss landscape. Recent studies have shown that relaxing equivariance during training by introducing non-equivariant dense linear layers can ease optimization in such cases and improve the performance of the resulting strictly equivariant model, after removing the relaxation layers at test time. While effective, this approach incurs a significant computational overhead, limiting its applicability in scalable architectures. In this work, we propose a more efficient constraint-relaxation method based on positional encoding (PE). Our framework injects a positional encoding with learnable scale that breaks the model's original symmetry. This positional signal is gradually annealed to zero, recovering the original equivariant model by the end of training. Empirically, we demonstrate significant improvements for translational and rotational equivariant models with only marginal compute and memory overhead.

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

↑