arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2209.15430cs.LGcs.AI
收藏

相对表示使zero-shot潜在空间通信成为可能

Relative representations enable zero-shot latent space communication

Sapienza University of Rome(罗马第一大学);Amazon Web Services(亚马逊云科技)

Luca Moschella, Valentino Maiorca, Marco Fumero, Antonio Norelli, Francesco Locatello, Emanuele Rodolà

摘要:

神经网络将高维空间中数据流形的几何结构嵌入到潜在表示中。理想情况下,潜在空间中数据点的分布应该只取决于任务、数据、丢失和其他特定于架构的约束。然而,诸如随机权重初始化、训练超参数或训练阶段中的其他随机性源之类的因素可能会导致阻碍任何形式的重用的不相干潜在空间。然而,我们根据经验观察到,在相同的数据和建模选择下,不同潜在空间内的编码之间的角度不会改变。在这项工作中,我们提出了每个样本和一组固定的锚点之间的潜在相似性作为替代数据表示,证明它可以在没有任何额外训练的情况下实现所需的不变性。我们展示了神经架构如何利用这些相对表示来保证在实践中对潜在等距和重新缩放的不变性,有效地实现潜在空间通信:从zero-shot模型拼接到不同设置之间的潜在空间比较。我们在不同的数据集上广泛验证了我们的方法的泛化能力,跨越各种形式(图像,文本,图形),任务(例如,分类,重建)和体系结构(例如,CNN、GCN、Transformers)。

英文摘要:

Neural networks embed the geometric structure of a data manifold lying in a high-dimensional space into latent representations. Ideally, the distribution of the data points in the latent space should depend only on the task, the data, the loss, and other architecture-specific constraints. However, factors such as the random weights initialization, training hyperparameters, or other sources of randomness in the training phase may induce incoherent latent spaces that hinder any form of reuse. Nevertheless, we empirically observe that, under the same data and modeling choices, the angles between the encodings within distinct latent spaces do not change. In this work, we propose the latent similarity between each sample and a fixed set of anchors as an alternative data representation, demonstrating that it can enforce the desired invariances without any additional training. We show how neural architectures can leverage these relative representations to guarantee, in practice, invariance to latent isometries and rescalings, effectively enabling latent space communication: from zero-shot model stitching to latent space comparison between diverse settings. We extensively validate the generalization capability of our approach on different datasets, spanning various modalities (images, text, graphs), tasks (e.g., classification, reconstruction) and architectures (e.g., CNNs, GCNs, transformers).

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

↑