# VIREL: Route-Local Lattice Residual Compression for Exact and Error-Bounded Floating-Point Time Series

DevFeed: [VIREL: Route-Local Lattice Residual Compression for Exact and Error-Bounded Floating-Point Time Series](<https://devfeed.tech/articles/virel-route-local-lattice-residual-compression-for-exact-and-error-bounded-floating-point-time-series-101500.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2607.22433>)

Author: Yue Zhang (Shanghai Jiao Tong University, Shanghai, China), Jiatao Lin (Shanghai Jiao Tong University, Shanghai, China), Haopeng Chen (Shanghai Jiao Tong University, Shanghai, China)

Published: 2026-10-27T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Databases](<https://devfeed.tech/sources/arxiv-databases.md>)

Topics: [Compression](<https://devfeed.tech/topics/compression.md>), [floating-point](<https://devfeed.tech/topics/floating-point.md>), [Time Series](<https://devfeed.tech/topics/time-series.md>), [Temporal data](<https://devfeed.tech/topics/temporal-data.md>), [data-engineering](<https://devfeed.tech/topics/data-engineering.md>), [Prometheus](<https://devfeed.tech/topics/prometheus.md>)

Tags: [compression](<https://devfeed.tech/tags/compression.md>), [cs-db](<https://devfeed.tech/tags/cs-db.md>), [databases](<https://devfeed.tech/tags/databases.md>), [error](<https://devfeed.tech/tags/error.md>), [floating-point](<https://devfeed.tech/tags/floating-point.md>), [lattice](<https://devfeed.tech/tags/lattice.md>), [local](<https://devfeed.tech/tags/local.md>), [point](<https://devfeed.tech/tags/point.md>), [route](<https://devfeed.tech/tags/route.md>), [series](<https://devfeed.tech/tags/series.md>), [time](<https://devfeed.tech/tags/time.md>), [time-series](<https://devfeed.tech/tags/time-series.md>)

## AI overview

VIREL compresses floating-point time-series pages by assigning values to a lattice only after replaying the decoder's arithmetic, then keeping separate lanes and histories for different decimal resolutions. This avoids making coarse values pay the cost of the finest scale in a mixed-resolution page. VIREL-Exact targets bit-exact recovery and is reported to succeed below 2^51; VIREL-EB uses a fused multiply-add on an error lattice to keep admitted values within ε. Both use one integer coder. In the reported benchmarks, VIREL-Exact emitted 27.6% fewer bytes than Falcon on 14 canonical streams. Its Fast variant beat ALP on ratio and speed, while Upper produced the smallest output on 48 larger streams; Fast ingest with Upper compaction used 48.7% of ALP's bytes in Apache TsFile. VIREL-EB beat Machete on ratio and speed in all 90 dataset-bound cells.

## Source excerpt

arXiv:2607.22433v3 Announce Type: replace Abstract: Time-series databases store floating-point columns in independent pages that are written at ingest, rewritten at compaction, and decoded on every scan. Some columns must return the stored IEEE 754 word; others accept a pointwise bound $\varepsilon$. Codecs for both contracts turn each value into an integer on a lattice, but a real page mixes decimal resolutions. Keeping one scale per block charges every coarse step for the finest value: one scale-6 reading in a 1,024-value page cuts Falcon's compression ratio by 36%. We present VIREL, route-local lattice residual compression. A value enters a lattice only after the encoder has replayed the decoder's arithmetic on it. VIREL-Exact replays the decoder's division at each value's least decimal scale, which we prove always succeeds below $2^{51}$, gives every resolution its own lane and history, and places averages on a rational lattice; the same finer value costs it 0.6%. VIREL-EB replays a fused multiply-add on an error lattice, so every admitted value decodes within $\varepsilon$. One integer coder serves both contracts. On 14 canonical streams, VIREL-Exact emits 27.6% fewer bytes than Falcon. Fast beats ALP on ratio and both speeds at once: 7.01$\times$ against 4.19$\times$, 476 against 120 MB/s, and 5.0 against 4.5 GB/s on one core. Upper is the smallest output on all 48 larger streams. Ingest with Fast and compaction with Upper store those streams in Apache TsFile at 48.7% of ALP's bytes. VIREL-EB beats Machete on ratio and both speeds in all 90 dataset-bound cells.