arXiv:2610.32695cs.DBOct 2026

Manuscript Offprint

arXiv:2610.32695

Tile-Based Decompression in Compiled GPU Engines

Antonio Boffa, Ananya Gupta, Hamish Nicholson, Anastasia Ailamaki

ABSTRACT

Modern GPUs reach record analytical performance only when a query’s working set fits within its GPU memory budget, and that budget is under growing pressure: GPUs are partitioned and shared, working sets are outgrowing high-bandwidth memory (HBM), and HBM is a fixed on-device resource whose per-dollar capacity has stagnated across generations. Lightweight compression can relieve this pressure by shrinking both footprint and bandwidth demand, but existing GPU compressed-execution techniques either bind decompression to a specific execution model or materialize decompressed columns in HBM before query execution.

We present a compression subsystem for compiled GPU query engines that treats decompression as a first-class physical operator. Compression-specific logic is isolated behind a narrow backend interface, so new GPU-oriented encodings can be added without rewriting downstream operators.

We implement the design in Proteus and study where decompressed values should be materialized in the GPU memory hierarchy. Our compiler-integrated shared-memory strategy fuses cooperative tile decompression with tuple-at-a-time query execution inside a single generated GPU kernel, avoiding decompressed-column materialization in HBM. Compared with HeavyDB and Sirius on GPU-resident data, fused on-chip decompression achieves competitive query times while reducing the resident memory footprint by up to 4× and memory-bandwidth consumption by up to 6×.

PVLDB Reference Format:

Antonio Boffa, Ananya Gupta, Hamish Nicholson, and Anastasia Ailamaki. Tile-Based Decompression in Compiled GPU Engines. PVLDB, 20(2): 352–366, 2026.

doi:10.14778/3849423.3849445

PVLDB Artifact Availability:

The source code, data, and/or other artifacts have been made available at https://github.com/epfl-dias/proteus/tree/decom_op.

1 INTRODUCTION

Modern GPUs combine massive parallelism with multi-terabyte-per-second memory bandwidth, and recent GPU-native SQL engines show these hardware advantages can translate into record-setting end-to-end analytical performance [86, 87]. This progress builds on more than a decade of GPU database research demonstrating that large speedups for core relational operators are achieved.

Hamish Nicholson

hamish.nicholson@epfl.ch

EPFL

Lausanne, Switzerland

Anastasia Ailamaki

anastasia.ailamaki@epfl.ch

EPFL

Lausanne, Switzerland

Figure

Figure 1: Affordability gap between GPU memory capacity and the memory each dollar buys. From A100 to B300, device memory grows by 3.6×, while the number of GB-hours of memory a dollar buys (averaged across four hyperscalers and one marketplace aggregator) sits below A100 levels. Capacity scales; affordability does not.

by carefully mapping them to GPU execution and memory behavior [22, 51, 72, 80, 84, 88]. Achieving such performance, however, still depends critically on one condition: the working set must fit within the GPU memory budget.

Pressure on the GPU memory budget. This assumption is becoming increasingly fragile for several reasons. First, GPUs are increasingly shared across multiple workloads: mechanisms such as Multi-Instance GPU [14] and Multi-Process Service [15] partition a single GPU into multiple isolated instances or processes, reducing the effective memory budget available to each job [47]. Second, the working sets themselves are growing faster than high-bandwidth memory (HBM) capacity: LLM serving is bottlenecked by KV-cache size and fragmentation [56], long-context training by activation storage [92], and analytical workloads usually operate over datasets that exceed device memory [61]. Third, GPU memory is a fixed device resource: unlike CPU memory, which can often be expanded by adding DRAM, HBM capacity is determined by the GPU itself and cannot be increased without moving to a different device class or adding an entirely new GPU. Finally, memory pressure is also a cost-performance problem.

GPU memory price stagnation. Although recent hardware trends suggest that GPU memory is steadily increasing [86], this view is incomplete once cost is considered. Based on our analysis across AWS [7], Google Cloud [9], Microsoft Azure [13], Oracle Cloud [2], and marketplace aggregators [8], NVIDIA GPU device memory

This work is licensed under the Creative Commons BY-NC-ND 4.0 International License. Visit https://creativecommons.org/licenses/by-nc-nd/4.0/ to view a copy of this license. For any use beyond those covered by this license, obtain permission by emailing info@vldb.org. Copyright is held by the owner/author(s). Publication rights licensed to the VLDB Endowment.

Proceedings of the VLDB Endowment, Vol. 20, No. 2 ISSN 2150-8097. doi:10.14778/3849423.3849445 capacity has grown much faster than the per-dollar memory budget, opening a widening affordability gap. As shown in Figure 1, from A100 to B300 device memory increases by 3.6×3.6\times (from 80 to 288 GB), while the number of GB-hours of memory a dollar buys is still only 0.93×0.93\times the A100 baseline (from 21 to 19 GB/h/), meaning a dollar today buys slightly less GPU memory than it did five years ago, despite over three times more memory shipping on each GPU. Larger HBM pools do not imply memory is cheap in practice; GPU memory remains a valuable and expensive resource, making memory-efficient execution critical for cost-performance.

Data compression to the rescue. One approach to use as little GPU memory as possible while ensuring blazing-fast performance is lossless data compression, which reduces the volume of data that needs to be moved to and stored in precious HBM while preserving all information [46, 79, 91]. Further, as real-world datasets become increasingly redundant [26, 65, 81, 89], compression becomes even more effective.

Compression, however, is not just a space occupancy optimization: once data is kept compressed in GPU memory, it fundamentally changes how query execution accesses and manipulates values. Compressed data is not directly consumable by traditional, compression-agnostic relational operators, and in practice, there is no single “GPU compressed format”: different encodings offer different compression-ratio/decompression-speed trade-offs [21, 36, 44, 60, 63, 79].

Decompress-first vs execute-on-compressed data. On one hand, systems move compressed data into the GPU and then decompress it into a fixed-width uncompressed representation for downstream operators [25, 67]. On the other hand, recent work targets executing operators directly on compressed representations, reducing both the HBM footprint and the HBM bandwidth spent reading/writing inflated values [21, 44, 46, 91].

The first line is largely driven by the host/storage-to-GPU transfer bottleneck, but GPU interconnect bandwidth is scaling rapidly (NVLink4 can reach 450 GB/s [5]). Also, materializing decompressed data into an uncompressed columnar form still incurs substantial intra-GPU overheads: it increases the HBM footprint and wastes HBM bandwidth by forcing inflated values to be written to and reread from global memory. We therefore focus on compressed execution to avoid materializing decoded columns in GPU memory, rather than only reducing the data transferred to the device.

GPU query execution models. How compressed data can be consumed depends strongly on the underlying GPU execution model. At the coarse end, operator-at-a-time engines [31, 42, 43, 86] launch one kernel per operator over an entire column, materializing intermediate results, selection vectors, validity bitmaps, or mask tensors in HBM between operators. Refining this granularity, vectorized engines process columns in fixed-size contiguous batches called tiles [78, 79]. GPU thread blocks cooperatively decode these tiles and retain cross-operator state on-chip rather than in HBM.

In contrast, compiled tuple-at-a-time engines generate pipelined GPU code in which each thread advances tuples through a fused operator sequence, aiming to minimize intermediate writes and keep values close to the consuming operators [3, 37, 53]. Proteus [34, 35, 67, 68, 76], DogQC [37, 38], Pyper [71, 72], HeavyDB [3], and Themis [45] exemplify this direction while explicitly addressing SIMT challenges such as divergence and resource contention.

Uncompressed

Compressed

2.16 × lower GPU memory footprint

Compiled

2.14 × lower end-to-end query execution time

Vectorized

Sirius [86] and other cuDF based engines [1, 18, 49, 54, 73]

Crystal [78]

Crystal-opt [32]

TQP [43]

Crystal+compression [21, 79, 91]

TQP+compression [46]

HeavyDB [3]

Proteus [34]

DogQC [38]

Pyper [72]

Themis [45]

This work

Compiled tuple-at-a-time

over

columnar compressed data

Figure 2: Taxonomy of GPU query engines along two axes: execution model (vectorized vs. compiled) and data representation (uncompressed vs. compressed). The bottom-right quadrant highlights the gap we study: compiled tuple-at-a-time execution directly over lightweight compressed data.

With these optimizations, tuple-at-a-time execution can achieve up to 2.14×2.14\times shorter execution times than Crystal [78] (the fastest vectorized prototype engine [32]).

Figure 2 summarizes this landscape and motivates our focus on the unexplored quadrant: compiled GPU execution over compressed data, without eager intermediate-result materialization.

Decompression is tied to execution models. Although execute-on-compressed designs reduce HBM footprint, they typically make decompression reusable only within a specific execution model. Crystal illustrates this trade-off clearly. Its tile-at-a-time programming model makes decompression reusable within a hand-written CUDA/C++ framework, but that reuse remains at the source-code level, with fixed execution structure and hard-coded parameters [32]. It is not exposed as a compiler IR abstraction that can participate in whole-pipeline optimizations such as cross-operator inlining, explicit address-space placement, and specialization for registers versus shared memory [12, 17]. As a result, the main benefits of compressed execution have so far been realized in specialized tile-oriented systems, not in compiled tuple-at-a-time engines.

Encoding-specific operators do not scale. A second limitation is that recent execute-on-compressed designs embed format-specific decoding logic directly within relational operators (e.g., joins or aggregations) specialized for a particular encoding [46, 91]. This creates an N×MN \times M problem: supporting M encodings across N operators requires N×MN \times M specialized implementations, reproducing the usual interoperability and maintenance bottleneck [40]. This tight coupling also creates an adoption problem [40, 90]. Although new compression techniques continue to improve compression ratio and decoding speed, they are difficult to deploy when support for each representation must be hard-wired into scans, operators, or storage readers. Existing formats, therefore, tend to ossify [55]: producers keep emitting older representations to remain compatible with existing engines, while newer compression techniques remain confined to prototypes or specialized systems.

A missing boundary in the compiled pipeline. The common issue behind these limitations is the absence of a stable boundary between compressed physical layouts and relational execution. This is the same kind of modularity problem that has pushed data systems toward composable architectures, where monolithic DBMS stacks are decomposed into reusable layers with clean interfaces (for example, language frontends [10], optimizers [23], and execution engines [57, 73]) to better adapt to changing workloads, data formats, hardware, and deployment environments [39, 48, 74]. Following this trend, we argue that compressed GPU execution also needs a reusable, compiler-visible component boundary: new compression algorithms should require new metadata-resolution and tile-decompression logic, while the rest of the compiled relational pipeline remains unchanged.

Contributions: We design, implement, and evaluate a compression subsystem for a GPU-compiled query engine that operates directly on columnar data encoded with GPU-optimized lightweight compression schemes (GPU RFOR [79] and FastLanes BitPack [21]). Prior GPU compression work shows that tile decompression can be fused into hand-written query kernels. We lift this fusion into a tuple-at-a-time GPU query compiler by making decompression a first-class physical operator: compressed columns are decoded into the same tuple-binding interface used by uncompressed scans, allowing existing relational operators to consume them unchanged. This provides compiler-mediated fusion of GPU decompression and relational execution while preserving hardware-aware placement choices for decoded values. Our contributions are:

(i) We introduce CompressedBlockToTuples (CB2T), a physical data-flow decompression operator for compiled GPU query engines. It exposes columnar-oriented compressed columns as tuples, isolating compression-specific metadata resolution and tile loading behind a backend interface while preserving the relational operator interface (Section 3).

(ii) CB2T enables compiler-mediated fusion of tile decompression with tuple-at-a-time GPU query pipelines. The generated code passes decoded values to downstream operators through global-memory, shared-memory, or register-backed bindings while preserving the standard tuple-at-a-time interface (Section 4).

(iii) We integrate CB2T into Proteus and evaluate the runtime, memory traffic, and device-memory footprint trade-offs of uncompressed execution, eager decompression, staged global-memory, and fused on-chip decompression. Fusing decompression on-chip strictly dominates, delivering faster, smaller results on every query, while against uncompressed execution it roughly halves the resident footprint at a modest, query-dependent cost. Profiling further shows the best decode placement and launch geometry are query-dependent, and that peak occupancy does not always minimize runtime. Across SSB [70], TPC-H [19], and Stack [64] queries, we place these results in the broader GPU-SQL landscape, by comparing Proteus with CB2T against two state-of-the-art production GPU engines: HeavyDB [3], a compiled tuple-at-a-time engine, and Sirius [86], a recent libcudf-based engine. Proteus with fused on-chip decompression achieves competitive query times while reducing the resident GPU memory footprint by up to 4× and GPU memory-bandwidth consumption by up to 6× (Section 5).

References (34)