Haiming Chen 0001

dblp:75/248-1 · DBLP profile ↗
← Back
60ranked-venue papers
17as first author
18since 2021 · last 2026
0000-0002-2659-4148ORCID · conflict

Domains — the database's venue-derived domains; a paper can count in several

Theory of computation · 20 · 8 first-author · 6 since 2021Databases, data management, data science and information retrieval · 17 · 2 first-author · 1 since 2021Software engineering, systems software and programming languages · 8 · 2 first-author · 4 since 2021Applied, interdisciplinary, general and emerging computing · 7 · 3 first-author · 1 since 2021Artificial intelligence and machine learning · 5 · 2 first-author · 1 since 2021Security and privacy · 4 · 4 since 2021Systems, architecture and hardware · 2 · 2 since 2021
YearPublicationVenuePosition
2026 Multi-modal regular expression synthesis method based on large language models and semantics
Zipan Tang, Yixuan Yan, Rongchen Li, Hanze Dong, Haiming Chen 0001
J. Syst. Archit.6
2026 Derivative-based algorithms for membership, k -non-emptiness, and k -non-empty complement problems in enhanced regular expressions
Mengxi Wang, Chunmei Dong, Weihao Su, Chengyao Peng, Haiming Chen 0001
J. Syst. Archit.5
2026 Effective methods for solving regex crossword puzzles
Rongchen Li, Weihao Su, Hong Huang 0004, Haiming Chen 0001
Sci. Comput. Program.4
2025 Vulnerability-Affected Versions Identification: How Far Are We?
abstract
Identifying which software versions are affected by a vulnerability is critical for patching, risk mitigation. Despite a growing body of tools, their real-world effectiveness remains unclear due to narrow evaluation scopes—often limited to early SZZ variants, outdated techniques, and small or coarse-grained datasets. In this paper, we present the first comprehensive empirical study of vulnerability-affected versions identification. We curate a high-quality benchmark of 1,128 real-world C/C++ vulnerabilities and systematically evaluate 12 representative tools from both tracing and matching paradigms across four dimensions: effectiveness at both vulnerability and version levels, root causes of false positives and negatives, sensitivity to patch characteristics, and ensemble potential. Our findings reveal fundamental limitations: no tool exceeds 45.0% accuracy, with key challenges stemming from heuristic dependence, limited semantic reasoning, and rigid matching logic. Patch structures such as add-only and cross-file changes further hinder performance. Although ensemble strategies can improve results by up to 10.1%, overall accuracy remains below 60.0%, highlighting the need for fundamentally new approaches. Moreover, our study offers actionable insights to guide tool development, combination strategies, and future research in this critical area. Finally, we release the replicated code and benchmark on our website to encourage future contributions.
Xingchu Chen, Jialun Cao, Yang Xiao 0011, Xinyue Cai, Yeting Li, Tianqi Sun, Haiming Chen 0001, Wei Huo 0005
ASE9
2025 VULCANBOOST: Boosting ReDoS Fixes through Symbolic Representation and Feature Normalization
Yeting Li, Yecheng Sun, Zhiwu Xu 0001, Haiming Chen 0001, Xinyi Wang 0013, Hengyu Yang, Huina Chao, Cen Zhang, Yang Xiao 0011, Yanyan Zou 0002, Feng Li 0045, Wei Huo 0005
USENIX Security Symposium4
2025 Incremental algorithms for solving regular expression intersection non-emptiness
Haiming Chen 0001, Hong Huang 0004, Rongchen Li, Chengyao Peng, Weihao Su
Theor. Comput. Sci.1
2024 Molecular Graph Representation Learning via Structural Similarity Information
Chengyu Yao, Hong Huang 0004, Hang Gao 0004, Fengge Wu, Haiming Chen 0001, Junsuo Zhao
ECML/PKDD (3)5
2024 Enhancing Multi-modal Regular Expression Synthesis via Large Language Models and Semantic Manipulations of Sub-expressions
Zipan Tang, Yixuan Yan, Rongchen Li, Hanze Dong, Haiming Chen 0001
SETTA5
2024 A Derivative-Based Membership Algorithm for Enhanced Regular Expressions
Mengxi Wang, Chunmei Dong, Weihao Su, Chengyao Peng, Haiming Chen 0001
SETTA5
2024 Towards an Effective Method of ReDoS Detection for Non-backtracking Engines
Weihao Su, Hong Huang 0004, Rongchen Li, Haiming Chen 0001, Tingjian Ge
USENIX Security Symposium4
2023 Algorithms for Checking Intersection Non-emptiness of Regular Expressions
Weihao Su, Rongchen Li, Chengyao Peng, Haiming Chen 0001
ICTAC4
2023 Modeling Regex Operators for Solving Regex Crossword Puzzles
Weihao Su, Haiming Chen 0001, Rongchen Li
SETTA2
2023 Deducing Matching Strings for Real-World Regular Expressions
Yixuan Yan, Weihao Su, Lixiao Zheng, Mengxi Wang, Haiming Chen 0001, Chengyao Peng, Rongchen Li
SETTA5
2023 Learning Disjunctive Multiplicity Expressions and Disjunctive Generalize Multiplicity Expressions From Both Positive and Negative Examples
abstract
Abstract The presence of a schema for eXtensible Markup Language (XML) documents has numerous advantages. Unfortunately, many XML documents in practice are not accompanied by a (valid) schema. Therefore, it is essential to devise algorithms to infer schemas from XML documents, where the fundamental task is learning regular expressions. In this paper, we focus on the learning of disjunctive multiplicity expressions (DMEs), a subclass of regular expressions that are particularly suitable to specify unordered models and have been used as the foundation of the schemas for unordered XML. Previous work for learning DME lacks inference algorithms that support positive and negative examples. Further, presently there has been no algorithm can learn DMEs extended with numeric occurrences. We address these challenges in the present paper and first propose a novel algorithm to learn DMEs from positive and negative examples by using genetic algorithms and parallel techniques. Then we extend DMEs to disjunctive generalized multiplicity expressions (DGMEs), which allow numeric occurrences and develop an algorithm to learn DGMEs from positive and negative examples. Finally, experimental results show that with only positive examples, our algorithm can generate a DME with an acceptable learning time, which can accept all positive examples, and when given both positive and negative examples, we can learn DMEs or DGMEs with high accuracy.
Yeting Li, Haiming Chen 0001
Comput. J.2
2022 RegexScalpel: Regular Expression Denial of Service (ReDoS) Defense by Localize-and-Fix
Yeting Li, Yecheng Sun, Zhiwu Xu 0001, Jialun Cao, Yuekang Li, Rongchen Li, Haiming Chen 0001, Shing-Chi Cheung, Yang Liu 0003, Yang Xiao 0011
USENIX Security Symposium7
2022 SemMT: A Semantic-Based Testing Approach for Machine Translation Systems
abstract
Machine translation has wide applications in daily life. In mission-critical applications such as translating official documents, incorrect translation can have unpleasant or sometimes catastrophic consequences. This motivates recent research on the testing methodologies for machine translation systems. Existing methodologies mostly rely on metamorphic relations designed at the textual level (e.g., Levenshtein distance) or syntactic level (e.g., distance between grammar structures) to determine the correctness of translation results. However, these metamorphic relations do not consider whether the original and the translated sentences have the same meaning (i.e., semantic similarity). To address this problem, in this article we propose SemMT, an automatic testing approach for machine translation systems based on semantic similarity checking. SemMT applies round-trip translation and measures the semantic similarity between the original and the translated sentences. Our insight is that the semantics concerning logical relations and quantifiers in sentences can be captured by regular expressions (or deterministic finite automata) where efficient semantic equivalence/similarity checking algorithms can be applied. Leveraging the insight, we propose three semantic similarity metrics and implement them in SemMT. We compared SemMT with related state-of-the-art testing techniques, demonstrating the effectiveness of mistranslation detection. The experiment results show that SemMT outperforms existing metrics, achieving an increase of 34.2% and 15.4% on accuracy and F-score, respectively. We also study the possibility of further enhancing the performance by combining various metrics. Finally, we discuss a solution to locate the suspicious trip in round-trip translation, which provides hints for bug diagnosis.
Jialun Cao, Meiziniu Li, Yeting Li, Ming Wen 0001, Shing-Chi Cheung, Haiming Chen 0001
ACM Trans. Softw. Eng. Methodol.6
2021 TRANSREGEX: Multi-modal Regular Expression Synthesis by Generate-and-Repair
abstract
Since regular expressions (abbrev. regexes) are difficult to understand and compose, automatically generating regexes has been an important research problem. This paper introduces TransRegex, for automatically constructing regexes from both natural language descriptions and examples. To the best of our knowledge, TransRegex is the first to treat the NLP-and-example-based regex synthesis problem as the problem of NLP-based synthesis with regex repair. For this purpose, we present novel algorithms for both NLP-based synthesis and regex repair. We evaluate TransRegex with ten relevant state-of-the-art tools on three publicly available datasets. The evaluation results demonstrate that the accuracy of our TransRegex is 17.4%, 35.8% and 38.9% higher than that of NLP-based approaches on the three datasets, respectively. Furthermore, TransRegex can achieve higher accuracy than the state-of-the-art multi-modal techniques with 10% to 30% higher accuracy on all three datasets. The evaluation results also indicate TransRegex utilizing natural language and examples in a more effective way.
Yeting Li, Shuaimin Li, Zhiwu Xu 0001, Jialun Cao, Haiming Chen 0001, Shing-Chi Cheung
ICSE7
2021 ReDoSHunter: A Combined Static and Dynamic Approach for Regular Expression DoS Detection
Yeting Li, Jialun Cao, Zhiwu Xu 0001, Qiancheng Peng, Haiming Chen 0001, Shing-Chi Cheung
USENIX Security Symposium6
2020 FlashSchema: Achieving High Quality XML Schemas with Powerful Inference Algorithms and Large-scale Schema Data
abstract
Getting high quality XML schemas to avoid or reduce application risks is an important problem in practice, for which some important aspects have yet to be addressed satisfactorily in existing work. In this paper, we propose a tool FlashSchema for high quality XML schema design, which supports both one-pass and interactive schema design and schema recommendation. To the best of our knowledge, no other existing tools support interactive schema design and schema recommendation. One salient feature of our work is the design of algorithms to infer k-occurrence interleaving regular expressions, which are not only more powerful in model capacity, but also more efficient. Additionally, such algorithms form the basis of our interactive schema design. The other feature is that, starting from large-scale schema data that we have harvested from the Web, we devise a new solution for type inference, as well as propose schema recommendation for schema design. Finally, we conduct a series of experiments on two XML datasets, comparing with 9 state-of-the-art algorithms and open-source tools in terms of running time, preciseness, and conciseness. Experimental results show that our work achieves the highest level of preciseness and conciseness within only a few seconds. Experimental results and examples also demonstrate the effectiveness of our type inference and schema recommendation methods.
Yeting Li, Jialun Cao, Haiming Chen 0001, Tingjian Ge, Zhiwu Xu 0001, Qiancheng Peng
ICDE3
2020 FlashRegex: Deducing Anti-ReDoS Regexes from Examples
abstract
Regular expressions (regexes) are widely used in different fields of computer science such as programming languages, string processing and databases. However, existing tools for synthesizing or repairing regexes were not designed to be resilient to Regex Denial of Service (ReDoS) attacks. Specifically, if a regex has super-linear (SL) worst-case complexity, an attacker could provide carefully-crafted inputs to launch ReDoS attacks. Therefore, in this paper, we propose a programming-by-example framework, FlashRegex, for generating anti-ReDoS regexes by either synthesizing or repairing from given examples. It is the first framework that integrates regex synthesis and repair with the awareness of ReDoS-vulnerabilities. We present novel algorithms to deduce anti-ReDoS regexes by reducing the ambiguity of these regexes and by using Boolean Satisfiability (SAT) or Neighborhood Search (NS) techniques. We evaluate FlashRegex with five related state-of-the-art tools. The evaluation results show that our work can effectively and efficiently generate anti-ReDoS regexes from given examples, and also reveal that existing synthesis and repair tools have neglected ReDoS-vulnerabilities of regexes. Specifically, the existing synthesis and repair tools generated up to 394 ReDoS-vulnerable regex within few seconds to more than one hour, while FlashRegex generated no SL regex within around five seconds. Furthermore, the evaluation results on ReDoS-vulnerable regex repair also show that FlashRegex has better capability than existing repair tools and even human experts, achieving 4 more ReDoS-invulnerable regex after repair without trimming and resorting, highlighting the usefulness of FlashRegex in terms of the generality, automation and user-friendliness.
Yeting Li, Zhiwu Xu 0001, Jialun Cao, Haiming Chen 0001, Tingjian Ge, Shing-Chi Cheung, Haoren Zhao
ASE4
2020 Inferring Restricted Regular Expressions with Interleaving from Positive and Negative Samples
Yeting Li, Haiming Chen 0001, Jianzhao Zhang
PAKDD (2)2
2020 Inferring Deterministic Regular Expression with Unorder
Xiaofan Wang 0003, Haiming Chen 0001
SOFSEM2
2020 Inclusion algorithms for one-unambiguous regular expressions and their applications
Haiming Chen 0001, Zhiwu Xu 0001
Sci. Comput. Program.1
2019 Learning k-Occurrence Regular Expressions with Interleaving
Yeting Li, Jialun Cao, Haiming Chen 0001
DASFAA (2)4
2019 Learning k-Occurrence Regular Expressions from Positive and Negative Samples
Yeting Li, Xiaoying Mou, Haiming Chen 0001
ER3
2019 Context-Free Grammars for Deterministic Regular Expressions with Interleaving
Xiaoying Mou, Haiming Chen 0001, Yeting Li
ICTAC2
2019 An effective algorithm for learning single occurrence regular expressions with interleaving
abstract
The advantages offered by the presence of a schema are numerous. However, many XML documents in practice are not accompanied by a (valid) schema, making schema inference an attractive research problem. The fundamental task in XML schema learning is inferring restricted subclasses of regular expressions. Most previous work either lacks support for interleaving or only has limited support for interleaving. In this paper, we first propose a new subclass Single Occurrence Regular Expressions with Interleaving (SOIRE), which has unrestricted support for interleaving. Then, based on single occurrence automaton and maximum independent set, we propose an algorithm iSOIRE to infer SOIREs. Finally, we further conduct a series of experiments on real datasets to evaluate the effectiveness of our work, comparing with both ongoing learning algorithms in academia and industrial tools in real-world. The results reveal the practicability of SOIRE and the effectiveness of iSOIRE, showing the high preciseness and conciseness of our work.
Yeting Li, Haiming Chen 0001
IDEAS2
2019 Learning a Subclass of Deterministic Regular Expression with Counting
Xiaofan Wang 0003, Haiming Chen 0001
KSEM (1)2
2019 A Large-Scale Repository of Deterministic Regular Expression Patterns and Its Applications
Haiming Chen 0001, Yeting Li, Chunmei Dong, Xinyu Chu, Xiaoying Mou, Weidong Min
PAKDD (3)1
2019 Learning Restricted Deterministic Regular Expressions with Counting
Xiaofan Wang 0003, Haiming Chen 0001
WISE2
2019 Towards an Effective Syntax and a Generator for Deterministic Standard Regular Expressions
abstract
Abstract Deterministic regular expressions are a core part of XML Schema and used in other applications. But unlike regular expressions, deterministic regular expressions do not have a simple syntax, instead they are defined in a semantic manner. Moreover, not every regular expression can be rewritten to an equivalent deterministic regular expression. These properties of deterministic regular expressions put a burden on the user to develop XML Schema Definitions and to use deterministic regular expressions. In this paper, we propose a syntax for deterministic standard regular expressions (DREGs), and prove that the syntax of DREGs is context-free. Based on the context-free grammars for DREGs, we further design a generator for DREGs, which can generate DREGs randomly, and be used in applications associated with DREGs, e.g. benchmarking a validator for DTD or XML Schema, and inclusion checking of DTD and XML Schema. Experimental results demonstrate the efficiency and usefulness of the generator.
Zhiwu Xu 0001, Ping Lu 0007, Haiming Chen 0001
Comput. J.3
2018 Learning Concise Relax NG Schemas Supporting Interleaving from XML Documents
Yeting Li, Xiaoying Mou, Haiming Chen 0001
ADMA3
2018 Learning Restricted Regular Expressions with Interleaving from XML Data
Yeting Li, Xiaoying Mou, Haiming Chen 0001
ER5
2018 Inferring Deterministic Regular Expression with Counting
Xiaofan Wang 0003, Haiming Chen 0001
ER2
2018 Practical Study of Deterministic Regular Expressions from Large-scale XML and Schema Data
abstract
Regular expressions are a fundamental concept in computer science and widely used in various applications. In this paper we focused on deterministic regular expressions (DREs). Considering that researchers did not have large datasets as evidence before, we first harvested a large corpus of real data from the Web then conducted a practical study to investigate the usage of DREs. One feature of our work is that the data set is sufficiently large compared with previous work, which is obtained using several data collection strategies we proposed. The results show more than 98% of expressions in Relax NG are DRE, and more than 56% of expressions from RegExLib are DRE, while both Relax NG and RegExLib do not have the determinism constraint. These observations indicate that DREs are commonly used in practice. The results also show further study of subclasses of DREs is necessary. As far as we know, we are the first to analyze the determinism and the subclasses of DREs of Relax NG and RegExLib, and give these results. Furthermore, we give some discussions and applications of the data set. We find current research in new subclasses of DREs is insufficient, therefore it is necessary to do further study. We also analyze the referencing relationships among XSDs and define SchemaRank, which can be used in XML Schema design.
Yeting Li, Xinyu Chu, Xiaoying Mou, Chunmei Dong, Haiming Chen 0001
IDEAS5
2018 Inference of a Concise Regular Expression Considering Interleaving from XML Documents
Yeting Li, Fanlin Cui, Chunmei Dong, Haiming Chen 0001
PAKDD (2)5
2017 Derivatives and Finite Automata of Expressions in Star Normal Form
Haiming Chen 0001, Ping Lu 0007
LATA1
2017 The Complexity of SORE-definability Problems
abstract
Single occurrence regular expressions (SORE) are a special kind of deterministic regular expressions, which are extensively used in the schema languages DTD and XSD for XML documents. In this paper, with motivations from the simplification of XML schemas, we consider the SORE-definability problem: Given a regular expression, decide whether it has an equivalent SORE. We investigate extensively the complexity of the SORE-definability problem: We consider both (standard) regular expressions and regular expressions with counting, and distinguish between the alphabets of size at least two and unary alphabets. In all cases, we obtain tight complexity bounds. In addition, we consider another variant of this problem, the bounded SORE-definability problem, which is to decide, given a regular expression E and a number M (encoded in unary or binary), whether there is an SORE, which is equivalent to E on the set of words of length at most M. We show that in several cases, there is an exponential decrease in the complexity when switching from the SORE-definability problem to its bounded variant.
Ping Lu 0007, Zhilin Wu, Haiming Chen 0001
MFCS3
2017 On trace languages generated by (small) spiking neural P systems
Haiming Chen 0001, Mihai Ionescu, Andrei Paun, Gheorghe Paun
Theor. Comput. Sci.1
2016 Practical Study of Subclasses of Regular Expressions in DTD and XML Schema
Yeting Li, Feifei Peng, Haiming Chen 0001
APWeb (2)4
2015 Discovering Restricted Regular Expressions with Interleaving
Feifei Peng, Haiming Chen 0001
APWeb2
2015 Deterministic Regular Expressions with Interleaving
Feifei Peng, Haiming Chen 0001, Xiaoying Mou
ICTAC2
2015 Checking determinism of regular expressions with counting
Haiming Chen 0001, Ping Lu 0007
Inf. Comput.1
2015 Deciding determinism of unary languages
Ping Lu 0007, Feifei Peng, Haiming Chen 0001, Lixiao Zheng
Inf. Comput.3
2015 Deciding Determinism of Regular Languages
Ping Lu 0007, Joachim Bremer, Haiming Chen 0001
Theory Comput. Syst.3
2013 Deciding Determinism of Unary Languages Is coNP-Complete
Ping Lu 0007, Feifei Peng, Haiming Chen 0001
Developments in Language Theory3
2012 Checking Determinism of Regular Expressions with Counting
Haiming Chen 0001, Ping Lu 0007
Developments in Language Theory1
2011 Assisting the Design of XML Schema: Diagnosing Nondeterministic Content Models
Haiming Chen 0001, Ping Lu 0007
APWeb1
2010 Subtyping Algorithm of Regular Tree Grammars with Disjoint Production Rules
Haiming Chen 0001
ICTAC2
2010 A Toolkit for Generating Sentences from Context-Free Grammars
abstract
Producing sentences from a grammar, according to various criteria, is required in many applications. It is also a basic building block for grammar engineering. This paper presents a toolkit for context-free grammars, which mainly consists of several algorithms for sentence generation or enumeration and for coverage analysis for context-free grammars. The toolkit deals with general context-free grammars. Besides providing implementations of algorithms, the toolkit also provides a simple graphical user interface, through which the user can use the toolkit directly. The toolkit is implemented in Java and is available at http://lcs.ios.ac.cn/zhiwu/toolkit.php. In the paper, the overview of the toolkit and the description of the GUI are presented, and experimental results and preliminary applications of the toolkit are also contained.
Zhiwu Xu 0001, Lixiao Zheng, Haiming Chen 0001
SEFM3
2008 Inclusion Test Algorithms for One-Unambiguous Regular Expressions
Haiming Chen 0001
ICTAC1
2008 Basic research in computer science and software engineering at SKLCS
Jian Zhang 0001, Naijun Zhan, Yidong Shen, Haiming Chen 0001, Yunquan Zhang, Enhua Wu, Hongan Wang, Xue-Yang Zhu
Frontiers Comput. Sci. China5
2008 Spiking neural P systems with extended rules: universality and languages
Haiming Chen 0001, Mihai Ionescu, Tseren-Onolt Ishdorj, Andrei Paun, Gheorghe Paun, Mario J. Pérez-Jiménez
Nat. Comput.1
2007 On String Languages Generated by Spiking Neural P Systems
Haiming Chen 0001, Rudolf Freund, Mihai Ionescu, Gheorghe Paun, Mario J. Pérez-Jiménez
Fundam. Informaticae1
2006 Towards Practical Computable Functions on Context-Free Languages
Haiming Chen 0001, Yunmei Dong
TAMC1
2006 Facilitating formal specification acquisition by using recursive functions on context-free languages
Haiming Chen 0001, Yunmei Dong
Knowl. Based Syst.1
2004 Practical Type Checking of Functions Defined on Context-Free Languages
Haiming Chen 0001, Yunmei Dong
J. Comput. Sci. Technol.1
2001 Pattern Matching Compilation of Functions Defined in Context-Free Languages
Haiming Chen 0001, Yunmei Dong
J. Comput. Sci. Technol.1
1999 Function Definition Language FDL and its implementation
Haiming Chen 0001
J. Comput. Sci. Technol.1
1998 Combining CFG and Recursive Functions to Get a New Language
abstract
No abstract available.
Haiming Chen 0001
ICFP1