Summary
The paper introduces Visual Compact Token Registers (Victor), a method to enhance computational efficiency in vision-language models like LLaVA by reducing the large number of visual tokens. Victor replaces these tokens with a small set of “register tokens,” which summarize the visual information within the first few layers. Afterward, the original visual tokens are discarded, minimizing computational load. This approach maintains performance with minimal parameter addition, achieving only a 4% performance drop while cutting training time by 43% and increasing inference speed by 3.36×.
Strengths
1. The paper introduces Visual Compact Token Registers (Victor), a method to enhance computational efficiency in vision-language models like LLaVA by reducing the large number of visual tokens.
2. This work continues to explore the performance of registers in VLM, which is a valuable perspective.
3. The paper is well-written and clearly presents the proposed framework.
Weaknesses
1. This paper repeatedly emphasizes that the main limitation of FastV lies in its reliance on attention maps, which restricts it to using only the simplest attention implementation. However, this is fundamentally an engineering issue related to code implementation and does not merit extensive discussion in the paper. There are two straightforward solutions to address this: (1) set only the second layer’s attention to “eager” mode while employing flash_attention_2 for the remaining layers, or (2) store the key and value states of the second layer and recompute the attention map with (Lt, Lv) shape. Both methods can significantly reduce latency and flops. Therefore, all data related to FastV in the experiments should be reconsidered, particularly the comparison of training times in Section 5.3, where setting all FastV layers to eager mode is highly unreasonable, making the training time reported for FastV invalid.
2. When conducting research on efficiency, the primary focus should be on performance. Ideally, the efficiency strategies we aim to achieve should provide the greatest possible acceleration while maintaining comparable performance levels. However, this paper lacks any tables presenting the specific benchmark scores, relying solely on line graphs, which makes it difficult to assess the exact performance degradation. Moreover, the latter half of the line graphs has limited practical significance; for instance, when the benchmark performance drops by around 4%, the actual performance decreases far more, rendering such acceleration strategies unusable. It would be beneficial to select a few settings and display the key benchmark scores, such as for TextVQA, GQA, and SEED-Bench.
3. When comparing inference acceleration, this paper uses FastV as a major baseline. However, FastV is a training-free method, whereas the approach proposed by this paper requires complete training process before inference acceleration is possible. Therefore, this comparison is unreasonable from a cost perspective.
4. The reported benchmark performance of fastv after training was even lower than that of inference-only. Based on experimental experience, this result appears highly unreasonable, suggesting a review of the code for potential issues, and there is reason to suspect the baseline may have been artificially lowered.
5. Please provide a simple baseline, just pooling after the first layers to retain visual tokens. According to the paper’s methodology, retained visual tokens are intended to aggregate information from other image tokens. If using learnable tokens is feasible, a simple and straight approach would be to directly leverage part of the original image tokens to gather information.
6. In Section 4.1, it states, "We use the AdamW optimizer (Loshchilov & Hutter, 2017) with a learning rate of 0.0001 and no weight decay for one epoch." I noticed that this learning rate differs from the original LLaVA's rate of 0.001, indicating that you have adjusted the training hyperparameters. If this method were to be applied to another model, it would also require extensive hyperparameter tuning, which could incur significant computational costs.
Questions
1. In Section 5.6, the paper claims that retaining visual tokens can boost performance by 2%, please specify the benchmark and score in which this phenomenon is observed. It is quite unusual, because even in the original register paper[1], retaining visual tokens did not yield notable gains in visual comprehension tasks such as ImageNet.
2. It is worth noting that in Appendix A.2, the baseline score in the MME-P line graph appears to be only around 1,400, which does not align with the 1,510 score reported in the original LLaVA paper, could you explain it?
[1]Vision Transformers Need Registers, https://arxiv.org/abs/2309.16588