Jiabin Yang

Baidu (China)
2 previous affiliations
9Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Jiabin Yang focuses on the computational efficiency and training stability of large-scale transformer models. His work primarily addresses the technical bottlenecks encountered during the pretraining of large language models (LLMs), specifically regarding the memory complexity of attention mechanisms and the optimization challenges associated with loss spikes and representation learning. By developing methods for sparse mask representation and adaptive gradient clipping, Yang contributes to the scalability and reliability of high-performance machine learning systems.

Research Trajectory

Yang’s research trajectory is characterized by a transition from optimizing the fundamental architectural components of transformers to addressing the broader systemic challenges of large-scale model training. In 2024 and 2025, his work centered on the efficiency of attention mechanisms, particularly the overhead introduced by attention masks in long-context modeling. This period focused on reducing the quadratic complexity of mask computation and memory usage, which often limits the sequence lengths that can be processed by modern hardware.

Beginning in 2026, Yang’s focus expanded to encompass training dynamics and optimization stability. This shift addressed the practical difficulties of pretraining LLMs, where sudden jumps in training loss—often referred to as loss spikes—can lead to significant computational waste. His recent contributions explore gradient-centric remedies for these instabilities and investigate how embedding regularization can improve the convergence and generalization of models trained on next-token prediction objectives.

Efficiency in Transformer Architectures

A significant portion of Yang’s research involves enhancing the efficiency of the attention mechanism, which is the primary computational bottleneck in transformer-based architectures. As sequence lengths increase, the memory and computational requirements for attention masks typically scale quadratically, posing a challenge for long-context applications.

Yang participated in the development of FlashMask, a method designed to mitigate these scaling issues. In FlashMask: Reducing the Complexity of Attention Computation through Sparse Mask Representation, the research team introduced a column-wise sparse representation for attention masks. This approach allows the system to bypass computations on fully masked blocks, effectively reducing the mask memory complexity from $O(N^2)$ to $O(N)$. This work was further refined in FlashMask: Efficient and Rich Mask Extension of FlashAttention, where the implementation was extended to provide a more flexible and efficient interface for FlashAttention. The resulting kernel demonstrated significant performance improvements over standard implementations, facilitating the training of models on much longer sequences without the proportional increase in memory overhead.

Stability and Optimization in Large-Scale Training

Beyond architectural efficiency, Yang has contributed to research focused on the robustness of the pretraining process. Training LLMs is often susceptible to numerical instabilities and hardware-induced faults that manifest as catastrophic loss spikes. Rather than attempting to isolate every potential root cause—such as data outliers or transient hardware glitches—Yang’s collaborative work proposes algorithmic safeguards to maintain training continuity.

In AdaGC: Enhancing LLM Pretraining Stability via Adaptive Gradient Clipping and its related iteration AdaGC: Improving Training Stability for Large Language Model Pretraining, Yang was part of a team that developed an adaptive, per-tensor gradient clipping scheme. This method, known as AdaGC, prevents abnormal gradients from contaminating the optimizer's first- and second-moment states. By bounding gradient norms relative to their historical statistics, the approach allows the training process to recover from potential spikes without manual intervention or the need to restart from previous checkpoints.

Additionally, Yang has explored the internal representation learning dynamics of LLMs. In SimReg: Achieving Higher Convergence and Generalization in the LLM Pretraining via Embedding Similarity Regularization, he contributed to research investigating how the context-dependent nature of token embeddings affects model performance. The study identifies that high intra-class variance and inter-class similarity in embeddings can hinder the efficiency of next-token prediction. To address this, the work proposes a similarity-based regularization loss that encourages more distinct and cohesive token representations, thereby improving the overall convergence rate and the generalization capabilities of the pretrained model.

Profile updated

See something wrong? Report a mistake