Accelerating Regular Expression Matching over Compressed Data via Decoupled Speculative Execution on FPGA
Open Access
- 3 October 2026
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Reconfigurable Technology and Systems
Abstract
The common practice of compressing network traffic to enhance transmission efficiency poses a significant challenge to achieving high-speed regular expression matching. Since matching compression data relies on prior decompressed data and earlier matching outcomes, the conventional approach usually scans fully decompressed data, which suffers from bottlenecks caused by data inflation. Existing approaches accelerate compressed data matching by eliminating duplicate scanning, yet this speedup incurs unavoidable overhead on general-purpose CPU architectures. This paper introduces STRIDE, an FPGA-based accelerator that resolves the aforementioned constraints via decoupled speculative execution. Specifically, by decoupling the matching of compressed encodings from both the matching of uncompressed literals and the resolution of prior decompressed data, STRIDE leverages speculative results to enable uninterrupted scanning that does not depend on earlier outputs. Then, an asynchronous verification process validates these speculations and performs necessary corrections to ensure correctness. We implement STRIDE on a Xilinx Kintex-7 XC7K325T FPGA platform. Evaluations on real-world compressed datasets show that STRIDE achieves a throughput of 2.97 Gbps at 200 MHz and can reach a theoretical throughput of 3.33 to 5.64 Gbps, delivering a 4.16–7.05x speedup over the baseline. STRIDE demonstrates that speculative, decoupled execution is an effective paradigm for overcoming the performance limitations of compressed data matching.Keywords
This publication has 29 references indexed in Scilit:
- P4Rex: Accelerating regular expression matching with programmable switchesComputer Networks, 2024
- Efficient regular expression matching over hybrid dictionary-based compressed dataJournal of Network and Computer Applications, 2023
- Reconfigurable regular expression matching architecture for real-time pattern update and payload inspectionJournal of Network and Computer Applications, 2022
- Accelerating Knuth-Morris-Pratt String Matching over LZ77 Compressed Text2021
- Efficient regular expression matching over compressed trafficComputer Networks, 2020
- COIN: A fast packet inspection method over compressed trafficJournal of Network and Computer Applications, 2019
- High-speed regular expression matching with pipelined automata2016
- A Real-time Updatable FPGA-based Architecture for Fast Regular Expression MatchingProcedia Computer Science, 2014
- Space efficient deep packet inspection of compressed web trafficComputer Communications, 2012
- Regular expression matching for reconfigurable packet inspection2006