Pcodec: Better Compression for Numerical Sequences

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Loncaric, Martin, Jeppesen, Niels, Zinberg, Ben
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912391207321600
author Loncaric, Martin
Jeppesen, Niels
Zinberg, Ben
author_facet Loncaric, Martin
Jeppesen, Niels
Zinberg, Ben
contents We present Pcodec (Pco), a format and algorithm for losslessly compressing numerical (float or integer) sequences. Pco's core and most novel component is a binning algorithm that quickly converges to the true entropy of smoothly, independently, and identically distributed (SIID) integers. We mathematically prove this convergence with a practical bound. To accommodate data this is not SIID, Pco has two opinionated preprocessing steps. The first step, Pco's mode, decomposes the numbers into more smoothly distributed integer latent variables. The second step, delta encoding, makes the latents more independently and identically distributed. We demonstrate that Pco achieves 29-94% higher compression ratio than other numerical codecs on six real-world columnar datasets while using less compression time.
format Preprint
id arxiv_https___arxiv_org_abs_2502_06112
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Pcodec: Better Compression for Numerical Sequences
Loncaric, Martin
Jeppesen, Niels
Zinberg, Ben
Information Theory
Data Structures and Algorithms
We present Pcodec (Pco), a format and algorithm for losslessly compressing numerical (float or integer) sequences. Pco's core and most novel component is a binning algorithm that quickly converges to the true entropy of smoothly, independently, and identically distributed (SIID) integers. We mathematically prove this convergence with a practical bound. To accommodate data this is not SIID, Pco has two opinionated preprocessing steps. The first step, Pco's mode, decomposes the numbers into more smoothly distributed integer latent variables. The second step, delta encoding, makes the latents more independently and identically distributed. We demonstrate that Pco achieves 29-94% higher compression ratio than other numerical codecs on six real-world columnar datasets while using less compression time.
title Pcodec: Better Compression for Numerical Sequences
topic Information Theory
Data Structures and Algorithms
url https://arxiv.org/abs/2502.06112