解码复杂性:使用CHPDA(上下文感知混合模式检测算法)进行智能模式探索
Decoding Complexity: Intelligent Pattern Exploration with CHPDA (Context Aware Hybrid Pattern Detection Algorithm)
AI总结:
本研究通过评估正则表达式和精确匹配算法,发现Google RE2在正则引擎中平衡最优、Aho-Corasick精确匹配性能卓越,提出的AI+正则混合方法F1达91.6%,为敏感数据检测提供高效方案。
摘要:
检测个人身份信息(PII)和受保护健康信息(PHI)等敏感数据对数据安全平台至关重要。本研究评估基于正则表达式的模式匹配算法和精确匹配搜索技术,以优化检测速度、准确性和可扩展性。我们的基准测试结果表明,在正则表达式引擎中,Google RE2在速度(10-15毫秒/MB)、内存效率(8-16 MB)和准确性(99.5%)之间实现了最佳平衡,其性能优于PCRE,同时比Hyperscan保持更广泛的硬件兼容性。在精确匹配方面,Aho-Corasick在大型数据集上表现出卓越的性能(8毫秒/MB)和可扩展性。性能分析显示,正则表达式处理时间随数据集大小和模式复杂性线性扩展。AI+正则表达式混合方法通过提高召回率和减少误报,实现了最高的F1分数(91.6%)。设备基准测试证实,我们的解决方案在高性能和中端系统上均保持高效的CPU和内存使用。尽管有效,但仍存在挑战,例如多语言支持有限和需要定期更新模式。未来工作应专注于扩展语言覆盖范围、将数据安全和隐私管理(DSPM)与数据丢失防护(DLP)工具集成,以及增强监管合规性以促进更广泛的全球采用。
英文摘要:
Detecting sensitive data such as Personally Identifiable Information (PII) and Protected Health Information (PHI) is critical for data security platforms. This study evaluates regex-based pattern matching algorithms and exact-match search techniques to optimize detection speed, accuracy, and scalability. Our benchmarking results indicate that Google RE2 provides the best balance of speed (10-15 ms/MB), memory efficiency (8-16 MB), and accuracy (99.5%) among regex engines, outperforming PCRE while maintaining broader hardware compatibility than Hyperscan. For exact matching, Aho-Corasick demonstrated superior performance (8 ms/MB) and scalability for large datasets. Performance analysis revealed that regex processing time scales linearly with dataset size and pattern complexity. A hybrid AI + Regex approach achieved the highest F1 score (91. 6%) by improving recall and minimizing false positives. Device benchmarking confirmed that our solution maintains efficient CPU and memory usage on both high-performance and mid-range systems. Despite its effectiveness, challenges remain, such as limited multilingual support and the need for regular pattern updates. Future work should focus on expanding language coverage, integrating data security and privacy management (DSPM) with data loss prevention (DLP) tools, and enhancing regulatory compliance for broader global adoption.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。