SGHormer:一种由脉冲驱动的节能图Transformer
SGHormer: An Energy-Saving Graph Transformer Driven by Spikes
AI总结:
针对图Transformer高能耗与计算开销问题,提出基于脉冲的图Transformer模型SGHormer,通过将全精度嵌入转化为稀疏二值化脉冲并设计脉冲自注意力与校正模块,在保持性能的同时大幅降低计算能耗。
摘要:
具有强大表示学习能力的Graph Transformers(GTs)在广泛的图任务中取得了巨大成功。然而,GTs卓越性能背后的代价是更高的能耗和计算开销。vanilla transformer复杂的结构以及注意力计算过程中的二次复杂度,严重阻碍了其在大规模图数据上的可扩展性。尽管现有方法在简化模块间组合或注意力学习范式以提高GTs效率方面取得了进展,但在构建GT框架时,很少考虑源自生物学合理结构的节能方案。为此,我们提出了一种基于脉冲的图Transformer(SGHormer)。它将全精度嵌入转化为稀疏且二值化的脉冲,以降低内存和计算成本。SGHormer中的脉冲图自注意力和脉冲校正模块分别显式捕获全局结构信息并恢复脉冲嵌入的表达能力。在实验中,SGHormer取得了与其他全精度GTs相当的性能,且计算能耗极低。结果表明,SGHomer在低能耗GTs领域取得了显著进展。
英文摘要:
Graph Transformers (GTs) with powerful representation learning ability make a huge success in wide range of graph tasks. However, the costs behind outstanding performances of GTs are higher energy consumption and computational overhead. The complex structure and quadratic complexity during attention calculation in vanilla transformer seriously hinder its scalability on the large-scale graph data. Though existing methods have made strides in simplifying combinations among blocks or attention-learning paradigm to improve GTs' efficiency, a series of energy-saving solutions originated from biologically plausible structures are rarely taken into consideration when constructing GT framework. To this end, we propose a new spiking-based graph transformer (SGHormer). It turns full-precision embeddings into sparse and binarized spikes to reduce memory and computational costs. The spiking graph self-attention and spiking rectify blocks in SGHormer explicitly capture global structure information and recover the expressive power of spiking embeddings, respectively. In experiments, SGHormer achieves comparable performances to other full-precision GTs with extremely low computational energy consumption. The results show that SGHomer makes a remarkable progress in the field of low-energy GTs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。