Rebuttal (1/2)
Thank you for your constructive feedback. We provide detailed answers to the questions below.
---
> **Paper presentation suggestions**
We thank the reviewer for their thoughtful suggestions. We have addressed all points in our revised manuscript (changes highlighted in magenta):
* Added RingAttention background: We have added a comprehensive background to explain RingAttention's core mechanisms and how these enable efficient processing of long sequences critical to our approach (Section2, L79-115)
* Added more architectural details on the video model (Section 4.1, L215-220)
* Added more details on the variables, and shapes in the algorithms with clear variable definitions, shape information, and step-by-step explanations (Algorithm 1 and 2, L187-204)
* Clarified Tables 1 and 2 with more detailed discussion for each (Moved to Appendix F due to space constraints from prior changes, L850-886)
---
> **Does the encoder take the masked samples as input?**
Yes, the encoder does take the masked samples as input. We appreciate your careful attention to this technical detail. We have updated Figure 2 to explicitly show the masked samples flowing into the encoder block, making the architecture diagram more accurate and clearer.
---
> **Masking strategy and positional embeddings**
We use 1D positional embeddings over the entire sequence length, treating a patchified video as a flattened sequence of patches in raster scan order. We empirically found this simple approach effective at capturing spatiotemporal relationships, as evidenced by our model's strong performance across temporal tasks.
Importantly, we **do not** left-mask the input video itself, but rather apply masking only to the resulting encoding. Thus, the encoder is given the whole unmasked video as well as the mask that **will be** applied so it can learn to put as much information as it can into the left-most tokens.
This allows our encoder to process the complete unmasked video while being aware of which tokens will be masked, enabling it to optimize the information packing into the left-most tokens that will be preserved.
The nature of the representations learned is hierarchical in a coarse-to-fine manner. This can be easiest seen in the progressive reconstructions (e.g. Figure 5, where we show video reconstructions using an increasing number of tokens from left to right, starting with the minimum token count).
To further illustrate this coast-to-fine manner, we have added more detailed progressive reconstruction examples in Appendix G, along with specific token counts for each reconstruction stage in the bottom right of each image.
---
> **Inference Time Compute Cost**
Searching for masks at inference time indeed requires multiple function evaluations at video level, we would like to highlight a few points regarding how this overhead is both manageable and justified:
* **Tokenizer vs Pretrained Model sizes**: Tokenizers are fairly lightweight compared to downstream vision-language models (200-500M tokenizers vs 10B-100B downstream VLMs). Thus, extra computation time of the tokenizer (1-10x depending on usable search algorithms) is less significant compared to running the downstream model. Additionally, the extra compute differences can also be made up through fewer flops due to token length reduction for the downstream model.
* **Parallelizability**: Binned search methods such as 100 bins (0.5% error) or 10 bins (5% error), can be parallelized by just increasing batch size (compute different masking levels in parallel). In the best case, we can leverage more compute to have inference equivalent in speed to 1 forward pass / baseline models.
* **Future work in optimized implementations**: While it is out of scope of this work, our inference method is similar to language models (block causal instead of standard causal), and can leverage many optimization techniques to speed up inference, such as quantization, paged attention / more efficient caching, more efficient kernels, etc.
Overall, we do not believe that inference speed is a major bottleneck, and the benefits of adaptive tokenization outweigh the potential (addressable) drawbacks – ElasticTok enables more efficient token usage in downstream tasks, of which models are generally much larger, and more compute intensive.