arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2303.13957cs.CVcs.LGcs.NE
收藏

分布式稀疏块码的因子分解器

Factorizers for Distributed Sparse Block Codes

IBM Research – Zurich(IBM苏黎世研究院);ETH Zürich(苏黎世联邦理工学院)

Michael Hersche, Aleksandar Terzic, Geethan Karunaratne, Jovin Langenegger, Angéline Pouget, Giovanni Cherubini, Luca Benini, Abu Sebastian, Abbas Rahimi

AI总结:

针对分布式稀疏块码的因子分解难题,提出一种快速高精度的迭代因子分解器,可处理噪声查询,并集成到CNN分类层以替代全连接层,显著减少参数和计算量。

摘要:

分布式稀疏块码(SBCs)利用固定宽度向量,为编码和操作符号数据结构提供了紧凑的表示。然而,一个主要挑战是如何在不搜索所有可能组合的情况下,将数据结构的分布式表示解缠或分解为其组成元素。当SBCs向量因感知不确定性以及现代神经网络生成查询SBCs向量时的近似而带有噪声时,这种因子分解变得更加困难。为应对这些挑战,我们首先提出了一种快速且高精度的方法,用于分解一种更灵活因而更广义的SBCs形式,称为GSBCs。我们的迭代因子分解器引入了基于阈值的非线性激活、条件随机采样以及基于ℓ∞的相似性度量。其次,所提出的因子分解器在被使用深度卷积神经网络(CNNs)生成的噪声乘积向量查询时,仍能保持高精度。这有助于其在CNNs中替代大型全连接层(FCL),其中C个可训练类向量或属性组合可由我们的因子分解器隐式表示,该分解器具有F个因子码本,每个码本包含√[F]{C}个固定码向量。我们提供了一种方法,通过一种新颖的损失函数,将我们的因子分解器灵活集成到CNNs的分类层中。通过这种集成,卷积层可以生成一个噪声乘积向量,我们的因子分解器仍能对其进行解码,其中解码后的因子可根据下游任务具有不同的解释。我们在CIFAR-100、ImageNet-1K和RAVEN数据集上,对四种深度CNN架构验证了我们方法的可行性。在所有用例中,与FCL相比,参数数量和操作次数均显著减少。

英文摘要:

Distributed sparse block codes (SBCs) exhibit compact representations for encoding and manipulating symbolic data structures using fixed-width vectors. One major challenge however is to disentangle, or factorize, the distributed representation of data structures into their constituent elements without having to search through all possible combinations. This factorization becomes more challenging when SBCs vectors are noisy due to perceptual uncertainty and approximations made by modern neural networks to generate the query SBCs vectors. To address these challenges, we first propose a fast and highly accurate method for factorizing a more flexible and hence generalized form of SBCs, dubbed GSBCs. Our iterative factorizer introduces a threshold-based nonlinear activation, conditional random sampling, and an $\ell_\infty$-based similarity metric. Secondly, the proposed factorizer maintains a high accuracy when queried by noisy product vectors generated using deep convolutional neural networks (CNNs). This facilitates its application in replacing the large fully connected layer (FCL) in CNNs, whereby $C$ trainable class vectors, or attribute combinations, can be implicitly represented by our factorizer having $F$-factor codebooks, each with $\sqrt[\leftroot{-2}\uproot{2}F]{C}$ fixed codevectors. We provide a methodology to flexibly integrate our factorizer in the classification layer of CNNs with a novel loss function. With this integration, the convolutional layers can generate a noisy product vector that our factorizer can still decode, whereby the decoded factors can have different interpretations based on downstream tasks. We demonstrate the feasibility of our method on four deep CNN architectures over CIFAR-100, ImageNet-1K, and RAVEN datasets. In all use cases, the number of parameters and operations are notably reduced compared to the FCL.

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

↑