Lossless Tensor Compression as Program Synthesis
Summary
This paper introduces Brevis, a lossless tensor compression method that formulates compression as program synthesis using a typed DSL. It achieves 33.93% storage reduction on public checkpoints and outperforms general-purpose and tensor-specific compressors.
View Cached Full Text
Cached at: 08/06/26, 05:52 PM
Paper page - Lossless Tensor Compression as Program Synthesis
Source: https://huggingface.co/papers/2608.02162 Authors:
,
,
,
,
,
,
,
,
,
,
,
,
Abstract
Modelcheckpointsaregrowinginbothnumberandsize,whichmakesarchival,transfer,anddeploymentincreasinglycostly.General-purposecompressorscanreducestoragerequirementsbutignoretensorstructure,whereasexistingtensor-specificcompressorsrelyonfixedandformat-specificpipelines.WepresentBrevis,whichformulateslosslesstensorcompressionasprogramsynthesis.Wedesignatypeddomain-specificlanguage(DSL)thatcapturesrecurringtensorstructures,suchasrepeatedregionsandfloating-pointfields,throughasetofreversibleoperators.Givenatensor,Brevissynthesizesaself-containedDSLprogramthatreconstructsitbit-exactly.Acheckpoint-specificproductionprior,learnedfromasmallrepresentativesampleoftensors,guidesaboundedA*searchtosynthesizecompactprograms,whichcanlaterbeexecuteddirectlyforbit-exactdecompression.On10publiccheckpointsspanninglanguage,audio,andimagegenerationmodels,Brevisreduces2.13TBofcheckpointdatato1.41TB,a33.93%storagereduction.Itproducesarchivesupto30.87%smallerthanthoseoffourgeneral-purposecompressors,includingzstdandgzip,andsmallerarchivesthanthetensor-specificcompressorsZipNNandDFloat11.Underapracticalconcurrencyconfiguration,Brevisachieves3.60GB/scompressionand6.61GB/sdecompressionwhilepreservingeverysourcebyte.
View arXiv pageView PDFGitHub1Add to collection
Get this paper in your agent:
hf papers read 2608\.02162
Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash
Models citing this paper0
No model linking this paper
Cite arxiv.org/abs/2608.02162 in a model README.md to link it from this page.
Datasets citing this paper0
No dataset linking this paper
Cite arxiv.org/abs/2608.02162 in a dataset README.md to link it from this page.
Spaces citing this paper0
No Space linking this paper
Cite arxiv.org/abs/2608.02162 in a Space README.md to link it from this page.
Collections including this paper0
No Collection including this paper
Add this paper to acollectionto link it from this page.
Similar Articles
Compression Trinity: Exploring Sparsity, Quantization, and Low-Rank Approximations for LLM Compression
The paper introduces the 'Compression Trinity' framework, jointly applying sparsity, quantization, and low-rank approximations to compress Large Language Models for improved efficiency and performance.
The risk of KV cache compression
This paper theoretically characterizes the minimax risk of KV cache compression in transformers, providing design principles for accurate compression under causal masking, and instantiates them in a practical algorithm with promising results on LongBench.
KV Cache Compression 900000x Beyond TurboQuant and Per-Vector Shannon Limit
A new paper proposes sequential KV cache compression using probabilistic language tries and predictive delta coding, achieving theoretical compression ratios of ~914,000× beyond TurboQuant by exploiting the sequential structure of language model tokens rather than treating vectors independently.
Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint
Introducing Ternary Bonsai 2 27B, a highly compressed AI model that retains 98.2% of performance while being 9x smaller in footprint, enabling efficient local deployment for tasks like reasoning, coding, and multimodal processing.
Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint
Bonsai 2 27B is a compressed AI model that achieves near-lossless performance in a 9x smaller footprint, with setup instructions provided for use with Prism's llama.cpp fork.