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

用于Transformer数据高效序列训练的核心令牌集(Core Tokensets)

Core Tokensets for Data-efficient Sequential Training of Transformers

Hessian Center for AI (hessian.AI)(黑森人工智能中心);German Research Center for Artificial Intelligence (DFKI)(德国人工智能研究中心);Centre for Cognitive Science, TU Darmstadt(达姆施塔特工业大学认知科学中心);Department of Computer Science, TU Darmstadt(达姆施塔特工业大学计算机科学系)

Subarnaduti Paul, Manuel Brack, Patrick Schramowski, Kristian Kersting, Martin Mundt

AI总结:

针对Transformer序列训练的信息整合挑战,提出核心令牌集方法,通过筛选高信息量数据点并仅保留其相关特征,在多视觉任务中以极低数据占比实现了与更大规模核心集相当的性能,大幅降低内存占用。

摘要:

深度网络经常需要针对新任务进行调优,并从持续的数据流中不断学习。这类序列训练需要整合新信息与过往信息,这一挑战主要通过保留最重要的数据点来解决——正式名称为coresets(核心集)。传统上,这些核心集由完整样本组成,例如图像或句子。然而,近期的Transformer架构基于令牌(token)运行,由此产生了“一张图像相当于16×16个词”的著名论断。直观来看,并非所有这些令牌都具有同等的信息量或记忆价值。因此,我们超越核心集的范畴,提出在令牌层级构建更深层级的数据摘要。我们提出的核心令牌集(core tokensets)既会筛选信息量最高的数据点,也会利用特征归因(feature attribution)仅存储其中最相关的特征。我们证明,在增量图像分类、开放式视觉问答和持续图像字幕任务中,核心令牌集能在大幅降低内存占用的同时,显著保留模型性能。实际上,我们通过实验发现,仅占数据1%的核心令牌集,其表现与至少两倍大、最高达10倍大的核心集相当。

英文摘要:

Deep networks are frequently tuned to novel tasks and continue learning from ongoing data streams. Such sequential training requires consolidation of new and past information, a challenge predominantly addressed by retaining the most important data points - formally known as coresets. Traditionally, these coresets consist of entire samples, such as images or sentences. However, recent transformer architectures operate on tokens, leading to the famous assertion that an image is worth 16x16 words. Intuitively, not all of these tokens are equally informative or memorable. Going beyond coresets, we thus propose to construct a deeper-level data summary on the level of tokens. Our respectively named core tokensets both select the most informative data points and leverage feature attribution to store only their most relevant features. We demonstrate that core tokensets yield significant performance retention in incremental image classification, open-ended visual question answering, and continual image captioning with significantly reduced memory. In fact, we empirically find that a core tokenset of 1\% of the data performs comparably to at least a twice as large and up to 10 times larger coreset.

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

↑