arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.16876cs.CVcs.LG
收藏

基于超维计算的零样本分类

Zero-shot Classification using Hyperdimensional Computing

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

Samuele Ruffino, Geethan Karunaratne, Michael Hersche, Luca Benini, Abu Sebastian, Abbas Rahimi

AI总结:

本研究提出基于超维计算的零样本分类器HDC-ZSC,通过属性编码器中的平稳二进制码本构建端到端可训练模型,在CUB-200数据集上以更少参数量实现了优于现有非生成式方法的零样本分类准确率。

摘要:

基于零样本学习(Zero-shot Learning, ZSL)的分类是指模型将输入分类到此前未见过任何训练样本的新类别的能力。提供一组描述ZSL分类所涉及新类别的属性形式的辅助描述符,是解决这一挑战性任务的常用方法之一。在本研究中,受超维计算(Hyperdimensional Computing, HDC)启发,我们提出在属性编码器中使用类符号分布式表示的平稳二进制码本,以紧凑地表示一个计算简单的端到端可训练模型,我们将其命名为超维计算零样本分类器(Hyperdimensional Computing Zero-shot Classifier, HDC-ZSC)。该模型由可训练图像编码器、基于HDC的属性编码器和相似性核组成。我们证明,HDC-ZSC可先用于执行零样本属性提取任务,之后仅需最小的架构改动和最少的模型再训练,即可调整用于零样本分类任务。HDC-ZSC仅含2660万可训练参数,在CUB-200数据集上实现了63.8%的top-1分类准确率,达到帕累托最优结果。与另外两种最先进的非生成式方法相比,HDC-ZSC的准确率分别高出4.3%和9.9%,而这两种方法的参数量分别是HDC-ZSC的1.85倍以上和1.72倍以上。

英文摘要:

Classification based on Zero-shot Learning (ZSL) is the ability of a model to classify inputs into novel classes on which the model has not previously seen any training examples. Providing an auxiliary descriptor in the form of a set of attributes describing the new classes involved in the ZSL-based classification is one of the favored approaches to solving this challenging task. In this work, inspired by Hyperdimensional Computing (HDC), we propose the use of stationary binary codebooks of symbol-like distributed representations inside an attribute encoder to compactly represent a computationally simple end-to-end trainable model, which we name Hyperdimensional Computing Zero-shot Classifier~(HDC-ZSC). It consists of a trainable image encoder, an attribute encoder based on HDC, and a similarity kernel. We show that HDC-ZSC can be used to first perform zero-shot attribute extraction tasks and, can later be repurposed for Zero-shot Classification tasks with minimal architectural changes and minimal model retraining. HDC-ZSC achieves Pareto optimal results with a 63.8% top-1 classification accuracy on the CUB-200 dataset by having only 26.6 million trainable parameters. Compared to two other state-of-the-art non-generative approaches, HDC-ZSC achieves 4.3% and 9.9% better accuracy, while they require more than 1.85x and 1.72x parameters compared to HDC-ZSC, respectively.

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

↑