DAGFormer: Global Topology Prediction for Transformer Cross-Layer Connections
Not on the map. Why?
Abstract (arXiv)
We propose DAGFormer, a Transformer language model whose cross-layer connections are planned by a jointly trained topology predictor. Beyond the residual connections in a standard Transformer, DAGFormer adds direct connections from earlier layers to later ones, and the predictor controls the strength of every connection based on input tokens. Unlike existing cross-layer routing architectures, which set each layer's connections separately, DAGFormer plans the routing of the whole model at once. On matched OLMo-2 pairs from 75M to 1B parameters, DAGFormer lowers WikiText-2 perplexity by 17% to 25% over the vanilla Transformer, and a 1B DAGFormer trained on 5B tokens outperforms the vanilla model trained on 10B. Against four routing baselines with the same data and budget, it reaches the lowest perplexity at 75M, 300M and 1B. The gain carries over to 13 commonsense, science, reading and math evaluation tasks (2.0 to 2.5 points higher mean accuracy at 300M and 1B) and to instruction finetuning (63% to 70% AlpacaEval win rate against the vanilla Transformer, leading every routing baseline), and under structured pruning DAGFormer degrades the least in five of six settings.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 39 of its 58 references that are in the map. First posted on arXiv 14 Oct 2026.
Builds on
39 of 58 references.
References · 39
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2016Densely Connected Convolutional Networkscited by 6,720
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
27 more
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2018Deep contextualized word representationscited by 2,290
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,079
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,631
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
- 2019Are Sixteen Heads Really Better than One?cited by 816
- 2017Crowdsourcing Multiple Choice Science Questionscited by 765
- 2019MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalismscited by 662
- 2018Universal Transformerscited by 647
- 2022Mixture-of-Experts with Expert Choice Routingcited by 623
- 2019Importance Estimation for Neural Network Pruningcited by 541
- 2016Adaptive Computation Time for Recurrent Neural Networkscited by 506
- 2023MAmmoTH: Building Math Generalist Models through Hybrid Instruction Tuningcited by 487
- 2023Towards Best Practices of Activation Patching in Language Models: Metrics and Methodscited by 359
- 2017SkipNet: Learning Dynamic Routing in Convolutional Networkscited by 332
- 2019Depth-Adaptive Transformercited by 236
- 2017BlockDrop: Dynamic Inference Paths in Residual Networkscited by 189
- 2015Training Very Deep Networkscited by 173
- 2017Convolutional Networks with Adaptive Inference Graphscited by 148
- 2024DenseFormer: Enhancing Information Flow in Transformers via Depth Weighted Averagingcited by 53
- 2018Training Deeper Neural Machine Translation Models with Transparent Attentioncited by 38
- 2025MUDDFormer: Breaking Residual Bottlenecks in Transformers via Multiway Dynamic Dense Connectionscited by 31
- 2024LAuReL: Learned Augmented Residual Layercited by 7
- 2026Generative Interpretability via Scalable Neuro-Symbolic Modelscited by 1
Built on by
Not cited yet.