arXiv:2412.04594cs.LGcs.CV2024-12NeurIPS被引 6

让神经网络自动发现数据对称性并动态共享权重

Learning Symmetries via Weight-Sharing with Doubly Stochastic Tensors

  • 用可学习的双重随机矩阵模拟对称变换,实现软权重共享
  • 强对称性数据下能收敛到标准群卷积结构
  • 适合对称性未知或部分存在的场景,提升模型泛化

群等变性已成为深度学习中重要的归纳偏置,有助于提升泛化能力、数据效率和鲁棒性。传统方法需预先知道目标群结构,这在真实数据中往往不现实;而固定等变性会限制模型架构灵活性。因此需要能动态发现并以软约束形式应用对称性的方法。在神经网络中,等变性通常通过群作用于标准权重张量实现权重共享。本文提出一种新方法:使用可学习的双重随机矩阵作为对称变换,在标准权重张量上实现软置换,其可退化为正则群表示。该方法使核变换可随下游任务联合优化。当数据具有强对称性时,置换矩阵将收敛至正则群表示,模型等价于标准群卷积;同时方法也具备捕捉部分对称性的能力。

原文摘要 · Abstract (English)

Group equivariance has emerged as a valuable inductive bias in deep learning, enhancing generalization, data efficiency, and robustness. Classically, group equivariant methods require the groups of interest to be known beforehand, which may not be realistic for real-world data. Additionally, baking in fixed group equivariance may impose overly restrictive constraints on model architecture. This highlights the need for methods that can dynamically discover and apply symmetries as soft constraints. For neural network architectures, equivariance is commonly achieved through group transformations of a canonical weight tensor, resulting in weight sharing over a given group $G$. In this work, we propose to learn such a weight-sharing scheme by defining a collection of learnable doubly stochastic matrices that act as soft permutation matrices on canonical weight tensors, which can take regular group representations as a special case. This yields learnable kernel transformations that are jointly optimized with downstream tasks. We show that when the dataset exhibits strong symmetries, the permutation matrices will converge to regular group representations and our weight-sharing networks effectively become regular group convolutions. Additionally, the flexibility of the method enables it to effectively pick up on partial symmetries.

权重共享对称性学习等变网络

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。