response to reviewer fJGw
### It is hard to understanding the background part, especially the challenges of conventional approach. It would be better to provide a straightforward illustration with a figure or algorithm.
We introduced a novel figure to highlight these elements. First, we illustrate the challenges of the baseline approach and second, our contributions both in terms of multiple codebooks/scalings and gradient updates.
### Some typos. In the beginning of sec3.2, “the” should be “The“; “ram” in sec 3.1 should be “RAM”; Something is missing in Equation 3.
Thank you for pointing these out. We fixed these typos in the revision version and doubled checked the remainder of the article.
### The metric in evaluation part is accuracy and compression ratio. Can the proposed idea bring more benefits like accelerating the inference/training/finetuning?
the primary aim of the proposed JLCM method is to preserve the accuracy of the model while significantly reducing its memory footprint. However, as illustrated in Table 2, memory limitations can force the weights to be loaded on-the-fly for inference, leading to severe computational burden: this is especially true on large models (see last row in Table 2 for instance), as the architectures become more and more parameter hungry.
In this context, using JLCM can translate in huge latency improvements at inference time, e.g. on low-power or low-memory hardware where the original model cannot fit entirely, or if we consider very large models (e.g. LLMs).
Secondly, to answer your question, and although not studied in the present paper, one could decide to only optimize the codebooks during a post-hoc fine-tuning phase. In this case ,the proposed method would behave similarly to a foldeable adapter (e.g. LoRa [1], which can allow to finetune or fewer examples or using less memory), which could be an interesting lead for future work.
### It would be better to explain why the second term $\log(\Omega(C))\Omega(W)$ dominates. It seems a common sense but I cannot see it in the context.
To answer you concern, we clarified this point in the revised version of the paper. In short, for a dense layer of weights $W \in \mathbb{R}^{n_i \times n_o}$, we have $\Omega(W) = n_i \times n_o$ which is often larger than $100000$ and can grow to several millions in some LLMs. On the other end, $\log(\Omega(C))$ corresponds to the size of our codebooks which is empirically bounded by $\Omega(C) \leq 16$, i.e. we have $\log(\Omega(C)) \leq 4 \ll 100000 \leq \Omega(W)$.
### Can you provide some evaluation results in inference or training or finetuning performance in efficiency (throughput or energy efficiency)?
In terms of latency, we refer to Table 2 in our original submission (see also the answer to your previous question, in short JLCM has the potential to increase the latency in the cases where the model is too big to be loaded on device at once, and memory swaps have to be done). This was shown in SQueeze LLM [2]. With respect to throughput, we share these new results
| model | GPU (A100) | GPU (A100) with offload on disk |
| :---: | :---: | :---: |
| ViT b16 | 1333.33 | 280.70 |
| LLama 7B | 28.57 | 1.33 |
In both cases, we measure the impact of a model not fitting on the device cache (e.g. the V-RAM for a GPU) and thus needing data transfers from disk. This occurs when a model is too large to be fully loaded on the device cache (e.g. V-RAm for a GPU). In such circumstances, we need to offload some paramters on the disk and load them when necessary (this process is optimized with the accelerate library from huggingface). In this experiment, we imitate the situation where the GPU has 2GB of VRAM (simulating the memory on a smartphone). Still, having the model fully loaded leads to massive throughput benefits. This can be acheived through memory footprint compression as in JLCM. We hope that these results further motivate the relevance of the proposed JLCM method.
### references
[1] Hu, Edward J., et al. "Lora: Low-rank adaptation of large language models." arXiv preprint arXiv:2106.09685 (2021).
[2] Kim, Sehoon, et al. "SqueezeLLM: Dense-and-Sparse Quantization." arXiv preprint arXiv:2306.07629 (2023).