Response to Reviewer pDYU
## For W2
> The prompt and generation lengths appear to be very small.
We choose LongBench as one of our test dataset since it has a **maximum** input length of **32K**, which is the max position embedding limits for the model we chosed. We will add model with 128K length support in the future to improve our paper.
## For W3
> The degradation compared to the baseline is significant, and it is unclear where such a compromise can be acceptable.
We added a 4-bit result on **common response**, as shown that 4-bit quantization only has slight loss than baseline and can be acceptable, so what we want is to improve the accuracy on 2-bit mode.
## For Q1
> What would the performance of LogQuant be if the quantized tokens were discarded completely?
This is an insightful question. In our initial studies, we explored several eviction methods, such as streamingLLM and log sparse attention. These methods discard tokens directly, causing a change in the input sequence length and leading to information loss. As a result, they performed worse than quantization-based methods.
To provide context, we conducted experiments comparing the attention error of LogQuant, KiVi, and LogQuant (Eviction) on Llama3.1-8B at GSM8K. For LogQuant, we set the reserved length as 42×3=126, and for KiVi, it was set to 128. The results are shown below:
| Method | LogQuant | KiVi | LogQuant (Eviction) | KiVi (Eviction) |
| -------------------------------- | -------- | ------ | ------------------- | --------------- |
| L1 error with original attention | **432.50** | 556.10 | 1076.70 | 1612.56 |
We also visualized this issue in a **Appendix A** of revised version, which demonstrates the problem more clearly.
## For Q2
> What group size is used in INT2? Is this overhead taken into account when comparing to other schemes?
We used a group size of 64 for all quantization methods. Details can be found in Section 4.1. Additionally, the associated overhead is accounted for in comparisons with other schemes.
## For Q3
> What about picking the retained accurate tokens in a way that preserves the distribution but non-deterministically?
Quantization is an irreversible compression method. Once a token is quantized, it cannot be restored to its original state unless recomputation is performed or the original data is stored elsewhere. As a result, it does not inherently reduce memory usage or improve performance.
## For Q4
> Will the accuracy of a model with LogQuant be better than that of a smaller baseline model?
Yes, it is possible for a model using LogQuant to outperform a smaller baseline model in accuracy. We believe the primary determinant of LLM performance is the model size. For instance, as shown in Table 2's Multi-Document QA tasks, Qwen1.5-7B with a baseline cache achieves an accuracy of 33.05, while Qwen1.5-14B with LogQuant achieves a higher accuracy of 38.01.