Zirui Liu 0002

dblp:196/8629-2 · DBLP profile ↗
← Back
15ranked-venue papers in the field
7as first author
15since 2021 · last 2026
0000-0001-9062-6565ORCID · conflict

Domains — venue-derived; a paper can count in several

Database Systems & Data Management · 11 (5 first)Data Mining & Knowledge Discovery · 3 (1 first)Information Retrieval & Web Search · 1 (1 first)
YearPublicationVenuePosition
2026 Mirror Asymmetry Perfect Hashing: A Memory-Efficient and Load-Intensive-Optimized Hashing Index on Hybrid DRAM-PMem Architecture
Jingcheng Ju, Zirui Liu 0002, Kaicheng Yang 0001, Yikai Zhao 0001, Tong Yang 0003, Xingchun Wang, Duohe Ma
ICDE2
2026 PBSketch: Finding Periodic Burst Items in Data Streams
abstract
Detecting periodic burst (PB) items in data streams is crucial for applications like rate limiting but remains unexplored. % While combining existing sketch algorithms offers a baseline, it suffers from significant inaccuracy and inefficiency. In this paper, we propose PBSketch, the first dedicated sketch algorithm designed for detecting PB items in real time. Its key techniques mainly include: 1) a two-stage hierarchical structure that efficiently maintains potential burst items and discards those without potential; 2) a fine-grained PB selection mechanism during window processing, coupled with the Window Smoothing Processing optimization to amortize performance overhead and eliminate processing spikes. % We provide its error bounds through rigorous theoretical analysis. Our extensive experiments show that PBSketch outperforms the baseline solution in accuracy and speed. By deploying it on an FPGA platform, the throughput is further significantly improved. Moreover, it effectively optimizes a practical application of rate limiting, clearly improving performance with almost negligible overhead.
Zhuochen Fan, Zhongxian Liang, Zirui Liu 0002, Dayu Wang, Dong Wen 0004, Wenjun Li 0004, Tong Yang 0003, Yuzhou Liu 0001, Weizhe Zhang
KDD (1)3
2025 CuckooGraph: A Scalable and Space-Time Efficient Data Structure for Large-Scale Dynamic Graphs
abstract
Graphs play an increasingly important role in various big data applications. However, existing graph data structures cannot simultaneously address the performance bottlenecks caused by the dynamic updates, large scale, and high query complexity of current graphs. This paper proposes a novel data structure for large-scale dynamic graphs called CuckooGraph. It does not require any prior knowledge of the upcoming graphs, and can adaptively resize to the most memory-efficient form while requiring few memory accesses for very fast graph data processing. The key techniques of CuckooGraph include TRANSFORMATION and DENYLIST. TRANSFORMATION fully utilizes the limited memory by designing related data structures that allow flexible space transformations to smoothly expand/tighten the required space depending on the number of incoming items. DENYLIST efficiently handles item insertion failures and further improves processing speed. Our experimental results show that compared with the most competitive solution Spruce, Cuckoo-Graph achieves about 33× higher insertion throughput while requiring only about 68% of the memory space.
Zhuochen Fan, Yalun Cai, Zirui Liu 0002, Jiarui Guo, Tong Yang 0003, Bin Cui 0001
ICDE3
2025 HourglassSketch: An Efficient and Scalable Framework for Graph Stream Summarization
abstract
Graph stream is a special kind of data stream, where every item coming in sequence represents an edge in a dynamic graph. Graph stream has wide application in many fields, including cyber security, social networks and financial fraud detection. In this paper, we propose HourglassSketch, a two-stage data structure, for high-accuracy graph stream summarization. In Stage 1, HourglassSketch uses a CocoSketch to accurately record a partial collection of large-weight edges. In Stage 2, HourglassSketch integrates a TowerSketch with a TCMSketch to approximately record the statistics of most small-weight edges. In addition, we propose a key technique named Error Funnel to further reduce its error margin. Theoretical analysis and experimental results demonstrate that HourglassSketch supports various kinds of query operation and adapts well to graph stream storage. HourglassSketch achieves up to 100x smaller error and 2.7x higher speed than prior work. We also explore the versatility of HourglassSketch as a hardware-friendly framework by implementing it on FPGA and P4 platforms. We have released our codes on GitHub.
Jiarui Guo, Boxuan Chen, Kaicheng Yang 0001, Tong Yang 0003, Zirui Liu 0002, Qiuheng Yin, Yuhan Wu 0001, Bin Cui 0001, Xi Peng 0006, Renhai Chen, Gong Zhang 0001
ICDE5
2025 Extendible RDMA-Based Remote Memory KV Store with Dynamic Perfect Hashing Index
abstract
Perfect hashing is a special hashing function that maps each item to a unique location without collision, which enables the creation of a KV store with small and constant lookup time. Recent dynamic perfect hashing attains high load factor by increasing associativity, which impacts bandwidth and throughput. This paper proposes a novel dynamic perfect hashing index without sacrificing associativity, and uses it to devise an RDMA-based remote memory KV store called CuckooDuo. CuckooDuo simultaneously achieves high load factor, fast speed, minimal bandwidth, and efficient expansion without item movement. We theoretically analyze the properties of CuckooDuo, and implement it in an RDMA-network based testbed. The results show CuckooDuo achieves 1.9~17.6x smaller insertion latency and 9.0~18.5x smaller insertion bandwidth than prior works.
Zirui Liu 0002, Xian Niu, Wei Zhou 0077, Yisen Hong, Zhouran Shi, Tong Yang 0003, Yuchao Zhang 0004, Yuhan Wu 0001, Yikai Zhao 0001, Zhuochen Fan, Bin Cui 0001
ICDE1
2025 Measuring Item Freshness in Data Streams
abstract
This paper studies an unexplored attribute in data streams - item freshness. The freshness of an item refers to the time interval between its last arrival and the present moment. The information of item freshness is useful in various scenarios like cache, online advertising, computer network, etc. Currently, there is no algorithm tailored for estimating item freshness. We propose a theoretically guaranteed sketch algorithm called RingSketch, which integrates time-agnostic sketch algorithm with time-aware CLOCK algorithm for real-time freshness measurement. With the key idea of tracing the trajectory of the clock pointer, the estimation process of RingSketch is akin to observing the length of the growth rings in a tree trunk. We theoretically derive the average error of RingSketch and validate it with extensive experiments. The results show that RingSketch simultaneously achieves high accuracy (<10-3 average relative error) and fast update speed (>11.4 M/s), outperforming the baseline solutions by at least 13.3x and 1.5x respectively. All codes are open-sourced at GitHub.
Zirui Liu 0002, Zihan Jiang 0004, An Zhang 0017, Zhouran Shi, Yuxuan Tian 0001, Tong Yang 0003
KDD (2)1
2025 CAFE+: Towards Compact, Adaptive, and Fast Embedding for Large-scale Online Recommendation Models
abstract
The growing memory demands of embedding tables in Deep Learning Recommendation Models (DLRMs) pose great challenges for model training and deployment. Existing embedding compression solutions cannot simultaneously achieve memory efficiency, low latency, and adaptability to dynamic data distribution. This article presents CAFE+, a Compact, Adaptive, and Fast Embedding compression framework that meets the above requirements. The design philosophy of CAFE+ is to dynamically allocate more memory to important features and less to unimportant ones. We assign unique embedding to important feature and allow multiple unimportant features sharing one embedding. We propose a fast and lightweight feature monitor, to real-time capture feature importance and report important features. We theoretically analyze the accuracy of our feature monitor and prove the superiority of CAFE+ from the aspect of model convergence. Extensive experiments show CAFE+ outperforms existing embedding compression methods, yielding \(3.94\%\) and \(3.94\%\) superior testing AUC on Criteo Kaggle dataset and CriteoTB dataset at a compression ratio of \(10{,}000\times\) . Building on our conference version [ 114 ], this journal version introduces several novel designs (implicit importance attenuation, adaptive threshold adjustment, and ColdSifter) that enable CAFE+ to more effectively adapt to long-term online learning and achieve better model quality. All codes are available at GitHub [ 112 ].
Zirui Liu 0002, Hailin Zhang 0004, Boxuan Chen, Zihan Jiang 0004, Yikai Zhao 0001, Yangyu Tao, Tong Yang 0003, Bin Cui 0001
ACM Trans. Inf. Syst.1
2024 CAFE: Towards Compact, Adaptive, and Fast Embedding for Large-scale Recommendation Models
abstract
Recently, the growing memory demands of embedding tables in Deep Learning Recommendation Models (DLRMs) pose great challenges for model training and deployment. Existing embedding compression solutions cannot simultaneously meet three key design requirements: memory efficiency, low latency, and adaptability to dynamic data distribution. This paper presents CAFE, a Compact, Adaptive, and Fast Embedding compression framework that addresses the above requirements. The design philosophy of CAFE is to dynamically allocate more memory resources to important features (called hot features), and allocate less memory to unimportant ones. In CAFE, we propose a fast and lightweight sketch data structure, named HotSketch, to capture feature importance and report hot features in real time. For each reported hot feature, we assign it a unique embedding. For the non-hot features, we allow multiple features to share one embedding by using hash embedding technique. Guided by our design philosophy, we further propose a multi-level hash embedding framework to optimize the embedding tables of non-hot features. We theoretically analyze the accuracy of HotSketch, and analyze the model convergence against deviation. Extensive experiments show that CAFE significantly outperforms existing embedding compression methods, yielding 3.92% and 3.68% superior testing AUC on Criteo Kaggle dataset and CriteoTB dataset at a compression ratio of 10000x. The source codes of CAFE are available at GitHub.
Hailin Zhang 0004, Zirui Liu 0002, Boxuan Chen, Yikai Zhao 0001, Tong Yang 0003, Bin Cui 0001
Proc. ACM Manag. Data2
2024 A Unified Framework for Mining Batch and Periodic Batch in Data Streams
abstract
Batch is an important pattern in data streams, which refers to a group of identical items that arrive closely. We find that some special batches that arrive periodically are of great value. In this paper, we formally define a new pattern, namely periodic batches. A group of periodic batches refers to several batches of the same item, where these batches arrive periodically. Studying periodic batches is important in many applications, such as caches, financial markets, online advertisements, networks, etc. This paper proposes a unified framework, namely the HyperCalm sketch, to detect batch and periodic batch in data streams. HyperCalm sketch takes two phases to detect periodic batches. In phase 1, we propose a time-aware Bloom filter, called HyperBloomFilter (HyperBF), to detect batches. In phase 2, we propose an enhanced top-k algorithm, called Calm Space-Saving (CalmSS), to report top-itk periodic batches. Extensive experiments show HyperCalm outperforms the strawman solutions 4× in term of average relative error and 98.1× in term of speed. All related codes are open-sourced.
Zirui Liu 0002, Xiangyuan Wang, Yuhan Wu 0001, Tong Yang 0003, Kaicheng Yang 0001, Hailin Zhang 0004, Yaofeng Tu, Bin Cui 0001
IEEE Trans. Knowl. Data Eng.1
2024 Enabling space-time efficient range queries with REncoder
Zhuochen Fan, Bowen Ye, Ziwei Wang 0008, Jiarui Guo, Yuhan Wu 0001, Tong Yang 0003, Yaofeng Tu, Zirui Liu 0002, Bin Cui 0001
VLDB J.10
2024 WavingSketch: an unbiased and generic sketch for finding top-k items in data streams
Zirui Liu 0002, Fenghao Dong, Chengwu Liu 0001, Xiangwei Deng, Tong Yang 0003, Yikai Zhao 0001, Jizhou Li, Bin Cui 0001, Gong Zhang 0001
VLDB J.1
2023 HyperCalm Sketch: One-Pass Mining Periodic Batches in Data Streams
abstract
Batch is an important pattern in data streams, which refers to a group of identical items that arrive closely. We find that some special batches that arrive periodically are of great value. In this paper, we formally define a new pattern, namely periodic batches. A group of periodic batches refers to several batches of the same item, where these batches arrive periodically. Studying periodic batches is important in many applications, such as caches, financial markets, online advertisements, networks, etc. We propose a one-pass sketching algorithm, namely the HyperCalm sketch, which takes two phases to detect periodic batches in real time. In phase 1, we propose a time-aware Bloom filter, namely HyperBloomFilter (HyperBF), to detect the start of batches. In phase 2, we propose an enhanced top-k algorithm, called Calm Space-Saving (CalmSS), to report top-k periodic batches. We theoretically derive the error bounds for HyperBF and CalmSS. Extensive experiments show HyperCalm outperforms the strawman solutions 4× in term of average relative error and 13.2× in term of speed. We also apply HyperCalm to a cache system and integrate HyperCalm into Apache Flink. All related codes are open-sourced.
Zirui Liu 0002, Chaozhe Kong, Kaicheng Yang 0001, Tong Yang 0003, Ruijie Miao, Yikai Zhao 0001, Yaofeng Tu, Bin Cui 0001
ICDE1
2023 TreeSensing: Linearly Compressing Sketches with Flexibility
abstract
A Sketch is an excellent probabilistic data structure, which records the approximate statistics of data streams. Linear additivity is an important property of sketches. This paper studies how to keep the linear property after sketch compression. Most existing compression methods do not keep the linear property. We propose TreeSensing, an accurate, efficient, and flexible framework to linearly compress sketches. In TreeSensing, we first separate a sketch into two parts according to counter values. For the sketch with small counters, we propose a technique called TreeEncoding to compress it into a hierarchical structure. For the sketch with large counters, we propose a technique called SketchSensing to compress it using compressive sensing. We theoretically analyze the accuracy of TreeSensing. We use TreeSensing to compress 7 sketches and conduct two end-to-end experiments: distributed measurement and distributed machine learning. Experimental results show that TreeSensing outperforms prior art on both accuracy and efficiency, which achieves up to 100× smaller error and 5.1× higher speed than state-of-the-art Cluster-Reduce. All related codes are open-sourced.
Zirui Liu 0002, Yixin Zhang 0002, Yifan Zhu 0011, Ruwen Zhang, Tong Yang 0003, Kun Xie 0001, Tao Li 0008, Bin Cui 0001
Proc. ACM Manag. Data1
2023 Experimental Analysis of Large-scale Learnable Vector Storage Compression
abstract
Learnable embedding vector is one of the most important applications in machine learning, and is widely used in various database-related domains. However, the high dimensionality of sparse data in recommendation tasks and the huge volume of corpus in retrieval-related tasks lead to a large memory consumption of the embedding table, which poses a great challenge to the training and deployment of models. Recent research has proposed various methods to compress the embeddings at the cost of a slight decrease in model quality or the introduction of other overheads. Nevertheless, the relative performance of these methods remains unclear. Existing experimental comparisons only cover a subset of these methods and focus on limited metrics. In this paper, we perform a comprehensive comparative analysis and experimental evaluation of embedding compression. We introduce a new taxonomy that categorizes these techniques based on their characteristics and methodologies, and further develop a modular benchmarking framework that integrates 14 representative methods. Under a uniform test environment, our benchmark fairly evaluates each approach, presents their strengths and weaknesses under different memory budgets, and recommends the best method based on the use case. In addition to providing useful guidelines, our study also uncovers the limitations of current methods and suggests potential directions for future research.
Hailin Zhang 0004, Penghao Zhao, Xupeng Miao, Yingxia Shao, Zirui Liu 0002, Tong Yang 0003, Bin Cui 0001
Proc. VLDB Endow.5
2021 MapEmbed: Perfect Hashing with High Load Factor and Fast Update
abstract
Perfect hashing is a hash function that maps a set of distinct keys to a set of continuous integers without collision. However,most existing perfect hash schemes are static, which means that they cannot support incremental updates, while most datasets in practice are dynamic. To address this issue, we propose a novel hashing scheme, namely MapEmbed Hashing. Inspired by divide-and-conquer and map-and-reduce, our key idea is named map-and-embed and includes two phases: 1) Map all keys into many small virtual tables; 2) Embed all small tables into a large table by circular move. Our experimental results show that under the same experimental setting, the state-of-the-art perfect hashing (dynamic perfect hashing) can achieve around 15% load factor, around 0.3 Mops update speed, while our MapEmbed achieves around 90% ~ 95% load factor, and around 8.0 Mops update speed per thread. All codes of ours and other algorithms are open-sourced at GitHub.
Yuhan Wu 0001, Zirui Liu 0002, Jie Gui, Haochen Gan, Yuhao Han, Tao Li 0008, Ori Rottenstreich, Tong Yang 0003
KDD2