BudgetGT: Distributed Full-Graph Transformer on Large Graphs with Budgeted Attention and Memory
Abstract
Graph Transformers have attracted increasing attention for their ability to capture nonlocal dependencies. However, pairwise attention makes training on large graphs costly. Although sparse attention reduces this burden, computational and memory demands can remain prohibitively high on a single GPU. An existing distributed system extends training capacity, but its sparse execution depends on graph connectivity conditions, which real-world large graphs often fail to satisfy. We present \textsc{BudgetGT}, a distributed full-graph training system that reduces attention cost and memory pressure without imposing graph connectivity conditions. To bound attention computation, we combine graph neighbors with random-walk candidates under a per-node budget, retaining local and multi-hop information without full neighborhood enumeration. A probe-guided controller adapts the budget split during training, eliminating the need for costly exhaustive searches on each dataset. To keep construction buffers and activations within GPU memory, we model phase-specific memory peaks and construction--computation overlap. A cost-based planner uses these estimates to select efficient edge-construction and activation-retention strategies for each workload and memory budget. On five graphs, \textsc{BudgetGT} achieves comparable or up to percentage points higher accuracy than the state-of-the-art system, and trains -- faster per epoch with up to an order of magnitude less GPU memory. Further experiments demonstrate the system's strong generality across backbones and effective memory scaling with additional GPUs, and confirm the controller's high allocation accuracy and the planner's effectiveness under diverse configurations.
Create a lesson
Related papers
Memory-Aware Scheduling of Large Task Graphs
Shared title terminologycs.DCIoannis Lamprou, Panagiotis Xanthopoulos, Etienne Filhol et al.
From State to Link-Register Model: A Transformer for Self-Stabilizing Distributed Algorithms
Shared title terminologycs.DCJohanne Cohen, George Manoussakis, Laurence Pilard
IndexerStage: Staging Indexer-K across Memory Tiers for Sparse-Attention LLM Serving
Shared title terminologycs.DCXin Zhang, Weifeng Zhang, Xianyan Xie et al.
StarMPI-SVD: Distributed-Memory Parallel Star-M Tensor SVD
Shared title terminologycs.DCNaman Pesricha, Grey Ballard, Srinivas Eswar et al.
DexAttention: Distributed Sparse Attention through Rapid Online Planning and Persistent GPU Execution
Shared title terminologycs.DCSirui Chen, Xuehai Qian
XM-Sparse: High-Throughput Sparse-Attention LLM Serving over Scale-up Memory Pools
Shared title terminologycs.DCYijun Sun, Xudong Liao, Zhuobin Huang et al.