Reproduce “DAGFormer: Global Topology Prediction for Transformer Cross-Layer Connections” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Xiaocong Yang, Yuren Hao, ChengXiang Zhai

DAGFormer gives Transformer layers direct routes to earlier layer outputs, with a shared predictor planning connections from input tokens and local modules refining them. On held-out WikiText-2, the matched 300M model lowers NLL from 3.808 to 3.544 nats per token versus vanilla. Routing adds parameters and compute, and measured prefill time is 1.5 to 1.9 times vanilla.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.