Doctoral Thesis Proposal - Ruihang Lai

December 7, 2026  11:00AM—12:30PM

Location:
6501 - Gates and Hillman Centers

Speaker:
RUIHANG LAI, Ph.D. Student, Computer Science Department, Carnegie Mellon University
https://ruihanglai.com/

Building High-Performance LLM Systems from Compilers to Agents

Large language models (LLMs) depend on high-performance inference and training systems. Making these systems fast takes substantial expert engineering, and that work must be repeated as model architectures and hardware evolve. The party that performs this optimization work is changing. Compilers first automated much of it, and coding agents now increasingly develop the systems themselves. 

This thesis argues that high-performance LLM systems can be built with less human effort by co-designing the system and the automated optimizer that works on it. My first work, Relax, gives the compiler the information it needs. It combines a cross-level representation with symbolic shape tracking, enabling optimizations across graphs, tensor programs, and libraries for inference with varying shapes. My second work, PithTrain, designs a training system for the coding agents that evolve it. Guided by four agent-native design principles and a new metric, agent-task efficiency, PithTrain achieves competitive mixture-of-experts training throughput while reducing agent effort on evaluated development tasks. 

I propose to improve the agent itself. I will use reinforcement learning (RL) with verifiable correctness and performance feedback to train an affordable open-weight model to develop fast GPU kernels for NVIDIA B200 within a fixed inference budget. Preliminary experiments show that, in the same development environment, Claude Code and Codex solve hard kernel tasks that the open model rarely solves; the open model mostly exhausts its budget before producing a valid kernel. Because capable agents succeed in this environment, the gap lies mainly in development behavior, which makes it a target for learning. Evaluation will compare trained and starting models on held-out tasks with identical tools and budgets.

Thesis Committee 

Tianqi Chen (Co-chair)
Todd Mowry (Co-chair)
Tim Dettmers
Luis Ceze (University of Washington)

Additional Information

Contact
Matt Stewart


Add event to Google
Add event to iCal