Haiming Chen

Chinese Academy of Sciences
1 previous affiliation
12Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Haiming Chen focuses on the intersection of software security, formal language theory, and graph-based machine learning. His work primarily addresses the detection and mitigation of algorithmic vulnerabilities, specifically Regular Expression Denial of Service (ReDoS), and the development of automated tools for data structure inference. More recently, his research has expanded into the application of deep learning architectures to complex structural data, including molecular graphs and heterogeneous network representations.

Research Trajectory

Chen’s early research contributions, beginning around 2020, centered on the automation of schema design and the synthesis of secure regular expressions. He participated in the development of tools for XML schema inference, focusing on the challenge of generating high-quality schemas from large-scale data. This work emphasized the use of powerful inference algorithms to handle complex regular expression patterns, such as k-occurrence interleaving, which are often difficult to model efficiently in standard one-pass systems. During this same period, Chen began addressing security vulnerabilities in string processing. He contributed to the design of frameworks that utilize programming-by-example (PBE) to synthesize regular expressions that are inherently resistant to ReDoS attacks. These attacks exploit the super-linear worst-case time complexity of certain regex engines, and Chen’s collaborative work sought to provide developers with tools to generate or repair regexes to ensure linear-time performance.

By 2022, Chen’s involvement in the security domain shifted from synthesis toward the localization and remediation of existing vulnerabilities. He was part of a research team that developed defense mechanisms designed to identify the specific components of a regular expression responsible for super-linear complexity and provide automated fixes. This transition from synthesis to "localize-and-fix" strategies reflects a broader move toward practical, post-deployment security solutions for large-scale software systems where manual regex auditing is infeasible.

In the mid-2020s, Chen’s research trajectory increasingly integrated advanced machine learning techniques, particularly Graph Neural Networks (GNNs), to solve problems in both bioinformatics and software security. In 2024, he contributed to research on molecular graph representation learning. This work addressed a limitation in existing GNNs—the tendency to focus on individual molecular structures while ignoring the semantic information contained in the structural similarities between different molecules. By incorporating this similarity information, the research aimed to enhance the expressiveness of feature representations, a goal that shares methodological commonalities with broader efforts in Network Centrality for Identifying Regulatory Hub Genes.

Chen’s most recent work, extending into 2026, applies these graph-based insights back to the domain of software security. He has participated in the development of heterogeneous graph learning frameworks for ReDoS detection. This approach represents regular expressions as complex graphs and utilizes motif-based learning to identify vulnerability patterns. This method has demonstrated significant improvements in detection speed and accuracy, aligning with the broader research objective of creating Efficient Channel Attention via Local 1D Convolutions and other optimized neural architectures. This evolution suggests a long-term interest in leveraging the structural properties of data—whether they are chemical bonds or the state transitions of a finite automaton—to improve the performance and security of computational systems.

Current Directions

Chen’s current research is characterized by the application of deep learning to structural analysis, with a particular emphasis on efficiency and scalability. A primary focus is the refinement of motif-based heterogeneous graph learning. By identifying recurring structural patterns (motifs) within regular expressions, Chen and his collaborators aim to bypass the computational bottlenecks of traditional static analysis tools. This work is particularly relevant for large-scale cloud environments where rapid vulnerability scanning is essential to prevent denial-of-service attacks.

Additionally, Chen continues to contribute to the field of molecular representation learning. His current interests involve bridging the gap between structural graph features and the semantic relationships between molecules. This involves developing GNN architectures that can capture rich information regarding molecular properties by analyzing how different structures relate to one another in a global feature space. This direction points toward a more holistic approach to graph learning that moves beyond local node neighborhoods to consider broader structural similarities.

Representative Work

FlashSchema: Achieving High Quality XML Schemas with Powerful Inference Algorithms and Large-scale Schema Data In this 2020 ICDE paper, Chen contributed to the development of FlashSchema, a tool designed for high-quality XML schema design. The research addresses the difficulty of creating schemas that accurately reflect data constraints while avoiding application risks. Chen participated in the design of algorithms to infer k-occurrence interleaving regular expressions, which offer higher model capacity and greater efficiency than previous methods. The tool is notable for supporting both one-pass and interactive schema design, as well as schema recommendation, providing a flexible framework for developers working with large-scale XML data.

FlashRegex: Deducing Anti-ReDoS Regexes from Examples As part of the team presenting at ASE 2020, Chen worked on FlashRegex, a programming-by-example framework for generating regular expressions resistant to ReDoS attacks. The paper highlights the danger of regexes with super-linear worst-case complexity, which can be exploited by attackers to cause service outages. Chen contributed to the integration of regex synthesis and repair, allowing the framework to either create new secure regexes or fix existing ones based on provided examples. This work represents an early effort to automate the production of security-hardened string processing components.

RegexScalpel: Regular Expression Denial of Service (ReDoS) Defense by Localize-and-Fix Published in the 2022 USENIX Security Symposium, this work focuses on a "localize-and-fix" approach to ReDoS defense. Chen was a member of the collaborative team that developed this system to address vulnerabilities in existing software. Unlike synthesis-only tools, RegexScalpel identifies the specific portions of a regular expression that trigger catastrophic backtracking and applies targeted patches. This research emphasizes the practical necessity of securing legacy codebases against algorithmic complexity attacks.

Molecular Graph Representation Learning via Structural Similarity Information In this 2024 ECML/PKDD paper, Chen contributed to research aimed at enhancing the expressiveness of Graph Neural Networks (GNNs) for molecular analysis. The study argues that focusing solely on individual molecular structures overlooks the rich semantic information found in the relationships between different molecules. Chen participated in the development of a framework that incorporates structural similarity information into the learning process. This approach allows GNNs to better capture the relationship between molecular properties and structural characteristics, improving the effectiveness of feature representation in chemical and biological domains.

Exploring Motif-based Heterogeneous Graph Learning for ReDoS Detection This 2026 work introduces RMGNN (ReDoS-MotifGNN), a deep learning framework for detecting ReDoS vulnerabilities. Chen contributed to the development of this model, which represents regular expressions as heterogeneous graphs. By focusing on structural "motifs" that correlate with vulnerability, the framework achieves a significant speedup—averaging 244×—over existing state-of-the-art tools. The research demonstrates how graph-based deep learning can be optimized for high-speed security auditing while maintaining low false-positive rates.

Profile updated

See something wrong? Report a mistake