Lune

ASPLOS2024Top-tier venue

BVAP: Energy and Memory Efficient Automata Processing for Regular Expressions with Bounded Repetitions

Ziyuan Wen, Lingkun Kong, Alexis Le Glaunec, Konstantinos Mamouras, Kaiyuan Yang

Abstract

Regular pattern matching is pervasive in applications such as text processing, malware detection, network security, and bioinformatics. Recent studies have demonstrated specialized in-memory automata processors with superior energy and memory efficiencies than existing computing platforms. Yet, they lack efficient support for the construct of bounded repetition that is widely used in regular expressions (regexes). This paper presents BVAP, a software-hardware co-designed in-memory Bit Vector Automata Processor. It is enabled by a novel theoretical model called Action-Homogeneous Non-deterministic Bit Vector Automata (AH-NBVA), its efficient hardware implementation, and a compiler that translates regexes into hardware configurations. BVAP is evaluated with a cycle-accurate simulator in a 28nm CMOS process, achieving 67-95% higher energy efficiency and 42-68% lower area, compared to state-of-the-art automata processors (CA, eAP, and CAMA), across a set of real-world benchmarks.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • HybridSA: GPU Acceleration of Multi-pattern Regex Matching using Bit Parallelism cites Software-hardware codesign for efficient in-memory regular pattern matching
  • HybridSA: GPU Acceleration of Multi-pattern Regex Matching using Bit Parallelism cites Why GPUs are Slow at Executing NFAs and How to Make them Faster
  • Static Analysis for Efficient Streaming Tokenization cites HybridSA: GPU Acceleration of Multi-pattern Regex Matching using Bit Parallelism
  • Static Analysis for Efficient Streaming Tokenization cites Software-hardware codesign for efficient in-memory regular pattern matching
  • Static Analysis for Efficient Streaming Tokenization cites Efficient Algorithms for the Uniform Tokenization Problem
  • Static Analysis for Efficient Streaming Tokenization cites RAP: Reconfigurable Automata Processor
  • Static Analysis for Efficient Streaming Tokenization cites Interleaved Bitstream Execution for Multi-Pattern Regex Matching on GPUs
  • Software-hardware codesign for efficient in-memory regular pattern matching cites Regex matching with counting-set automata
  • Software-hardware codesign for efficient in-memory regular pattern matching cites Why GPUs are Slow at Executing NFAs and How to Make them Faster
  • Software-hardware codesign for efficient in-memory regular pattern matching cites Impala: Algorithm/Architecture Co-Design for In-Memory Multi-Stride Pattern Matching
  • Efficient Algorithms for the Uniform Tokenization Problem cites Software-hardware codesign for efficient in-memory regular pattern matching
  • RAP: Reconfigurable Automata Processor cites HybridSA: GPU Acceleration of Multi-pattern Regex Matching using Bit Parallelism
  • RAP: Reconfigurable Automata Processor cites Achieving 100Gbps Intrusion Prevention on a Single Server
  • RAP: Reconfigurable Automata Processor cites Software-hardware codesign for efficient in-memory regular pattern matching
  • RAP: Reconfigurable Automata Processor cites Why GPUs are Slow at Executing NFAs and How to Make them Faster
  • RAP: Reconfigurable Automata Processor cites Impala: Algorithm/Architecture Co-Design for In-Memory Multi-Stride Pattern Matching
  • Interleaved Bitstream Execution for Multi-Pattern Regex Matching on GPUs cites HybridSA: GPU Acceleration of Multi-pattern Regex Matching using Bit Parallelism
  • Interleaved Bitstream Execution for Multi-Pattern Regex Matching on GPUs cites Achieving 100Gbps Intrusion Prevention on a Single Server
  • Interleaved Bitstream Execution for Multi-Pattern Regex Matching on GPUs cites Software-hardware codesign for efficient in-memory regular pattern matching
  • Interleaved Bitstream Execution for Multi-Pattern Regex Matching on GPUs cites Why GPUs are Slow at Executing NFAs and How to Make them Faster
  • Interleaved Bitstream Execution for Multi-Pattern Regex Matching on GPUs cites Impala: Algorithm/Architecture Co-Design for In-Memory Multi-Stride Pattern Matching
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. HybridSA: GPU Acceleration of Multi-pattern Regex Matching using Bit ParallelismAlexis Le Glaunec, Lingkun Kong, Konstantinos MamourasOOPSLA 2024 · 6 citations
  2. Interleaved Bitstream Execution for Multi-Pattern Regex Matching on GPUsTianao Ge, Xiaowen Chu, Hongyuan LiuMICRO 2025 · 4 citations
  3. Efficient Algorithms for the Uniform Tokenization ProblemAngela W. Li, Konstantinos MamourasOOPSLA 2025 · 3 citations
  4. RAP: Reconfigurable Automata ProcessorZiyuan Wen, Alexis Le Glaunec, Konstantinos Mamouras, Kaiyuan YangISCA 2025 · 2 citations
  5. Static Analysis for Efficient Streaming TokenizationAngela W. Li, Yudi Yang, Konstantinos MamourasASPLOS 2026 · 1 citation

Builds on8

  1. Impala: Algorithm/Architecture Co-Design for In-Memory Multi-Stride Pattern MatchingElaheh Sadredini, Reza Rahimi, Marzieh Lenjani, Mircea Stan et al.HPCA 2020 · 43 citations
  2. Achieving 100Gbps Intrusion Prevention on a Single ServerZhipeng Zhao, Hugo Sadok, Nirav Atre, James C. Hoe et al.OSDI 2020 · 38 citations
  3. Why GPUs are Slow at Executing NFAs and How to Make them FasterHongyuan Liu, Sreepathi Pai, Adwait JogASPLOS 2020 · 31 citations
  4. Software-hardware codesign for efficient in-memory regular pattern matchingLingkun Kong, Qixuan Yu, Agnishom Chattopadhyay, Alexis Le Glaunec et al.PLDI 2022 · 23 citations
  5. Regex matching with counting-set automataLenka Turonová, Lukás Holík, Ondrej Lengál, Olli Saarikivi et al.OOPSLA 2020 · 22 citations

Related papers

  1. Regular Expression Matching using Bit Vector AutomataAlexis Le Glaunec, Lingkun Kong, Konstantinos MamourasOOPSLA 2023 · 22 citations
  2. Sunder: Enabling Low-Overhead and Scalable Near-Data Pattern Matching AccelerationElaheh Sadredini, Reza Rahimi, Mohsen Imani, Kevin SkadronMICRO 2021 · 11 citations
  3. CAMA: Energy and Memory Efficient Automata Processing in Content-Addressable MemoriesYi Huang, Zhiyu Chen, Dai Li, Kaiyuan YangHPCA 2022 · 12 citations
  4. FlexAmata: A Universal and Efficient Adaption of Applications to Spatial Automata Processing AcceleratorsElaheh Sadredini, Reza Rahimi, Marzieh Lenjani, Mircea Stan et al.ASPLOS 2020 · 23 citations
  5. ALVEARE: a Domain-Specific Framework for Regular ExpressionsFilippo Carloni, Davide Conficconi, Marco D. SantambrogioDAC 2024 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines