Hierarchical Rule Auditing with Exact Ternary GPU Correlation
shengwei wang
Key points
From the paper's conclusion- We present an exact ternary correlation algorithm that compiles categorical conjunctions into one bounded-integer matrix product.
Abstract
Auditing firewall logs against requirements mapped to controls and frameworks must retain overlapping obligations, preserve uncertainty from missing attributes and count distinct affected records. Direct, bitmap and relational methods can express this audit; a correlation implementation must preserve distinctions that ordinary match counts and rule-hit totals discard. We present an exact ternary correlation algorithm that compiles categorical conjunctions into one bounded-integer matrix product. A dominating false-predicate penalty separates known mismatches from missing evidence, while per-record hierarchy unions prevent duplicate counting. We prove their composition and handle high-cardinality endpoints through exact address classes and versioned labels. Evaluation compares eight CPU/GPU implementations, includes public traffic and 133 published source-address ACLs with generated observations, and measures hierarchy and policy-rebuild costs. On an NVIDIA L4, matched fused execution reduces latency by 8.8 to 11.2 percent relative to two-product correlation across five tested shapes. At 100,000 records and 1,024 requirements, it takes 12.28 ms versus 13.82 ms for two products and 12.29 ms for GPU bitmaps. Bitmaps remain faster in most regimes, with hierarchy operations and reductions dominating the measured fused-correlation stage intervals.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- The Price of Auditing a Firewall: Query Complexity of Black-Box Verification for Listed-Rule and Tree-Rule PoliciesJournal of Cybersecurity and Privacy · 2026
- BitPCE: Batched Multi-Dimensional PolicyResolution with GPU Bitmap AlgebraarXiv · 2026
- GPU Offloading of the Associative Data Protection Transform in .NET: A Performance EvaluationComputers · 2026
- Forensic data deduplication: A comprehensive survey of methods and challenges for digital investigation.Journal of forensic sciences · 2026
- GAUGE: A Formal Framework for Measuring Cryptographic Security under Heterogeneous Adversary Cost ModelsarXiv · 2026
- GreenNIDS: A Benchmark Workflow and Analysis Dataset for NetFlow Intrusion Detection ExperimentsarXiv · 2026