MZMark Zhao

Mark Zhao

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Mark Zhao has a total of 12 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    SHARD: A Compatibility Framework for Deploying Transformer Models on Edge NPUs

    by Adhitya Mohan, Richard Thompson, Eric Keller, Mark Zhao

  • Beyond the Accelerator: A Full-Stack HW/SW Co-Design Analysis for Recommendation System Inference

    by Zhanqiu Hu, Mark Zhao, Zhiru Zhang, Udit Gupta

    Modern recommendation engines power most online interactions through multi-stage pipelines at massive scale. These pipelines combine user and item feature processing, approximate nearest neighbor (ANN) retrieval, and deep neural network (DNN) ranking. However, optimizing only the DNN ranking stage leaves substantial bottlenecks in data movement and non-DNN stages, leading to suboptimal performance. This work introduces ReCoOpt, a modular framework for exploring the joint hardware and software design space of end-to-end recommendation inference pipelines. By profiling and tuning retrieval, feature fetching, and ranking across heterogeneous hardware, we show that non-DNN stages dominate latency and require co-design. Using public MovieLens datasets, ReCoOpt identifies configurations that improve hit rate by 0.05 under a fixed latency budget, double throughput, or reduce latency by 40%. Our findings highlight that balanced co-design rather than accelerator-only optimization is key to future scalable recommendation systems.

  • Open Access

    ReCycle: Resilient Training of Large DNNs using Pipeline Adaptation

    by Swapnil Gandhi, Mark Zhao, Athinagoras Skiadopoulos, Christos Kozyrakis

    Training large Deep Neural Network (DNN) models requires thousands of GPUs over the course of several days or weeks. At this scale, failures are frequent and can have a big impact on training throughput. Utilizing spare GPU servers to mitigate performance loss becomes increasingly costly as model sizes grow. ReCycle is a system designed for efficient DNN training in the presence of failures, without relying on spare servers. It exploits the inherent functional redundancy in distributed training systems - where servers across data-parallel groups store the same model parameters - and pipeline schedule bubbles within each data-parallel group. When servers fails, ReCycle dynamically re-routes microbatches to data-parallel peers, allowing for uninterrupted training despite multiple failures. However, this re-routing can create imbalances across pipeline stages, leading to reduced training throughput. To address this, ReCycle introduces two key optimizations that ensure re-routed microbatches are processed within the original pipeline schedule's bubbles. First, it decouples the backward pass into two phases: one for computing gradients for the input and another for calculating gradients for the parameters. Second, it avoids synchronization across pipeline stages by staggering the optimizer step. Together, these optimizations enable adaptive pipeline schedules that minimize or even eliminate training throughput degradation during failures. We describe a prototype for ReCycle and show that it achieves high training throughput under multiple failures, outperforming recent proposals for fault-tolerant training such as Oobleck and Bamboo by up to 1.46× and 1.64×, respectively.


  • Remote Power Side- Channel Attacks on FPGAs

    by Mark Zhao, G. Edward Suh

    Editor’s notes: Side-channel attacks, like those exploiting power and timing, are generally thought to require physical access to a system. This research challenges that idea by demonstrating how such attacks can be carried out on remote systems without physical access. It emphasizes the need to rethink how modern shared-FPGA systems are designed, prioritizing security as a core consideration. –Jeyavijayan Rajendran, Texas AM University, USA


  • Open Access

    ShEF: shielded enclaves for cloud FPGAs

    by Mark Zhao, Mingyu Gao, Christos Kozyrakis

    FPGAs are now used in public clouds to accelerate a wide range of applications, including many that operate on sensitive data such as financial and medical records. We present ShEF, a trusted execution environment (TEE) for cloud-based reconfigurable accelerators. ShEF is independent from CPU-based TEEs and allows secure execution under a threat model where the adversary can control all software running on the CPU connected to the FPGA, has physical access to the FPGA, and can compromise the FPGA interface logic of the cloud provider. ShEF provides a secure boot and remote attestation process that relies solely on existing FPGA mechanisms for root of trust. It also includes a Shield component that provides secure access to data while the accelerator is in use. The Shield is highly customizable and extensible, allowing users to craft a bespoke security solution that fits their accelerator's memory access patterns, bandwidth, and security requirements at minimum performance and area overheads. We describe a prototype implementation of ShEF for existing cloud FPGAs, map ShEF to a performant and secure storage application, and measure the performance benefits of customizable security using five additional accelerators.