Train Once, Rewire Later: Execution-graph Polymorphic Transformers
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 20:11 UTC · 02d9c77922b1 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "WZQGIPb1g1"- }- ],- "title": "Train Once, Rewire Later: Execution-graph Polymorphic Transformers",- "authors": [],- "abstract": "Transformer checkpoints are tied to the *execution graph* used during training. Compilers can optimize how a fixed graph is executed, but changing the graph itself typically requires training a new model. Even a minimal rewrite exposes this dependence: executing attention and the feed-forward layer in parallel raises the language-modeling loss of a 120M transformer from $1.137$ to $1.681$ bits per byte (BPB), despite preserving the same parameters and operators. We call this sensitivity to layerwise execution changes *execution-graph rigidity* and show that it is learned rather than architectural. We introduce *Execution-graph Polymorphic Transformers* (EPTs), which instead train a single set of shared weights across a reference execution graph and alternative layerwise programs, with a consistency objective that aligns their predictions across executions. For the controlled sequential-to-parallel rewrite, the all-parallel program costs at most $0.002$ BPB from 1B to 7B; after 10B training tokens, downstream accuracy differs by at most $0.54$ percentage points across four tasks. We then extend the same objective to six modes per layer: sequential, parallel, reverse, attention only, feed-forward network only, and skip. Measurement-guided search on one 1B checkpoint finds different programs for Blackwell, H100, and L40S, reaching $1.709\\times$, $1.568\\times$, and $1.697\\times$ prefill speedup. Programs selected under a $+0.05$ BPB search-window budget cost $0.050$--$0.052$ BPB on disjoint validation contexts. EPTs therefore turn the execution graph from a fixed training choice into a budgeted compiler decision, allowing one training run to support different hardware deployment strategies.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "b657fc01-4f4a-40ba-b733-2a77444be9af"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "Train Once, Rewire Later: Execution-graph Polymorphic Transformers",+ "authors": [],+ "abstract": "Transformer checkpoints are tied to the *execution graph* used during training. Compilers can optimize how a fixed graph is executed, but changing the graph itself typically requires training a new model. Even a minimal rewrite exposes this dependence: executing attention and the feed-forward layer in parallel raises the language-modeling loss of a 120M transformer from $1.137$ to $1.681$ bits per byte (BPB), despite preserving the same parameters and operators. We call this sensitivity to layerwise execution changes *execution-graph rigidity* and show that it is learned rather than architectural. We introduce *Execution-graph Polymorphic Transformers* (EPTs), which instead train a single set of shared weights across a reference execution graph and alternative layerwise programs, with a consistency objective that aligns their predictions across executions. For the controlled sequential-to-parallel rewrite, the all-parallel program costs at most $0.002$ BPB from 1B to 7B; after 10B training tokens, downstream accuracy differs by at most $0.54$ percentage points across four tasks. We then extend the same objective to six modes per layer: sequential, parallel, reverse, attention only, feed-forward network only, and skip. Measurement-guided search on one 1B checkpoint finds different programs for Blackwell, H100, and L40S, reaching $1.709\\times$, $1.568\\times$, and $1.697\\times$ prefill speedup. Programs selected under a $+0.05$ BPB search-window budget cost $0.050$--$0.052$ BPB on disjoint validation contexts. EPTs therefore turn the execution graph from a fixed training choice into a budgeted compiler decision, allowing one training run to support different hardware deployment strategies.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}