arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.07217eess.SPcs.AIcs.CVcs.LG
收藏

面向协同推理的注意力感知语义通信

Attention-aware Semantic Communications for Collaborative Inference

Pohang University of Science and Technology (POSTECH)(浦项科技大学(POSTECH))

Jiwoong Im, Nayoung Kwon, Taewoo Park, Jiheon Woo, Jaeho Lee, Yongjune Kim

AI总结:

本研究针对ViT架构下传统协同推理通信成本高的问题,提出含注意力感知图像块选择与熵感知传输的语义通信框架,在ImageNet上以极小精度损失降低68%通信开销。

摘要:

我们在边缘推理领域提出了一种通信高效的协同推理框架,重点关注视觉Transformer(ViT)模型的高效利用。传统协同推理的划分策略因ViT的固有架构——其在整个Transformer编码器中保持一致的层维度——而无法降低通信成本。因此,我们的框架未采用划分策略,而是在边缘设备上部署轻量级ViT模型,在服务器端部署复杂ViT模型。为提升通信效率并达到服务器模型的分类精度,我们提出两种策略:1)注意力感知图像块选择;2)熵感知图像传输。注意力感知图像块选择利用边缘设备Transformer编码器生成的注意力分数,识别并筛选对分类至关重要的图像块,使边缘设备仅向服务器传输必要的图像块,显著提升通信效率。熵感知图像传输以最小熵为指标,准确判断是依赖边缘设备的轻量级模型,还是向服务器模型请求推理。在我们的框架中,边缘设备的轻量级ViT模型充当语义编码器,高效识别并筛选分类任务所需的关键图像信息。我们的实验表明,在ImageNet数据集上,与服务器模型相比,所提出的协同推理框架可降低68%的通信开销,且仅带来极小的精度损失。

英文摘要:

We propose a communication-efficient collaborative inference framework in the domain of edge inference, focusing on the efficient use of vision transformer (ViT) models. The partitioning strategy of conventional collaborative inference fails to reduce communication cost because of the inherent architecture of ViTs maintaining consistent layer dimensions across the entire transformer encoder. Therefore, instead of employing the partitioning strategy, our framework utilizes a lightweight ViT model on the edge device, with the server deploying a complicated ViT model. To enhance communication efficiency and achieve the classification accuracy of the server model, we propose two strategies: 1) attention-aware patch selection and 2) entropy-aware image transmission. Attention-aware patch selection leverages the attention scores generated by the edge device's transformer encoder to identify and select the image patches critical for classification. This strategy enables the edge device to transmit only the essential patches to the server, significantly improving communication efficiency. Entropy-aware image transmission uses min-entropy as a metric to accurately determine whether to depend on the lightweight model on the edge device or to request the inference from the server model. In our framework, the lightweight ViT model on the edge device acts as a semantic encoder, efficiently identifying and selecting the crucial image information required for the classification task. Our experiments demonstrate that the proposed collaborative inference framework can reduce communication overhead by 68% with only a minimal loss in accuracy compared to the server model on the ImageNet dataset.

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

↑