Lei Ma
· 5 previous affiliations
- Alberta Machine Intelligence InstituteSince 2021
- Amii Fellow · Since 2021
- University of AlbertaSince 2021
- Associate Professor · Since 2021
- The University of TokyoSince 2023
- Associate Professor · Since 2023
- Doctor of Philosophy (PhD), Computer Software Engineering · 2011–2014
- Kyushu University2019–2022
- Research Fellow · 2021–2022
- Associate Professor · 2020–2021
- Assistant Professor · 2019–2020
- Technical University of Munich2012–2013
- PHD student, Mathematics and Computer Science · 2012–2013
4 other authors named Lei Ma: Lei Ma (北京大学 · Peking University · 287 papers), Lei Ma (7 papers), Lei Ma (University of Maryland, College Park · 4 papers), Lei Ma (Chinese Academy of Sciences · 2 papers)
Research Overview
Lei Ma focuses on the software engineering, testing, and quality assurance of artificial intelligence systems. His trajectory spans from automated test generation for traditional software to the quantitative analysis of deep neural networks and cyber-physical systems. Recently, his focus has expanded to the trustworthiness, privacy, and robustness of large language models and multi-modal generative systems.
Research Trajectory
Early in his career, Ma's research addressed the limitations of random testing in traditional software applications. He developed GRT: An Automated Test Generator Using Orchestrated Program Analysis (2015), a highly configurable framework that combined static analysis with run-time information to guide test generation and improve defect detection.
As deep learning systems became widely adopted in safety-critical scenarios, Ma shifted his focus toward the quality assurance of neural networks, pioneering work in the research direction of Structural Coverage Metrics for Deep Learning Testing. He introduced DeepGauge: multi-granularity testing criteria for deep learning systems (2018), which proposed novel metrics to measure how thoroughly training data exercises the internal logic of a crafted neural network. He extended this paradigm to combinatorial testing with DeepCT: Tomographic Combinatorial Testing for Deep Learning Systems (2019), addressing the high dimensionality of inputs and latent features. During this period, he also participated in modeling stateful recurrent neural networks as abstract state transition systems in DeepStellar: model-based quantitative analysis of stateful deep learning systems (2019), contributing to the broader area of Discretizing Neural Activation Spaces into Finite State Automata.
Between 2020 and 2021, Ma expanded his testing frameworks to encompass complex, interactive, and physical systems. He led research on Regression Testing of Massively Multiplayer Online Role-Playing Games, automating the generation of action sequences within massive search spaces to ensure functional consistency during game evolution. Investigating AI-driven physical systems, his team established a public benchmark for deep reinforcement learning controllers across seven industrial domains in When Cyber-Physical Systems Meet AI: A Benchmark, an Evaluation, and a Way Forward. Additionally, he explored emerging computing paradigms by categorizing erroneous code idioms to provide a basis for debugging in Identifying Bug Patterns in Quantum Programs.
By 2022, Ma's work increasingly addressed the robustness and security of distributed and generative models. He explored the research direction of Byzantine Resilience through Local Data as Ground Truth with Byzantine-Resilient Decentralized Stochastic Gradient Descent. He also investigated vulnerabilities in code-processing models in Towards Robustness of Deep Program Processing Models - Detection, Estimation, and Enhancement, aligning with his broader interest in the area of Out-of-Distribution Detection for Source Code Models. In the domain of multimedia forensics, he developed FakeLocator: Robust Localization of GAN-Based Face Manipulations, a method that precisely pinpoints synthetic image regions by exploiting subtle upsampling imperfections.
In recent years, Ma has focused heavily on model repair, out-of-distribution (OOD) detection, and the evaluation of large language models (LLMs). He contributed to Neuron Activation Coverage: Rethinking Out-of-distribution Detection and Generalization (2024), which quantifies how internal states are exercised to detect OOD samples, advancing the direction of Controlling Language Models Through Latent Space Interventions. To address the maintenance of deployed models facing environmental corruptions, his team proposed a meta-learning approach in MetaRepair: Learning to Repair Deep Neural Networks from Repairing Experiences. In the audio domain, he introduced PromptCodec: High-Fidelity Neural Speech Codec using Disentangled Representation Learning based Adaptive Feature-aware Prompt Encoders, decoupling voiceprint and prosodic features for ultra-low bitrate compression, which intersects with the area of Audio Generation with Conditional Flow Matching.
Ma's most recent work systematically evaluates the trustworthiness of LLMs and multi-sensor perception systems. He investigated data protection vulnerabilities during domain-specific fine-tuning in PrivAuditor: Benchmarking Data Protection Vulnerabilities in LLM Adaptation Techniques. Moving beyond traditional input-output analysis, he proposed comprehensive testing criteria based on internal attention mechanisms and neurons in LeCov: Multi-level testing criteria for large language models. He has also explored adversarial robustness in physical perception, developing defensive deraining strategies in Adversarial rain attack and defensive deraining for DNN perception, and participated in aligning 3D scene reconstruction with autonomous driving perception models in Beyond Visual Reconstruction Quality: Object Perception-aware 3D Gaussian Splatting for Autonomous Driving.
Current Directions
Recent work investigates the trustworthiness, privacy, and robustness of large language models and complex perception systems. The most recent papers in the evidence address the privacy vulnerabilities introduced when adapting pre-trained LLMs to sensitive domain data, as well as the development of multi-level testing criteria that examine internal LLM components to guide defect detection. Additionally, current research explores the robustness of autonomous driving and perception systems against environmental corruptions and adversarial attacks. This includes synthesizing realistic adversarial weather conditions to improve model training and designing novel loss functions for 3D Gaussian Splatting to ensure that reconstructed scenes preserve the stability of AI perception rather than merely optimizing visual quality.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake