NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions
Weizhe Hua

Weizhe Hua

Microsoft (United States) · Microsoft AI
4 previous affiliations
6Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Weizhe Hua focuses on the intersection of hardware-aware machine learning, neural network efficiency, and system security. His work addresses the computational and security challenges inherent in deploying deep neural networks (DNNs) on edge devices and specialized hardware accelerators. By developing techniques for dynamic sparsity, adaptive computation, and secure memory protection, Hua aims to bridge the gap between theoretical model compression and real-world performance gains on constrained hardware. His recent research extends these efficiency principles to the training phase of robust models and the architectural design of large-scale Transformers.

Research Trajectory

Hua’s early research (2018–2020) was primarily concerned with the security and efficiency of convolutional neural networks (CNNs) when executed on hardware accelerators. During this period, he investigated the vulnerabilities of CNN models to reverse-engineering attacks. In Reverse engineering convolutional neural networks through side-channel information leaks, Hua demonstrated that even when data is encrypted, an adversary can infer a network’s structure and weight values by exploiting memory and timing side-channels. This work highlighted a critical security gap in hardware-accelerated DNNs, where off-chip memory access patterns leak sensitive intellectual property.

Parallel to these security concerns, Hua developed methods for Adaptive and Dynamic Sparsity for Efficient Neural Networks. Unlike static pruning, which removes redundant parameters before deployment, Hua’s work in Adaptive Computation for Efficient Neural Network Inference focused on run-time flexibility. This approach allows a model to adjust its computational effort based on the complexity of the input, addressing the "computational tax" imposed by rigid, one-size-fits-all architectures. A key contribution in this area was the development of Hardware Friendly Sparsity for Practical Neural Network Compression, which sought to ensure that theoretical reductions in operations translated into actual wall-clock speedups on physical devices.

In 2020, Hua returned to the problem of hardware security with the development of MgX: Near-Zero Overhead Memory Protection with an Application to Secure DNN Acceleration. This work addressed the performance overhead typically associated with memory encryption and integrity verification. By exploiting the deterministic data movement patterns of hardware accelerators, Hua proposed a scheme that generates version numbers for encryption using on-chip state rather than off-chip storage, significantly reducing the latency of secure memory access.

From 2021 onwards, Hua’s focus expanded to include training-time efficiency and the optimization of Transformer architectures. He addressed the high cost of training robust models—which often require multiple forward and backward passes—by proposing techniques to identify and prioritize the most informative training examples. His work on Transformer Quality in Linear Time introduced the FLASH model, which utilizes a gated attention unit to achieve linear complexity relative to sequence length. This research reflects a shift toward making large-scale language modeling more accessible by reducing the quadratic scaling bottlenecks of standard Transformers.

Most recently, in 2023 and 2024, Hua has contributed to the theoretical understanding of Structured Pruning for Spatially Sensitive Vision Tasks. This work investigates "pruning-at-initialization" (PAI), a strategy that removes parameters before training begins. Hua’s research in this area provides a theoretical framework for understanding why the accuracy of models pruned at initialization depends primarily on layer-wise density rather than the specific granularity of the pruning, allowing for more effective Hardware Aligned Pruning for Accelerated Inference.

Representative Work

Reverse engineering convolutional neural networks through side-channel information leaks (2018) In this first-author paper, Hua identifies a significant security vulnerability in CNN hardware accelerators. The study shows that an adversary can reconstruct the underlying network structure and infer weight values by observing off-chip memory accesses. This reverse-engineering attack is effective even in the presence of data encryption, as it exploits timing and memory side-channels inherent in the accelerator's execution of dynamic zero pruning.

Boosting the Performance of CNN Accelerators with Dynamic Fine-Grained Channel Gating (2019) Hua proposes "channel gating," a technique for Input Adaptive Computational Depth for Efficient Inference. This method identifies regions in a feature map that contribute less to the final classification and dynamically turns off a subset of channels for those regions at run time. The paper introduces both the gating algorithm and a specialized accelerator architecture designed to exploit this dynamic, structured sparsity, achieving computational savings with minimal impact on accuracy.

MgX: Near-Zero Overhead Memory Protection with an Application to Secure DNN Acceleration (2020) This work introduces a memory protection scheme tailored for hardware accelerators. By leveraging the predictable memory access patterns of DNN workloads, MgX manages encryption version numbers using on-chip accelerator state. This approach minimizes the performance penalties usually incurred by off-chip memory encryption and integrity verification, providing a path for secure DNN execution on untrusted hardware platforms.

BulletTrain: Accelerating Robust Neural Network Training via Boundary Example Mining (2021) Addressing the high computational cost of adversarial training, Hua proposes BulletTrain. The technique is based on the observation that only a small fraction of training examples—specifically those near the decision boundary—are critical for improving model robustness. BulletTrain dynamically predicts these "boundary examples" and focuses the training process on them, significantly reducing the number of forward and backward passes required for convergence without sacrificing robustness.

Transformer Quality in Linear Time (2022) In this work, Hua introduces the FLASH model to address the scalability limitations of standard Transformers. The core innovation is the Gated Attention Unit (GAU), which simplifies the attention mechanism and enables a linear approximation method that is accelerator-friendly. The resulting model matches the performance of traditional Transformers while achieving substantial training speedups, particularly on long-context tasks in auto-regressive and masked language modeling.

Structured Pruning of CNNs at Initialization (2024) As a second author, Hua contributes to the theoretical and empirical analysis of pruning-at-initialization (PAI). The research demonstrates that the accuracy of CNNs pruned before training is largely determined by layer-wise density rather than the specific pruning granularity. By formulating PAI as a convex optimization problem, the work enables the use of structured pruning—which is more hardware-efficient than unstructured pruning—at the start of the training process, avoiding the need for expensive fine-tuning cycles.

Profile updated

See something wrong? Report a mistake