ALP: Adaptive Lossless Floating-Point Compression
Summary
This paper introduces ALP, a state-of-the-art lossless compression algorithm for IEEE 754 floating-point data, exploiting decimal and high-precision patterns. It achieved superior performance in decoding speed, compression ratio, and compression speed, earning the SIGMOD Best Artifact Award.
View Cached Full Text
Cached at: 07/24/26, 05:09 PM
cwida/ALP
Source: https://github.com/cwida/ALP
ALP: Adaptive Lossless Floating-Point Compression
Authors: Azim Afroozeh, Leonardo Kuffó, Peter Boncz
Conference: ACM SIGMOD 2024
What is this repo?
This repository contains the source code and benchmarks for the paper ALP: Adaptive Lossless Floating-Point Compression, published at ACM SIGMOD 2024.
ALP is a state-of-the-art lossless compression algorithm designed for IEEE 754 floating-point data. It encodes data by exploiting two common patterns found in real-world floating-point values:
-
Decimal Floating-Point Numbers:
A large portion of floats/doubles in real-world datasets are decimals. ALP maps these values into integers by multiplying the number by a power of 10 and then compressing the result using a FastLanes variant of Frame-of-Reference encoding1, which is SIMD-friendly.
Example: the number10.12becomes1012and is then fed to the FastLanes encoder. -
High-Precision Floating-Point Numbers:
The remaining values are typically high-precision floats/doubles. ALP targets compression opportunities in only the left part of these values, which it compresses using FastLanes dictionary encoding. The right part is left uncompressed, as it is required to preserve high precision and is often highly random and incompressible.
📊 How does ALP perform?

These results highlight ALP’s superior performance across all three key metrics of a compression algorithm:
Decoding Speed, Compression Ratio, and Compression Speed—outperforming other schemes in every category.
🧪 How to Reproduce Results
Just run the following script:
./publication/script/master_script.sh
For more information on reproducing our benchmarks, refer to our guide here,
or read the official ACM reproducibility report:
https://dl.acm.org/doi/10.1145/3687998.3717057
🏅 ACM Artifacts & Awards
We are happy to share that we participated in the SIGMOD Availability & Reproducibility Initiative, and our paper earned all three badges:
🎉 We’re also proud to share that ALP won the SIGMOD Best Artifact Award!
⏱️ Want to Benchmark Your Dataset?
Check out our guide: How to Benchmark Your Dataset
It explains how to run ALP on your own data.
🗂️ Repository Structure
src/: Core implementation of ALP and ALP_RDbenchmarks/: Benchmarking tools and datasetsinclude/: Header files for integrationscripts/: Utility scripts for data processingtest/: Unit testspublication/: Publications and supplementary materials
📚 Publications
-
Conference Paper:
ALP: Adaptive Lossless Floating-Point Compression, ACM SIGMOD 2024
https://dl.acm.org/doi/10.1145/3626717 -
Reproducibility Report:
Reproducibility Report for ACM SIGMOD 2024 Paper: ‘ALP: Adaptive Lossless Floating-Point Compression’
https://dl.acm.org/doi/10.1145/3687998.3717057
📄 License
This project is licensed under the MIT License. See the LICENSE file for details.
📬 Contact
If you have questions, want to contribute, or just want to stay up to date with ALP and related projects, join our community on Discord:
🧩 Used By
ALP has been integrated into the following systems:
Learn more about FastLanes here: https://github.com/cwida/fastlanes
Similar Articles
Joint Structural Pruning and Mixed-Precision Quantization for LLM Compression
A novel end-to-end framework for LLM compression that jointly optimizes structural pruning and mixed-precision quantization, achieving significant perplexity reductions and speedups over state-of-the-art methods, especially at ultra-low bit precisions.
Fc, a lossless compressor for floating-point streams
fc is an open-source lossless compressor for IEEE-754 64-bit double streams, offering superior compression ratios for structured data compared to zstd and fpzip, though with slower encoding speeds.
OpenZL
OpenZL is a compression library that generates specialized compressors for specific data formats, achieving high compression ratios at high speeds suitable for datacenter workloads like AI processing.
Signs Beat Floats: Low-Rank Double-Binary Adaptation for On-Device Fine-Tuning
LoRDBA replaces LoRA's floating-point low-rank factors with binary sign carriers and channel-wise scales, enabling efficient on-device fine-tuning with significant footprint reduction and minimal latency overhead, matching fp16 quality.
PALS: Percentile-Aware Layerwise Sparsity for LLM Pruning
PALS adjusts per-layer sparsity ratios for LLM pruning based on the 99th percentile of activation magnitudes, achieving significant perplexity improvements on LLaMA-2-7B compared to uniform sparsity, with negligible added cost.