Research ·
Rethinking Sequence Compression with Test-time Regression
Researchers introduced TTR-Compressor, a sequence compression method that treats input tokens as a regression problem, learned end-to-end but solved in closed form, outperforming pooling and projection-based approaches.

A new paper on Hugging Face proposes TTR-Compressor, a method for sequence compression in efficient language and multimodal models. The authors argue that prevailing approaches based on pooling or learned projections underperform, and they reframe compression as test-time regression: input tokens define a regression problem whose fitted coefficients form the compressed representation.
The method is trained end-to-end via backpropagation, while the regression coefficients are computed efficiently in closed form during the forward pass. It was evaluated in two settings: as a compressor for block-wise sparse attention, where it improves RULER performance over attention-based compressors by a large margin, and as a visual token merger for multimodal large language models, where it consistently outperforms the standard MLP merger and matches its performance with 55.6% fewer visual tokens.
For builders working on efficient LLMs or multimodal models, this offers a drop-in alternative to pooling and projection-based compression that improves quality while reducing token counts. The authors also point to open directions such as temporal compression for video and audio, training natively efficient ViTs from scratch, and depth-wise compression for depth scaling.
References
- Hugging Face · huggingface.co
Read the full story at Hugging Face ↗Like, save or discuss on Buzz