A new method called TTR-Compressor uses test-time regression to compress token sequences. The paper presents it as an alternative to pooling and learned projections, approaches that the researchers say still have shortcomings when compressing sequences for efficient language and multimodal models.
With TTR-Compressor, the input tokens define a regression problem, and its fitted coefficients form the compressed representation. The regression problem is learned end to end through backpropagation, while the coefficients are computed efficiently in closed form during the forward pass.
In tests for block-wise sparse attention, the method reportedly improves RULER performance by a large margin over attention-based compressors. As a visual token merger for multimodal language models, it outperforms the standard MLP merger while matching its performance with 55.6 percent fewer visual tokens. The original source gives more detail on the method and its applications: Hugging Face Daily Papers