Manuscript Offprint
arXiv:2610.13426Goal-Oriented Ordered Autoencoding for Successive Refinement in Progressive Communication
Qi Liao, Dario Bega
Nokia Bell Labs, Stuttgart, Germany
E-Mail: {qi.liao,dario.bega}@nokia-bell-labs.com
Abstract—Goal-oriented communication often struggles to sustain downstream task performance under variable and unpredictable bandwidth. We address this problem by proposing GO-OAE (Goal-Oriented Ordered AutoEncoding), which learns a progressively refinable quantized latent sequence, optimized directly for task utility rather than source reconstruction. Each component of the sequence is represented for transmission by its code index, and the learned ordering enables inference from any received prefix of the index sequence, with performance improving as more indices arrive. We prove that optimizing the goal-oriented distortion objective is equivalent to solving a weighted conditional information bottleneck formulation, and introduce an unbiased multi-prefix importance sampling (MPIS) estimator, to reduce GO-OAE training computational cost from to with , and reduces the estimator variance by a factor of 1/m. Experiments show that, on MiniImageNet, GO-OAE achieves over 96% of the lossless upper-bound classification accuracy using 324 bits per image ( compression vs. raw RGB), and already attains over 94% of the upper bound with only 70% of the transmitted indices. It consistently outperforms reconstruction-optimized codecs and ordered autoencoders trained with uniform prefix sampling across all transmission budgets, demonstrating effective communication at extreme compression rates.
I. INTRODUCTION
Next-generation communication systems increasingly support machine intelligence rather than human perception, with transmitted data used for downstream tasks such as classification, detection, and decision-making. This shift calls for coding methods that preserve task-relevant information under bandwidth constraints, rather than merely minimizing pixel-level distortion. Although goal-oriented communication [1] captures this principle, it has yet to unify compression and inference while ensuring consistent downstream performance across varying and uncertain bandwidth constraints.
A common approach is to use generative neural codecs [2, 3], such as variational autoencoder (VAE) [4], for compression followed by a separately trained task model. This modular “compress first, infer later” pipeline assumes that reconstruction fidelity preserves task-critical information. Yet our results in Section VI-C1 challenge this: even with good reconstruction quality, classification accuracy on reconstructed images remains far below the raw-image bound (18.9% vs. 77.5%), motivating goal-oriented codec-task co-design.
Beyond the modular versus joint design question, practical communication systems can benefit from progressive transmission [5], where an ordered latent sequence supports inference across varying bandwidths without re-encoding. The ordered autoencoder (OAE) introduced by [6] enables progressively improved reconstruction from increasingly long prefixes of the latent sequence. However, existing OAEs are tied to reconstruction and cannot recover task-relevant information.
These observations expose a key research gap: existing frameworks lack an information-theoretic approach for learning emergent ordered discrete representations, whose prefixes are directly optimized for downstream tasks. Addressing this requires (i) a goal-oriented objective that preserves progressive structure, (ii) an efficient training method that avoids evaluating all prefix lengths, and (iii) semantic regularization to maintain discriminative information in the codebook. We address these challenges with goal-oriented ordered autoencoder (GO-OAE) (Figure 1). GO-OAE jointly optimizes the encoder, vector quantizer, and task decoder through an unbiased importance-sampled multi-prefix objective. The resulting representations prioritize task-relevant information in earlier components without explicit architectural ordering constraints, enabling variable-bandwidth communication.
Our main contributions are summarized as follows:
• GO-OAE: A new information-theoretic framework. We propose GO-OAE, the first information-theoretic framework for progressive goal-oriented communication, which learns an ordered latent sequence directly optimized for downstream tasks. We show that its objective is equivalent to a weighted conditional information bottleneck (IB) formulation, providing an information-theoretic foundation for progressive communication and semantic representation learning.
• Emergent ordered representation with efficient training. Unlike prior ordered learners that rely on autoregressive or architectural constraints [6, 7], GO-OAE derives ordering from a weighted conditional IB-equivalent objective. We further develop an unbiased multi-prefix importance sampling (MPIS) estimator that reduces training complexity from to , with , and reduces the estimator variance by a factor of 1/m, where B is the minibatch size, K is the full prefix length, and m is the prefix sampling budget.
• Goal-Oriented codec design principles. Our empirical analysis shows two key design principles for goal-oriented codecs: reconstruction quality does not necessarily translate to task performance, and conventional codebook objectives inadequately preserve semantic structure, motivating task-aware regularization.

Fig. 1. GO-OAE for progressive goal-oriented communication. The encoder maps input components of dimension (e.g., image patches or feature tokens) into an ordered latent sequence , which is vector-quantized using a jointly learned codebook, producing the quantized latent prefix . Transmitting the first codes (discrete indices of the mapped codebook embeddings) requires bits per sample. The receiver reconstructs the corresponding latent prefix and uses it directly for downstream task inference.
• Progressive communication at extremely low rates. Experiments on MiniImageNet [8, 9] show that GO-OAE enables robust inference under arbitrary transmission truncation, achieving over 96% of lossless classification accuracy using only 324 bits per sample (683× compression). Across all transmission budgets, it consistently outperforms reconstruction-based codecs and ordered autoencoders trained with uniform prefix sampling [6].
The remainder of this paper is organized as follows. Section II reviews related works. Section III introduces the background on OAEs and vector quantized autoencoder (VQ-AE). Section IV presents the proposed GO-OAE framework, including its information-theoretic formulation. The proposed GO-OAE algorithm is presented in Section V, including MPIS estimator and loss design. Section VI provides numerical results. Finally, Section VII concludes the paper.
Despite these advances, most existing methods remain reconstruction-oriented: task inference is performed on reconstructed signals, and progressive transmission primarily improves perceptual fidelity. Moreover, hierarchical representations do not necessarily induce an ordered latent space in which every prefix is directly optimized for task utility.
Ordered Autoencoding and Successive Refinement. Successive refinement is a fundamental concept in information theory, allowing progressive transmission of information with increasing levels of detail [5]. Learned OAEs similarly order latent variables so that longer prefixes improve reconstruction [6], while autoregressive methods predict the missing suffix from the received prefix [17]. However, these approaches optimize reconstruction or generative completion rather than task utility. Let denote the transmitted prefix with length , and an autoregressively generated suffix. The suffix is generated solely from the received prefix, i.e., . Hence, autoregressive approaches learn a conditional prior over the untransmitted latent suffix, enabling plausible latent completion. However, it cannot add task information beyond the received prefix and also incurs sequential decoding overhead.
Another relevant work is Matryoshka representation learning (MRL) [18], which learns nested prefixes of a single final embedding after full backbone processing, placing most computation at the transmitter. It targets scalable representation storage and inference rather than lightweight-device computation and communication reduction. In contrast, GO-OAE orders and discretizes intermediate latent sequences before full semantic reasoning, enabling a lightweight transmitter and progressive receiver-side inference.
III. DEFINITIONS AND PRELIMINARIES
Let denote an input sample which follows the distribution . An encoder maps to a latent sequence , where each latent component , for . The latent space is generic. For example, in transformer-based architectures each corresponds to a token embedding. A reconstruction decoder maps the latent sequence to the reconstructed input (the goal-oriented decoder is presented in Section IV). For ease of reference, the main notations used throughout this paper are summarized in Table I.
TABLE I SUMMARY OF KEY NOTATIONS
| Symbol | Description |
|---|---|
| Latent sequence | |
| Latent component index, also as sampled or corresponding prefix length when defining the ordered objective | |
| Selected prefix length | |
| Latent prefix of length | |
| The -th latent component, | |
| Encoder latent component, | |
| Quantized latent component, | |
| Quantized latent prefix of length | |
| Codebook embedding, | |
| Codebook index for the -th component (referred to interchangeably as “code index” throughout the paper) | |
| Codebook size, | |
| Prefix sampling budget, |
Definition 1 (Prefix Length and Latent Prefix). Let denote the prefix length, i.e., the number of retained latent components after truncating the latent sequence. For a given prefix length , the latent prefix is defined as , which consists of the first components. For implementation purposes, may equivalently denote its zero-padded form , where the remaining components are set to zero. We further define which excludes the -th component.
A. Ordered Autoencoder for Reconstruction
To encourage progressively informative latent components, we define the OAE as follows. For notational simplicity, instead of , we use the latent index to also denote the corresponding prefix length in the ordered objective.
Definition 2 (Reconstruction-Based OAE). An encoder-decoder pair is an ordered autoencoder if its latent sequence has non-increasing incremental information gains about the input. In particular, define
where and denotes conditional mutual information. The ordered latent sequence satisfies
Xu et al. [6] show that the ordered autoencoder condition can be achieved by minimizing the objective below.
Theorem 1 (Ordered Reconstruction Objective). [6, Theorem 1] Let the OAE reconstruction objective be defined as:
where denotes the uniform distribution over the set , and denote the distributions of the encoder and the decoder with prefix length , respectively. For a fixed-variance Gaussian decoder, and if the encoder satisfies conditional-independence, namely , for , then, (3) is equivalent, up to constants, to the prefix-averaged mean squared reconstruction loss. An optimal encoder-decoder pair that minimizes (3) satisfies the ordered autoencoder condition in (2). The finite deterministic loss over samples is
Because (3) is an expectation over prefix length following uniform distribution, instead of summing over all , it can be estimated unbiasedly by sampling a single prefix length per minibatch and optimizing the reconstruction loss using .
B. Vector Quantized Autoencoder
We adopt VQ-AE variant of vector quantized variational autoencoder (VQ-VAE) [19] as the underlying discrete latent modeling framework for ordered autoencoding. VQ-AE learns discrete latent space by mapping the continuous encoder outputs to a finite set of learnable codebook embeddings through vector quantization. The resulting codebook indices are mapped back to their corresponding embeddings, from which the decoder reconstructs the input.
We choose VQ-AE because it naturally supports ordered and progressively refinable latent sequence. First, discretized latent spaces provide more stable and semantically structured representations than continuous variables under progressive truncation, where discrete codebook indices can be transmitted or decoded in an ordered manner. Second, transmitting discrete indices is far more communication-efficient and implementation-friendly than continuous latent vectors. For example, Llama 3 8B model [20] represents each token with a 4096-dimensional FP16 vector, requiring 65,536 bits per token, whereas indexing a codebook of size 128,256 requires only 17 bits. In vision tasks, even smaller codebooks are typically sufficient, e.g., 512 entries, with each latent component index (or "code index") represented by only 9 bits.
Let the -th encoded and quantized latent components be denoted by and , respectively. The finite codebook is denoted by , with learnable codebook embeddings . The quantization is performed via nearest neighbor lookup, i.e., for each , we have
The quantized latent indices are then provided to the decoder.
Remark 1 (Latent and Codebook Embedding Dimensions). For notational simplicity, in this section, we assume that , , and have the same dimension , as in standard VQ-AE, so that nearest-neighbor quantization is directly performed in the latent space. However, more generally, a learnable projection may be inserted before quantization to map encoder outputs to a latent space of different dimensionality, as done in our experiments in Section VI.
To train VQ-AE, we minimize the following loss:
where is the reconstruction loss, is the codebook loss that updates the codebook embeddings, and is the commitment loss that encourages the encoder outputs to commit to the quantized latents, where denotes the stop-gradient operator, and is a hyperparameter that balances the losses. Here, we omit the indices for brevity.
In vanilla VQ-AE, sparse code assignments often lead to poor code utilization or even codebook collapse, where only a few entries are frequently used. Such behavior limits the expressive capacity of the latent space and may cause semantically dissimilar inputs to share similar code indices. To mitigate this, we adopt the exponential moving average (EMA)-based VQ-VAE [21] update scheme for our autoencoder, which updates codebook embedding using exponential moving average of assigned encoder outputs. This performs an online centroid update and improves codebook stability.
IV. GOAL-ORIENTED ORDERED AUTOENCODING
While the ordered autoencoders introduced in Section III learn progressively refinable latents to reconstruct input data, they may not explicitly preserve the semantics for the downstream tasks. Surprisingly, even with high reconstruction fidelity, the latent representation may not be informative for the downstream task, as shown in Section VI-C1. Motivated by this limitation, we extend OAE toward a progressive goal-oriented communications framework GO-OAE. It consists of an encoder and a task-specific decoder (or if vector quantization is applied) where the objective is to optimize the task utility.
Definition 3 (GO-OAE). A goal-oriented ordered autoencoder is defined as an encoder-decoder pair , optimized for minimizing the task loss across all prefix lengths:
where is a loss function that measures the discrepancy between the decoded output and the true task label.
Throughout this paper, we instantiate the generic loss in (7) as the negative log-likelihood (cross-entropy) of the task label, which yields the GO-OAE distortion function defined later in (8). In the following subsections, we will establish a theoretical equivalence between the GO-OAE distortion objective and a weighted conditional IB functional under ordered latent truncation, and further show that the learned latent representation satisfies a monotonically decreasing conditional mutual information ordering.
A. Connection to Information Bottleneck
First, we show that the GO-OAE distortion function can be connected to a weighted conditional IB functional under ordered latent truncation.
Theorem 2 (GO-OAE Distortion Objective). Assume the Markov structure holds, meaning that latent sequence is generated from the input, and task label influences only through , allowing , and assume Bayes-optimal task decoder such that , where denotes the conditional entropy. We define the GO-OAE distortion function as
Then minimizing is equivalent, up to the constant , to maximizing
Proof. The proof is given in Appendix A.
The Markov structure guarantees that , i.e., cannot contain task-relevant information beyond what is contained in . The goal is not to create new task information, but to discard irrelevant details through the bottleneck term . If we further regularize the latent sequence by its information complexity , the resulting objective becomes a weighted conditional IB functional under ordered latent truncation to maximize:
where is a coefficient that controls the tradeoff between task performance and representation compression.
B. Goal-Oriented Latent Ordering
We further provide the following corollary to formally characterize the ordering property of the GO-OAE objective.
Corollary 1 (Goal-Oriented Latent Ordering). Assume the Bayes-optimal encoder-decoder pair is an optimal solution that minimizes the GO-OAE distortion objective (8), and each latent component has an intrinsic task-relevant contribution that is invariant under permutation of latent positions. Then, the learned latent sequence satisfies:
Proof. The proof is given in Appendix B.
Remark 2 (Information Bottleneck Behavior and Latent Ordering). Even without explicitly including in (8), the GO-OAE objective exhibits an implicit information bottleneck effect through the VQ-AE bottleneck, finite codebook, latent dimensionality, and stochastic truncation. Beyond this implicit compression, the latent ordering is a natural consequence of the objective: earlier components appear in more prefixes and thus receive larger effective weights . Moreover, as formally established in Corollary 1, this yields a monotonically decreasing conditional mutual information ordering, with earlier dimensions capturing the most critical task-relevant semantics and later ones providing finer refinements.
V. PROPOSED GO-OAE ALGORITHM
In the objective of reconstruction-based OAE (3), the prefix length yields a uniformly random distribution , leading to an unbiased estimation of the prefix length-averaged objective. This enables efficient training by randomly sampling a single prefix length for each minibatch. In contrast, the GO-OAE objective (8) assigns inherently non-uniform importance to different prefix lengths, since (9) introduces prefix-dependent weights . Therefore, uniformly sampling prefix lengths no longer provides an efficient optimization strategy, motivating a new algorithm that accounts for non-uniform importance of different prefix lengths.
Objective (8) involves a summation over all prefix lengths. Thus, for each minibatch with size B, it becomes
where and are the label and latent prefix (with length ) of the -th sample in the minibatch, respectively. This results in decoder evaluations per iteration. Since must be computed for all and , it can be computationally expensive for large . Conversely, naively sampling a single prefix length per minibatch, as in reconstruction-based OAE [6], reduces the complexity to but may introduce unbalanced supervision across prefix lengths. This motivates a stochastic approximation of (8) that is (i) unbiased, (ii) computationally efficient, and (iii) with low variance for stable training.
A. Unbiased Multi-Prefix Importance Sampling Estimator
We now seek a sampling strategy that approximates (12) with fewer decoder evaluations while preserving unbiasedness and controlling the variance of the estimator. The following corollary formalizes the MPIS estimator and its variance.
Corollary 2 (MPIS Estimator). Let the GO-OAE objective be
Let be a sampling distribution over the prefix length such that , . At each minibatch, we sample prefix lengths independently from , and compute the stochastic estimator of :
Then, is an unbiased estimator of , i.e.,
The estimator variance yields:
Moreover, assuming differentiation and expectation can be interchanged, stochastic gradient descent using optimizes the same objective (8), but with a reduced complexity .
Proof. The proof is given in Appendix C.
Corollary 2 allows us to develop an unbiased and efficient training strategy for GO-OAE by significantly reducing the computational cost from to , where . We also discuss why single-prefix sampling as in [6] may introduce bias and unstable training in following Remark 3.
Remark 3 (Single-Prefix Sampling). Sampling a single prefix length and directly use is generally biased, because is not equal to . Applying importance weight to single prefix sampling , for is unbiased, but has a high variance , which can be large when a high-loss prefix has low sampling probability. Our proposed MPIS in Corollary 2 reduces this variance by a factor of as implied in (17).
The remaining challenge is to further reduce the variance for stable training. By leveraging (9), we can design the sampling distribution as
where controls the degree of importance sampling, the higher the , the more focus on the early latent components with higher importance weights. This sampling strategy reduces the variance by allocating more samples to important components, while maintaining unbiasedness. In practice, and prefix sampling budget m are tuned for stable and efficient training.
B. Overall Training Loss and Algorithm
To learn an ordered latent space within the VQ-AE framework (introduced in Section III-B), we jointly optimize the encoder-decoder and codebook parameters by minimizing the overall GO-OAE loss, consisting of unbiased stochastic goal-oriented loss (15), the vector quantization (VQ) loss (6), and optional regularizer (e.g., sparsity, disentanglement, codebook utilization, contrastive learning, or weight decay). The overall training loss for GO-OAE is given by
where the hyperparameters and control the balance.
Note that the unbiased estimator loss in (15) may cause high-variance gradients when dividing by for rare indices. For practical concern, to stabilize the training, we can clip the importance weights, by defining:
where constant C controls the maximum importance weight.
As for VQ loss , as explained in Section III-B, we adopt the EMA-based update scheme [21] to avoid codebook collapse. Codebook loss is not optimized by gradients, but rather updated by an exponential moving average of the encoder outputs assigned to each code. Thus, denotes the commitment loss, encouraging encoder outputs to match the codebook embeddings.
Below, we discuss two specific regularization losses in R to enhance semantic structure and codebook utilization.
Semantic Preservation Regularization: To further preserve semantic structure in the ordered latent space, we optionally include a task-specific regularizer. For example, for classification, this can be a supervised contrastive loss that pulls samples with the same class label closer in the latent space. Let denote the similarity between pre-quant latent representations of samples and (with a slight abuse of notation), where is a temperature parameter. Let be the base temperature. For anchor sample , let denote the set of positive samples sharing the same label as , and denote the set of anchor samples with at least one positive sample. Then, the supervised contrastive loss is formulated as [22]:
Entropy Regularization: We include an entropy regularizer that increases the entropy of the empirical codebook-index distribution, encouraging balanced use of the codebook embeddings. Let be the empirical probability mass function (PMF) estimate across a minibatch, where denotes the empirical frequency of code index being selected, is the number of times is selected in the current minibatch (with slight abuse of notation), and is the total number of sampled code indices. Then, the regularizer to minimize is defined as:
where is a small constant to prevent numerical instability. Note that , where , , and is the uniform distribution over codebook indices. Thus, this term equals .
We optionally include the supervised contrastive and entropy regularizers . The overall training algorithm is summarized in Algorithm 1. In EMA update, is a scalar running EMA cluster size (cross-minibatch average of ) and is an EMA of the corresponding sum of assigned encoder outputs. To stabilize training, we use three-stages: full-code pretraining, ordered training with MPIS, and a final calibration stage with occasional full-code supervision to avoid under-training later components.
VI. EXPERIMENTAL RESULTS
We evaluate GO-OAE on image classification and target a tight budget of maximum prefix length (maximum number of transmitted code indices) and codebook size , although the framework applies to other downstream tasks. Full GO-OAE transmission requires only bits/image, i.e., fewer than raw
Algorithm 1 GO-OAE Training with MPIS Estimator
Require: Dataset , encoder-decoder pair , prefix length , codebook size , randomly initialized codebook , prefix sampling budget , batch size , commitment weight , regularization weight , EMA decay , sampling sharpness
1: Initialize EMA cluster size and EMA sums of assigned latent components for all code index
2: Precompute sampling distribution based on (18)
3: for Each epoch do
4: for Each minibatch, samples do
5: Encode:
6: Quantize: Compute with (5)
7: Sample: prefix lengths:
from independently
8: for each sampled prefix length do
9: Truncate:
10: Decode:
11: Compute GO loss: with (13)
12: end for
13: Compute per-minibatch losses:
14: Compute stochastic estimator: with (20)
15: Compute commitment loss , e.g., (6)
16: Compute regularization term , e.g., (21)
and (22)
17: Update encoder-decoder parameters by minimizing (19) with stochastic gradient descent
18: Update codebook embeddings using EMA [21]: for each code index , update and based on assigned outputs, update
19: end for
20: end for
RGB storage ( bits/image). Classical compressors (e.g., JPEG, typically , bits/image) use far more bits and optimize pixel fidelity rather than task sufficiency.
We compare eight scenarios with the same backbone and data augmentation, which differ in quantization, goal-oriented training, supervised contrastive (SupCon) semantic regularization, and prefix sampling. Short names are used below.
• UB: Upper bound, task model on raw images.
- RE-OAE: Reconstruct-then-classify, frozen UB classifier on reconstructed images. Same as training an OAE in Definition 2 with objective (3) in [6], but without task-awareness.
• RE-OAE-TA: Enhanced RE-OAE with task-awareness by including task utility in loss.
• GO-VQAE: Goal-oriented unordered VQ-AE + task head (all K quantized latent components), without ordering fine-tuning.
• GO-VQAE-SC: Enhanced GO-VQAE with SupCon loss
(21) on pre-quantization features.
• GO-OAE-U: Ordered training with uniform sampling and full task-codec loss (19), but without SupCon (the same uniform sampling strategy as in [6]).
• GO-OAE-U-SC: Enhanced GO-OAE-U with SupCon.
• GO-OAE-I-SC: Proposed method, GO-OAE with MPIS estimator (Algorithm 1, sampling m=6 prefixes per mini-batch).
A. Datasets
We evaluate the proposed GO-OAE framework on Mini-ImageNet [8, 9], a widely used fine-grained classification benchmark consisting of 100 classes. We use the public timm/mini-imagenet split via HuggingFace [23]: ~50k samples for training, ~10k samples for validation, and ~5k samples for testing. All 100 classes appear in every split with consistent label indices. Images are resized to (to create 36 spatial patches of size ) and normalized to [0, 1]. Training augmentation includes random crop, horizontal flip, color jitter, rotation, MixUp ( ), and light blurring and noise corruption. Validation uses center resize and ImageNet normalization only. Top-1 accuracy on the validation set is the primary goal-oriented metric.
B. Network Architecture and Training Details
We conducted experiments using both convolutional neural network (CNN)- and vision transformer (ViT)-based backbones under the same full-rate budget of 324 bits per image. Due to space limitations, we focus here on the lighter CNN-based model and leave the backbone discussion, including insights into ViT-based models, to Section VI-D.
CNN backbone. The encoder maps each image to a latent tensor, through four strided convolutional stages (cnn_factor=2, channels ), a residual block, a final convolution projecting to 36 channels, and adaptive pooling. The receiver feeds the (possibly truncated) quantized tensor to a ResNet-style classification head: convolutions, batch norm, ReLU, two residual blocks, two stride-2 downsamples, average pooling, and a linear classifier, yielding class logits.
ViT backbone. We use a split ViT-Small backbone (resized to , yielding N=36 patch tokens of dimension 384). The transmitter applies the first E=4 transformer blocks, followed by a 2-layer perceiver (36 queries, 8 heads) to a latent dimension , then vector-quantized. The receiver maps quantized latent components back to 384-dimensional token embeddings, expands to 36 spatial tokens with a 2-layer perceiver, and runs the remaining 8 ViT blocks plus the head with separate CLS and positional embeddings. Classification is performed from the final CLS representation.
The CNN-based model contains about 8M, 0.02M, and 3.3M parameters in the encoder, VQ codebook, and decoder, respectively. The corresponding parameter counts for the ViT-based model are about 11M, 0.07M, and 17.9M.
Unless otherwise specified, both architectures use a trainable EMA codebook with size (9 bits per quantized latent

Prefix length k

Prefix length k
Fig. 2. Reconstruction fidelity vs. downstream task performance for the reconstruct-then-classify pipelines RE-OAE and RE-OAE-TA (K=256).

Fig. 3. Reconstruction with RE-OAE and RE-OAE-TA (K=256).
component) and full prefix length . The per-quantized latent component embedding dimension is 36 (CNN) and 128 (ViT). The EMA decay factor is . VQ training employs commitment weight and entropy regularization . On SupCon-enabled variants, we add a supervised contrastive term with weight and temperature , applied to pooled pre-quantization features. For MPIS, we draw prefix lengths per minibatch with sharpness .
We train the ordered models in three stages:
• Pretrain: Jointly train the encoder, VQ codebook, and classifier on the full prefix (500 epochs).
• Ordered: Fine-tune with random single prefix (GO-OAE-U-SC) or multi-prefix (GO-OAE-I-SC) to learn an ordered space (300 epochs).
• Calibration: Mix full-prefix (40%) and truncated-prefix (60%) steps to recover full-rate accuracy while preserving low-k performance (100 epochs).
C. Performance Comparison
- Reconstruction Fidelity vs. Downstream Task Performance: Our reconstruction-based evaluation in Figure 2 and 3 shows that strong reconstruction performance does not translate into reliable downstream classification. Even at a substantially larger transmission budget (K=256 already offers better performance than K=36 in Figure 4), RE-OAE attains satisfying peak signal-to-noise ratio (PSNR) and visually plausible reconstructions, yet top-1 accuracy on decoded images remains far below the original-image bound (18.9% vs. 77.5%). Adding task-aware supervision in RE-OAE-TA substantially improves performance, but still falls well short of the upper bound. These results indicate that a modular “compress first, infer later” pipeline can fail even when reconstruction error is small. Goal-oriented design is therefore necessary to align the transmitted representation with task-relevant information.

Fig. 4. Task performance comparison (CNN backbone, K = 36).
-
Performance Comparison: Figure 4 reports mean top-1 accuracy (three runs per scenario) as a function of selected prefix length ( ) for all eight scenarios applied to CNN backbone. Our main observations are as follows. First, RE-OAE and RE-OAE-TA remain weak across all prefix lengths: at the full budget they reach only 4.7% and 55.4%, respectively, versus 77.5% for the original-image bound (UB), confirming that a modular “compress first, infer later” pipeline can fail despite low reconstruction error. Task performance is also much lower than the results with higher prefix budget K=256 (Figure 2 and 3). Second, end-to-end goal-oriented training improves accuracy substantially. GO-VQAE and GO-VQAE-SC jointly optimize the encoder, codebook, and task head with maximum prefix length (complete sequence, no truncation) without ordering. They serve as unordered references and show that direct task optimization outperforms reconstruction-first design. However, without ordered training, the budget K=36 is too tight for them to obtain sufficient task-relevant information. Third, semantic preservation in quantized latent space yields large gains in both unordered and ordered settings: GO-VQAE-SC improves over GO-VQAE by +37.5 percentage points at k = 36 (63.8% vs. 26.2%), and GO-OAE-U-SC improves over GO-OAE-U by +2.4 points (73.1% vs. 70.7%); the effect is even larger at low budgets. Fourth, ordered training (GO-OAE-U, GO-OAE-U-SC, GO-OAE-I-SC) strongly boosts accuracy at small prefixes, enabling more robust performance under tight communication budgets. Finally, GO-OAE-I-SC approaches UB with limited prefix budget: at k=36 it reaches accuracy 74.4% (96.1% of UB) using only 324 transmitted bits (683× compression vs. uncompressed RGB). Also, with only k=25 code indices (225 bits) it already attains 72.9% accuracy (94.1% of UB, 980× compression), highlighting the efficiency of goal-oriented ordered representations under communication constraints.
-
Semantic Preservation in Codebook Embeddings - Effect of Supervision: Figure 4 already showed that semantic preservation in quantized latent space, enforced by a supervised contrastive regularizer, yields large gains in both unordered and ordered settings. Figure 5 (the same CNN backbone) complements this result in two ways: (i) GO-OAE-I-SC

GO-VQAE
(pre-VQ)
GO-OAE-I-SC
(pre-VQ)
GO-OAE-I-SC
(post-VQ)
Fig. 5. T-SNE of latent components colored by 20 classes.

Fig. 6. Information gain comparison (CNN backbone, K = 36).
maintains stronger semantic structure in the quantized latent space than GO-VQAE, and (ii) our EMA codebook update preserves semantic information through quantization (pre-VQ vs. post-VQ).

Fig. 7. Backbone comparison.
- Ordered Latent Space - Effect of Sampling Strategies: Figure 6 compares the block information gain of GO-OAE-U, GO-OAE-U-SC and GO-OAE-I-SC. We partition the ordered codes into 10 blocks, where block ends at prefix length corresponding to of the full budget. It reports the blockwise empirical information gain . The curve of GO-OAE-I-SC decays sharply across prefix length, confirming the ordered autoencoding requirement of monotonically diminishing conditional mutual information, consistent with the ordering predicted by Corollary 1.
D. Backbone Model Discussion
Our experiments in Figure 7 show that GO-OAE interacts differently with CNN and ViT backbones. CNN's feature specialization supports complementary latent information and clear progressive refinement. In contrast, standard ViTs are optimized for early global contextualization, which conflicts with ordered representation learning: task-relevant information becomes rapidly mixed and redundantly distributed across tokens, allowing the first few latent components to capture most of the utility and yielding nearly flat prefix-performance curves. Using fewer transformer blocks before quantization (E=1 instead of E=4) spreads task utility across more latent components, yielding progressive gains over longer prefix. However, the reduced depth at transmitter also limits task-relevant information extraction before the bottleneck, resulting in lower converged accuracy. Achieving progressive refinement with transformer backbones may therefore require architectural redesigns that preserve decomposable intermediate features and defer global integration until after the communication bottleneck. This represents an important direction for future work.
VII. Conclusions
We introduced GO-OAE, a goal-oriented progressive communication framework robust to unpredictable bandwidth that learns ordered quantized representations, enabling flexible task inference rather than source reconstruction. We showed that the goal-oriented distortion objective admits a weighted conditional information bottleneck interpretation, and introduced MPIS to cut training cost from to , with , and with variance scaling as . On MiniImageNet, our approach attains of the lossless bound at 324 bits/image ( compression) and with only 70% of the quantized latent components, outperforming reconstruction-based codecs and OAEs trained with uniform prefix sampling at all budgets. Semantic preservation regularization and ordered importance sampling are essential when the communication budget is tight. Future work will extend GO-OAE to drone surveillance and robotic vision under realistic communication, compute, and energy constraints, while developing transformer architectures better suited to progressive refinement.
APPENDIX
A. Proof of Theorem 2
Proof. Assuming Bayes-optimal decoders, for which , where denotes the conditional entropy. Then, we have
Thus, minimizing is equivalent to maximizing . Based on the chain rule, we have
which leads to
The loss becomes
where the weights are defined as , which means information contributed by earlier latent components is rewarded more strongly.
B. Proof of Corollary 1
Proof. From Theorem 2, we know minimizing (8) is equivalent, up to an additive constant, to maximizing (9) with non-increasing weights , and therefore . Define the incremental task-relevant information gain as (for brevity we abuse the notation and still use for goal-oriented information gain). Suppose, for contradiction, that an optimal representation contains an adjacent inversion, i.e., for some . After swapping their order, the contribution becomes , which is strictly larger than the original contribution . Thus, swapping the two latent components would strictly increase the objective. Since the model class is closed under permutations and the information contributions are invariant under permutation, the swapped representation remains admissible. This contradicts the global optimality of the original representation. Therefore, no adjacent inversion can exist at optimum, and hence .
C. Proof of Corollary 2
Proof. In below, we prove the unbiasedness, variance, and unbiased gradient estimation properties of the proposed estimator , respectively.
Unbiasedness: By linearity of expectation, we have
Since is sampled from , we have
Thus, , which proves the unbiasedness.
Variance: Let us define for . Since are sampled independently, and all are i.i.d. and have identical variance, we have
Given the variance definition, we have
(24)
Thus, we have
Unbiased Gradient Estimation: With the proven unbiasedness, and under standard regularity conditions allowing interchange of gradient and expectation, we have
REFERENCES
[1] O. Goldreich, B. Juba, and M. Sudan, “A theory of goal-oriented communication,” Journal of the ACM (JACM), vol. 59, no. 2, pp. 1–65, 2012.
[2] F. Mentzer, G. D. Toderici, M. Tschannen, and E. Agustsson, “High-fidelity generative image compression,” Advances in neural information processing systems (NeurIPS), vol. 33, pp. 11913–11924, 2020.
[3] G. Zhang and et al., “Progressive learned image transmission for semantic communication using hierarchical VAE,” IEEE Transactions on Cognitive Communications and Networking, 2025.
[4] D. P. Kingma and M. Welling, “An introduction to variational autoencoders,” Foundations and Trends® in Machine Learning, vol. 12, no. 4, pp. 307–392, 2019.
[5] W. H. Equitz and T. M. Cover, “Successive refinement of information,” IEEE Transactions on information theory, vol. 37, no. 2, pp. 269–275, 1991.
[6] Y. Xu, Y. Song, S. Garg, L. Gong, R. Shu, A. Grover, and S. Ermon, “Anytime sampling for autoregressive models via ordered autoencoding,” in International Conference on Learning Representations (ICLR), 2021.
[7] H. Liang, C. Dong, W. An, Z. Bao, X. Xu, and R. Meng, “Semantic importance-aware communication over MIMO fading channels,” IEEE Internet of Things Journal, 2025.
[8] S. Ravi and H. Larochelle, “Optimization as a model for few-shot learning,” in International Conference on Learning Representations (ICLR), 2017.
[9] O. Russakovsky, J. Deng, H. Su, J. Krause, S. Satheesh, S. Ma, Z. Huang, A. Karpathy, A. Khosla, M. Bernstein et al., “Imagenet large scale visual recognition challenge,” International Journal of Computer Vision (IJCV), vol. 115, no. 3, pp. 211–252, 2015.
[10] Z. Qin, X. Tao, J. Lu, W. Tong, and G. Y. Li, “Semantic communications: Principles and challenges,” arXiv preprint arXiv:2201.01389, 2021.
[11] D. Gündüz, Z. Qin, I. E. Aguerri, H. S. Dhillon, Z. Yang, A. Yener, K. K. Wong, and C.-B. Chae, “Beyond transmitting bits: Context, semantics, and task-oriented
communications," IEEE Journal on Selected Areas in Communications, vol. 41, no. 1, pp. 5–41, 2023.
[12] T. M. Getu, G. Kaddoum, and M. Bennis, “A survey on goal-oriented semantic communication: Techniques, challenges, and future directions,” IEEE Access, vol. 12, pp. 51 223–51 274, 2024.
[13] X. Luo, H.-H. Chen, and Q. Guo, “Semantic communications: Overview, open issues, and future research directions,” IEEE Wireless Communications, vol. 29, no. 1, pp. 210–219, 2022.
[14] N. Li, Y. Deng, and D. Niyato, “Goal-oriented semantic communication for wireless video transmission via generative ai,” IEEE Transactions on Wireless Communications, 2026.
[15] S. H. Wanasekara, V.-D. Nguyen, K.-S. Wong, M.-D. Nguyen, S. Chatzinotas, and O. A. Dobre, “Scgir: Goal-oriented semantic communication via invariant representation learning for image transmission,” IEEE Transactions on Mobile Computing, 2025.
[16] Z. Lyu, G. Zhu, J. Xu, B. Ai, and S. Cui, “Semantic communications for image recovery and classification via deep joint source and channel coding,” IEEE Transactions on Wireless Communications, vol. 23, no. 8, pp. 8388–8404, 2024.
[17] T. Li, Y. Tian, H. Li, M. Deng, and K. He, “Autoregressive image generation without vector quantization,” Advances in Neural Information Processing Systems (NeurIPS), vol. 37, pp. 56424–56445, 2024.
[18] A. Kusupati and et al., “Matryoshka representation learning,” Advances in Neural Information Processing Systems (NeurIPS), vol. 35, pp. 30233–30249, 2022.
[19] A. Van Den Oord, O. Vinyals et al., “Neural discrete representation learning,” Advances in neural information processing systems (NeurIPS), vol. 30, 2017.
[20] A. Grattafori, A. Dubey, A. Jauhri, A. Pandey, A. Kadian, A. Al-Dahle, A. Letman, A. Mathur, A. Schelten, A. Vaughan et al., “The Llama 3 herd of models,” arXiv preprint arXiv:2407.21783, 2024.
[21] A. Łančucki, J. Chorowski, G. Sanchez, R. Marxer, N. Chen, H. J. Dolfing, S. Khurana, T. Alumäe, and A. Laurent, “Robust training of vector quantized bottleneck models,” in 2020 International Joint Conference on Neural Networks (IJCNN). IEEE, 2020, pp. 1–7.
[22] P. Khosla, P. Teterwak, C. Wang, A. Sarna, Y. Tian, P. Isola, A. Maschinot, C. Liu, and D. Krishnan, “Supervised contrastive learning,” Advances in neural information processing systems (NeurIPS), vol. 33, pp. 18661–18673, 2020.
[23] R. Wightman, “timm/mini-imagenet dataset,” https://huggingface.co/datasets/timm/mini-imagenet, 2021, accessed: 2026-07-30.