cs.LGOct 20, 2026

Efficient Edge-aware Attention Network for Graph Generation

Authors: Vincent Jung, Alba Carballo-Castro, Yiming Qin, Lonneke van der Plas, Pascal Frossard

Organizations: LTS4, EPFL, Lausanne, Switzerland · Università della Svizzera italiana, Lugano, Switzerland

Abstract

Graph generative models commonly use graph-specific Transformer architectures to jointly update node and edge features. However, these architectures do not directly benefit from recent hardware-aware attention implementations, limiting their scalability. The adaptation is, however, non-trivial: edge and graph-level features must be injected into pairwise attention scores, graph masks must be respected, and dynamic edge updates remain a major source of quadratic memory usage. We propose an edge-aware attention layer for graph generation that incorporates structural information through head-wise score modulation, while updating edge representations with a lightweight residual mechanism that retains attention-score dependent edge updates. This layer can be effectively implemented using PyTorch's FlexAttention. We achieve similar generation quality to our baseline while reducing peak GPU memory by around 65% and substantially improving training and sampling throughput. These results suggest that the proposed architecture is a practical step toward scalable graph foundation models.

Figures & tables

Appendix figures & tables6 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. GraphK: Variable-Size Graph Generation with Efficient Edge Construction

    Aug 19, 2026Resul Tugay, Eren Oluğ, Elif Ak +1Graph GenerationGenerative Modeling

  2. Scaling Novel Graph Generation via Lightweight Structure-Guided Autoregressive Models

    Jun 2, 2026Alessio Barboni, Massimiliano Lupo Pasini, Bishal Lakha +1Graph GenerationGenerative Modeling

  3. Local Message-Passing for Discrete Graph Generation

    Mar 9, 2026Jay Revolinsky, Harry Shomer, Jiliang TangGraph Neural NetworksGraph Generation