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

特征空间中的联想记忆

Associative Memories in the Feature Space

VERSES AI Research Lab(VERSES AI研究实验室);Medical Research Council Brain Network Dynamics Unit(医学研究委员会脑网络动力学单元);University of Oxford(牛津大学);Institute of Logic and Computation(逻辑与计算研究所);Vienna University of Technology(维也纳技术大学);Department of Computer Science, University of Oxford(牛津大学计算机科学系)

Tommaso Salvatori, Beren Millidge, Yuhang Song, Rafal Bogacz, Thomas Lukasiewicz

AI总结:

针对传统自联想记忆模型在像素空间评估相似性导致检索性能差且存储成本高的问题,提出利用对比损失预训练网络在低维嵌入空间计算相似性的记忆模型,有效提升了检索效果与计算效率。

摘要:

自联想记忆模型是一种函数,给定一组数据点,它以任意向量为输入,并从记忆集中输出最相似的数据点。然而,流行的记忆模型即使在人类评估者看来很容易检测的轻微损坏下也无法检索图像。这是因为相似性是在原始像素空间中评估的,而该空间不包含任何关于图像的语义信息。这个问题可以通过在嵌入空间而不是像素空间中计算相似性来轻松解决。我们表明,计算此类嵌入的一种有效方法是通过使用对比损失预训练的网络。由于嵌入空间的维度通常显著小于像素空间,我们也能更快地计算相似度分数。我们在CIFAR10和STL10等复杂数据集上测试了该方法。当前模型的另一个缺点是需要在像素空间中存储整个数据集,这通常极其庞大。我们放宽了这一条件,并提出了一类仅存储低维语义嵌入的记忆模型,并使用它们来检索相似但不完全相同的记忆。我们在MNIST数据集上的简单任务中展示了该方法的原理验证。

英文摘要:

An autoassociative memory model is a function that, given a set of data points, takes as input an arbitrary vector and outputs the most similar data point from the memorized set. However, popular memory models fail to retrieve images even when the corruption is mild and easy to detect for a human evaluator. This is because similarities are evaluated in the raw pixel space, which does not contain any semantic information about the images. This problem can be easily solved by computing \emph{similarities} in an embedding space instead of the pixel space. We show that an effective way of computing such embeddings is via a network pretrained with a contrastive loss. As the dimension of embedding spaces is often significantly smaller than the pixel space, we also have a faster computation of similarity scores. We test this method on complex datasets such as CIFAR10 and STL10. An additional drawback of current models is the need of storing the whole dataset in the pixel space, which is often extremely large. We relax this condition and propose a class of memory models that only stores low-dimensional semantic embeddings, and uses them to retrieve similar, but not identical, memories. We demonstrate a proof of concept of this method on a simple task on the MNIST dataset.

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

↑