arXiv:2608.25410eess.SPAug 2026

Manuscript Offprint

arXiv:2608.25410

Token-Oriented Semantic Communication with Pretrained Vision Transformers

Jiwoong Im, Minwoo Kim, Jaeho Lee, Yo-Seb Jeon, Yongjune Kim

Jiwoong Im, Minwoo Kim, Jaeho Lee, Member, IEEE, Yo-Seb Jeon, Member, IEEE, and Yongjune Kim, Member, IEEE

Abstract—Token communications realize the semantic communication principle at the granularity of transformer tokens, providing a promising direction for client-server collaborative inference in resource-constrained edge systems. However, directly transmitting token embeddings presents two practical challenges: substantial communication cost and limited interoperability across model-specific token embedding spaces. To address these challenges, we propose a token-oriented semantic communication framework. In this framework, token-level task relevance determines which compressed image latents are transmitted, enabling token-granular transmission without directly transmitting token embeddings. The framework is modular, coordinating three pretrained components—a lightweight client-side vision transformer (ViT), a learned image compression (LIC) model, and a large server-side ViT—without end-to-end training. The key enabler is the one-to-one spatial alignment between ViT patch tokens and the LIC latent vectors, which allows token-level task relevance to directly determine which latent vectors are transmitted. Building on this alignment, token-aligned LIC selectively transmits task-relevant latents, layer-selective attention rollout estimates token relevance from a selected range of attention layers in a single forward pass, and surrogate token substitution adapts the frozen server model by optimizing a single learnable token. Experiments on ImageNet show that the proposed framework achieves a more favorable rate-accuracy trade-off than recent semantic communication schemes, hand-crafted codecs, and task-agnostic LIC models.

Index Terms—Semantic communications, token communications, edge computing, learned image compression, collaborative inference, vision transformer.

I. INTRODUCTION

Recent advances in transformer architectures have fundamentally reshaped the internal representation and processing of modern artificial intelligence (AI) models [1]. Transformers process inputs as a sequence of tokens, each of which serves as a unified computational unit across multiple layers. This tokenized formulation has proven effective across a wide range of modalities, including language, images, audio, and video [1]–[6]. In particular, token representations offer a structured, modular interface that is naturally compatible with global context modeling via attention mechanism [1]. As a result, tokens are now widely regarded not only as an internal feature format for transformer models, but also as a candidate unit for computation and communication.

Meanwhile, with the emergence of AI-native wireless networks, communication paradigms are progressively shifting beyond conventional bit-level communication toward semantic communications [7]–[13]. Rather than optimizing human-perceived reconstruction fidelity quantified in terms of bit-level distortion, semantic communications attempt to enhance communication efficiency by selectively transmitting information relevant to downstream task objectives. Tokens provide a natural unit for this shift, and recent studies have accordingly investigated token communications, which realize the semantic communication principle at the granularity of transformer tokens [14]–[19]. Operating at the token level reveals which tokens are relevant to the downstream task, so that the communication payload can be concentrated on inference-relevant tokens rather than the entire source, as in conventional bit-level communication.

Realizing this advantage by transmitting token representations themselves, however, entails two practical considerations. The first concern is communication cost: each token consists of a high-dimensional embedding vector whose dimensionality increases with model capacity, so transmitting even a reduced number of tokens may incur a substantial payload. The second concern is the limited interoperability of token embedding spaces across independently trained models, as these embedding spaces can differ substantially because of differences in architectures, pretraining procedures, and downstream objectives, even at an identical model dimensionality [20]. To address both considerations, several studies jointly train the transmitter and receiver in an end-to-end manner, typically with a shared codebook that converts token embeddings into codeword indices [14], [21]–[24]. Such fully integrated designs are effective within a given deployment, yet they reduce modularity, incur retraining costs, and couple the communication strategy to a specific downstream task.

To retain the benefits of token-level processing while addressing these considerations, we propose a token-oriented semantic communication framework, considering image classification as the downstream task. Rather than compressing or exchanging token embeddings, the proposed framework compresses the input image with learned image compression (LIC), which exploits the statistics of natural images to attain a content-adaptive rate–distortion performance competitive with conventional image compression [25]–[28]. The proposed framework integrates token-level task relevance into this compression. The key enabler is the spatial alignment between visual tokens and LIC latent vectors: in the widely used architectures, the vision transformer (ViT) patch size

Jiwoong Im, Minwoo Kim, Jaeho Lee, Yo-Seb Jeon, and Yongjune Kim are with the Department of Electrical Engineering, Pohang University of Science and Technology (POSTECH), Pohang 37673, South Korea (e-mail: {jw3562, minwoo.kim, jaeho.lee, yoseb.jeon, yongjune}@postech.ac.kr). Jiwoong Im and Minwoo Kim contributed equally to this work.

equals the LIC encoder's spatial downsampling factor, so each visual token corresponds to exactly one latent vector [2], [26]–[30]. Task relevance is thereby incorporated into compression without modifying the LIC architecture or introducing additional training, and the communication payload is reduced by compressing in the image domain rather than in the model-specific embedding space. We use the term token-oriented to emphasize that token-level task relevance determines which token-aligned LIC latent vectors are transmitted, enabling transmission at token granularity without directly transmitting token embeddings.

The resulting framework is fully modular, coordinating three separately pretrained models for client–server collaborative inference: a lightweight client-side ViT, an LIC-based neural compressor, and a large server-side ViT. Specifically, the client-side ViT estimates the task relevance of visual tokens, and this token-level relevance is used to guide the selection of latent representations within the compressor. The neural compressor then reduces communication payload by transmitting only the selected latent representations, while the server-side ViT performs downstream inference from the reconstructed image. Since no token embedding is exchanged across models, their embedding spaces need not be compatible, and each component can be replaced without retraining the others from scratch.

Prior semantic communication frameworks that use token-level relevance to guide transmission without directly transmitting token embeddings can likewise be regarded as token-oriented [31]–[34]. However, they differ in the transmitted representation, sending image patches in the pixel domain, either raw or scalar-quantized. Operating in the LIC latent domain thus distinguishes the proposed framework within this class and enhances the rate–accuracy trade-off.

Upon this framework, we introduce three complementary components, each acting on one of the pretrained models, to further optimize the rate–accuracy trade-off:

  • Token-aligned LIC: Token-level task relevance is integrated into an LIC model to reduce the transmission rate while preserving task-relevant visual information. Exploiting the structural alignment between the visual tokens of ViT and the latent representations of LIC on a shared spatial grid, the token-level relevance map directly indexes the latents to be transmitted. Our approach selectively transmits only the latents at task-relevant positions, reducing the transmission rate while retaining compatibility with the underlying LIC architecture.

  • Layer-selective attention rollout: The client-side ViT estimates token-level task relevance precisely by aggregating attention weights over a selected range of transformer layers. This selective aggregation provides more accurate relevance estimates than the last-layer attention commonly adopted in prior semantic communication frameworks [31]–[34], the attention rollout accumulated over all layers [35], and even gradient-weighted attention [36]. Moreover, unlike gradient-weighted attention [36], it requires only a single forward pass, avoiding the memory and latency overhead of gradient computation that is demanding for resource-constrained clients.

  • Learnable surrogate token substitution: Server-side inference with partial visual information is improved by substituting the token positions of the unselected regions with a single learnable surrogate token. Inference without any adaptation, whether using the directly reconstructed image or only the selected patches, degrades classification accuracy on the server, whereas retraining the large server backbone is costly and alters its behavior on complete inputs. Instead, we optimize only the single surrogate token with the backbone kept frozen, providing parameter-efficient input-level adaptation that improves inference with partial visual information while preserving the original complete-input behavior. It further improves the robustness of server-side inference over unreliable channels, where the tokens affected by channel impairments are likewise replaced by the surrogate token.

Built from three pretrained models without end-to-end training, the proposed framework enables modular and communication-efficient collaborative inference. Across the evaluated rate regime, it attains a more favorable rate–accuracy trade-off than both recent semantic communication schemes [33], [34], which exploit task relevance without efficient compression, and task-agnostic LIC models [26]–[28], which optimize reconstruction without task relevance.

The remainder of this paper is organized as follows. Section II reviews related work on token-level semantic communications, learned image compression, attention-guided importance estimations, and learnable input tokens. Section III presents an overview of our proposed token-oriented semantic communication framework. Section IV introduces the main technical contributions of this work, optimizing the rate–accuracy trade-off of the proposed framework: token-aligned LIC, layer-selective attention rollout, and surrogate token substitution. Section V reports the experimental results, and Section VI concludes the paper.

References (43)