Heming Cui

University of Hong Kong
3 previous affiliations
69Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Heming Cui focuses on the design of reliable distributed software systems, the optimization of large-scale machine learning infrastructure, and the security of artificial intelligence models. His trajectory spans foundational work in fault-tolerant computing and trusted execution environments to recent advancements in distributed training for large language models. Currently, he investigates efficiency-aware code generation and scalable architectures for mixture-of-experts models.

Research Trajectory

Cui's early research established a foundation in building reliable and high-performance distributed systems. In 2018, he contributed to PLOVER: Fast, Multi-core Scalable Virtual Machine Fault-tolerance, addressing the overhead of state machine replication in multi-core environments. This focus on robust infrastructure extended to datacenter networks with Bidl: A High-throughput, Low-latency Permissioned Blockchain Framework for Datacenter Networks (2021), which optimized consensus protocols for high throughput. Expanding into hardware-assisted security, his work on CRONUS: Fault-isolated, Secure and High-performance Heterogeneous Computing for Trusted Execution Environment (2022) advanced the broader area of Architecture Agnostic Confidential Computing by isolating faults and securing heterogeneous computing resources.

As machine learning models grew in scale and deployment, Cui's research naturally bridged systems engineering and artificial intelligence. He addressed the computational bottlenecks of neural architecture search in NASPipe: high performance and reproducible pipeline parallel supernet training via causal synchronous parallelism (2022). Concurrently, he began investigating the security vulnerabilities of deep neural networks, particularly backdoor attacks where models are poisoned to respond to hidden triggers. He introduced FMT: Removing Backdoor Feature Maps via Feature Map Testing in Deep Neural Networks (2023), a defense mechanism that identifies and neutralizes compromised internal representations. This was further refined in Adversarial Feature Map Pruning for Backdoor (2024), which utilizes adversarial techniques to proactively locate and prune hijacked feature maps without degrading the model's performance on clean data.

Ensuring the reliability of AI systems became a central theme in his subsequent work. To optimize the evaluation of deep learning models, his group introduced Neuron Sensitivity Guided Test Case Selection for Deep Learning Testing (2023), a method that analyzes internal neuron reactions to select the most informative unlabeled data points, thereby reducing human labeling costs. Applying these reliability principles to large language models (LLMs), Cui explored the intersection of AI and software engineering. He investigated systemic vulnerabilities in generated software, such as social biases, in Bias Assessment and Mitigation in LLM-based Code Generation (2023), demonstrating that execution feedback from automated tests is significantly more effective than instruction-based prompting for mitigating bias, contributing to the research direction of Rigorous Verification for LLM Code Generation.

His focus on code generation expanded to encompass the research direction of Beyond Functional Correctness in Automated Code Generation. Recognizing that correctness alone is insufficient for sustainable software, he collaborated on EffiBench: Benchmarking the Efficiency of Automatically Generated Code (2024), a dataset designed to evaluate the execution efficiency of LLM-generated solutions. This benchmarking effort culminated in EffiCoder: Enhancing Code Generation in Large Language Models through Efficiency-Aware Fine-tuning (2025), a framework that fine-tunes models on real-world execution profiles to substantially reduce execution time. This work also intersects with the area of Ensemble Generation for Robust Model Alignment and Evaluation. Alongside efficiency, he continued to address functional correctness in Rethinking the Influence of Source Code on Test Case Generation (2024), showing that providing natural language task descriptions alongside flawed source code prevents LLMs from baking in existing bugs during test generation, advancing work in the area of Closing the Loop in LLM Code Generation.

Returning to his roots in high-performance distributed systems, Cui's recent trajectory tackles the massive computational demands of modern AI architectures. For edge environments, he developed Hybrid-Parallel: Achieving High Performance and Energy Efficient Distributed Inference on Robots (2024), which parallelizes computation and data transmission at the operator level to overcome wireless bottlenecks in robotic AI. In the datacenter, he focused on optimizing Mixture-of-Experts (MoE) models. He introduced FoldMoE: Efficient Long Sequence MoE Training via Attention-MoE Pipelining (2025), a system that overlaps communication and computation across Transformer blocks to accelerate training on long sequences. He further addressed MoE scalability with Hecate: Unlocking Efficient Sparse Model Training via Fully Sharded Sparse Data Parallelism (2025), which eliminates straggler effects by globally sharding parameters and utilizing specialized sparse communication collectives.

Most recently, Cui has applied his expertise in distributed systems and adversarial robustness to reinforcement learning. He participated in the design of LEED: A Highly Efficient and Scalable LLM-Empowered Expert Demonstrations Framework for Multi-Agent Reinforcement Learning (2025), addressing policy conflicts in decentralized training by leveraging LLMs to guide multi-agent coordination. Extending his prior work on adversarial vulnerabilities to dynamic environments, he investigated robust control in State-Aware Perturbation Optimization for Robust Deep Reinforcement Learning (2026), introducing stealthy adversarial attacks that target vulnerable states to evaluate and improve the resilience of autonomous agents.

Current Directions

The most recent papers in the evidence indicate a dual focus on scaling the infrastructure for massive AI models and ensuring the robustness of autonomous agents. A primary current direction involves optimizing the training of Mixture-of-Experts (MoE) architectures. By developing novel sharding strategies and pipelining techniques, this work seeks to eliminate communication bottlenecks and memory overheads in distributed environments. Concurrently, recent research investigates the intersection of large language models and software engineering, specifically focusing on generating code that is not only functionally correct but computationally efficient. Finally, ongoing work addresses the reliability of reinforcement learning, exploring both scalable coordination frameworks for multi-agent systems and the defense of robotic control policies against state-aware adversarial perturbations.

Profile updated

See something wrong? Report a mistake