Hao Di
· 1 previous affiliation
- Xi'an Jiaotong UniversitySince 2015
- PhD student · Since 2019
- Undergrad student · 2015–2019
Research Overview
Hao Di focuses on the development of efficient optimization algorithms for decentralized systems, privacy-preserving federated learning, and the safety alignment of large language models. Di’s work bridges theoretical algorithmic design—particularly in variance reduction and zeroth-order methods—with practical applications in distributed machine learning and adversarial robustness. The research trajectory demonstrates a progression from addressing data heterogeneity in federated environments toward solving complex constrained optimization problems and, more recently, securing generative AI systems against adversarial attacks.
Research Trajectory
Di’s early research focused on the challenges of personalization and privacy in distributed environments. In 2023, this work addressed the inherent tension between individual user preferences and the need for centralized data pooling in federated learning. By developing frameworks that leverage canonical models to capture population-wide characteristics while using membership vectors for individual preferences, Di sought to model heterogeneity without compromising raw data privacy.
In 2024, the focus shifted toward the fundamental mechanics of decentralized optimization. Di investigated the limitations of existing stochastic gradient tracking methods, particularly how network topology often restricts convergence speed. This period saw the introduction of "snap-shot" techniques designed to decouple optimization performance from the constraints of the underlying communication graph. Simultaneously, Di expanded into zeroth-order optimization, developing methods for composite problems where first-order gradients are unavailable or prohibitively expensive to compute. These contributions emphasized variance reduction as a means to achieve optimal convergence rates in high-dimensional settings.
By 2025 and 2026, Di’s research began to integrate these optimization insights into the domain of Large Language Models (LLMs). This work follows two parallel tracks: identifying vulnerabilities through automated adversarial prompting and improving model safety through lightweight alignment frameworks. The latter involves the application of bilevel optimization to automate data reweighting, moving away from the high costs associated with human feedback and reinforcement learning. Throughout this evolution, Di has maintained a consistent emphasis on algorithmic efficiency, whether measured by communication rounds, query complexity, or computational overhead.
Optimization and Decentralized Systems
A significant portion of Di’s work is dedicated to improving the efficiency of decentralized machine learning. In large-scale systems, the cost of communication and the complexity of projecting onto constrained sets often become bottlenecks. Di has contributed to the development of projection-free methods, such as the Frank-Wolfe framework, adapted for decentralized finite-sum optimization. These methods are designed to handle complex sets where traditional projection-based approaches fail to scale.
Di’s work in this area frequently employs variance reduction techniques to mitigate the noise inherent in stochastic sampling. By refining how gradients are tracked and updated across a network, Di has developed algorithms that achieve improved incremental first-order oracle (IFO) bounds. This theoretical focus extends to zeroth-order oracles, where Di has proposed frameworks that reduce the variance induced by gradient approximations, making high-dimensional optimization more feasible in black-box settings.
Large Language Model Security and Alignment
Di’s recent research addresses the critical need for safety in generative AI. This work explores the "jailbreaking" phenomenon, where adversarial prompts are used to bypass the safety filters of aligned LLMs. Di has developed two-stage frameworks that automate the generation of these prompts, using loss-guided exploration and iterative fine-tuning to produce human-readable suffixes that evade standard defenses.
Complementing this adversarial research, Di also works on safety alignment. Recognizing that traditional alignment methods like Reinforcement Learning from Human Feedback (RLHF) are resource-intensive, Di has explored bilevel optimization as a mechanism for data reweighting. This approach uses a secondary network to map training losses to adaptive weights based on safety signals from a validation set. This allows models to prioritize safe data during fine-tuning automatically, providing a more scalable and transferable path toward model alignment.
Representative Work
PPFL: A Personalized Federated Learning Framework for Heterogeneous Population As the lead author of this 2023 study, Di introduced a framework designed to balance personalization with privacy. The method, Population Personalized Federated Learning (PPFL), addresses the limitations of centralized personalization by modeling client heterogeneity through a combination of shared canonical models and individual membership vectors. This approach allows the system to capture fundamental characteristics across a population while respecting the privacy of individual data points.
Double Stochasticity Gazes Faster: Snap-Shot Decentralized Stochastic Gradient Tracking Methods In this 2024 paper, Di proposed two algorithms, SS-DSGT and ASS-DSGT, to accelerate decentralized machine learning. The core contribution is a "snap-shot" gradient tracking technique that addresses a common weakness in Decentralized Stochastic Gradient Tracking (DSGT): the dependency of convergence speed on restrictive network topology parameters. By decoupling these factors, the proposed methods demonstrate improved performance in both theoretical bounds and practical applications.
Double Variance Reduction: A Smoothing Trick for Composite Optimization Problems without First-Order Gradient Leading this research in 2024, Di developed ZPDVR (Zeroth-order Proximal Double Variance Reduction). The algorithm is designed for composite optimization problems where gradients are not accessible. By implementing a smoothing trick and an averaging mechanism, the method reduces both sampling and coordinate-wise variances. Notably, the algorithm requires only a single function evaluation per iteration in expectation, achieving optimal convergence rates even as the dimensionality of the problem increases.
ProAdvPrompter: A Two-Stage Journey to Effective Adversarial Prompting for LLMs In this 2025 work, Di served as the first author in developing a framework for training "adversarial prompters." The ProAdvPrompter system uses a two-stage process—Exploration and Exploitation—to generate jailbreaking suffixes for LLMs. The research demonstrates that well-aligned models can be vulnerable to automated, iterative fine-tuning, producing prompts that achieve high success rates while remaining human-readable and capable of bypassing perplexity-based safety filters.
An Enhanced Zeroth-Order Stochastic Frank-Wolfe Framework for Constrained Finite-Sum Optimization Contributing as a second author, Di participated in the development of an enhanced zeroth-order Frank-Wolfe framework. This research targets constrained finite-sum optimization, a common structure in large-scale machine learning. The work introduces a double variance reduction framework to manage the gradient approximation variance inherent in zeroth-order oracles. The resulting algorithm significantly improves query efficiency, particularly for convex objectives in high-dimensional tasks.
ReBiSA: Data Reweighting with Bilevel Optimization for Safety Alignment In this 2026 study, Di contributed to the development of ReBiSA, a lightweight framework for LLM safety alignment. The method utilizes bilevel optimization to perform data reweighting, employing a multi-layer perceptron (MLP) to map training losses to adaptive weights. By updating these weights based on safety signals from a validation set, the framework enables models to emphasize safe data during fine-tuning without the need for costly human feedback or large-scale reinforcement learning.
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