Samuel Hsia
· 5 previous affiliations
- Meta (United States)Since 2021
- Researcher · Since 2024
- Research Scientist · Since 2021
- Harvard University2019–2024
- Cross Registration · 2024
- Graduate Research Assistant · 2019–2024
- Graduate Teaching Fellow · 2020
- Semiconductor Research Corporation2019–2023
- Research Scholar · 2019–2023
- Try AI2020–2021
- Research Mentor · 2020–2021
- Princeton University2015–2019
- Head Undergraduate Teaching Assistant (ECE) · 2017–2019
- Undergrad student · 2015–2019
Research Overview
Samuel Hsia focuses on the hardware-software co-design of deep learning systems, with an emphasis on recommendation inference and large-scale transformer training. His trajectory spans from cross-stack workload characterization to optimizing distributed machine learning execution. Recently, his work addresses the numerical stability of efficient attention mechanisms and the carbon footprint of AI infrastructure.
Research Trajectory
Beginning in 2020, early research concentrated on the systems-level execution of deep recommendation models, which form the backbone of many personalized cloud services. In Cross-Stack Workload Characterization of Deep Recommendation Systems, he and his collaborators systematically examined eight industry-representative models across different levels of the execution stack to inform future hardware design. This systems-oriented approach was further developed in DeepRecSys: A System for Optimizing End-To-End At-Scale Neural Recommendation Inference, which introduced a recommendation inference scheduler designed to maximize latency-bounded throughput by balancing task- and data-level parallelism.
The following year, the focus deepened into hardware-software co-design. He introduced RecPipe: Co-designing Models and Hardware to Jointly Optimize Recommendation Quality and Performance, a framework that decomposes massive, monolithic recommendation models into efficient multi-stage ranking funnels. Paired with a custom hardware accelerator, this algorithmic shift significantly reduced tail-latency and boosted throughput without sacrificing recommendation quality. This work contributed to the research direction of The Operational and Optimization Overhead of Multi-Stage Training and addressed challenges in the broader area of The Communication Bottleneck in Accelerated Computing. Continuing the exploration of specialized hardware for recommendation inference, RecSSD: near data processing for solid state drive based recommendation inference investigated near-data processing architectures to further alleviate memory and storage bottlenecks.
By 2023, the scope of hardware optimization expanded to include graph-based models and multi-path architectures, as seen in Characterizing the Scalability of Graph Convolutional Networks on Intel® PIUMA and MP-Rec: Hardware-Software Co-design to Enable Multi-path Recommendation.
In 2024, the trajectory shifted toward the scalability and stability of large language models. He led the investigation Is Flash Attention Stable?, which evaluated the numerical accuracy of tiling and rescaling in the industry-standard Flash Attention mechanism. The study demonstrated that while BF16 precision introduces numerical deviation, it is less significant than the noise generated by low-precision training or random initializations, suggesting it is likely not the primary driver of training instabilities. This study intersects with the research areas of Taming Loss Spikes in Large Scale Transformer Training and Scaling Limits of Efficient Attention Architectures, as well as the direction of Dataset Distillation for Efficient Deep Learning.
To tackle communication overhead in massive AI models, MAD-Max Beyond Single-Node: Enabling Large Machine Learning Model Acceleration on Distributed Systems provided a performance modeling framework to identify optimal parallelization strategies across distributed systems, yielding significant speedups for both training and inference. Most recently, in 2025, he participated in developing CATransformers: Carbon Aware Transformers Through Joint Model-Hardware Optimization. This framework jointly optimizes model architectures and hardware accelerators to minimize total carbon footprints, accounting for both operational energy and the embodied carbon cost of manufacturing hardware.
Current Directions
Recent work investigates the intersection of large-scale transformer efficiency, numerical stability, and environmental sustainability. The most recent papers in the evidence address the optimization of distributed machine learning execution and the ecological impact of AI infrastructure. This includes modeling parallelization strategies to overcome communication bottlenecks in massive models, as well as jointly optimizing hardware and model architectures to minimize total carbon footprints—encompassing both operational energy and embodied manufacturing costs. Additionally, ongoing efforts explore the numerical robustness of efficient attention mechanisms during large-scale training, ensuring that hardware-aware optimizations do not compromise model convergence or stability.
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