Summary
This paper introduces an energy-based approach to the token merging process, utilizing energy scores to avoid erroneous merges by distinguishing between informative or isolated tokens and redundant tokens. This method enhances the efficiency of heuristic merging approaches and preserves the spectral properties between the original and merged graph, thus accelerating token-based architectures such as ViT. Specifically, the technique employs cosine similarity with neighboring tokens to evaluate the energy score. Tokens with a high energy score are considered redundant and can be merged, indicating they belong to large clusters (e.g., background). Conversely, tokens with low energy scores are treated as foreground tokens. Furthermore, the authors also present theoretical findings demonstrating that the proposed method more effectively approximates the spectral distance between the initial token spaces and the merged token set compared to existing approaches. The method has shown competitive results across four tasks: image-text retrieval, visual question answering with LLMs, image classification, and text classification, underscoring its effectiveness and significance in the field.
Strengths
* This paper is well-written and clearly presents both the proposed solution and the experimental results.
* In addition to thorough experiments demonstrating the effectiveness of the proposed method, the paper provides a theoretical derivation to explain why PiToMe outperforms another related approach (e.g., ToMe).
Weaknesses
* Some formulas and inferences are ambiguous, leading to misunderstandings that undermine the correctness of the theoretical explanations.
* The lack of results for higher merging ratios weakens the practicality of the proposed approach.
* There is a lack of discussion on related works (e.g., CrossGET [1], TRIPS[2]).
[1] CrossGET: Cross-Guided Ensemble of Tokens for Accelerating Vision-Language Transformers, ICML 2024
[2] TRIPS: Efficient Vision-and-Language Pre-training with Text-Relevant Image Patch Selection, EMNLP 2022
Questions
* There are some ambiguities that need to be clarified in the methodology section. The authors claim that $m$ is a fixed constant margin;
however, according to the context, $m$ seems to be the threshold of the margin, and $1-m$ is the margin. If I am wrong, the following
description is confusing:
In lines 162-163, "$m = 0.9 − 0.9 × l_i/l$, ... indicating an increasing margin as tokens move to deeper layers." This sentence seems to be
the complete opposite of the conclusion. Also, does $\alpha = 1.0$ mean that when token $j$ is outside the margins, $f_m(x)$ is a
negative constant? Furthermore, there are no related ablation studies or discussions of the impact of the $\alpha $.
* In most of the experiments, the ratio $r$ is 0.95, 0.975, 0.9, and 0.925. Only the image classification results include a ratio $r = 0.7$.
Existing approaches (e.g., ToMe) can achieve ratios of $r = 0.5 \sim 0.6$. I am curious about the consistency of the proposed method at
higher merging ratios.
* Some existing work, such as TRIPS and CrossGET, has also investigated token merging. The lack of thorough discussion or comparison
with previous work weakens PiToMe's claimed novelty. I suggest the authors more clearly present their merits and differences in the paper.
Limitations
- The authors discuss some limitations in the last section.