A Model-Driven Lossless Compression Algorithm Resistant to Mismatch

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Hu, Cordelia, Tang, Jennifer
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917221268193280
author Hu, Cordelia
Tang, Jennifer
author_facet Hu, Cordelia
Tang, Jennifer
contents Due to the fundamental connection between next-symbol prediction and compression, modern predictive models, such as large language models (LLMs), can be combined with entropy coding to achieve compression rates that surpass those of standard compression algorithms. However, this approach relies on the assumption that the predictive model produces identical output distributions at both the encoder and decoder, since even small mismatches can cause the decoding to fail. This assumption often fails with complex predictive models, particularly those based on neural networks, a phenomenon referred to as non-determinism. In this work, we propose a new compression algorithm based on next-token prediction that is robust to arbitrarily large, but structured, prediction mismatches. We prove the correctness of the proposed scheme under a formal mismatch certification, characterize its theoretical performance, and validate it experimentally on real datasets. Our results demonstrate reliable operation within the certified mismatch regime while achieving compression ratios that exceed those of commonly used compression methods.
format Preprint
id arxiv_https___arxiv_org_abs_2601_17684
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle A Model-Driven Lossless Compression Algorithm Resistant to Mismatch
Hu, Cordelia
Tang, Jennifer
Information Theory
Artificial Intelligence
E.4; H.1.1
Due to the fundamental connection between next-symbol prediction and compression, modern predictive models, such as large language models (LLMs), can be combined with entropy coding to achieve compression rates that surpass those of standard compression algorithms. However, this approach relies on the assumption that the predictive model produces identical output distributions at both the encoder and decoder, since even small mismatches can cause the decoding to fail. This assumption often fails with complex predictive models, particularly those based on neural networks, a phenomenon referred to as non-determinism. In this work, we propose a new compression algorithm based on next-token prediction that is robust to arbitrarily large, but structured, prediction mismatches. We prove the correctness of the proposed scheme under a formal mismatch certification, characterize its theoretical performance, and validate it experimentally on real datasets. Our results demonstrate reliable operation within the certified mismatch regime while achieving compression ratios that exceed those of commonly used compression methods.
title A Model-Driven Lossless Compression Algorithm Resistant to Mismatch
topic Information Theory
Artificial Intelligence
E.4; H.1.1
url https://arxiv.org/abs/2601.17684