Spectral Journey: How Transformers Predict the Shortest Path

Transformer model, Shortest path, Graph neural network, …