@inproceedings{li2019accelerating, author = {Li, Zhao Lucis and Liang, Chieh-Jan Mike and Bai, Wei and Zheng, Qiming and Xiong, Yongqiang and Sun, Guangzhong}, title = {Accelerating Rule-matching Systems with Learned Rankers}, booktitle = {ATC (USENIX Annual Technical Conference)}, year = {2019}, month = {July}, abstract = {Infusing machine learning (ML) and deep learning (DL) into modern systems has driven a paradigm shift towards learning-augmented system design. This paper proposes the learned ranker as a system building block, and demonstrates its potential by using rule-matching systems as a concrete scenario. Specifically, checking rules can be time-consuming, especially complex regular expression (regex) conditions. The learned ranker prioritizes rules based on their likelihood of matching a given input. If the matching rule is successfully prioritized as a top candidate, the system effectively achieves early termination. We integrated the learned rule ranker as a component of popular regex matching engines: PCRE, PCRE-JIT, and RE2. Empirical results show that the rule ranker achieves a top-5 classification accuracy at least 96.16%, and reduces the rule-matching system latency by up to 78.81% on a 8-core CPU.}, publisher = {USENIX}, url = {http://approjects.co.za/?big=en-us/research/publication/accelerating-rule-matching-systems-with-learned-rankers/}, }