LLM-based Source Code Compression via Thresholded Symbol Ranking 文章

ArXiv CS.CL2026-07-28PAPERen作者: Angelo Nardone, Paolo Ferragina

详细信息

来源站点
ArXiv CS.CL
作者
Angelo Nardone, Paolo Ferragina
文章类型
PAPER
语言
en
发布日期
2026-07-28

摘要

arXiv:2607.24192v1 Announce Type: cross Abstract: We study the problem of lossless compression of source code, motivated by the storage demands of large-scale software archives, such as Software Heritage (https://www.softwareheritage.org/). General-purpose compressors (e.g., zstd, bzip2) offer a good trade-off between compression ratio and speed, but fail to exploit all special regularities inherent in source code. Recent approaches leverage Large Language Models (LLMs) within Shannon's symbol-ranking framework, relying on a scheme in which the predicted rank can grow arbitrarily. While effective at reducing space, this setting incurs significant throughput degradation, and leaves open the question whether it is necessary to explicitly encode all ranks.