Skip to content
Open access

STEM2: A Fast and Space-efficient Data Structure for Exact Multi-Set Membership Query

May 2026 · Proceedings of the VLDB Endowment · Vol 19, pp. 2426-2438 · 0 citations · 45 references
Computer Science

TL;DR

A fast and space-efficient data structure that achieves 100% query accuracy and can support dynamic key updates for multi-set membership queries, and a minimized hashing scheme that requires only two hash computations per key lookup, significantly reducing computational overhead.

Abstract

Multi-set membership queries are ubiquitous in networking and database systems. Current solutions force a difficult compromise: hash tables guarantee correctness but suffer from high memory footprints, while filter-based approaches optimize space at the cost of probabilistic errors. In this paper, we propose STEM 2 , a fast and space-efficient data structure that achieves 100% query accuracy and can support dynamic key updates for multi-set membership queries. STEM 2 utilizes a balanced binary tree architecture where each non-leaf node incorporates a novel Exact Binary Set Separator (XBSS) to partition keys into two disjoint groups. A key innovation of our design is a minimized hashing scheme that requires only two hash computations per key lookup, significantly reducing computational overhead. Additionally, STEM 2 separates the control plane and the data plane: the control plane handles construction and dynamic updates, while the data plane is dedicated to serving efficient membership queries. Extensive experiments show that STEM 2 achieves over 120 million operations per second (Mops) in lookup throughput, outperforming the state-of-the-art Coloring Embedder by 20% and the Ludo hashing by up to 21.6×, while maintaining compact memory cost and exact correctness.

Read PDF

Similar papers

S !"#$ : A Scalable and Resize-optimized Hash Index on Disaggregated Memory

A novel architecture called S !"#$, designed to enhance the performance of hash indexes in disaggregated memory, is introduced and the results show that S !"#$ outperforms state-of-the-art DM-optimized hash indexes by at most 6.7 → (RACE), 3.6 → (SepHash), and 1.8 → (Outback) in YCSB workloads, respectively.

Han-Tian Zha, Teng Ma, Bao-Tong Lu et al. · 0 citations
Open access 2026

MVX-CF: A Multi-Value eXpandable Cuckoo Filter for Pending Interest Tables in Named Data Networking

Efficient data structures that support dynamic insertion, lookup, deletion, and multi-value key storage are increasingly important in network environments. In particular, applications such as the Pending Interest Table (PIT) in Named Data Networking (NDN) require storing multiple values for a single key, while handling...

Jungwon Lee, Hayoung Byun · 0 citations
Preprint Sep 2026

Consensus for Compressed Static Functions

The Consensus technique marked a breakthrough in the construction of minimal perfect hash functions (MPHFs), reaching a linear tradeoff between construction time and space overhead relative to the optimum. Consensus provides a clever scheme to search for and encode seeds of tasks in random data structures. We apply Con...

Dominik M. Rösch, Jonatan Ziegler · 0 citations
Preprint Aug 2026

Diva++: Dynamic Range Filtering over Hard Workloads

Range filters are compact probabilistic data structures that answer approximate range emptiness queries. They are used in many domains, e.g., in key-value stores, to quickly rule out the existence of keys in a given query range and avoid searching for them in storage. However, all existing range filters exhibit at leas...

Navid Eslami, I. Bercea, Niv Dayan · 0 citations
#machine learning Preprint Sep 2026

Spruce: Scalable Private Outsourced Retrieval Using Compact Embeddings

Spruce learns compact binary codes that preserve candidates for full-precision reranking, replacing corpus-wide embedding scoring with efficient Hamming-distance computation under two-server multi-party computation under two-server multi-party computation (MPC).

Pei-Chun Hua, Yun-Ming Xiao · 4 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.