arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.09675cs.LGcs.AIcs.CL
收藏

高效的模型无关多群等变网络

Efficient Model-Agnostic Multi-Group Equivariant Networks

University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Razan Baltaji, Sourya Basu, Lav R. Varshney

AI总结:

针对大型乘积群下模型无关等变网络计算成本高的问题,提出两类高效设计:多输入不同群作用下含IS层的等变网络,以及单输入大型乘积群的IS性质等变方案,在多图像分类等多任务中性能比肩equitune且效率更高。

摘要:

构建模型无关的群等变网络,例如equitune(Basu等人,2023b)及其推广版本(Kim等人,2023),对于大型乘积群而言计算成本很高。我们通过为两个相关问题提供高效的模型无关等变设计来解决这一问题:一个问题是网络具有多个输入,每个输入可能受不同的群作用;另一个问题是只有单个输入,但作用于其上的群是大型乘积群。对于第一种设计,我们首先考虑线性模型,并刻画了满足该约束的全部等变空间。这一刻画催生了一种满足不变性-对称性(invariance-symmetry,IS)约束的不同通道间的新型融合层,我们将其称为IS层。随后我们将该设计推广到线性模型之外,类似于equitune,由等变层和IS层组成。我们还证明了IS层是不变-对称函数的通用逼近器。受第一种设计的启发,我们利用IS性质的概念,为作用于单个输入的大型乘积群设计了第二种高效的模型无关等变结构。针对第一种设计,我们在多图像分类任务上开展了实验,其中每个视图通过旋转等变换独立变换。我们发现等变模型对此类变换具有鲁棒性,且在其他方面表现具有竞争力。针对第二种设计,我们考虑了三个应用场景:SCAN数据集上面向乘积群的语言组合性;GPT-2生成自然语言时解决交叉性问题的公平性;以及CLIP的鲁棒零样本图像分类。总体而言,我们的方法简单通用,性能与equitune及其变体相当,同时计算效率更高。

英文摘要:

Constructing model-agnostic group equivariant networks, such as equitune (Basu et al., 2023b) and its generalizations (Kim et al., 2023), can be computationally expensive for large product groups. We address this problem by providing efficient model-agnostic equivariant designs for two related problems: one where the network has multiple inputs each with potentially different groups acting on them, and another where there is a single input but the group acting on it is a large product group. For the first design, we initially consider a linear model and characterize the entire equivariant space that satisfies this constraint. This characterization gives rise to a novel fusion layer between different channels that satisfies an invariance-symmetry (IS) constraint, which we call an IS layer. We then extend this design beyond linear models, similar to equitune, consisting of equivariant and IS layers. We also show that the IS layer is a universal approximator of invariant-symmetric functions. Inspired by the first design, we use the notion of the IS property to design a second efficient model-agnostic equivariant design for large product groups acting on a single input. For the first design, we provide experiments on multi-image classification where each view is transformed independently with transformations such as rotations. We find equivariant models are robust to such transformations and perform competitively otherwise. For the second design, we consider three applications: language compositionality on the SCAN dataset to product groups; fairness in natural language generation from GPT-2 to address intersectionality; and robust zero-shot image classification with CLIP. Overall, our methods are simple and general, competitive with equitune and its variants, while also being computationally more efficient.

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

↑