arXiv AI By Gilad Yehudai, Clayton Sanford, Maya Bechler-Speicher, Orr Fischer, Ran Gilad-Bachrach, Amir Globerson

Depth-Width tradeoffs in Algorithmic Reasoning of Graph Tasks with Transformers

Read the original on arXiv AI →

arXiv:2503. 01805v3 Announce Type: replace-cross Abstract: Transformers have revolutionized the field of machine learning.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.

arXiv AI
Nov 11

Transformers Provably Learn Graph Search: Training Dynamics and the Exponential Power of Depth

The paper studies how transformer models learn to perform graph search, specifically depth‑first search (DFS), on directed graphs. It shows that a single‑layer transformer needs a quadratic number of parameters to implement the DFS child‑selection step, while a two‑layer transformer can perform full DFS with near‑linear size. Moreover, each additional layer exponentially increases the look‑ahead horizon, and the authors prove that two‑layer transformers can learn DFS through gradient flow and generalize to unseen graphs.

By Xutao Ma, Somayeh Sojoudi
arXiv Machine Learning
Sep 30

Lost in Tokenization: Fundamental Trade-offs in Graph Tokenization for Transformers

The paper investigates how the choice of graph tokenization affects transformer expressivity. It analyzes three tokenization families—spectral, random‑walk, and adjacency—showing that each induces different depth requirements and that some tokenizations are inherently lossy or ill‑conditioned for certain tasks. The authors prove lower bounds and impossibility results for converting between tokenizations and validate these findings with experiments on synthetic and real‑world data.

By Maya Bechler-Speicher, Gilad Yehudai, Gil Harari, Clayton Sanford, Amir Globerson, Joan Bruna
arXiv Machine Learning
Oct 16

Size-Transferability of Graph Transformers with Convolutional Positional Encodings

The paper investigates Graph Transformers (GTs) that use Graph Neural Network (GNN)-based positional encodings. By analyzing GTs through manifold limit models, the authors establish a theoretical link between GTs and Manifold Neural Networks (MNNs), showing that GTs inherit transferability guarantees from their positional encodings. Experiments on standard graph benchmarks confirm that GTs scale comparably to GNNs, and a real‑world shortest‑path estimation task demonstrates their practical efficiency on large terrains.

By Javier Porras-Valenzuela, Zhiyang Wang, Teresa Shang, Yusu Wang, Alejandro Ribeiro