Papers
Topics
Authors
Recent
Search
2000 character limit reached

Jointly Optimized Codebook Construction (JOCC)

Updated 9 July 2026
  • 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 Ltotal=Ltask+LQ+λLdistL_{\mathrm{total}} = L_{\mathrm{task}} + L_Q + \lambda L_{\mathrm{dist}}
Site-specific limited-feedback beamforming probing codebook BB, inference network ΨΘ\Psi_\Theta {B,Θ}=argmaxB,ΘEhps[ηp(h;B,ΨΘ)]\{B^*,\Theta^*\} = \arg\max_{B,\Theta} E_{h\sim p_s}[\eta_p(h;B,\Psi_\Theta)]
Model compression multiple codebooks and index-score tensor II L(C,I)=f~(X~)f(X)22+L1+λL2\mathcal L(C,I)=\|\widetilde f(\tilde X)-f(X)\|_2^2+\mathcal L_1+\lambda\mathcal L_2
XL-RIS beam training BS codeword wtw_t, RIS phases ϕ\bm\phi, phase-adjust ψ\psi minϕHH~(wt)(pψ)T22\min \|\bm\phi^H\widetilde{\mathbf H}(w_t)-(p\odot\psi)^T\|_2^2

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 BB0 defines Voronoi cells

BB1

and the quantizer BB2 is

BB3

The same paper treats the continuous semantic feature BB4 and discrete index BB5, derives

BB6

and uses the empirical entropy

BB7

to regularize codeword utilization through

BB8

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 BB9, defines soft assignments

ΨΘ\Psi_\Theta0

and constructs

ΨΘ\Psi_\Theta1

The per-layer objective combines a distillation loss, a weight-reconstruction term, and a one-hot regularizer,

ΨΘ\Psi_\Theta2

A custom gradient update replaces the standard ΨΘ\Psi_\Theta3 with

ΨΘ\Psi_\Theta4

to enforce a proximal search of codebooks and mappings (Yvinec et al., 2023).

In second-order representation learning, soft assignments to a codebook ΨΘ\Psi_\Theta5 are

ΨΘ\Psi_\Theta6

and the codebook is integrated directly into bilinear pooling and low-rank factorization. In the compact JCF form,

ΨΘ\Psi_\Theta7

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 ΨΘ\Psi_\Theta8 and trainable bit-flip probabilities ΨΘ\Psi_\Theta9 under a parallel-BSC model,

{B,Θ}=argmaxB,ΘEhps[ηp(h;B,ΨΘ)]\{B^*,\Theta^*\} = \arg\max_{B,\Theta} E_{h\sim p_s}[\eta_p(h;B,\Psi_\Theta)]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 {B,Θ}=argmaxB,ΘEhps[ηp(h;B,ΨΘ)]\{B^*,\Theta^*\} = \arg\max_{B,\Theta} E_{h\sim p_s}[\eta_p(h;B,\Psi_\Theta)]1, introduces entropy-regularized end-to-end codebook training, and models channel-induced semantic distortion under bit-flip errors through

{B,Θ}=argmaxB,ΘEhps[ηp(h;B,ΨΘ)]\{B^*,\Theta^*\} = \arg\max_{B,\Theta} E_{h\sim p_s}[\eta_p(h;B,\Psi_\Theta)]2

leading to

{B,Θ}=argmaxB,ΘEhps[ηp(h;B,ΨΘ)]\{B^*,\Theta^*\} = \arg\max_{B,\Theta} E_{h\sim p_s}[\eta_p(h;B,\Psi_\Theta)]3

Its full joint objective is

{B,Θ}=argmaxB,ΘEhps[ηp(h;B,ΨΘ)]\{B^*,\Theta^*\} = \arg\max_{B,\Theta} E_{h\sim p_s}[\eta_p(h;B,\Psi_\Theta)]4

implemented with a VQ-VAE backbone, straight-through estimation, Adam, learning rate {B,Θ}=argmaxB,ΘEhps[ηp(h;B,ΨΘ)]\{B^*,\Theta^*\} = \arg\max_{B,\Theta} E_{h\sim p_s}[\eta_p(h;B,\Psi_\Theta)]5, batch size {B,Θ}=argmaxB,ΘEhps[ηp(h;B,ΨΘ)]\{B^*,\Theta^*\} = \arg\max_{B,\Theta} E_{h\sim p_s}[\eta_p(h;B,\Psi_\Theta)]6, {B,Θ}=argmaxB,ΘEhps[ηp(h;B,ΨΘ)]\{B^*,\Theta^*\} = \arg\max_{B,\Theta} E_{h\sim p_s}[\eta_p(h;B,\Psi_\Theta)]7 for the entropy term, {B,Θ}=argmaxB,ΘEhps[ηp(h;B,ΨΘ)]\{B^*,\Theta^*\} = \arg\max_{B,\Theta} E_{h\sim p_s}[\eta_p(h;B,\Psi_\Theta)]8 for the channel loss, 64-QAM modulation, Rayleigh fading, and codebook size fixed at {B,Θ}=argmaxB,ΘEhps[ηp(h;B,ΨΘ)]\{B^*,\Theta^*\} = \arg\max_{B,\Theta} E_{h\sim p_s}[\eta_p(h;B,\Psi_\Theta)]9 for the reported results. On image reconstruction tasks at SNR II0 dB, the reported improvement is II1 in PSNR and II2 in LPIPS compared to existing codebook designs; ablations report that “+Index Entropy” recovers balanced II3 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 II4, codebook II5, and decoder II6 with a VQ-VAE-style loss that combines II7, II8, and II9:

L(C,I)=f~(X~)f(X)22+L1+λL2\mathcal L(C,I)=\|\widetilde f(\tilde X)-f(X)\|_2^2+\mathcal L_1+\lambda\mathcal L_20

The codebook has size L(C,I)=f~(X~)f(X)22+L1+λL2\mathcal L(C,I)=\|\widetilde f(\tilde X)-f(X)\|_2^2+\mathcal L_1+\lambda\mathcal L_21 and dimension L(C,I)=f~(X~)f(X)22+L1+λL2\mathcal L(C,I)=\|\widetilde f(\tilde X)-f(X)\|_2^2+\mathcal L_1+\lambda\mathcal L_22. Stage 2 freezes encoder, decoder, and codebook, then trains a nine-block Transformer encoder with L(C,I)=f~(X~)f(X)22+L1+λL2\mathcal L(C,I)=\|\widetilde f(\tilde X)-f(X)\|_2^2+\mathcal L_1+\lambda\mathcal L_23, eight heads, feed-forward dimension L(C,I)=f~(X~)f(X)22+L1+λL2\mathcal L(C,I)=\|\widetilde f(\tilde X)-f(X)\|_2^2+\mathcal L_1+\lambda\mathcal L_24, and learned L(C,I)=f~(X~)f(X)22+L1+λL2\mathcal L(C,I)=\|\widetilde f(\tilde X)-f(X)\|_2^2+\mathcal L_1+\lambda\mathcal L_25D positional embeddings to recover the correct codebook indices from noisy latent maps. On FFHQ-test, the reported averages are: at L(C,I)=f~(X~)f(X)22+L1+λL2\mathcal L(C,I)=\|\widetilde f(\tilde X)-f(X)\|_2^2+\mathcal L_1+\lambda\mathcal L_26 dB, JOCC yields PSNR L(C,I)=f~(X~)f(X)22+L1+λL2\mathcal L(C,I)=\|\widetilde f(\tilde X)-f(X)\|_2^2+\mathcal L_1+\lambda\mathcal L_27, SSIM L(C,I)=f~(X~)f(X)22+L1+λL2\mathcal L(C,I)=\|\widetilde f(\tilde X)-f(X)\|_2^2+\mathcal L_1+\lambda\mathcal L_28, and LPIPS L(C,I)=f~(X~)f(X)22+L1+λL2\mathcal L(C,I)=\|\widetilde f(\tilde X)-f(X)\|_2^2+\mathcal L_1+\lambda\mathcal L_29; at wtw_t0 dB, JOCC yields PSNR wtw_t1, SSIM wtw_t2, and LPIPS wtw_t3 (Ye et al., 2024).

The satellite-terrestrial SFSC framework uses JOCC at the interface of semantic coding and digital modulation. Here the semantic encoder wtw_t4 and semantic codebook wtw_t5 are jointly optimized, with the codebook acting as both quantizer and constellation lookup. The composite objective is

wtw_t6

where wtw_t7 is end-to-end MSE, wtw_t8 is cross-entropy over indices, and wtw_t9 is a VQ-VAE style regularizer. The framework further injects instantaneous SNR through FiLM layers,

ϕ\bm\phi0

The reported hyperparameters are ϕ\bm\phi1, embedding dimension ϕ\bm\phi2, batch size ϕ\bm\phi3, initial learning rate ϕ\bm\phi4 with cosine annealing to ϕ\bm\phi5, ϕ\bm\phi6, ϕ\bm\phi7, and ϕ\bm\phi8. Under SL-SNR ϕ\bm\phi9 dB, the reported PSNR is ψ\psi0 dB versus ψ\psi1 dB for digital joint coding and modulation, with spectral efficiency ψ\psi2 versus ψ\psi3 for 64-QAM, corresponding to a ψ\psi4 bandwidth saving; in the MDMA scenario, CS-MDMA with JOCC achieves a ψ\psi5–ψ\psi6 dB PSNR improvement at ψ\psi7 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 ψ\psi8–ψ\psi9 dB PSNR gain over single-codebook schemes under the same rate, adaptation over a minϕHH~(wt)(pψ)T22\min \|\bm\phi^H\widetilde{\mathbf H}(w_t)-(p\odot\psi)^T\|_2^20 dB SNR range, and a minϕHH~(wt)(pψ)T22\min \|\bm\phi^H\widetilde{\mathbf H}(w_t)-(p\odot\psi)^T\|_2^21-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 minϕHH~(wt)(pψ)T22\min \|\bm\phi^H\widetilde{\mathbf H}(w_t)-(p\odot\psi)^T\|_2^22 with unit-norm columns, an inference network minϕHH~(wt)(pψ)T22\min \|\bm\phi^H\widetilde{\mathbf H}(w_t)-(p\odot\psi)^T\|_2^23, and an inferred subspace basis minϕHH~(wt)(pψ)T22\min \|\bm\phi^H\widetilde{\mathbf H}(w_t)-(p\odot\psi)^T\|_2^24 that is orthonormalized so minϕHH~(wt)(pψ)T22\min \|\bm\phi^H\widetilde{\mathbf H}(w_t)-(p\odot\psi)^T\|_2^25. The central objective maximizes the normalized CSI-capture efficiency

minϕHH~(wt)(pψ)T22\min \|\bm\phi^H\widetilde{\mathbf H}(w_t)-(p\odot\psi)^T\|_2^26

through

minϕHH~(wt)(pψ)T22\min \|\bm\phi^H\widetilde{\mathbf H}(w_t)-(p\odot\psi)^T\|_2^27

The RSRP measurement vector is

minϕHH~(wt)(pψ)T22\min \|\bm\phi^H\widetilde{\mathbf H}(w_t)-(p\odot\psi)^T\|_2^28

and the offline solver updates both minϕHH~(wt)(pψ)T22\min \|\bm\phi^H\widetilde{\mathbf H}(w_t)-(p\odot\psi)^T\|_2^29 and BB00 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 BB01. The reported results include an ablation in “asu_campus_3p5” with BB02 for JOCC versus BB03 for random and DFT probing; online UE complexity is BB04, whereas Type-II requires BB05 (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 BB06, bit-to-symbol mappings BB07, and resource-mapping matrix BB08, subject to a power constraint. The distinctive architectural element is dense resource mapping combined with a global power-normalization layer,

BB09

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,

BB10

and then with pure Euclidean shaping. In the reported BB11, BB12, BB13 setting, JOCC reaches BER BB14 at BB15 dB BB16, while the equivalent single-user MDM autoencoder achieves BB17 dB, conventional SCMA lies at BB18 dB, and a power-imbalanced SCMA heuristic lies at BB19 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 BB20, a codebook BB21 assigns each BB22 a binary codeword BB23, and a decoder BB24 is chosen to minimize

BB25

For any fixed codebook, the Bayes-optimal decoder is

BB26

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 BB27 dB for rate-BB28 codes, the reported BB29 values are BB30 for Hamming hard/soft/Bayes decoding and BB31 for JOCC-optimized BB32 with BB33; the corresponding BB34 values are BB35 for Hamming and BB36 for JOCC-optimized BB37 with BB38 (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

BB39

subject to the BS power limit BB40, unit-modulus phase-adjust variables, and BB41-bit discrete RIS phases. The alternating-optimization procedure updates the BS codeword in closed form,

BB42

then updates RIS phases via an IPDD-based projection onto the BB43-PSK set, and finally updates

BB44

The reported per-iteration complexity is

BB45

empirical convergence occurs in BB46–BB47 outer iterations, and runtime is reported as BB48 slower than SOCC for BB49. In achievable-rate comparisons after beam training, JOCC is reported as approximately equal to ideal-RIS, with SA-BS codebook about BB50–BB51 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 BB52 distinct codebooks by the rule BB53. 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 fp16BB543-bit compression target BB55, the fully optimized method reaches BB56 top-1 versus BB57 for the fp16 baseline and BB58 for NUPES. On ViT-b16 at the same BB59, the reported top-1 is BB60 versus BB61 fp16. On Stable Diffusion v2.0 at BB62-bit weights (BB63), the initialization alone recovers CLIP score BB64 versus BB65 for PowerQuant. On Llama-7B, fp16BB663-bit compression yields BB67 on the common-sense benchmark versus BB68 for OPTQ and BB69 for RED++, while at BB70 the footprint is BB71 GB and the retained score is BB72; 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 BB73, the standard bilinear feature

BB74

is augmented by codeword-conditioned soft assignments BB75, and then factorized jointly with low-rank projections. The JCF-N form

BB76

uses BB77 parameters for BB78 and the same for BB79, while JCF-N-R replaces codeword-specific projections with shared basis projections BB80, BB81 and recombination matrices BB82, reducing the count to BB83 (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 BB84 for JCF-32 and BB85 for JCF-32-8, compared with BB86 for HTL, BB87 for Proxy-NCA, and BB88 for Margin. On CUB-200-2011, JCF-32 reaches BB89 versus BB90 for Ge. On Cars-196, JCF-32 reaches BB91 versus BB92 for Ge. Parameter counts range from BB93 M for JCF-4-4 to BB94 M for JCF-32-32, with JCF-32-8 reported at BB95 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, BB96 is chosen by minimizing BB97 and is swept in practice over values such as BB98; in the Transformer-based generative system, “the codebook size BB99 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 ΨΘ\Psi_\Theta00; 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 ΨΘ\Psi_\Theta01 M parameters and approximately ΨΘ\Psi_\Theta02 GFLOPs per ΨΘ\Psi_\Theta03 image, the codebook occupies approximately ΨΘ\Psi_\Theta04 KB, and the on-board satellite workload is approximately ΨΘ\Psi_\Theta05 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.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Jointly Optimized Codebook Construction (JOCC).