arXiv:2610.21264v1 Announce Type: cross Abstract: Many data processing tasks revolve around determining whether logical relationships exist between two sets of entities, a pattern that can be naturally modeled as Sparse Boolean Matrix Multiplication (SpBMM). Under Boolean semantics, matrix representations no longer need to store numerical values and instead focus on encoding the positions of non-
AdaBool is a Sparse Boolean Matrix Multiplication (SpBMM) framework accepted to ACM SIGMOD 2027 that achieves over an order of magnitude performance improvement over baselines like cuSPARSE and cuBool. It addresses the challenge of varying sparsity in real-world matrices by partitioning data into fine-grained blocks and adaptively encoding each with either offset-based arrays (ARRAYn) for sparse regions or bitmaps (BITSET) for dense regions.
The system utilizes a heterogeneous GPU execution model that groups blocks by encoding type, enabling efficient scheduling and memory access through type-based execution and block-level scheduling. By avoiding monolithic data structures and reducing memory traffic, AdaBool significantly lowers both memory consumption and completion times, particularly excelling in scenarios with highly skewed sparsity distributions found in production workloads like recommendation pipelines.
AdaBool: Sparse Boolean Matrix Processing with Adaptive Data Representation addresses a broad class of data-processing workloads in which the goal is to determine whether logical relationships exist between two sets of entities. Such workloads can be naturally expressed as Sparse Boolean Matrix Multiplication (SpBMM), where the result of a “multiplication” is not a numeric sum but a Boolean indicator of whether at least one valid relationship exists. The paper’s starting insight is that standard sparse numerical matrix representations are poorly matched to this setting: once the semantics are Boolean, the actual numeric values of non-zeros are irrelevant, and the important information is only the positions of non-zero entries. This creates an opportunity to store, compress, and process matrices using representations optimized for presence/absence rather than magnitude.
The key contribution of AdaBool is an adaptive data representation and processing approach for sparse Boolean matrices. Instead of relying on a single fixed layout, AdaBool tailors the representation to the structure of the matrix and the characteristics of the workload. In practice, this means exploiting Boolean semantics to use compact encodings—such as bit-level or compressed positional representations—where appropriate, while still supporting efficient operations like set intersection, row/column scanning, and existence testing. The adaptive design allows the approach to trade off memory footprint, access cost, and parallelism more effectively than a one-size-fits-all sparse matrix format.
The material matters because SpBMM-like operations are foundational to many real data systems, including relational joins, graph reachability, filtering, matching, and other entity-relationship workloads. By recognizing that Boolean semantics can be exploited directly in the data representation layer, AdaBool points to a more efficient alternative to general-purpose sparse numerical matrix libraries. More broadly, the paper underscores an important systems insight: when the algebraic semantics of a workload are narrower than general numerical linear algebra, one can derive substantially leaner data structures and faster execution strategies for large-scale data processing.