| Algorithm 1 Framework of the GEA |
| Input: Graph with node set V, node embeddings X |
| Output: Updated node representations |
| 1: Initialize model parameters: external key-value units , , and number of heads |
| 2: for each node do |
| 3: |
| 4: |
| 5: |
| 6: |
| 7: |
| 8: end for |
| 9: return |