potentialpaper

Model Carving: Optimizing the Topology of Standard and Looped Transformers

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 20:15 UTC · 78fb1a29d981 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "AI6HJpsgKP"
- }
- ],
- "title": "Model Carving: Optimizing the Topology of Standard and Looped Transformers",
- "authors": [],
- "abstract": "Transformer architectures are largely fixed: the same block repeats across layers, and the connections between them, for both standard and looped transformers, are prescribed in advance rather than learned. We ask: can a Transformer's topology, learned jointly with its weights, beat a hand-designed one on the quality-efficiency frontier? In this paper, we introduce \\textsc{Carving}, a method to learn a model's topology during training. \\textsc{Carving} places a gate on each edge of a Transformer's computation graph, trains the gates jointly with the weights, and compiles the remaining graph into a sparser, carved model. On both standard and looped Transformers, carved models beat the $1.7\\times$ larger models they were carved from, reaching lower validation loss with half the inference FLOPs, one-third and one-half the KV cache, and $3.5\\times$ and $2.1\\times$ faster decoding throughput at the 1.3B and 2.7B scales, respectively. Carved models also beat training-FLOP-matched shallower Transformers with the same inference cost in validation quality and throughput. The architectures learned share similar features across model sizes, scales, and seeds, removing 35\\% of the MLP sublayers and 53\\% of the attention sublayers on average. These results suggest that standard, homogeneously repeated blocks are not always the most efficient design. Carved models also outperform larger models pruned post-hoc to their same inference cost on the quality-efficiency frontier, showing that the learned topology both differs from and beats standard post-hoc compression.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "8101cd27-eac8-4e75-8d37-7d483ef91f3e"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "Model Carving: Optimizing the Topology of Standard and Looped Transformers",
+ "authors": [],
+ "abstract": "Transformer architectures are largely fixed: the same block repeats across layers, and the connections between them, for both standard and looped transformers, are prescribed in advance rather than learned. We ask: can a Transformer's topology, learned jointly with its weights, beat a hand-designed one on the quality-efficiency frontier? In this paper, we introduce \\textsc{Carving}, a method to learn a model's topology during training. \\textsc{Carving} places a gate on each edge of a Transformer's computation graph, trains the gates jointly with the weights, and compiles the remaining graph into a sparser, carved model. On both standard and looped Transformers, carved models beat the $1.7\\times$ larger models they were carved from, reaching lower validation loss with half the inference FLOPs, one-third and one-half the KV cache, and $3.5\\times$ and $2.1\\times$ faster decoding throughput at the 1.3B and 2.7B scales, respectively. Carved models also beat training-FLOP-matched shallower Transformers with the same inference cost in validation quality and throughput. The architectures learned share similar features across model sizes, scales, and seeds, removing 35\\% of the MLP sublayers and 53\\% of the attention sublayers on average. These results suggest that standard, homogeneously repeated blocks are not always the most efficient design. Carved models also outperform larger models pruned post-hoc to their same inference cost on the quality-efficiency frontier, showing that the learned topology both differs from and beats standard post-hoc compression.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}