paper-with-me

Papers

Sequential Aggregation and Rematerialization: Distributed Full-batch Training of Graph Neural Networks on Large Graphs

2021-11-11 · Hesham Mostafa

We present the Sequential Aggregation and Rematerialization (SAR) scheme for distributed full-batch training of Graph Neural Networks (GNNs) on large graphs. Large-scale training of GNNs has recently been dominated by sampling-based methods and methods based on non-learnable message passing. SAR on the other hand is a distributed technique that can train any GNN type directly on an entire large graph. The key innovation in SAR is the distributed sequential rematerialization scheme which sequentially re-constructs then frees pieces of the prohibitively large GNN computational graph during the backward pass. This results in excellent memory scaling behavior where the memory consumption per worker goes down linearly with the number of workers, even for densely connected graphs. Using SAR, we report the largest applications of full-batch GNN training to-date, and demonstrate large memory savings as the number of workers increases. We also present a general technique based on kernel fusion and attention-matrix rematerialization to optimize both the runtime and memory efficiency of attention-based models. We show that, coupled with SAR, our optimized attention kernels lead to significant speedups and memory savings in attention-based GNNs.We made the SAR GNN training library publicy available: \url{https://github.com/IntelLabs/SAR}.

📄 PDF Abstract BibTeX arXiv:2111.06483

Code (1)

intellabs/sar 공식 구현 pytorch

Similar Papers 제목 키워드 기반

Efficient Combination of Rematerialization and Offloading for Training DNNs

2021-12-01 · NeurIPS 2021 12 · Olivier Beaumont, Lionel Eyraud-Dubois, Alena Shilova

Rematerialization and offloading are two well known strategies to save memory during the training phase of deep neural networks, allowing data scientists to consider larger models, batch sizes or higher resolution data. …

valid

Non-Sequential Ensemble Kalman Filtering using Distributed Arrays

2023-11-21 · Cédric Travelletti, Jörg Franke, David Ginsbourger, Stefan Brönnimann

This work introduces a new, distributed implementation of the Ensemble Kalman Filter (EnKF) that allows for non-sequential assimilation of large datasets in high-dimensional problems. The traditional EnKF algorithm is co…

Distributed Computing

Coop: Memory is not a Commodity

2023-11-01 · NeurIPS 2023 11

Tensor rematerialization allows the training of deep neural networks (DNNs) under limited memory budgets by checkpointing the models and recomputing the evicted tensors as needed. However, the existing tensor remateriali…

Efficient Rematerialization for Deep Networks

2019-12-01 · NeurIPS 2019 12 · Ravi Kumar, Manish Purohit, Zoya Svitkina, Erik Vee 외

When training complex neural networks, memory usage can be an important bottleneck. The question of when to rematerialize, i.e., to recompute intermediate values rather than retaining them in memory, becomes critical to…

Aggregation of Statistical Evidence under Exchangeability

2026-07-17 · Antonin Schrab, Rajen Shah, Arthur Gretton, Ilmun Kim arxiv

We study aggregation of statistical evidence under unknown and potentially complex dependence using group-invariance. Building on permutation-based constructions that treat transformed datasets as exchangeable units, we …