paper-with-me

홈 › Papers

Even Sparser Graph Transformers

2024-11-25 · Hamed Shirzad, Honghao Lin, Balaji Venkatachalam, Ameya Velingker, David Woodruff, Danica Sutherland

Graph Transformers excel in long-range dependency modeling, but generally require quadratic memory complexity in the number of nodes in an input graph, and hence have trouble scaling to large graphs. Sparse attention variants such as Exphormer can help, but may require high-degree augmentations to the input graph for good performance, and do not attempt to sparsify an already-dense input graph. As the learned attention mechanisms tend to use few of these edges, such high-degree connections may be unnecessary. We show (empirically and with theoretical backing) that attention scores on graphs are usually quite consistent across network widths, and use this observation to propose a two-stage procedure, which we call Spexphormer: first, train a narrow network on the full augmented graph. Next, use only the active connections to train a wider network on a much sparser graph. We establish theoretical conditions when a narrow network's attention scores can match those of a wide network, and show that Spexphormer achieves good performance with drastically reduced memory requirements on various graph datasets.

📄 PDF Abstract BibTeX arXiv:2411.16278

Code (1)

hamed1375/Sp_Exphormer 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

A Theory for Compressibility of Graph Transformers for Transductive Learning

2024-11-20 · Hamed Shirzad, Honghao Lin, Ameya Velingker, Balaji Venkatachalam 외

Transductive tasks on graphs differ fundamentally from typical supervised machine learning tasks, as the independent and identically distributed (i.i.d.) assumption does not hold among samples. Instead, all train/test/va…

Transductive Learning

The Lazy Neuron Phenomenon: On Emergence of Activation Sparsity in Transformers

2022-10-12 · Zonglin Li, Chong You, Srinadh Bhojanapalli, Daliang Li 외

This paper studies the curious phenomenon for machine learning models with Transformer architectures that their activation maps are sparse. By activation map we refer to the intermediate output of the multi-layer percept…

3D scene generation from scene graphs and self-attention

2024-04-02 · Pietro Bonazzi, Mengqi Wang, Diego Martin Arroyo, Fabian Manhardt 외

Synthesizing realistic and diverse indoor 3D scene layouts in a controllable fashion opens up applications in simulated navigation and virtual reality. As concise and robust representations of a scene, scene graphs have …

Scene Generation

ViTCoD: Vision Transformer Acceleration via Dedicated Algorithm and Accelerator Co-Design

2022-10-18 · Haoran You, Zhanyi Sun, Huihong Shi, Zhongzhi Yu 외

Vision Transformers (ViTs) have achieved state-of-the-art performance on various vision tasks. However, ViTs' self-attention module is still arguably a major bottleneck, limiting their achievable hardware efficiency. Mea…

Sparse Distillation: Speeding Up Text Classification by Using Bigger Student Models

2021-10-16 · NAACL 2022 7 · Qinyuan Ye, Madian Khabsa, Mike Lewis, Sinong Wang 외

Distilling state-of-the-art transformer models into lightweight student models is an effective way to reduce computation cost at inference time. The student models are typically compact transformers with fewer parameters…

ClassificationDomain GeneralizationPrivacy PreservingSentence+3