Firstly, we train the AE by choosing the appropriate parameter \(p\)  for the ND layer, in our case we opted for \(p=0.0005\) . Then, after training, we consider the UL validation set to find the bit allocation with Algorithm .
At Step 0., we initialize \(W_i(0) = \sigma _i^2\) , where \(\sigma _i^2\)  denotes the variance with respect to the UL validation set of the \(i\) -th latent space unit. Then, at Step 2., the value of \(W_i(b)\)  for a certain bit allocation \(b\)  is calculated using the k-means algorithm [1]} with \(2^b\)  clusters. In formulas we have:
\(W_i(b) = \sum _{k=1}^{2^b}\sum _{x_i \in C_k} (x_i - \mu _k)^2\) 
