Test-Time Steering for Lossless Text Compression via Weighted Product of Experts
By: Qihang Zhang , Muchen Li , Ziao Wang and more
Potential Business Impact:
Makes computer files smaller without losing any info.
Lossless compression techniques are crucial in an era of rapidly growing data. Traditional universal compressors like gzip offer low computational overhead, high speed, and broad applicability across data distributions. However, they often lead to worse compression rates than modern neural compressors, which leverage large-scale training data to model data distributions more effectively. Despite their advantages, neural compressors struggle to generalize to unseen data. To address this limitation, we propose a novel framework that performs Test-Time Steering via a Weighted Product of Experts (wPoE). At inference, our method adaptively combines a universal compression model with a pretrained neural language model, ensuring the compression rate is at least as good as that of the best individual model. Extensive experiments demonstrate that our approach improves the performance of text compression without requiring fine-tuning. Furthermore, it seamlessly integrates with any autoregressive language model, providing a practical solution for enhancing text compression across diverse data distributions.
Similar Papers
Neural Weight Compression for Language Models
Machine Learning (CS)
Makes AI models smaller and faster to use.
Rank-Based Modeling for Universal Packets Compression in Multi-Modal Communications
Networking and Internet Architecture
Makes files smaller for faster internet.
Breaking the MoE LLM Trilemma: Dynamic Expert Clustering with Structured Compression
Computation and Language
Makes AI smarter, faster, and use less memory.