Sharpness-Aware Zeroth-Order Optimization for Graph Transformers
Abstract
Graph Transformers (GTs) have emerged as powerful tools for handling graph-structured data through global attention mechanisms. While GTs can effectively capture long-range dependencies, they introduce difficulties in optimization due to their complex, non-differentiable operators, which cannot be directly handled by standard gradient-based optimizers (such as Adam or AdamW). To investigate the above issues, this work adopts the line of Zeroth-Order Optimization (ZOO) technique. However, direct integration of ZOO incurs considerable challenges due to the sharp loss landscape and steep gradients within the GT parameter space. Under the above observations, we propose a Sharpness-aware Zeroth-order Optimizer (SZO) that combines Sharpness-Aware Minimization (SAM) technique facilitating convergence within a flatter neighborhood, and leverages parallel computing for efficient gradient estimation. Theoretically, we provide a comprehensive analysis of the optimizer from both convergence and generalization perspectives. Empirically, we conduct extensive experiments on various classical GTs across a wide range of benchmark datasets, which underscore the superior performance of SZO over the state-of-the-art optimizers.
Cite
Text
Liu et al. "Sharpness-Aware Zeroth-Order Optimization for Graph Transformers." International Joint Conference on Artificial Intelligence, 2025. doi:10.24963/IJCAI.2025/348Markdown
[Liu et al. "Sharpness-Aware Zeroth-Order Optimization for Graph Transformers." International Joint Conference on Artificial Intelligence, 2025.](https://mlanthology.org/ijcai/2025/liu2025ijcai-sharpness/) doi:10.24963/IJCAI.2025/348BibTeX
@inproceedings{liu2025ijcai-sharpness,
title = {{Sharpness-Aware Zeroth-Order Optimization for Graph Transformers}},
author = {Liu, Yang and Zhou, Chuan and Lin, Yuhan and Zhang, Shuai and Gao, Yang and Li, Zhao and Pan, Shirui},
booktitle = {International Joint Conference on Artificial Intelligence},
year = {2025},
pages = {3126-3134},
doi = {10.24963/IJCAI.2025/348},
url = {https://mlanthology.org/ijcai/2025/liu2025ijcai-sharpness/}
}