More about HKUST
Efficient and Adaptive Systems for Large Language Models
The Hong Kong University of Science and Technology
Department of Computer Science and Engineering
PhD Thesis Defence
Title: "Efficient and Adaptive Systems for Large Language Models"
By
Mr. Ran YAN
Abstract:
Large language model (LLM) training requires efficient execution across GPUs and
within individual operators. This thesis studies heterogeneous training at the
framework level and attention computation at the kernel level, including the
additional demands of reinforcement learning (RL). Symmetric parallel
configurations restrict the work that can be assigned to GPUs with unequal
computational capabilities, memory capacities, and network bandwidths. We design
HexiScale with asymmetric pipeline and data parallelism and a hierarchical
scheduler. Across 7B-30B models, its heterogeneous deployments achieve 83% of
homogeneous Ethernet baseline throughput on average with nearly matched total
theoretical FLOPS. RL adds a dependency between rollout and policy training.
AReaL-Hex jointly searches their GPU allocations and execution plans under a
data-staleness bound, reaching up to 1.50× the throughput of homogeneous
H800 AReaL at the same budget. At the kernel level, block-sparse attention
reduces arithmetic while retaining KV blocks suited to GPU matrix operations.
However, the vanilla Native Sparse Attention (NSA) token selection attention
kernel wastes computation on padding at small grouped-query attention group
sizes. Our Flash Sparse Attention (FSA) kernel retains a KV block and batches
the query tokens that use it. This loop inversion reduces padding without
changing the sparse operator. We measure attention-kernel speedups of up to
3.5× on H20, together with gains in model training and prefill. For RL, we
address the extra forward pass used to recompute log probabilities when rollout
decoding and full-trajectory training produce different numerical results.
AReaL-TIK unifies the two execution paths. We optimize them jointly, retaining
numerical checks, measurements, and implementation history in an optimization
intermediate representation. Across 12 H20 configurations, reusing the resulting
log probabilities raises average RL throughput to 1.10× that of AReaL with
recomputation.
Date: Friday, 4 December 2026
Time: 9:00am - 11:00am
Venue: Room 5501
Lifts 25/26
Chairman: TBC
Committee Members: Dr. Binhang YUAN (Supervisor)
Dr. Chaojian LI
Dr. Wei WANG
Dr. Harry YANG (AMC)
Dr. Hong XU (CUHK)