Jointly Optimized Codebook Construction (JOCC)
- JOCC is a co-design principle that jointly optimizes codebooks and associated modules to enhance quantization, inference, and transmission performance.
- It leverages discrete representations via learnable codebooks with objectives such as mutual information maximization, entropy regularization, and channel robustness.
- JOCC applications show improvements in metrics like PSNR, BER, and spectral efficiency across diverse areas including semantic communications, beamforming, and model compression.
Jointly Optimized Codebook Construction (JOCC) denotes a family of formulations in which a codebook is optimized together with the mappings, inference modules, or transmission mechanisms that use it. In the cited literature, the term spans codebook-enabled quantization for digital semantic communications, site-specific limited-feedback beamforming, memory-footprint compression through jointly learnable codebooks and mappings, second-order representation learning with codebook-conditioned factorization, code-domain NOMA autoencoders, Bayes-decoded error-correction code design, and joint BS/RIS beam codebooks for near-field beam training (Wang et al., 8 Oct 2025, Zhao et al., 16 Apr 2026, Yvinec et al., 2023, Jacob et al., 2019, Han et al., 2021, Wu, 2018, Zhang et al., 26 Aug 2025). The common feature is that the codebook is not fixed a priori: it is part of a system-level optimization objective such as mutual information, reconstruction fidelity, CSI-capture efficiency, BER, Bayes risk, or beam-pattern matching.
1. Terminological scope and definitional core
In current arXiv usage, JOCC is not tied to a single canonical architecture. The 2025 semantic-communications paper studies a “theoretically-grounded codebook” through joint optimization of quantization efficiency, transmission efficiency, and robust performance; the 2026 beamforming paper uses JOCC for the coupled design of a probing codebook and a subspace-inference network; the 2023 compression paper presents the same general idea under the name “jointly learnable codebooks and mappings” (JLCM); and the 2019 retrieval paper presents a related formulation as “Joint Optimization of Codebook and Factorization” (JCF) (Wang et al., 8 Oct 2025, Zhao et al., 16 Apr 2026, Yvinec et al., 2023, Jacob et al., 2019). This suggests that the acronym is best understood as a co-design principle rather than a standardized single algorithm.
The term “codebook” also changes meaning with application. In vector-quantized semantic communication it is a discrete latent vocabulary or constellation lookup; in model compression it is a set of quantization centroids assigned to weights; in beamforming it is a probing beam set or a set of BS/RIS beam codewords; and in error-correction coding it is a mapping from source symbols to binary codewords (Huang et al., 3 Mar 2026, Zhang et al., 26 Aug 2025, Wu, 2018).
| Setting | Jointly optimized objects | Representative objective |
|---|---|---|
| Digital semantic communications | codebook, encoder/decoder, channel-aware loss | |
| Site-specific limited-feedback beamforming | probing codebook , inference network | |
| Model compression | multiple codebooks and index-score tensor | |
| XL-RIS beam training | BS codeword , RIS phases , phase-adjust |
2. Shared mathematical structure
A recurrent JOCC pattern is discrete representation induced by nearest-neighbor partitions or softened assignments. In the semantic-communications derivation, a learnable codebook 0 defines Voronoi cells
1
and the quantizer 2 is
3
The same paper treats the continuous semantic feature 4 and discrete index 5, derives
6
and uses the empirical entropy
7
to regularize codeword utilization through
8
or an equivalent cross-entropy form (Wang et al., 8 Oct 2025).
Other JOCC formulations retain the same discrete core but modify the assignment mechanism. In compression, one learns an index-score tensor 9, defines soft assignments
0
and constructs
1
The per-layer objective combines a distillation loss, a weight-reconstruction term, and a one-hot regularizer,
2
A custom gradient update replaces the standard 3 with
4
to enforce a proximal search of codebooks and mappings (Yvinec et al., 2023).
In second-order representation learning, soft assignments to a codebook 5 are
6
and the codebook is integrated directly into bilinear pooling and low-rank factorization. In the compact JCF form,
7
with end-to-end optimization under the N-pair loss plus weight decay (Jacob et al., 2019).
A further generalization appears in ESC-MVQ, where JOCC means jointly training multiple codebooks 8 and trainable bit-flip probabilities 9 under a parallel-BSC model,
0
together with an end-to-end reconstruction loss and codebook regularization (Shin et al., 16 Apr 2025).
3. Semantic communications and channel-aware JOCC
Digital semantic communication is the area in which JOCC is most explicitly tied to quantization, mutual information, and channel robustness. The 2025 theoretically grounded formulation establishes a formal equivalence between semantic synonymy and Voronoi-based many-to-one quantization, derives the mutual information objective 1, introduces entropy-regularized end-to-end codebook training, and models channel-induced semantic distortion under bit-flip errors through
2
leading to
3
Its full joint objective is
4
implemented with a VQ-VAE backbone, straight-through estimation, Adam, learning rate 5, batch size 6, 7 for the entropy term, 8 for the channel loss, 64-QAM modulation, Rayleigh fading, and codebook size fixed at 9 for the reported results. On image reconstruction tasks at SNR 0 dB, the reported improvement is 1 in PSNR and 2 in LPIPS compared to existing codebook designs; ablations report that “+Index Entropy” recovers balanced 3 and improves PSNR at high SNR, while “+Channel-Aware” sharply reduces LPIPS at low SNR by minimizing semantic drift under bit flips (Wang et al., 8 Oct 2025).
A distinct two-stage JOCC-style semantic pipeline appears in the Transformer-based generative system. Stage 1 jointly trains semantic encoder 4, codebook 5, and decoder 6 with a VQ-VAE-style loss that combines 7, 8, and 9:
0
The codebook has size 1 and dimension 2. Stage 2 freezes encoder, decoder, and codebook, then trains a nine-block Transformer encoder with 3, eight heads, feed-forward dimension 4, and learned 5D positional embeddings to recover the correct codebook indices from noisy latent maps. On FFHQ-test, the reported averages are: at 6 dB, JOCC yields PSNR 7, SSIM 8, and LPIPS 9; at 0 dB, JOCC yields PSNR 1, SSIM 2, and LPIPS 3 (Ye et al., 2024).
The satellite-terrestrial SFSC framework uses JOCC at the interface of semantic coding and digital modulation. Here the semantic encoder 4 and semantic codebook 5 are jointly optimized, with the codebook acting as both quantizer and constellation lookup. The composite objective is
6
where 7 is end-to-end MSE, 8 is cross-entropy over indices, and 9 is a VQ-VAE style regularizer. The framework further injects instantaneous SNR through FiLM layers,
0
The reported hyperparameters are 1, embedding dimension 2, batch size 3, initial learning rate 4 with cosine annealing to 5, 6, 7, and 8. Under SL-SNR 9 dB, the reported PSNR is 0 dB versus 1 dB for digital joint coding and modulation, with spectral efficiency 2 versus 3 for 64-QAM, corresponding to a 4 bandwidth saving; in the MDMA scenario, CS-MDMA with JOCC achieves a 5–6 dB PSNR improvement at 7 dB SNR over classical MDMA and NOMA-JSCC (Huang et al., 3 Mar 2026).
ESC-MVQ extends the semantic-communication interpretation of JOCC from one codebook to many. It jointly trains multiple VQ codebooks and their associated bit-flip probabilities with a single encoder-decoder pair, then solves an alternating communication-strategy problem over codebook assignment, modulation order, and power allocation. The reported empirical outcome is up to 8–9 dB PSNR gain over single-codebook schemes under the same rate, adaptation over a 0 dB SNR range, and a 1-fold reduction in model storage compared to separately trained single-codebook networks (Shin et al., 16 Apr 2025).
4. Feedback, coding, and beam-oriented JOCC
In limited-feedback beamforming, JOCC becomes a coupled design problem between measurement codebooks and inference networks. The site-specific Type-II framework defines a probing codebook 2 with unit-norm columns, an inference network 3, and an inferred subspace basis 4 that is orthonormalized so 5. The central objective maximizes the normalized CSI-capture efficiency
6
through
7
The RSRP measurement vector is
8
and the offline solver updates both 9 and 00 via mini-batch backpropagation. Under standard smoothness and bounded-variance assumptions, mini-batch SGD converges in expectation to a first-order stationary point at rate 01. The reported results include an ablation in “asu_campus_3p5” with 02 for JOCC versus 03 for random and DFT probing; online UE complexity is 04, whereas Type-II requires 05 (Zhao et al., 16 Apr 2026).
In code-domain NOMA, JOCC is realized as an autoencoder for multi-user multidimensional modulation. Han et al. formulate a joint optimization over the multi-user constellation 06, bit-to-symbol mappings 07, and resource-mapping matrix 08, subject to a power constraint. The distinctive architectural element is dense resource mapping combined with a global power-normalization layer,
09
so that the sum of powers across all users and resources is fixed while power allocation remains flexible. Training proceeds in two stages: first with a loss weighted by the Hamming distance between true and decoded bits,
10
and then with pure Euclidean shaping. In the reported 11, 12, 13 setting, JOCC reaches BER 14 at 15 dB 16, while the equivalent single-user MDM autoencoder achieves 17 dB, conventional SCMA lies at 18 dB, and a power-imbalanced SCMA heuristic lies at 19 dB (Han et al., 2021).
An earlier coding-theoretic JOCC formulation treats the codebook itself as the object of source-symbol-aware error-control design. Given source symbols 20, a codebook 21 assigns each 22 a binary codeword 23, and a decoder 24 is chosen to minimize
25
For any fixed codebook, the Bayes-optimal decoder is
26
The JOCC search alternates between Bayes-decoder updates and codebook moves such as flipping one bit in a single codeword, swapping two entire codewords, or permuting columns. At SNR 27 dB for rate-28 codes, the reported 29 values are 30 for Hamming hard/soft/Bayes decoding and 31 for JOCC-optimized 32 with 33; the corresponding 34 values are 35 for Hamming and 36 for JOCC-optimized 37 with 38 (Wu, 2018).
Near-field XL-RIS beam training provides yet another meaning of JOCC, now as joint construction of BS precoders and RIS phase-shift codewords. At each beam-training level, JOCC minimizes
39
subject to the BS power limit 40, unit-modulus phase-adjust variables, and 41-bit discrete RIS phases. The alternating-optimization procedure updates the BS codeword in closed form,
42
then updates RIS phases via an IPDD-based projection onto the 43-PSK set, and finally updates
44
The reported per-iteration complexity is
45
empirical convergence occurs in 46–47 outer iterations, and runtime is reported as 48 slower than SOCC for 49. In achievable-rate comparisons after beam training, JOCC is reported as approximately equal to ideal-RIS, with SA-BS codebook about 50–51 dB worse (Zhang et al., 26 Aug 2025).
5. Compression and representation learning
In network compression, JOCC is centered on multi-codebook weight quantization with no mapping overhead. The method clusters output neurons, permanently reorders rows of the weight matrix so neurons in the same cluster become contiguous, and ties each row to one of 52 distinct codebooks by the rule 53. The resulting quantization scheme allows different groups to use different codebooks while avoiding the memory-expensive mapping used by prior multi-codebook methods. Optimization is performed one layer at a time on a calibration batch, with gradients propagated through quantized weights and a proximal index update that favors small moves toward nearby codewords rather than jumps toward extreme values (Yvinec et al., 2023).
The reported empirical profile is broad. On ImageNet-trained ResNet-18, with a per-tensor fp16543-bit compression target 55, the fully optimized method reaches 56 top-1 versus 57 for the fp16 baseline and 58 for NUPES. On ViT-b16 at the same 59, the reported top-1 is 60 versus 61 fp16. On Stable Diffusion v2.0 at 62-bit weights (63), the initialization alone recovers CLIP score 64 versus 65 for PowerQuant. On Llama-7B, fp16663-bit compression yields 67 on the common-sense benchmark versus 68 for OPTQ and 69 for RED++, while at 70 the footprint is 71 GB and the retained score is 72; the abstract summarizes this as compression to “2Go” and loading on “5-year-old smartphones” (Yvinec et al., 2023).
The second-order representation-learning variant integrates a trainable codebook into compact bilinear pooling. Starting from local descriptors 73, the standard bilinear feature
74
is augmented by codeword-conditioned soft assignments 75, and then factorized jointly with low-rank projections. The JCF-N form
76
uses 77 parameters for 78 and the same for 79, while JCF-N-R replaces codeword-specific projections with shared basis projections 80, 81 and recombination matrices 82, reducing the count to 83 (Jacob et al., 2019).
This JOCC/JCF representation is trained end-to-end under the N-pair loss and optional codeword normalization. On Stanford Online Products, the reported recall@1 is 84 for JCF-32 and 85 for JCF-32-8, compared with 86 for HTL, 87 for Proxy-NCA, and 88 for Margin. On CUB-200-2011, JCF-32 reaches 89 versus 90 for Ge. On Cars-196, JCF-32 reaches 91 versus 92 for Ge. Parameter counts range from 93 M for JCF-4-4 to 94 M for JCF-32-32, with JCF-32-8 reported at 95 M parameters (Jacob et al., 2019).
6. Recurring design patterns, trade-offs, and common misconceptions
A persistent misconception is that JOCC simply means “using a learnable codebook.” The cited work shows a stricter pattern: the codebook is almost always coupled to another optimized object and to an explicit system loss. In semantic communication, that coupling may be entropy regularization, mutual information, or channel-aware semantic distortion; in beamforming it is CSI-capture efficiency through a learned inference subspace; in coding it is Bayes risk under a significance-aware loss; and in second-order retrieval it is factorization under metric learning (Wang et al., 8 Oct 2025, Zhao et al., 16 Apr 2026, Wu, 2018, Jacob et al., 2019). This suggests that the defining characteristic of JOCC is joint system optimization, not merely codeword learning.
A second misconception is that JOCC belongs only to latent quantization. The surveyed papers use the term for VQ codebooks, multiple codebooks with trainable bit-flip probabilities, beam-probing codebooks, NOMA multidimensional constellations, source-symbol ECC codebooks, and joint BS/RIS beam codewords (Shin et al., 16 Apr 2025, Han et al., 2021, Zhang et al., 26 Aug 2025). The shared abstraction is a discrete design space whose geometry is made task-aware by end-to-end optimization.
The main trade-offs also recur across domains. Codebook cardinality affects both representation fidelity and robustness: in the theoretically grounded semantic formulation, 96 is chosen by minimizing 97 and is swept in practice over values such as 98; in the Transformer-based generative system, “the codebook size 99 trades off reconstruction detail vs. robustness to index errors” (Wang et al., 8 Oct 2025, Ye et al., 2024). Joint optimization often improves end performance while relocating complexity: the site-specific beamforming design “pushes the heavy inference into the BS,” reducing UE complexity to 00; the compression method incurs an offline calibration run over each layer and a one-time neuron reordering; the XL-RIS design yields the highest beam-focusing accuracy but with higher design time and memory than SOCC (Zhao et al., 16 Apr 2026, Yvinec et al., 2023, Zhang et al., 26 Aug 2025).
Resource footprints remain application-specific rather than uniformly small. In satellite-terrestrial semantic forwarding, the total model is reported at approximately 01 M parameters and approximately 02 GFLOPs per 03 image, the codebook occupies approximately 04 KB, and the on-board satellite workload is approximately 05 GFLOPs per image; in contrast, the Transformer-based generative system explicitly notes that training a large VQ-AE and a nine-block Transformer end-to-end is computationally demanding (Huang et al., 3 Mar 2026, Ye et al., 2024). The overall literature therefore does not support a universal claim that JOCC is either lightweight or heavyweight. It supports a narrower conclusion: JOCC systematically exchanges additional offline or centralized optimization for codebooks whose discrete structure is aligned with the downstream distortion measure, channel model, or task objective.