Consommé:用于拆分推理的条件令牌合并
Consommé: Conditioned Token Merging for Split Inference
AI总结:
本文提出Consommé方法,用于解决视觉Transformer拆分推理中传输中间令牌成本高的问题,通过压缩CLS令牌并条件化合并图像块,在不同令牌预算下均表现优异,部署成本低。
摘要:
拆分推理将视觉Transformer划分为资源受限的边缘设备与服务器两部分,但在通信信道中传输中间令牌的成本较高,且为每个端点部署微调后的骨干网络也十分昂贵。本文研究冻结骨干网络下用于拆分推理的令牌缩减方案,仅部署小型适配器。研究发现CLS令牌兼具双重作用:它是接收端分类所需的全局摘要,也是决定保留哪些图像块的信号。据此提出Consommé方法,利用信息瓶颈将CLS令牌压缩为紧凑潜在表示,替代完整CLS令牌进行传输,并通过软分配条件化学习到的图像块门控,将图像块合并为恰好k个令牌。该方法可一步达到任意预算,规避二分匹配(BPM)的每一层上限。在DeiT-S/T上,该方法在激进令牌预算下优于所有方法,且在BPM无法运行的浅层拆分场景下仍可运行,在温和预算下与微调方法性能相当,部署成本仅为其一小部分。
英文摘要:
Split inference partitions a Vision Transformer between a resource-constrained edge device and a server. However, transmitting intermediate tokens across the communication channel is costly. Deploying fine-tuned backbones to every endpoint becomes expensive as well. We study token reduction for split inference under a frozen backbone, where only a small adapter is shipped. We observe that the CLS token plays a dual role: it acts as the global summary the receiver needs for classification, and it serves as a signal on which patches to keep. We propose Consommé, a method utilizing both characteristics. There, an information bottleneck compresses the CLS token into a compact latent which is transmitted in place of the full CLS token and conditions a learned patch gate merging patches into exactly $k$ tokens via soft assignment. It reaches any budget in a single step, thus escaping the per-layer cap of bipartite matching (BPM). On DeiT-S/T, it leads all methods at aggressive token budgets and remains operable at shallow splits where BPM cannot operate, while matching fine-tuned methods at gentle budgets at a fraction of their deployment cost.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。