Reproduce “Model Carving: Training Transformers That Optimize Their Own Topology” 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

Kaden Zheng, Pratyusha Sharma

Model Carving trains a Transformer’s weights and topology, using gates to remove attention or MLP sublayers when compute is better spent on training tokens. At equal training FLOPs, a 1.3B looped model reached 0.683 validation bits per byte versus 0.704 for full-depth, with 23% fewer inference FLOPs per token. Evidence is limited to random-initialization pretraining on FineWeb-Edu at tested scales.

Summary by alphaXiv.

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